Microsoft's Big Rally Hides a Cost Problem Worth Watching

Microsoft posted its largest single-day percentage gain in 18 years on July 30, 2026, capping a fiscal year in which the company spent roughly $145 billion on capital expenditures and its AI business crossed $37 billion in annual recurring revenue. Wall Street finished sharply higher that Thursday, with chip stocks jumping and Microsoft shares soaring, as fiscal Q4 results and forward guidance offset broader macroeconomic concerns (Reuters). The rally arrived against a tough backdrop: Microsoft shares were down roughly 17% year-to-date in 2026 as of late July, trailing the broader market (Yahoo Finance).
The Capex Arc
Microsoft's capital expenditures climbed steeply through fiscal year 2026. Q1 capex came in at $34.9 billion, driven by demand for cloud and AI offerings, with roughly half deployed to short-lived assets such as GPUs and CPUs (Microsoft Investor). Q2 rose to $37.5 billion, with approximately two-thirds directed at short-lived hardware (Microsoft Investor). Q3 fell sequentially to $31.9 billion, which Microsoft attributed to normal variability from cloud infrastructure buildouts and the timing of equipment delivery (Microsoft Investor). Q4 then spiked to $41 billion, reflecting the impact of higher component pricing (Microsoft Investor).
The component-pricing flag in Q4 is worth pausing on. When a company of Microsoft's scale explicitly cites higher component costs as a capex driver, it signals that GPU and server pricing power has shifted, at least partially, toward suppliers. Whether that pressure persists into fiscal 2027 will depend on competitive dynamics among silicon vendors and the cadence of next-generation chip deliveries.
The AI Revenue Engine
Microsoft's AI business surpassed $37 billion in annual recurring revenue in Q3 of fiscal 2026, up 123% year-over-year (Microsoft Investor). That growth rate, measured against a base already in the tens of billions, is unusual at this scale. The recurring-revenue framing matters here: ARR implies contracted, subscription-like revenue streams rather than one-off consumption spikes, which carries different durability characteristics for forward modeling.
OpenAI and Earnings Mechanics
The OpenAI investment remained a minor but visible drag on reported profitability. Net losses from Microsoft's stake in OpenAI reduced net income by $14 million in Q3 (Microsoft Investor). Q3 diluted EPS came in at $4.27 (Microsoft Investor). In Q4, Microsoft provided guidance on April 29, 2026 that resulted in a $0.27 benefit to diluted EPS, and the quarter included a $3.2 billion gain (Microsoft Investor).
The combination of that gain and the EPS benefit materially shaped the Q4 headline numbers that catalyzed the July 30 rally. Strip those items, and the underlying operational trajectory tells a more ambivalent story.
Shareholder Returns and Forward Guidance
In Q2 alone, Microsoft returned $12.7 billion to shareholders through dividends and share repurchases (Microsoft Investor). That pace of capital return, sustained alongside capex exceeding $35 billion per quarter, means Microsoft was simultaneously funding the largest infrastructure build in its history while returning cash at a rate exceeding $50 billion annually if the Q2 cadence held.
Microsoft's Q1 fiscal 2026 guidance, issued October 29, 2025, projected revenue of $79.5 to $80.6 billion, representing 14% to 16% growth, with COGS of $26.35 to $26.55 billion, representing 21% to 22% growth (Microsoft Investor).
The COGS growth rate outpacing revenue growth by roughly 600 to 800 basis points points directly to the margin compression that rising AI infrastructure costs impose. A basis point is one one-hundredth of a percent, so 600 basis points equals six percentage points. When cost of goods grows nearly twice as fast as the top line, gross margin contraction is arithmetic, not speculation.
What the Rally Resets
The July 30 surge matters less as a valuation event and more as a sentiment inflection. A stock down 17% year-to-date that then posts its largest single-day gain in nearly two decades is a market repricing expectations with unusual force. The catalyst was Q4 results that included a $3.2 billion gain and a $0.27 EPS benefit from guidance issued in April.
The key tension to monitor is whether the $37 billion AI ARR run-rate, growing at triple digits, can eventually absorb the depreciation burden from roughly two-thirds of quarterly capex being deployed to short-lived assets. GPUs and CPUs on a three-to-five-year depreciation schedule create a structural mismatch: revenue from AI services must scale fast enough to outpace the rate at which those assets roll off the books. Microsoft's own guidance showed COGS growth of 21% to 22% against revenue growth of 14% to 16%. That gap is the number to watch.


