A Once-in-a-Decade Investment Opportunity: The 2 Best AI Stocks to Buy Now

By Trevor Jennewine | January 23, 2026, 4:15 AM

Key Points

  • Software stock trailed the S&P 500 by an abnormally wide margin in the past year, creating a buying opportunity.

  • AppLovin's AI-powered platform helps brands create and optimize the performance of advertising campaigns.

  • Atlassian's AI-powered software helps technical (DevOps) and business teams collaborate and complete projects.

The S&P North American Technology Software Index tracks the performance of 111 software stocks. It has underperformed the S&P 500 (SNPINDEX: ^GSPC) by 19 percentage points during the past year, the worst relative performance for the software industry since the bear market of 2022.

Excluding that incident, software stocks have not underperformed the S&P 500 so badly at any point in the past decade. And the reason for that trend is artificial intelligence (AI). Specifically, investors are worried that AI will disrupt traditional business models and reduce demand for many software products.

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 »

Morgan Stanley analysts Sanjit Singh and Keith Weiss see things differently. "Productivity unleashed by AI will expand the pool of developers and spur a wave of app modernization initiatives." In that context, the recent underperformance in software stocks creates a buying opportunity seen just once in the past decade.

Here's why AppLovin (NASDAQ: APP) and Atlassian (NASDAQ: TEAM) are my picks for the best AI software stocks to buy now.

Two AI text bubbles appear on an iridescent glass screen.

Image source: Getty Images.

AppLovin: 45% upside implied by the median target price

AppLovin develops ad tech software that helps brands engage consumers and monetize web content with targeted campaigns. The company initially focused on mobile gaming, where it helped developers market and monetize apps, but it more recently expanded into e-commerce advertising. That feature is part of a new self-service platform that streamlines the onboarding process and will eventually automate every workflow.

AppLovin has differentiated itself in two important ways. First, it earns revenue based on ad performance (i.e., cost-per-action), whereas competitors like The Trade Desk simply take a percentage of ad spend. Second, the artificial intelligence (AI) that powers its recommendation engine (Axon) outperforms similar targeting tools from other advertisers.

Indeed, Morningstar analyst Mark Giarelli says Axon has played a central role in the company's success. "AppLovin is driving a 45% higher return on ad spending than [Meta Platforms] and 115% higher compared with secondary advertising platforms like TikTok, Pinterest, Snapchat [by Snap], and YouTube," he wrote in a recent note to clients.

Wall Street estimates AppLovin's adjusted earnings will increase at 58% annually through 2027. That makes the current valuation of 66 times earnings look reasonable, especially when the company beat the consensus earnings estimate by an average of 21% in the last six quarters.

Among 32 analysts, AppLovin has a median target price of $774.50 per share. That implies 45% upside from its current share price of $533. Patient investors should feel comfortable buying a small position today.

Atlassian: 84% upside implied by the median target price

Atlassian develops work management and collaboration software for development and operations (DevOps) teams and non-technical teams like marketing and human resources. The company also develops IT service management software. Consultancy Gartner has recognized Atlassian as a technology leader in DevOps, marketing work management, and enterprise service management platforms.

Atlassian has differentiated itself in two ways. First, it invests more in R&D than its peers because it relies on self-service sales and word-of-mouth marketing. Second, it is the only work management software vendor that connects technical, non-technical, and IT service teams on a common platform, which not only fosters better collaboration across the enterprise, but also affords the company numerous opportunities to upsell existing customers.

Atlassian has introduced a suite of generative AI features called Rovo. It supports intelligent search, process automation, and code generation to improve productivity and efficiency across business teams. As a well-established software vendor in several product categories, Atlassian could be a substantial winner as the AI boom unfolds.

Wall Street expects Atlassian's adjusted earnings to increase at 22% annually through the fiscal year ending in June 2027. That makes the current valuation of 31 times earnings look reasonable, especially because the company beat the consensus earnings estimate by an average of 16% over the last six quarters.

Among 34 analysts, Atlassian has a median target price of $225 per share. That implies 84% upside from the current share price of $122. With shares trading 62% below the high, investors have a great opportunity to buy a small position.

Should you buy stock in AppLovin right now?

Before you buy stock in AppLovin, 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 AppLovin 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 $460,340!* 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,123,789!*

Now, it’s worth noting Stock Advisor’s total average return is 937% — a market-crushing outperformance compared to 194% 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 January 23, 2026.

Trevor Jennewine has positions in The Trade Desk. The Motley Fool has positions in and recommends Atlassian, Meta Platforms, Pinterest, and The Trade Desk. The Motley Fool recommends Gartner. The Motley Fool has a disclosure policy.

Latest News