Key Points
-
Microsoft’s Azure cloud sales surpassed $100 billion in fiscal 2026 and continue to accelerate.
-
Apple has been more fiscally conservative than its peers, while still managing to substantially increase its sales and earnings.
-
Microsoft’s shares look like the better deal right now.
- Motley Fool Issues Rare “Total Conviction” Buy Alert ›
Apple (NASDAQ:AAPL) and Microsoft (NASDAQ:MSFT) have been at the top of the tech world for years, both making for great long-term investments. Now artificial intelligence is disrupting some of the old guard, prompting investors to wonder whether these tech titans have what it takes in a new era.
While I believe Apple and Microsoft will both benefit from AI in different ways, I think Microsoft is the best place to put $2,000 right now. Here’s what’s going well for the companies, and why Microsoft stock gets the win in this matchup.
Missed Nvidia in 2009? This Rare Signal Is Flashing Again. In 2009, a “Double Down” signal flashed for a little-known chipmaker called Nvidia. For the first time in years, that same “Total Conviction” signal is flashing for a company 1/100th the size of Nvidia. Continue »
Image source: Getty Images.
Microsoft’s stalling stock, rising potential
One of the biggest sources of momentum for Microsoft is the company’s Azure cloud computing services. Microsoft has spent years and billions of dollars expanding Azure into the cloud behemoth it is today, grabbing 21% of cloud computing market share and closing in on Amazon‘s 28%.
Microsoft is spending heavily to expand its AI infrastructure and says capital expenditures (capex) could reach $170 billion in 2027. The high cost of AI spending has spooked investors, and it’s one of the main reasons why Microsoft’s stock is up just 5% over the past year. But I believe the company is making a smart bet on the long-term demand for more cloud services.
In the first quarter of fiscal 2027 (which ended Sept. 30), Azure sales rose 48% to $33.1 billion. That was an impressive start to the year, especially given that Azure surpassed $100 billion in annual revenue in fiscal 2026. As more companies and consumers need cloud computing for AI, Microsoft’s market position and early investments should continue to pay off.
What’s more, Microsoft’s gross margins were 68% in Q1, and net income rose 18% to $36.4 billion.
Why Apple’s share price has surged
Perhaps the most important reason Apple stock has surged 30% higher over the past 12 months is that the company has been financially conservative while its peers have been spending wildly. For example, Apple’s capex for fiscal 2026 was just over $9 billion, compared to Microsoft’s nearly $116 billion in spending.
Apple’s shareholders have no doubt liked this approach (I’m one of them), and they’ve also been happy with the company’s latest financial results. Apple’s sales rose 12% to $114.5 billion in fourth-quarter 2026, and earnings per share jumped 14% to $2.10.
What’s more, Apple’s latest iPhone Duo release — the company’s first foldable iPhone — has rekindled the idea that Apple can still introduce in-demand new products. Apple has called initial demand for the nearly $2,000 device “nothing short of extraordinary.” New CEO John Ternus has also ramped up the speed at which Apple debuts its products, pushing Apple quickly into new markets like a home smart hub with HomeView and the company’s first touchscreen MacBook Pro.
Apple does face some new hurdles, though. The company’s high margins have come under pressure as memory costs have spiked due to AI. Despite Apple raising prices on many devices to help offset the higher memory costs, the company’s gross margins fell to 48% in Q4, and management says they will decline further to between 45% and 46% in the current quarter.
Why Microsoft is the better tech stock to buy right now
Despite Apple’s impressive approach to cash conservation and its long-term potential to continue releasing new devices that customers love, I’d put an extra $2,000 toward Microsoft right now for two reasons: its ongoing cloud computing potential and its cheaper shares.
AI cloud revenue will reach $2 trillion globally by 2030, according to Goldman Sachs. Microsoft’s Azure is already at the forefront of the trend, and the company is already seeing its big investments pay off with Azure’s sales growth.
Microsoft’s stock has a trailing price-to-earnings (P/E) ratio of just 27. That makes it significantly cheaper than Apple’s shares, which have a P/E ratio of around 39.
I’m not selling my Apple shares, and I still think the company has plenty of life left in it, but if I had the extra cash to invest right now, I’d buy Microsoft.
Should you buy stock in Apple right now?
Before you buy stock in Apple, 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 Apple 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 $305,941!* Or when Nvidia made this list on April 15, 2005… if you invested $1,000 at the time of our recommendation, you’d have $771,325!*
Now, it’s worth noting Stock Advisor’s total average return is 719% — a market-crushing outperformance compared to 192% 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.
*Stock Advisor returns as of November 23, 2026.
Chris Neiger has positions in Apple. The Motley Fool has positions in and recommends Amazon, Apple, Goldman Sachs Group, and Microsoft. The Motley Fool has a disclosure policy.