Nonlinear changes in brain function during aging are shaped by a complex interplay of factors, including sex, age, genetics, and modifiable health risk factors. However, the combined effects and underlying mechanisms of these factors on brain functional connectivity remain poorly understood.