You can often find me quoting Shakespeare right before bed. Usually my own version of Hamlet that goes something like: To eat or not to eat? Don’t know about you but I get an awful case of munchies before bed. Sometimes my choices do not agree with me and keep me up at night (like 2 kids and a snoring partner isn’t enough).
Digestion is a terribly complicated process that requires quite a lot of energy, and for some folks, eating before bed can make it significantly more difficult to fall asleep. This is especially true with fatty food, which takes extra time to digest, or food that is very high in sugar or carbohydrates, which will probably spike your insulin and provide an unwanted energy boost.