US-ECONOMY-INDICATOR-REAL-ESTATE (Photo by STEFANI REYNOLDS/AFP via Getty Images)

Home values have been soaring in the United States, especially in major metropolitan areas and coastal towns. However, a recent study found that housing costs have also risen in small towns.

A recent study from LendingTree analyzed median home values in towns defined by the US Census Bureau as having a population between 10,000 and 50,000. The researchers then compared each town with a larger metropolitan area.

The study found that the home values of micropolitan areas were comparable to those of larger metropolitan areas.

Towns Where Home Values Were the Most Expensive

Of all micropolitan areas with populations between 10,000 and 50,000, Vineyard Haven, Massachusetts, had the most expensive homes. The median home value in the area was $998,100. In comparison, the median home value in San Francisco is $1.073 million.

That said, homes in Vineyard Haven are less affordable than those in the big city. The median home price was roughly 11 times the local median income of $93,225. The study noted that the median home price was nine times the local median income in San Francisco.

Vineyard Haven is home to Martha's Vineyard and the Elizabeth Islands.

Following Vineyard Haven on the list was Jackson, Wyoming, where the median home value was $847,300, and the median household income was $102,435. In comparison, homes in Los Angeles had a median price of $772,000 with a local income of $89,105.

The high home prices in these small towns can be attributed to their limited supply. This means buyers would have to compete for a relatively small number of homes in the area, which could drive up prices.

READ ALSO: Fed Cuts Interest Rates Down to 4.8%; Here's What It Means for the Housing Market and Mortgages

10 Most Expensive Small Towns in the US

Vineyard Haven, MA

Median Home Value: $998,100

Median Household Income: $93,225

Jackson, WY

Median Home Value: $847,300

Median Household Income: $102,435

Breckenridge, CO

Median Home Value: $760,000

Median Household Income: $100,611

Steamboat Springs, CO

Median Home Value: $691,800

Median Household Income: $95,144

Hailey, ID

Median Home Value: $534,900

Median Household Income: $81,271

Gardnerville Ranchos, NV

Median Home Value: $529,600

Median Household Income: $84,262

Hood River, OR

Median Home Value: $492,500

Median Household Income: $80,254

Ellensburg, WA

Median Home Value: $471,600

Median Household Income: $66,800

Los Alamos, NM

Median Home Value: $412,700

Median Household Income: $135,801

Astoria, OR

Median Home Value: $407,700

Median Household Income: $68,025


RELATED ARTICLE: Is the American Dream Impossible? 60% of Americans Say They Don't Feel Capable of Owning a Home