A highly sensitive quantitative PCR (qPCR) method was developed for detection and quantification of Bacillus velezensis HMB26553 in cotton rhizosphere. The study aimed to develop a quantitative detection method for the strain HMB26553, and explore the relationship between its colonization of the cotton rhizosphere and its control effect. The whole genome sequence of strain HMB26553 was obtained by genome sequencing and a unique specific sequence pB‐gene0026 on plasmid plaBV2 was identified by using high‐throughput alignment against NCBI. Plasmid plaBV2 could be stably genetically inherited. Based on this sequence, specific primers for amplifying 106 bp and a minor groove binder (MGB) TaqMan probe for enhancing sensitivity were designed. The copy number of plaBV2 in strain HMB26553, which was 2, was confirmed by internal reference primers and the MGB TaqMan probe based on housekeeping gene gyrB. The established detection technique based on these primers and probes had high specificity and sensitivity compared to traditional plate counting method, with a detection limit of 1.5 copy genome. Using this method, the study discovered a likely correlation between the quantity of colonization in cotton rhizosphere and efficacy against cotton damping‐off caused by Rhizoctonia after seed soaking and irrigation with strain HMB26553. Thus, this method provides scientific support for the rational application of strain HMB26553 in the future.