Certain nutrients and conditions can affect how much magnesium a person absorbs. People wanting to increase their magnesium levels by improving absorption could try:
reducing or avoiding calcium-rich foods two hours before or after eating magnesium-rich foods