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

Amber Hicks and Cherokee County firefighter Justin Hicks were found dead from gunshot wounds inside their home in November 2021. (Cobb County Fire and Emergency Services)

Credit: Cobb County Fire and Emergency Services