Materials with different Au–Pd ratios bimetallic alloy nanoparticles supported on MgAl–LDH were prepared by an impregnation–reduction method and developed as photocatalysts for the selective oxidation of benzyl alcohol to benzaldehyde under visible light irradiation.