Prices for luxury homes, fueled by the surging stock market and a shrinking inventory of properties on the market, are rising faster than more-modest residences across much of the U.S.

The average home price in the top 5 percent of the market jumped to $1.76 million in the fourth quarter, up 7.4 percent from a year earlier, according to a report released Thursday by brokerage Redfin Corp. In the bottom 95 percent of the market, meanwhile, the average rose to $333,000, an increase of just 6.1 percent.

“The stock market hit all-time highs with gains in nearly every sector last quarter, instilling confidence among the wealthiest homebuyers,” Redfin Chief Economist Nela Richardson said in a statement.

The supply of listings priced at $1 million or above fell almost 24 percent from a year earlier, the third consecutive quarter of declining inventory, the brokerage said. Sales of million-dollar homes jumped more than 15 percent.

Redfin’s analysis tracks home sales in more than 1,000 cities across the country, but doesn’t include Manhattan. Property purchases in the Hamptons, the Long Island getaway for New York’s rich and famous, also is getting a boost from the strong stock market, according to a separate report Thursday from appraiser Miller Samuel Inc. and brokerage Douglas Elliman Real Estate.

This article was provided by Bloomberg News.