Colorado is the second-best state to retire behind New Hampshire, according to a new Bankrate report.

The study examined eight key factors, which are in order of importance: cost of living, healthcare quality, crime, cultural vitality, weather, taxes, senior citizens’ well-being and the prevalence of other seniors.

New Hampshire earned the top spot for providing many of the necessities for a comfortable and sustainable retirement. Rounding out the top five were Maine, Iowa and Minnesota.

While Arizona, Florida and Nevada are popular retirement destinations, none cracked the top 10. Alaska came in last overall, as well as in two of the eight categories (weather and percentage of senior citizens).

The study found about half of non-retired U.S. adults would consider moving to a different city or state when they retire. The percentage is greatest among millennials (58 percent), and falls to 46 percent among Gen Xers, 37 percent of baby boomers and 12 percent of the silent generation.