Epsom salt may help get rid of toenail fungus by drawing out moisture and drying out the moist environment harboring the fungus. However, there are no scientific studies to validate that Epsom salt can get rid of the infection.