Some foods that take longer to digest (e.g. foods high in fat, protein, or fiber) may cause discomfort when lying horizontally but shouldn’t upset digestion. For best results, eat a light meal or healthy snack like a piece of fruit approximately 2-3 hours before going to bed.
People prone to GERD (gastric reflux/heartburn) should avoid trigger foods such as fatty or fried foods, alcohol, chocolate, mint, green pepper, cucumbers, garlic, onion, and caffeine. Other preventative measures include eating smaller meals, not smoking, and again waiting around 2-3 hours before lying down after a meal.