The MgAl-LDOs was synthesized in this work to adsorb the COD and heavy metals in accident oil pool of substation synchronously. The MgAl-LDOs was synthesized by SEM, XRD, FTIR, BET, indicating its abundant surface -OH and rich channel structure, benefiting for its excellent dual-effect adsorption properties for COD and heavy metals removal. By using MgAl-LDOs, the COD removal efficiency of oily wastewater from simulated accident oil pool can achieved to be 81.78%, while the removal efficiency of Fe (10ppm) and Cr(10ppm) can reach more than 98%. Besides, the adsorption capacity of Fe and Cr by MgAl-LDOs can reach 158.49 and 149.94mg/g, respectively, whose adsorption isotherm conforms to the Freundlich model and the adsorption process is multi-molecular layer adsorption. Such a synchronous control method for COD and heavy metals can provide a useful strategy for multiple pollutants control in accident oil pool of substation.