Based on these data sets and through integrated analysis of the isolation of the related bacterial strains, in vitro infection, and RNA sequencing, we identified and confirmed that Mesomycoplasma hyopneumoniae (M. hyopneumoniae) MAG_47 and its adhesion‐related virulence factors (VFs) were associated with lung lesions in pigs. This evidence concerns the gene MAG and infection.