Almonds supply 20 percent of the daily recommended intake of magnesium for adults. A lack of magnesium can lead to inflammation that disrupts sleep. Other sources include pumpkin seeds, cashews and peanuts.
Image via Elizaveta Antropova/Getty Images
Flaxseeds are triple threats since they offer tryptophan, magnesium and omega-3 fatty acids. Tryptophan and magnesium encourage the production of serotonin (and therefore melatonin) and the reduction of inflammation respectively, while omega-3 fatty acids play a hand in both of those things. Other foods that contain omega-3 fatty acids include walnuts, chia seeds, tuna and salmon.
Image via Veena Nair/Getty Images