The invention discloses a method for a CCD camera for resisting longitudinal halo, and in particular relates to the method for a high-definition digital camera in a monitoring system for resisting the longitudinal halo. The method is supported by hardware comprising a field programmable gate array module, a voltage conversion module, a charge coupled pickup device module and a CCD signal processing module, wherein the field programmable gate array module is provided with program modules for controlling time sequence such as a counter generating module, an HD generating module, a Vphi1 generating module, a Vphi2A generating module, a Vphi2B generating module, a Vphi3 generating module and a SUB generating module; the time sequence for removing charges before the time sequence for exposure is added under the control of the programs of the modules so as to achieve the purpose of removing the longitudinal halo; and when the camera capable of removing the longitudinal halo is used for picking up images, clear images can be acquired even in strong sunlight; therefore, the camera provides powerful technical support for the traffic monitoring, the security monitoring, the maintenance of security of society and the traffic safety.