6 magnesium-rich foods for better sleep VnExpress Foods like bananas, sweet potatoes, and spinach can provide magnesium, which improves sleep quality by promoting relaxation and reducing stress.