Longer and higher exposure to estrogen were associated with larger gray matter volume in middle-aged women.