Studies have shown that eating certain things before bed can help you fall asleep faster and possibly have a better night’s rest. Having a diet that is balanced and rich in vitamins and minerals may help you get to sleep and stay asleep. Vitamins B and D can also help you sleep better. Vitamin B3, Niacin, promotes REM sleep and Vitamin B6 helps the body produce serotonin or the calming hormone.