Bananas contain magnesium, potassium, and vitamin B6, nutrients involved in normal muscle and nervous system function. While eating a banana before bed can be a nutritious nighttime snack, there is limited scientific evidence that bananas directly relax muscles enough to improve deep sleep. Healthy sleep depends on multiple factors, including consistent bedtime routines and overall nutrition.