Yes. Magnesium supplementation is safe when it is used as directed and is not contraindicated by advice you’ve been given by your healthcare provider, or any prescription medications you’re taking, however I always recommend working with a qualified healthcare provider if you have any concerns, and before supplementing with anything new in order to determine what’s best for your individual health status!