bPorcine contagious pleuropneumonia, caused by Actinobacillus pleuropneumoniae, has a major impact on economics, ecology, and animal welfare in the pig-rearing industry. Propionibacterium acnes, a facultative anaerobic Gram-positive corynebacterium, exists widely in normal healthy adult animals. We have shown previously that P. acnes can prevent A. pleuropneumoniae infections in mice and pigs. To elucidate the mechanism of this effect and to identify novel A. pleuropneumoniae vaccines, the role of anti-P. acnes antibodies in preventing infection was analyzed by indirect immunofluorescence and opsonophagocytosis assays in vitro. The role of the specific humoral immune response induced by P. acnes was confirmed in a B cell depletion mouse model. The survival rates of mice challenged with A. pleuropneumoniae exhibited a highly significant positive rank correlation with the levels of anti-P. acnes antibodies. The specific antibodies induced by P. acnes had the ability to combine with A. pleuropneumoniae and increase opsonization of A. pleuropneumoniae for phagocytosis. Furthermore, analysis in the murine B cell depletion model confirmed that the humoral immune response induced by P. acnes played an important role in resistance to A. pleuropneumoniae infection. In this study, we further elucidated the reasons that P. acnes can prevent A. pleuropneumoniae infection, which provides useful evidence for the development of heterologous vaccines for the control of porcine contagious pleuropneumonia.