Fruits and vegetables. Especially ones that contain a lot of water, like melons and cucumbers. They can cause you to wake up to use the bathroom in the middle of the night, just like chugging a big glass of water before bed.
Simple starches, like bread, potatoes, and rice. They can make you feel tired and help you fall asleep. But then they cause your blood sugar to spike, which can disrupt your sleep.
Bad fats from things like fried foods and butter, which tend to give you the worst sleep. A Mediterranean diet filled with GOOD fats has been linked to less insomnia. That means less red meat, more fish and nuts.