Why Microsoft Stock Surged 24.6% in July While the Market Was Flat

Source The Motley Fool

Key Points

  • In July, Microsoft stock's biggest catalyst was the release of strong quarterly results and rosy guidance.

  • Investors were particularly pleased with robust results in Microsoft Cloud, driven by strong demand for AI capabilities.

  • 10 stocks we like better than Microsoft ›

Shares of software and cloud computing giant Microsoft (NASDAQ: MSFT) soared 24.6% in July, according to data from S&P Global Market Intelligence.

For context, the S&P 500 index was essentially flat -- it edged down less than 0.1% -- while the tech-heavy Nasdaq Composite index declined 3.2%.

Where to invest $1,000 right now? Our analyst team just revealed what they believe are the 10 best stocks to buy right now, when you join Stock Advisor. See the stocks »

Investors were no doubt particularly pleased with Microsoft's stock jump in July because shares had been about 19% in the red in 2026 before last week's earnings release. Through Tuesday, Aug. 4, Microsoft stock has returned 2.3% in 2026. The S&P 500 has returned 13.8% over this period.

"AI" written atop a semiconductor.

Getty Images.

Robust quarterly results

On July 30, Microsoft stock jumped 15.5%, following the release of its results for the fourth quarter of fiscal 2026 (ended June 30) on the prior afternoon. Moreover, the stock gained 19% in the two days following this release.

Microsoft reported quarterly revenue of $90.0 billion, up 18% year over year. This result comfortably beat Wall Street's consensus estimate of $87.6 billion. Net income on a non-GAAP (generally accepted accounting principles) basis was $35.3 billion, up 22%. That translated to adjusted earnings per share (EPS) increasing 23% to $4.74. This result sprinted by Wall Street's expectation of $4.24.

Non-GAAP results excluded the impact of the company's investments in AI model developer OpenAI, best known for its ChatGPT chatbot.

Revenue growth was driven by strong performance in Microsoft Cloud. Its revenue was $59.3 billion, up 27% year over year, and commercial remaining performance obligation increased 84% to $678 billion. This performance was driven by strong demand for artificial intelligence (AI) capabilities.

Within Cloud, Azure (its cloud computing platform) and other cloud services revenue increased 43%.

"This year, Azure revenue surpassed $100 billion for the first time, and Microsoft 365 Copilot [its AI-powered assistant that integrates with Microsoft 365 apps] reached over 30 million paid seats, reflecting the confidence customers are placing in us to power their AI transformation," said CEO Satya Nadella in the earnings release.

Microsoft's cloud demand still exceeds its capacity, but the company is adding capacity at a lightning pace. Nadella said on the earnings call that the company added 31 new data centers across 5 continents in the quarter, bringing its total to 88 new data centers this year.

Looking ahead

On the earnings call, CFO Amy Hood provided rosy guidance. For the first quarter of fiscal 2027, the company expects revenue of $89.85 to $90.95 billion, representing year-over-year growth of 16% to 17%, "with accelerating commercial growth partially offset by the impact from the [challenging] PC market dynamics."

For the full year fiscal 2027, Hood said the company continues to "expect another fiscal year of double-digit revenue and operating income. .... In addition, we expect to remain free cash flow positive in FY27."

Should you buy stock in Microsoft right now?

Before you buy stock in Microsoft, consider this:

The Motley Fool Stock Advisor analyst team just identified what they believe are the 10 best stocks for investors to buy now… and Microsoft wasn’t one of them. The 10 stocks that made the cut could produce monster returns in the coming years.

Consider when Netflix made this list on December 17, 2004... if you invested $1,000 at the time of our recommendation, you’d have $395,463!* Or when Nvidia made this list on April 15, 2005... if you invested $1,000 at the time of our recommendation, you’d have $1,268,290!*

Now, it’s worth noting Stock Advisor’s total average return is 927% — a market-crushing outperformance compared to 211% for the S&P 500. Don't miss the latest top 10 list, available with Stock Advisor, and join an investing community built by individual investors for individual investors.

See the 10 stocks »

*Stock Advisor returns as of August 4, 2026.

Beth McKenna has no position in any of the stocks mentioned. The Motley Fool has positions in and recommends Microsoft. The Motley Fool has a disclosure policy.

Disclaimer: For information purposes only. Past performance is not indicative of future results.
placeholder
AMD Q3 Earnings Preview: Can Data Center Revenues Continue to Set Records?Insights - AMD (AMD.US) is set to release its Q3 FY2024 earnings on October 29. As one of the few companies capable of genuinely capturing market share from NVIDIA, AMD’s earnings report will be a focal point for the market.
Author  Mitrade
Oct 29, 2024
Insights - AMD (AMD.US) is set to release its Q3 FY2024 earnings on October 29. As one of the few companies capable of genuinely capturing market share from NVIDIA, AMD’s earnings report will be a focal point for the market.
placeholder
Pi Network Price Annual Forecast: PI Heads Into a Volatile 2026 as Utility Questions Collide With Big UnlocksPi Network heads into 2026 after a 90%+ 2025 drawdown from $3.00, with 17.5 million KYC users and a smart-contract-focused Stellar v23 upgrade offering upside potential, but 1.21 billion tokens unlocking and heavy exchange deposits (437 million PI) keeping supply pressure and trust risks firmly in focus.
Author  Mitrade
Dec 19, 2025
Pi Network heads into 2026 after a 90%+ 2025 drawdown from $3.00, with 17.5 million KYC users and a smart-contract-focused Stellar v23 upgrade offering upside potential, but 1.21 billion tokens unlocking and heavy exchange deposits (437 million PI) keeping supply pressure and trust risks firmly in focus.
placeholder
Finding The Best Japan Stocks to Buy? These are Top Japanese Companies to Watch Discover the best Japanese stocks to buy, including AI semiconductor leaders, Buffett-backed trading houses, and undervalued Japan stocks benefiting from corporate reforms and yen trends.
Author  Mitrade
May 29, Fri
Discover the best Japanese stocks to buy, including AI semiconductor leaders, Buffett-backed trading houses, and undervalued Japan stocks benefiting from corporate reforms and yen trends.
placeholder
US President Donald Trump says Iran talks to begin Monday after canceling attackUS President Donald Trump said that fresh round of Iran talks would begin Monday after he cancelled a planned attack on Iran partially in response to pleas from US allies in the Middle East, including Saudi Arabia, Bloomberg reported on Monday.
Author  FXStreet
Aug 03, Mon
US President Donald Trump said that fresh round of Iran talks would begin Monday after he cancelled a planned attack on Iran partially in response to pleas from US allies in the Middle East, including Saudi Arabia, Bloomberg reported on Monday.
placeholder
Forex Today: Mideast uncertainty keeps USD supported ahead of next batch of US dataHere is what you need to know on Tuesday, August 4:
Author  FXStreet
16 hours ago
Here is what you need to know on Tuesday, August 4:
goTop
quote