These stocks both trade at low valuations compared to the S&P 500.
Their growth rates have remained strong in recent quarters.
The companies have some attractive growth opportunities ahead, related to artificial intelligence.
It's been a challenging year for some of the world's leading tech stocks. While some stocks have thrived, namely those that are involved in selling memory and storage products, many others have struggled.
A couple of tech giants within the "Magnificent Seven" that have been doing particularly poorly are Microsoft (NASDAQ: MSFT) and Meta Platforms (NASDAQ: META). They're both down double digits as investors have been pivoting to other names in tech instead. But with both of these businesses still generating terrific results recently, they may still have a lot to offer investors. Which one is the better buy for the second half?
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.
As of the end of June, Microsoft's stock was down an incredible 23%, making it the worst-performing stock in the Magnificent Seven. That's bad for current shareholders, but for people looking to buy the stock, it could make for an intriguing opportunity.
That's because Microsoft remains a top tech company. Its Windows operating system and Office software are staples in businesses all over the world. Artificial intelligence (AI) and chatbots aren't likely to make them obsolete. In fact, AI should enhance its products and make them more useful. But amid the panic due to AI fears, the market has dumped Microsoft along with many other software stocks.
The company's AI business grew at a rate of 123% in its most recent quarter, and the overall business generated 18% growth. Those are terrific numbers, with many of Microsoft's products and services delivering double-digit growth. For a top tech stock with a varied business model, Microsoft has a lot of upside given its attractive valuation; it trades at 23 times its trailing earnings, which is less than the S&P 500 average of 25.
Social media giant Meta Platforms has been investing heavily in AI, but that hasn't been enough to stop it from going on a sizable downturn this year. At the halfway point of the year, it was down 15%.
Meta has many top social media applications in its portfolio, including Facebook and Instagram. And the company is looking to AI to drive even more opportunities for its business, with Meta AI now being available in its apps. The company has rolled out paid AI plans for its applications, which may drive more revenue growth for its already strong business. With 33% revenue growth during the first three months of the year, Meta is doing well as its apps continue to be attractive options for marketers and advertisers to reach their target markets.
The company's strong profits enable it to spend heavily on the metaverse and AI, potentially unlocking more growth in the long run. At a price-to-earnings multiple of 21, the stock is an even cheaper option than Microsoft.
Although it's a bit more expensive, Microsoft's stock may generate better returns for investors in the long run. Its software is crucial for businesses, and that isn't likely to change anytime soon. AI may prove to be more of an opportunity than a threat to its operations. Meta, meanwhile, faces a bit more uncertainty given the increased spotlight on social media and the harms it poses to children. Its tendency to spend aggressively as it chases the latest trends (as is the case now with AI) is also why I'd tread a bit more cautiously with the stock.
Microsoft looks to be the safer, more reliable investment to consider when looking at the long run. It may just be a matter of when it starts to rally, but this is definitely a stock with a lot of potential upside given its reduced valuation.
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 $418,761!* 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,195,804!*
Now, it’s worth noting Stock Advisor’s total average return is 918% — a market-crushing outperformance compared to 208% 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 July 6, 2026.
David Jagielski, CPA has no position in any of the stocks mentioned. The Motley Fool has positions in and recommends Meta Platforms and Microsoft. The Motley Fool has a disclosure policy.