Caffeinated beverages and drinks can deplete the body’s magnesium levels. Hence drinking coffee on a regular basis or in excessive amounts can lower magnesium levels.