What's a key downside of investing in a game-changing technology with fast-paced advances? One that immediately comes to mind is that there's no way to know for sure which stocks will be the biggest winners.
Artificial intelligence (AI) is a great case in point. Some of the top AI names right now might not be at the top 10 years from now. Does this mean that buy-and-hold investing is futile with AI stocks? Not at all. Here are three AI stocks I think you can safely buy and hold for the next decade.

Image source: Getty Images.
1. Alphabet
Once upon a time, some pundits predicted that generative AI would present an existential threat to Alphabet's (GOOG +0.99%) (GOOGL +0.95%) Google Search. You don't hear such dire warnings too much these days, though. Nearly three years after OpenAI launched ChatGPT, Google Search continues to grow robustly.
Alphabet defied the expectations of some doomsayers by evolving its search engine to incorporate generative AI, introducing new features such as AI Overviews and AI Mode. The company also released one of the top-ranked large language models (LLMs) on the market, Google Gemini, which has an even more powerful version on the way soon.

NASDAQ: GOOGL
Key Data Points
Alphabet CEO Sundar Pichai said in July, "AI is positively impacting every part of the business, driving
strong momentum." He was right. His statement is especially true for Google Cloud. The unit's revenue soared 32% year over year in the second quarter of 2025, maintaining Google Cloud's position as the fastest-growing major cloud services provider.
I suspect we've only seen the beginning of how Alphabet will make money through AI. The company's Waymo business is a leader in the up-and-coming robotaxi market. Its Android XR operating system sets the stage for Alphabet to be a strong contender in the AI glasses market as well. I believe this company will be significantly larger 10 years from now, with AI serving as one of its biggest growth drivers.
2. Amazon
Amazon (AMZN +1.08%) recently made headlines with its Amazon Web Services (AWS) outage that impacted many well-known businesses. I doubt many people will remember this public relations black eye a decade from now. Furthermore, I predict that AWS will rake in a lot more revenue than it does today.
Is AWS growing more slowly than its top rivals, such as Google Cloud? Yes. However, its revenue still jumped 17.5% year over year in Q2. And AWS continues to launch new capabilities, including agentic AI products, that should continue to attract new customers.

NASDAQ: AMZN
Key Data Points
Meanwhile, Amazon is leveraging AI effectively to increase its overall profitability. For example, the company recently introduced its DeepFleet AI model that controls over 1 million robots and is improving their travel efficiency. It's also using AI-powered demand forecasting to boost accuracy, optimize inventory placement, and reduce delivery times for millions of items purchased on its e-commerce platform.
Amazon is preparing to soon provide satellite internet service to customers using its Project Kuiper satellite network. I have no doubt the company will move into additional new markets over the next 10 years, some AI-related and others not.
3. Microsoft
Microsoft (MSFT +0.49%) might have made the smartest deal in the age of AI so far with its partnership with OpenAI. As a result, the company has been able to integrate generative AI throughout its software products, making them more valuable than ever to users.
AI has also provided a huge tailwind for Microsoft Azure, which ranks as the second-largest cloud services provider after AWS. Business is booming for Azure, with Microsoft's intelligent cloud segment revenue jumping 27% year over year in its latest quarter.

NASDAQ: MSFT
Key Data Points
Could Microsoft's momentum wane? Maybe, but I doubt it will. CEO Satya Nadella noted in the company's recent quarterly update, "Cloud and AI is [sic] the driving force of business transformation across every industry and sector." The transformation he referred to is still in its early innings, in my view.
I think Microsoft's productivity products are ideal for agentic AI to show its value. I'm also glad to see the company expand its umbrella by offering Anthropic's Claude AI models as well as OpenAI's models in Microsoft 365 Copilot. This company, like Alphabet and Amazon, has staying power.