A mildly low magnesium can affect sleep, but only partly. A magnesium of 1.8 mg/dL is only marginally below the usual range and by itself is very unlikely to be the main reason for your poor sleep, though correcting it certainly does no harm. In young adults, difficulty falling asleep is far more often due to irregular sleep timing, late screen use, caffeine after the afternoon, daytime naps, stress or anxiety - and sometimes
thyroid problems or anaemia, so a
TSH, CBC and
vitamin D are worth checking if not already done. Practical steps that genuinely work: fixed wake-up time daily, no caffeine after 3 pm, no screens for an hour before bed, keep the bedroom dark and cool, and get out of bed if you are awake beyond 20 minutes rather than lying there. You can raise magnesium naturally with nuts, seeds, green leafy vegetables and whole grains, or take a supplement short-term as advised by your doctor. Please avoid sleeping tablets bought over the counter - they lose effect and can become habit-forming. If sleep is still poor after 3-4 weeks of these measures, or if you have low mood or persistent anxiety, book a consult with me on Practo and we will look at it properly.