the foods with the longest time to digest are bacon, beef, lamb, whole milk hard cheese, and nuts. these foods take an average of about 4 hours for your body to digest. the digestion process still occurs even when asleep.