12. Modesto, California | Total score: 40.11 | Affordability: 109 | Activities: 181 | Quality of life: 134 | Health care: 166 (Photo: Shutterstock)
11. Riverside, California | Total score: 39.99 | Affordability: 130 | Activities: 166 | Quality of life: 117 | Health care: 139 (Photo: Shutterstock)
10. Providence, Rhode Island | Total score: 39.86 | Affordability: 168 | Activities: 43 | Quality of life: 135 | Health care: 156 (Photo: Shutterstock)
9. Baltimore | Total score: 39.53 | Affordability: 142 | Activities: 65 | Quality of life: 169 | Health care: 124 (Photo: Shutterstock)
8. Rancho Cucamonga, California | Total score: 38.80 | Affordability: 141 | Activities: 167 | Quality of life: 96 | Health care: 157 (Photo: Shutterstock)

Advertisement

7. Fresno, California | Total score: 38.73 | Affordability: 95 | Activities: 178 | Quality of life: 148 | Health care: 170 (Photo: Shutterstock)
6. Newark, New Jersey | Total score: 37.84 | Affordability: 147 | Activities: 66 | Quality of life: 179 | Health care: 150 (Photo: Shutterstock)
5. Bakersfield, California | Total score: 37.53 | Affordability: 92 | Activities: 177 | Quality of life: 140 | Health care: 182 (Photo: Shutterstock)
4. San Bernardino, California | Total score: 36.94 | Affordability: 97 | Activities: 176 | Quality of life: 176 | Health care: 174 (Photo: Shutterstock)
3. Warwick, Rhode Island | Total score: 36.34 | Affordability: 168 | Activities: 105 | Quality of life: 152| Health care: 152 (Photo: Shutterstock)

Advertisement

2. Bridgeport, Connecticut | Total score: 35.74 | Affordability: 182 | Activities: 143 | Quality of life: 133 | Health care: 44 (Photo: Shutterstock)
1. Stockton, California | Total score: 33.73 | Affordability: 133 | Activities: 180 | Quality of life: 168 | Health care: 177 (Photo: Shutterstock)

(Related: 12 Best Cities for Retirement: 2019)

A majority of American workers in a recent survey said they were at least somewhat confident they would have enough money to retire comfortably.

Some workers who have doubts about their ability to enjoy a comfortable retirement will remain in the workforce, according to WalletHub. The personal-finance website noted that workers this year planned to retire at 65 on average, citing Gallup polling, up from 60 in 1995.

Alternatively, retirees may consider moving to a less expensive location where they do not have to sacrifice their lifestyle.

WalletHub researchers looked at the retirement friendliness of 182 U.S. cities, including the 150 most populated ones and at least two of the most populated cities in each state, comparing them across four dimensions: affordability, activities, quality of life and health care. They evaluated those dimensions using 46 metrics and grading them on a 100-point scale, with 100 representing the most favorable retirement conditions.

The cities at the bottom of the list are wanting in various ways that make them the least friendly retirement venues. For example, Fontana, California, which ranked No. 166, has just two home health care facilities per 100,000 residents, versus 50 facilities per 100,000 residents in St. Louis.

Fontana also has the lowest share of residents 65 and older in the country, only 7.2% of the population, suggesting retirees would feel relatively isolated there.

Unsurprisingly, San Francisco is not a city for those wanting to stretch their dollars, as it has the highest adjusted cost-of-living index for retirees in the country.

Check out the gallery for the 12 least retirement-friendly cities, according to WalletHub.

— Related on ThinkAdvisor: