Diagnosing magnesium deficiency can be difficult. The amount of a loading dose that is excreted in the urine reflects the magnesium body stores. A person with normal stores will excrete almost all of a loading dose, while a deficient person will retain some, resulting in decreased excretion.