Ms. Ruben and her mother are an example of a phenomenon that is driving an increase in the construction of senior housing across the United States. More assisted living, independent living and continuing care retirement communities are being built — not necessarily in the warmer climates where seniors have traditionally retired, like Florida and Arizona, but wherever economies are robust and booming, in places like New York, Denver, Chicago and Atlanta.

It is not uncommon for today’s seniors to live well into their 80s, 90s, even past 100. And when they can no longer be entirely independent, many are moving to be near their adult children for help in the last stage of their lives.

The need for more of this kind of housing is also driven by the need to combat what many see as a growing problem of isolation among people in this older generation. Of Americans age 65 and older, 28 percent — 11 million people — live alone, according to the United States Census Bureau. And the National Council on Aging estimates that eight million adults over the age of 50 are affected by isolation, which can harm both mental and physical health, said Lisa Marsh Ryerson, president of the AARP Foundation, which introduced Connect2Affect in 2016 to help raise awareness and offer solutions to senior isolation.

Ms. Ryerson said that the health effects of prolonged isolation have been found to be the equivalent of smoking 15 cigarettes a day, according to a study in Perspectives on Psychological Science. A study in the Proceedings of the National Academy of Sciences of the United States of America also found that social isolation and loneliness are associated with higher risk of mortality in adults 52 and older.

Senior living communities, where people of similar ages and abilities live together, can help combat that isolation, as can moving closer to adult children, who can then more easily help take care of their parent’s needs.