A new layered aluminophosphate [C3H12N2][Al2P2O8(OH)2]·H2O has been synthesized hydrothermally by using racemic 1,2-diaminopropane as the structure-directing agent. Its structure, solved by single-crystal X-ray diffraction analysis, consists of [Al2P2O8(OH)2]2− macroanionic sheets stacked in an ABAB sequence, and diprotonated racemic 1,2-diaminopropane cations lying between the inorganic sheets. Hydrogen bonds exist between the oxygen atoms in the sheets and nitrogen atoms of the diprotonated 1,2-diaminopropane molecules. The as-synthesized product has also been characterised by powder X-ray diffraction, inductive coupled plasma analysis, IR spectroscopy, TGA and DTA.