Mycoplasma hyopneumoniae (M. hyopneumoniae) is the causative agent of swine enzootic pneumonia, resulting in substantial economic losses in global pig farming. Although vaccination is the primary strategy for controlling M. hyopneumoniae infection, current vaccines fall short in preventing transmission of this pathogen or protecting the body from secondary infection. This study aimed to assess the immunogenicity of six recombinant antigens (P97R1, P46, GAPDH, PdhA, DnaK, and EF-Tu) of M. hyopneumoniae through intramuscular immunization in mice. The results showed that the six antigens elicited high levels of serum IgG. Among them, P97R1, P46, PdhA, and DnaK stimulated robust antigen-specific IgA mucosal immune responses. CCK-8 assays revealed that both P97R1 and DnaK significantly increased the proliferation of mononuclear cells from spleen and lung, and DnaK also promoted the proliferation of blood mononuclear cells. Additionally, PdhA induced Th17-type immune response with a high level of IL-17 level in serum. Flow cytometry analysis indicated that P97R1 and PdhA increased the ratio of CD8+/CD4+ T lymphocyte, favoring cytotoxic T lymphocyte (CTL) immune responses. Notably, P97R1 immunization significantly decreased the percentages of CD4+ T cells while increased the percentages of CD8+ T cells. The present findings demonstrate that the candidate antigens P97R1, PdhA, and DnaK of M. hyopneumoniae induce specific humoral and mucosal immunity; P97R1 and DnaK also stimulated intense cellular immunity, and PdhA induced CTL and Th17-type immune responses. In conclusion, P97R1, PdhA, and DnaK emerge as potential candidate antigens for the future development of a more effective subunit vaccine against M. hyopneumoniae.