For those that are severely lacking, magnesium can be administered intravenously, which can expedite the process. For the average person, within a month.