30 mins before feeding is suggested for giving proton pump inhibitors such as losec. However I have given my kids losec bat all different times but It is supposed to be much more effective on an empty stomach.