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

Ceudy Gutierrez reads a book to her 2-year-old son, Matias, at their home in Buford, GA, on Tuesday, Nov. 18, 2025. Ceudy Gutierrez is struggling to make ends meet for herself and her three young kids following her husband’s ICE arrest earlier this fall. (Miguel Martinez/ AJC)

Credit: Miguel Martinez-Jimenez