Streptococcus pneumoniae is a conditionally pathogenic bacteria that colonizes the nasopharynx of 27% to 65% of children and 10% of adults. Capsular polysaccharides are the most critical virulence factor of S. pneumoniae, and nonencapsulated strains are usually non-pathogenic. Previous studies have shown that glucose regulates capsule synthesis. To investigate the mechanism of carbon metabolism regulatory factors CcpA and HPr regulating capsule synthesis in the presence of glucose as the sole carbon source, we constructed deletion mutants (D39ΔccpA and ΔptsH) and complemented strains (D39ΔccpA::ccpA and ΔptsH::ptsH). In this study, we found that the promoting effect of capsule synthesis by glucose disappeared after the deletion of ccpA and ptsH, and demonstrated that the protein CcpA regulates capsule synthesis by binding to the cps promoter and altering the transcription level of the cps gene cluster. Increased glucose concentration up-regulated the level of HPr-Ser46~P, which enhanced the binding ability of CcpA to the DNA sequence of the cps promoter, thus promoting capsule synthesis. HPr also has a regulatory effect on capsule synthesis. These insights reveal a new synthesis mechanism of capsular polysaccharide and provide a new strategy of antibacterial drugs for S. pneumoniae.