In environments characterized by extended multi-stress conditions, pathogens develop a variety of immune escape mechanisms to enhance their ability to infect the host. The capsules, polymers that bacteria secrete near their cell wall, participates in numerous bacterial life processes and plays a crucial role in resisting host immune attacks and adapting to their niche. Here, we discuss the relationship between capsules and bacterial virulence, summarizing the molecular mechanisms of capsular regulation and pathogenesis to provide new insights into the research on the pathogenesis of pathogenic bacteria.