It is the scourge of many a middle-aged man: he starts getting a pot belly, using lighter weights at the gym and somehow just doesn’t have the sexual desire of his younger years.

The obvious culprit is testosterone, since men gradually make less of the male sex hormone as years go by. But a surprising new answer is emerging, one that doctors say could reinvigorate the study of how men’s bodies age. Estrogen, the female sex hormone, turns out to play a much bigger role in men’s bodies than previously thought, and falling levels contribute to their expanding waistlines just as they do in women’s.

The discovery of the role of estrogen in men is “a major advance,” said Dr. Peter J. Snyder, a professor of medicine at the University of Pennsylvania, who is leading a big new research project on hormone therapy for men 65 and over. Until recently, testosterone deficiency was considered nearly the sole reason that men undergo the familiar physical complaints of midlife.

The new frontier of research involves figuring out which hormone does what in men, and how body functions are affected at different hormone levels. While dwindling testosterone levels are to blame for middle-aged men’s smaller muscles, falling levels of estrogen regulate fat accumulation, according to a study published Wednesday in The New England Journal of Medicine, which provided the most conclusive evidence to date that estrogen is a major factor in male midlife woes. And both hormones are needed for libido.