Abstract Antidepressant-like activity of magnesium in forced swim test (FST) was demonstrated previously. Also, enhancement of such activity by joint administration of magnesium and antidepressants was shown. However, the mechanism(s) involved in such activity remain to be established. In the present study we examined the involvement of NMDA/glutamate pathway in the magnesium activity in FST in mice. In the present study we investigated the effect of NMDA agonists on magnesium-induced activity in FST and the influence of NMDA antagonists with sub-effective doses of magnesium in this test. Magnesium-induced antidepressant-like activity was antagonized by N-methyl- d-aspartic acid (NMDA). Moreover, low, ineffective doses of NMDA antagonists (CGP 37849, L-701,324, d-cycloserine, and MK-801) administered together with low and ineffective doses of magnesium exhibit significant reduction of immobility time in FST. The active in FST doses of examined agents did not alter the locomotor activity (with an exception of increased activity induced by MK-801). The present study indicates the involvement of NMDA/glutamate pathway in the antidepressant-like activity of magnesium in mouse FST and further suggests antidepressant properties of magnesium.