JILL TORRANCE / ARIZONA DAILY STAR

With the housing market in Tucson on its way back up, many people are starting to think about buying a home.

Great news! A new study from SmartAsset, a financial technology company, found that Pima County is the second best county in the state for buying a home.

SmartAsset compares average rent and home prices across the country to find out where buying a home makes the most sense, the site says.

Check out the table below to see where Pima County stacks up against the rest of the state and learn more about the study here.

+1 

Pima County currently ranks second in the state for value when buying a home.