The subgroup analysis indicated that engaging in 150 min or more of exercise per week significantly elevated BDNF levels in middle-aged and older adults with T2DM (SMD = 1.56, 95% CI: 0.35 to 2.77, p = 0.01). The gene discussed is BDNF; the disease is type 2 diabetes mellitus.