Microsoft and Tesla spent $41 billion and $5.8 billion, respectively, on capital expenditures in their recent quarters.
Tesla burned through cash in the latest quarter, while Microsoft's free cash flow was positive.
Microsoft Azure growth and a growing backlog are proof that Microsoft's spending is paying off.
For a large portion of the year, Microsoft (NASDAQ: MSFT) and Tesla (NASDAQ: TSLA) were the two worst-performing "Magnificent Seven" stocks, but they've gone in two different directions since their latest earnings reports. As of market close on Aug. 11, Microsoft is up 6.5% year to date (YTD), and Tesla is down 24% YTD.
One common complaint investors have shared among them is their high capital expenditures (capex). They're not comparable in scale -- Microsoft spent $41 billion in its recent quarter (up 70% year over year), while Tesla spent $5.8 billion (up 142%) -- but they're putting a noticeable dent in both companies' finances.
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 »
Even so, Microsoft's high capex is much easier to justify, which is why it's still a buy.
A company's free cash flow is important because it's money available for things such as dividends, share buybacks, and reinvestment in the business. Capex cuts directly into free cash flow, reducing a company's financial flexibility and ability to put the money to use elsewhere.
Even after spending $41 billion this past quarter, Microsoft's free cash flow was still $19.6 billion. Tesla's free cash flow came in negative, burning through $1.1 billion.
It's much easier to justify Microsoft's capex because it has the cash flow to absorb the costs without jeopardizing its financial health. It might not be ideal from a financial discipline standpoint, but Microsoft is a massive business and cash cow that has much more financial leeway than Tesla.
The spending itself isn't inherently the problem; the issue is when investors can expect to see results from it. Investors are aware that the spending is a means to an end, but it helps when the end is visible or predictable.
In Microsoft's case, concerns were that heavy spending on data centers and AI infrastructure would erode cash flow and profits before a return on investment was seen. However, after its recent earnings report -- which revealed that its cloud platform, Azure, had its first $100 billion year and a $678 billion backlog -- many of those worries have been laid to rest.
Tesla's spending is mostly going toward much longer-term projects, such as its Optimum robots and robotaxi network. Both are intriguing projects but are realistically very far off from becoming meaningful revenue generators (assuming they do). They're even further from becoming profitable businesses that Tesla can rely on.
As an investor, I'm much more encouraged by Microsoft's spending and direction. It's a stock I would load up on, while Tesla is one I'm avoiding.
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 $400,209!* 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,375,393!*
Now, it’s worth noting Stock Advisor’s total average return is 964% — a market-crushing outperformance compared to 215% 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 13, 2026.
Stefon Walters has positions in Microsoft. The Motley Fool has positions in and recommends Microsoft and Tesla. The Motley Fool has a disclosure policy.