One logical way to help deal with the crisis of funding Social Security and Medicare is to have more workers per retiree, Reich writes, and the simplest way to do that is to allow more immigrants into the United States.

With Ellis Island behind them, a group of immigrant rights advocates march in Liberty State Park, Jersey City, N.J. Immigration reform and entitlement reform have a lot to do with one another, Reich writes.

Fast-forward. Most of us early boomers had planned to retire around now. Those born a few years later had planned to retire in a few years.

But these plans have gone awry. First, boomer wages didn’t rise as fast as we expected they would. In fact, over the last thirty years the median wage has barely budged, adjusted for inflation.

As a result, most of us haven’t saved as much as we’d hoped.

Then employers scaled back our pensions. Instead of the predictable monthly benefits many of our parents got when they retired, we received “defined contribution” plans – basically, do-it-yourself pensions. Some employers initially offered to match what we socked away, but those employer matches often shrank to the vanishing point.

We nonetheless took comfort from the rising prices of our homes, and assumed they’d become modest nest eggs when we sold them and bought smaller places for retirement.

But then the housing bubble burst.

Meanwhile, whatever we’d managed to sock away in the stock market lost years of value.

We assumed we’d at least have Social Security and Medicare. After all, we’ve been paying into both programs for years.

Yet both are now being eyed by deficit hawks who say the only way to avoid large and unsustainable budget deficits in future years is to limit these programs – as well as raise more tax revenue and cut everything else in the federal budget.

For example, Erskine Bowles and Alan Simpson have just offered another of their deficit-cutting plans — paring back Social Security’s annual cost-of-living adjustment and reducing Medicare by squeezing suppliers and cutting benefits for higher-income retirees.

So are the boomers doomed?

Not necessarily. One possible response to the aging of America, not yet on the table: Expand the number legal immigrants coming to America.

The biggest reason Social Security and Medicare are projected to cost so much in future years is because America is aging so fast.

It’s not just that so many boomers are planning to retire, and their bodies will wear out. It’s also that seniors are living longer. And families are having fewer children.

Add it all up and the number of Americans who are working relative to the number who are retired keeps shrinking.

Forty years ago there were five workers for every retiree. Now there are just over three. By 2025, if present trends continue, there will be only two workers per retiree. There’s no way just two workers will be able or willing to pay enough payroll taxes to keep benefits flowing to every retiree.

This is where immigration comes in. Most immigrants are young because the poor countries they come from are demographically the opposite of rich countries. Rather than aging populations, their populations are bursting with young people.

Yes, I know: There aren’t enough jobs right now even for Americans who want and need them. But once the American economy recovers, there will be. Take a long-term view and most new immigrants to the U.S. will be working for many decades.

Foreign-born workers are now 15 percent of the nation’s workforce. At the present rate of immigration, between now and 2050 immigrants and their children are projected to account fornearly all the growth of the American population under the age of 65.

Immigration reform is already on the national agenda, but we’ve been focusing on only one aspect of it – how to deal with undocumented workers.

We need to think more broadly, and connect the dots. One logical way to help deal with the crisis of funding Social Security and Medicare is to have more workers per retiree. And the simplest way to do that is to allow more immigrants into the United States.

Immigration reform and entitlement reform have a lot to do with one another.

The Christian Science Monitor has assembled a diverse group of the best economy-related bloggers out there. Our guest bloggers are not employed or directed by the Monitor and the views expressed are the bloggers' own, as is responsibility for the content of their blogs. To contact us about a blogger, click here. This post originally ran on www.robertreich.org.