Provided is an alternating-current and direct-current five-degree-of-freedom hybrid magnetic bearing having dual spherical surfaces for a vehicle-mounted flywheel battery; a radial stator consists of upper and lower radial stators (1, 8) arranged coaxially and having integrally connected yokes; three radial stator poles (11, 12, 13, 81, 82, 83) are arranged along the circumferential direction of each of the upper end of the yoke of the upper radial stator (1) and the lower end of the yoke of the lower radial stator (8); the inner surface of each radial stator pole (11, 12, 13, 81, 82, 83) is a concave spherical surface (211, 811); the upper and lower ends of the intermediate cylinder (73) of a rotor (7) are an upper connection body (72) connected to an upper-end cylindrical body (71) and a lower connection body (75) connected to a lower-end cylindrical body (74), respectively; the side walls of the upper and lower cylindrical bodies (71, 75) are convex spherical surfaces (711, 751); each concave spherical surface (211, 811) correspondingly faces, at its top and bottom, a convex spherical surface (711, 751); an axial stator (5) is nested outside the intermediate cylinder (73); the upper side of an upper axial stator (51) and the lower side of the lower axial stator (52) are each equipped with annular permanent magnets (31, 32); the opposing faces of the upper and lower radial stators (1, 8) and the rotor (7) are spherical structures, eliminating a gyroscopic effect; when the rotor (7) of the magnetic bearing deflects or deviates, the electromagnetic force points to the spherical center of the rotor (7), thus reducing the disturbance torque generated on the rotor (7) by the stator magnetic poles.