UNION COUNTY — Two municipalities in Union County claim top spots in SmartAsset’s study on most affordable places to live in North Carolina. Those towns are Indian Trail and Unionville.

Out of the top 10 most affordable places to live in the state, Indian Trail ranked sixth and Unionville was ninth.

SmartAsset analyzed local property taxes, cost of insurance and income data. “Places where the homeownership costs were the most affordable compared to the local median income ranked the highest in the study,” according to the report from the New York-based technology company.

In Indian Trail, the average closing costs on the purchase of a home amounted to $2,671 and annual property taxes averaged $1,809. Annual homeowner’s insurance was $1,200 and the average annual mortgage payments average $10,226. The median income was calculated to be $79,010 and the affordability index 44.71.

The average closing costs in Unionville were $2,267 and the annual property tax averaged $1,649. The annual homeowner’s insurance was $1,184 and the average annual mortgage payment was $10,093. The median income for Unionville was $74,706 and the affordability index was listed at 43.39.

In a separate study by SmartAsset completed this year, the tech company analyzed the most stable housing markets across the state. Out of 10 markets, Monroe was sixth.

The average number of years people stayed in their homes and the percentage of homeowners with negative equity went into measuring stability.

According to SmartAsset, residents of Monroe on average lived in their homes for more than 20 years and the average of homes with negative equity was listed at 6.3%.

Homes decreasing in value in Monroe was 13.5% and the average amount of days spent on the market was 46.2.

The cost of homes as a percentage of income was listed at 22.1% and the stability index was 71.94.

By comparison, residents of top ranked Siler City lived in their homes for more than 25 years and their average homes with negative equity was listed at 4.9%. The homes decreasing in value was 11%.

The average number of days a home in Siler City spent on the market was zero, according to SmartAsset.

Cost of homes as a percentage of income was listed at 19.9% and their stability index was 85.34, per SmartAsset’s study.