Glaesserella parasuis is an important porcine pathogen that commonly colonizes the upper respiratory tract of pigs and is prone to causing Glässer’s disease under complex conditions. As yet, the disease has led to serious economic losses to the swine industry worldwide. Studies so far have found that several virulence factors are associated with the pathogenicity of G. parasuis, but the pathogenic mechanism is still not fully understood. Cytolethal distending toxin (CDT), a potential virulence factor in G. parasuis, is involved in cytotoxicity, serum resistance, adherence to and invasion of host cells in vitro. Here, to further investigate the pathogenic role of CDT during G. parasuis infection in vitro and in vivo, a double cdt1 and cdt2 deletion mutant (Δcdt1Δcdt2) without selectable marker was first generated in G. parasuis JS0135 strain by continuous natural transformations and replica plating. Morphological observation and lactate dehydrogenase assay showed that the Δcdt1Δcdt2 mutant was defective in cytotoxicity. Additionally, the Δcdt1Δcdt2 mutant was more susceptible to phagocytosis caused by 3D4/2 macrophages compared to the wild-type JS0135 strain. Moreover, by focusing on clinical signs, necropsy, bacterial recovery and pathological observation, we found that the deletion of cdt1 and cdt2 genes led to a significant attenuation of virulence in G. parasuis. Taken together, these findings suggest that as an important virulence factor, CDT can significantly affect the pathogenicity of G. parasuis.