Not sleeping properly for six weeks, with some nights of close to 38 hours awake, needs a proper look rather than just a supplement. Ongoing insomnia like this often has an underlying driver, such as stress,
thyroid changes or a disrupted routine, that's worth checking before adding anything new.
Next Steps
Magnesium glycinate and l-threonate forms are generally gentler on a sensitive stomach than magnesium oxide, but please run the specific product past your physician first given your gastritis. A fixed wake-up time and cutting screens before bed also help.
Health Tips
If this continues or starts affecting your daily functioning, please consult your physician for a sleep and
thyroid check rather than self-treating.