Depends on the person. For most, the magnesium in multivitamins is more than sufficient. If you need to supplement, consult with your doctor. Typically 400-600mg/day is safe, but depending on the form (magnesium citrate is a powerful laxative, for example), you can have varied side effects.