Photos: America's 50 best towns to live in, 2016

Livability.com just released its third annual Best Places to Live rankings, looking at more than 2,100 U.S. cities with populations between 20,000 and 350,000. Cities were judged in eight categories: their economy, housing, amenities, infrastructure, demographics, "social and civic capital," education and healthcare. Where available, we've noted the median sales price for homes in each city, provided by Trulia. Click here to read much more about the rankings on Yahoo Homes.

More rankings on Yahoo Homes:

America's hottest ZIP Codes
The most pest-infested cities in the nation
The most expensive ZIP Codes