"President Xi did raise that recent report in the context of their discussions on cyber-security," Ben Rhodes, Obama's deputy national security adviser, told a press briefing.
Obama "made clear" to Xi that "the United States does not engage in espionage to gain commercial advantage," Rhodes said after the two leaders met on the sidelines of a major summit on nuclear security in The Hague.
The New York Times and Germany's Der Spiegel said that the NSA had accessed Huawei's email archive, communications between top company officials, and even the secret source code of some of its products.
Spokesman Hong Lei said: "We ask America to give a clear explanation and stop such behaviour."
Also Read
Beijing itself has repeatedly been accused of large-scale cyber-espionage, which it vehemently denies.
The Chinese reprimand came after a top Huawei official similarly denounced the NSA.
Rhodes said that both the US and China "engage in intelligence activities on matters of national security".
"But there's a clear distinction in our view between intelligence activities that have a national security purpose and intelligence activities that have a commercial purpose," he said.