Yes, current evidence suggests that taking magnesium and 5-HTP together is likely safe, though you should consult with a healthcare provider first.