Yes, magnesium supplements and magnesium, in general, can help you go to the bathroom. It works by drawing water into your intestines, which then helps with the movement of the bowels.