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

Rose Scott signals as Closer Look goes on air in the WABE studio. An Atlanta resident left WABE a $3 million donation, a boost after WABE lost $1.9 million in annual funding from the Corporation of Public Broadcasting. (Ben Gray / AJC file)

Credit: Ben Gray