Inclusion criteria:
Women who are 45 to 60 years old.
At least one year has passed since their last period.
Mild and moderate depression based on the Beck questionnaire (score 14 to 28)
Diagnosis of inappropriate sleep quality based on the Pittsburgh questionnaire (scores 6 to 21)
Exclusion criteria:
Having other psychotic disorders such as schizophrenia and active delusions ,Insanity, Bipolar disease, Dementia according to the person's self-report or medical record
Regular use of supplements and minerals, especially magnesium, in the last few months
Having diseases such as kidney disease (the active role of the kidney in magnesium homeostasis) and myasthenia gravis (due to the aggravation of the disease by magnesium) and gastrointestinal disease (diarrhea is a common side effect of magnesium) according to the individual's statement or the medical record.
Planned surgery within the next three months (due to the incomplete continuation of the treatment process)
Using drugs that interfere with magnesium (drugs such as Eltrombopag, Baloxavir, Tetracycline, Marboxil, Demeclocycline, Doxycycline, Minocycline, Oxytetracycline)
The existence of recent crises in life