Magnesium hydroxide can decrease the absorption of digoxin. If you take both, your body may absorb less digoxin than it should.
These medicines are often taken together with some care. Your doctor may change a dose, space them apart or check on you more often. Make sure your doctor and pharmacist know you take both.