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.

Keep Reading

Sure it's only mid-July, but Escape the Netherworld is hosting five themed escape rooms, including one called Haunted that challenges players to defeat the Night Hag. (Courtesy of Escape the Netherworld)

Credit: Courtesy of Escape the Netherworld

Featured

Rivian announced it will establish an East Coast headquarters at Junction Krog District in Atlanta. (Courtesy of Rivian)

Credit: Courtesy of Rivian