+0.51(+0.90%)

+44.10(+0.85%)

+3.60(+0.27%)

+4.94(+0.31%)

Here are the best (and worst) states to retire

As they say in real estate, "location, location, location." The same could be true for retirement.

With more and more retirees responsible for their own financial security , choosing the right destination once you've stopped working can make or break any lazy-day fantasies.

To that end, WalletHub compared the retirement-friendliness of all 50 states using criteria such as cost of living, crime rate, tax-friendliness on pensions and Social Security income, number of health-care facilities, access to public transportation as well as the weather and proximity to golf courses and museums — this is retirement after all.

Some of the states that ranked the highest were no surprise — Florida snagged the top spot. Others, like South Dakota and Iowa, were less expected. Among the least desirable were high-tax states like New Jersey and Rhode Island.

Here are the 10 best and worst places to retire, according to WalletHub. (And if you are thinking more outside the box, here are the world's top 5 retirement destinations .)

More from Your Money, Your Future: 5 countries where you can live the dream in retirement 10 moves to boost your wealth in 2018 Single ladies: Here's how to take charge of your money