Nodulation is an essential process for biological nitrogen (N 2 ) fixation in legumes, but its regulation remains poorly understood. Here, a b-expansin gene, GmEXPB2, was found to be critical for soybean (Glycine max) nodulation. GmEXPB2 was preferentially expressed at the early stage of nodule development. b-Glucuronidase staining further showed that GmEXPB2 was mainly localized to the nodule vascular trace and nodule vascular bundles, as well as nodule cortical and parenchyma cells, suggesting that GmEXPB2 might be involved in cell wall modification and extension during nodule formation and development. Overexpression of GmEXPB2 dramatically modified soybean root architecture, increasing the size and number of cortical cells in the root meristematic and elongation zones and expanding root hair density and size of the root hair zone. Confocal microscopy with green fluorescent protein-labeled rhizobium USDA110 cells showed that the infection events were significantly enhanced in the GmEXPB2-overexpressing lines. Moreover, nodule primordium development was earlier in overexpressing lines compared with wild-type plants. Thereby, overexpression of GmEXPB2 in either transgenic soybean hairy roots or whole plants resulted in increased nodule number, nodule mass, and nitrogenase activity and thus elevated plant N and phosphorus content as well as biomass. In contrast, suppression of GmEXPB2 in soybean transgenic composite plants led to smaller infected cells and thus reduced number of big nodules, nodule mass, and nitrogenase activity, thereby inhibiting soybean growth. Taken together, we conclude that GmEXPB2 critically affects soybean nodulation through modifying root architecture and promoting nodule formation and development and subsequently impacts biological N 2 fixation and growth of soybean.