Abstract:The uniformity and the dropping rate of the end field of the Solenoid magnetic field are Optimiz by the positive and opposite compensating coil. The theory and experiment results show that this method has distinctly improved the uniformity and the dropping rate of the end field of the Solenoid magnetic field.