Magnesium is contraindicated in patients with heart block, since magnesium may exacerbate this condition.
Magnesium is also contraindicated in patients with renal failure (creatinine clearance <20 mL/min), since there is an increased risk of hypermagnesaemia in these patients.
Magnesium sulfate heptahydrate should not be administered to pregnant women in the two hours prior to delivery, unless it is the only therapy available to prevent eclamptic seizures. There is a risk that the neonate will be born with hypermagnesaemia and depressed breathing.