In order to improve the corrosion resistance of aluminum alloy, a porous anodizing film was prepared on the surface of aluminum by anodizing method, and a magnesium-aluminum hydrotalcite (MgAl-LDH) with layered bimetallic structure was constructed on the surface by the in situ growth method using the anodic oxide film as the skeleton. For the first time, zinc dibenzyl dithiocarbamate (ZBEC) was used to modify the prepared MgAl-LDH film, and the morphology and composition of the modified MgAl-LDH film were studied by SEM, EDS, XPS and FT-IR, and the effects of ZBEC concentration, modification temperature and modification time on the corrosion resistance of the modified film were studied by electrochemical impedance spectroscopy (EIS). The results show that the hydrotalcite film is a flaky staggered structure perpendicular to the surface of the matrix, the ZBEC molecule can successfully bind to the MgAl-LDH film, and the modified film has a good binding force. When the concentration of ZBEC modified solution is 0.03 mol/L, the temperature is 45 degrees C, and the time is 15 min, the EIS low-frequency modulus value of the modified film increases from about 7.94x10(5) Omega center dot cm(2) to 1.995x10(6) Omega center dot cm(2), indicating that the ZBEC modification improves the corrosion resistance of the MgAl-LDH film.