In water, it breaks down into magnesium and sulfate. The theory is that when you soak in an Epsom salt bath, these get into your body through your skin. That hasn't been proven, but just soaking in warm water can help relax muscles and loosen stiff joints. ... Sore muscles after working out.