Tampa, Fla., was recently ranked as the best place to retire by WalletHub.
WalletHub graded each city across four metrics — affordability, social activities, quality of life and healthcare — with 45 factors weighing into the final score.
Here are the 10 best and 10 worst cities to retire, according to WalletHub's study:
Best
1. Tampa, Fla.
2. Scottsdale, Ariz.
3. Fort Lauderdale, Fla.
4. Orlando, Fla.
5. Miami
6. Casper, Wyo.
7. Denver
8. Cincinnati
9. Charleston, S.C.
10. Atlanta
Worst
173. Baltimore
174. Vancouver, Wash.
175. Rancho Cucamonga, Calif.
176. Wichita, Kan.
177. Bridgeport, Conn.
178. Detroit
179. San Bernardino, Calif.
180. Bakersfield, Calif.
181. Newark, N.J.
182. Stockton, Calif.