Aluminum magnesium oxide nanocomposites were prepared via a one-step microwave assisted solvothermal method, and they showed high adsorption capacities for the removal of both of As(V) and Pb(II) ions in water.