Medically reviewed by Lindsay Cook, PharmD Key Takeaways Caffeinated drinks, including coffee, tea, energy drinks, and some sodas, may temporarily increase magnesium loss through urine.Heavy or ...