The present study aimed to investigate the association between gene methylation and leukocytopenia from the perspective of gene regulation. A total of 30 patients confirmed as having post-infection leukocytopenia at People's Hospital of Xinjiang uygur autonomous region between January 2016 and June 2017 were successively recruited as the leukocytopenia group; 30 patients with post-infection leukocytosis were enrolled as the leukocytosis group. in addition, 30 healthy volunteers who received a health examination at the hospital during the same period were included as the normal control group. in each group, four individuals were randomly selected for whole genome methylation screening. after selection of key methylation sites, the remaining samples in each group were used for verification using matrix-assisted laser desorption/ionization-time of flight mass spectrometry. The levels of serum complement factors c3 and c5 in the leukocytopenia group were significantly lower than those in the other two groups (P<0.05). according to whole-genome dna methylation detection, 66 and 27 methylation loci may be associated with leukocytopenia and leukocytosis, respectively. Most of these abnormal loci are located on chromosomes 2, 6, 7, 1, 17 and 11. The rates of WW domain containing e3 ubiquitin protein ligase 2 gene methylation at cytosine-phosphate-guanine (cpG)_1, cpG_5/6 and cpG_7 in the leukocytopenia group were higher than in the other two groups (P<0.05); the rate of AKT2 cpG_1 methylation was higher in the leukocytopenia group than in the other two groups (P<0.05); the rate of calcium-binding atopy-related autoantigen 1 gene cpG_2 methylation was higher in the leukocytosis group than in the normal control group (P<0.05); and the rate of nadPH oxidase 5 gene cpG_3 methylation was higher in the leukocytosis group than in the normal control group (P<0.05). chemotactic factor secretion and cell migration abnormalities, ubiquitination modification disorders and reduced oxidative burst may participate in infection-complicated leukocytopenia. The results of this study shed new light on the molecular biological mechanisms of infection-complicated leukocytopenia and provide novel avenues for diagnosis and treatment.