This Halbach magnetic assembly for wall-climbing robots, as the core magnetic adsorption component of wall-climbing robots, adopts a special permanent magnet arrangement to achieve single-side strong magnetic adsorption with extremely low magnetic leakage, providing stable and reliable adsorption force for wall-climbing robots. Suitable for various ferromagnetic wall surfaces, its lightweight design does not increase the robot load, helping robots efficiently complete high-altitude operations with the characteristics of low-leakage magnetic adsorption modules.