This paper describes a superconducting magnet system for the China Accelerator Driven System (CADS). The magnetic field is provided by one main, two bucking and four racetrack coils. The main coil produces a central field of up to 7 T and the effective length is more than 140 mm, the two bucking coils can shield most of the fringe field, and the four racetrack superconducting coils produce the steering magnetic field. Its leakage field in the cavity zone is about 5 × 10−5 T when the shielding material Niobium and cryogenic permalloy are used as the Meissner shielding and passive shielding respectively. The quench calculations and protection system are also discussed.