Home Depot, the world's No. 1 home improvement retailer, reported on Tuesday a better-than-expected rise in quarterly same-store sales, helped by a recovery in the U.S. housing market.
The key metric in the report is the 5.7 percent positive domestic sales comparison to the same period last year, said Oppenheimer & Co. senior research analyst Brian Nagel.
"There was very much a view that sales could be soft here, and what we're seeing in these numbers is that they're actually quite good," he told CNBC's "Squawk Box."
The company's overall same-store sales rose 4.2 percent in the second quarter, beating the average analyst estimate of 3.5 percent growth, according to research firm Consensus Metrix.
Home Depot can grow even further by meeting the needs of contractors, Nagel said. "There's a real opportunity for them to better penetrate that pro customer. Behind these results, I think we're starting to see some success of that already."
Home Depot shares edged lower in premarket trading immediately following the report. (Get the latest quote here.)
Read More Why Americans wait longer than ever to buy first homes
Nagel said the movement may be a knee-jerk reaction among investors to in-line earnings for a stock that hit a fresh high on Monday.
"I wouldn't read too much into this early movement in the stock. I think as investors digest this report, they're going to come away with the view that, look, this is another very solid announcement from a very solid company that's well-positioned," he said.
The home improvement retailer posted second-quarter earnings excluding items of $1.71 per share, up from $1.52 a share in the year-earlier period.
Revenue rose to $24.83 billion from $23.81 billion a year ago.
The company also raised its full-year outlook to a range of $5.31 to $5.36 a share.