U.S. equities delivered a striking split-screen session on Wednesday, with the S&P 500 and Nasdaq Composite closing at record highs even as fresh inflation data reinforced the case for a longer period of restrictive Federal Reserve policy. The advance was powered by a rebound in semiconductor shares and artificial intelligence-linked megacap technology stocks, which helped investors look past a sharp increase in producer prices and renewed pressure in interest-rate expectations.

The S&P 500 rose 43.29 points, or 0.58%, to 7,444.25. The Nasdaq Composite gained 314.14 points, or 1.20%, to 26,402.34. The Dow Jones Industrial Average fell 67.36 points, or 0.14%, to 49,693.20. The divergence reflected a market in which leadership remained heavily concentrated in technology and communication services, while rate-sensitive and defensive areas lagged.

The session’s defining feature was the market’s ability to absorb inflation news that, in isolation, would ordinarily be expected to weigh on equities. The Labor Department’s Bureau of Labor Statistics reported that the Producer Price Index for final demand increased 1.4% in April, seasonally adjusted, after rising 0.7% in March and 0.6% in February. The April increase was the largest monthly advance since March 2022. On an unadjusted basis, final demand prices rose 6.0% for the 12 months ended in April, the largest annual increase since December 2022.

The inflation report was broad enough to draw attention beyond energy markets. Nearly 60% of the April increase in final demand prices came from a 1.2% rise in final demand services. Prices for final demand goods advanced 2.0%, with final demand energy up 7.8%. The gasoline index rose 15.6%, accounting for more than 40% of the increase in final demand goods. The index for final demand less foods, energy and trade services rose 0.6% in April and 4.4% from a year earlier, signaling that underlying pressure was not confined to volatile fuel categories.

That data followed a consumer inflation report released a day earlier showing the Consumer Price Index rose 3.8% for the 12 months ended in April, up from 3.3% in March. Core CPI, excluding food and energy, rose 2.8% from a year earlier after a 2.6% annual increase in March. Energy remained a central driver of the acceleration, with the energy index up 17.9% over 12 months and gasoline up 28.4%.

For investors, the combined CPI and PPI readings challenged hopes that the Federal Reserve could move quickly toward rate cuts. Higher producer prices can compress corporate margins when companies cannot pass costs through to customers, and they can also feed into consumer inflation if cost pressures persist. The market response, however, showed that equity investors were more focused on earnings resilience and the AI-led investment cycle than on the immediate implications of the inflation data.

Semiconductor shares rebounded after weakness in the prior session, helping pull the broader market higher. The Philadelphia semiconductor group rose as investors rotated back into chipmakers viewed as direct beneficiaries of AI infrastructure spending. Nvidia advanced 2.3%, while Tesla gained 2.7%. Six of the Magnificent Seven group of AI-related megacap companies rose between 1.4% and 3.9%, according to Reuters, reinforcing the concentration of market leadership in the largest technology platforms.

Traders work near market screens as U.S. stocks close at record highs despite hotter inflation data.

The rally in chip and AI names carried particular weight because those companies have become the primary engine behind index-level gains. Their earnings outlooks are tied to cloud capital expenditure, data-center construction, accelerator demand and enterprise AI adoption. Investors have repeatedly treated weakness in these stocks as a buying opportunity when the underlying demand story remains intact. Wednesday’s session extended that pattern, with the market rewarding growth exposure even as macro data pointed to higher costs and delayed monetary easing.

Technology and communication services posted the largest percentage gains among the S&P 500’s 11 major sectors. Utilities were the weakest group, while financials also lagged. The sector rotation was consistent with a session in which investors favored structural growth and earnings momentum over defensive income or rate-sensitive balance-sheet exposure. It also highlighted the risk that broader index records may mask uneven participation beneath the surface.

Market breadth was not uniformly strong. Declining issues outnumbered advancers by a 1.21-to-1 ratio on the New York Stock Exchange. On the Nasdaq, 2,273 stocks rose while 2,450 fell, leaving decliners ahead by a 1.08-to-1 ratio. The S&P 500 recorded 37 new 52-week highs and 46 new lows, while the Nasdaq Composite posted 119 new highs and 191 new lows. Volume on U.S. exchanges reached 19.03 billion shares, above the 20-day full-session average of 18.12 billion.

The weaker breadth suggested that the record closes were driven less by a broad re-rating of the entire equity market and more by the continued dominance of large-cap technology and AI-linked shares. That concentration has been a recurring feature of the market’s advance, raising questions about durability if leadership narrows further or if inflation forces a meaningful repricing of rates.

Still, analysts cited corporate earnings as a support for the rally. Morgan Stanley raised its annual S&P 500 target to 8,000 from 7,800, saying U.S. equities had room to rise as companies continued to post strong results. The revision added to the bullish tone around large-cap stocks and helped reinforce the view that earnings growth could offset some of the drag from higher input costs and elevated borrowing rates.

Ford was one of the day’s standout single-stock movers, climbing 13.2% for its largest one-day percentage gain in six years. The move followed Morgan Stanley commentary describing the automaker’s energy business and its partnership with Chinese battery giant CATL as an underappreciated competitive advantage. The rally in Ford showed that the day’s risk appetite was not limited entirely to the largest technology companies, although the broader market’s direction was still set by AI and semiconductor leadership.

Traders work near market screens as U.S. stocks close at record highs despite hotter inflation data.

Nebius Group jumped 15.7% after the AI cloud company reported a nearly eightfold increase in quarterly revenue. The move reinforced investor demand for companies tied to AI computing capacity, cloud infrastructure and specialized data-center services. EchoStar rose 3.0% after the Federal Communications Commission approved the $40 billion sale of wireless spectrum to SpaceX and AT&T. In contrast, crypto-linked shares weakened, with Coinbase and Strategy declining as bitcoin and ether traded lower.

The session also unfolded against a geopolitical backdrop that kept attention on China, trade and semiconductor policy. President Donald Trump arrived in Beijing for a summit with Chinese President Xi Jinping, joined by a delegation that included Nvidia Chief Executive Jensen Huang and Elon Musk. The talks were expected to focus on U.S. business access, the maintenance of a fragile trade truce and broader tensions tied to technology controls and Taiwan.

The presence of major technology executives underscored the market significance of U.S.-China relations for chipmakers, electric-vehicle companies and AI supply chains. China has criticized U.S. arms sales to Taiwan and proposed U.S. legislation that could make it harder for Chinese chipmakers to produce AI semiconductors. For U.S. investors, any signal from the summit that stabilizes commercial ties could support risk appetite, while renewed restrictions or diplomatic friction could quickly pressure companies with China exposure.

Wednesday’s record close therefore reflected more than a routine technology rally. It captured a market willing to separate the near-term inflation shock from the longer-term earnings narrative around AI. Investors appeared to be betting that the companies leading the market have enough pricing power, balance-sheet strength and demand visibility to withstand a period of higher rates and higher input costs.

That view carries risks. The PPI report showed pressure across both goods and services, while the CPI report showed energy inflation feeding through to household costs. If producer price gains translate into consumer prices or corporate margin pressure, investors may have to reassess earnings assumptions. A prolonged period of elevated rates would also raise the discount rate applied to future technology earnings, a particular concern for high-valuation growth stocks.

For now, however, the market’s message was clear: AI remains the dominant equity theme, and investors are reluctant to step away from companies perceived as central to that investment cycle. The S&P 500 and Nasdaq records came on a day when inflation data should have been a headwind. Instead, chip stocks turned the session into another demonstration of how powerful the AI trade remains in shaping U.S. market direction.