GOFFSTOWN — After searching through 16,000 zip codes across the United States, last month Realtor.com announced Goffstown’s 03045 as one of year’s top ten 10 hottest neighborhoods in America when it comes to home sales.

The article noted recent median home prices in Goffstown were at $325,050. This figure is approximately $6,000 more than the national average, but well below the $589,900 median home price for the Boston metro area. Additionally, homes in Goffstown stayed on the market for an average of 22 days, well below the national median of 56 days after initial listing.

Those two facts brought Goffstown to ninth on the list just behind Arlington, Texas.

Realtor.com Chief Economist Danielle Hale credited much of the housing boom in Goffstown to millennials, who made up 43 percent of recent mortgagees in the zip code.

Hale also indicated that millennials purchasing homes in Goffstown have average earnings 1.7 times higher than their peers elsewhere in the country.

“The youngest generation of home buyers have great opportunity in Goffstown and they’re capitalizing on it,” she said.

Along with Goffstown’s affordability, its location also played a role in getting onto the list.

The article touted the charms of Pinardville and St. Anselm College, within Goffstown but just outside Goffstown’s main zip code, as well as the shops of downtown Goffstown and the town’s suburban nature and its proximity to urban areas.

Nick Papp of Homefront Realty in Manchester has sold several homes recently in Goffstown. He believes that combination of community, small-town feel and proximity to Manchester and Boston drives Goffstown’s attractiveness to young professionals along with its quality school system.

“Everybody’s been telling me that they like that they can still enjoy a close city, but they’re far enough away that they have a tight-knit community with each other,” he said. “It’s a cute, little quaint community and everybody’s loving it.”

The Creston neighborhood (49505) of Grand Rapids, Mich., topped the list with a median listing price of $178,050 with homes selling on average just 10 days after listing.

Goffstown was second in New England overall, with the Wyoming neighborhood (02176) of Melrose, Mass., finished in seventh with homes selling on average just 18 days after initial listing with a median listing price of $629,050.