If you consistently don’t get a restful night’s sleep, it may be time to check those late-night eating habits.

For example, if you consume dark chocolate even six hours before bed, you may be having a harder time falling asleep.

VIDEO: Weird things people do in their sleep without realizing it

Eating foods high in protein before bed will also make it harder on you, because protein stimulates a chemical in the brain that will keep you up.

RELATED: 5 ways to improve your sleep

Watch the video below from Business Insider to learn about other foods to avoid if you want a good night's rest:

More on BusinessInsider.com.

Featured

University of Georgia students are seen entering and leaving the main Library on the Athens campus on Monday, Sept. 8, 2025. (Miguel Martinez/AJC)

Credit: Miguel Martinez-Jimenez