If I Were in My 20s, I'd Buy These 3 Stocks and Hold Them Until Retirement

Source The Motley Fool

Key Points

  • Investors who parked $10,000 in an S&P 500 index fund 30 years ago and never sold would be sitting on $200,000 today.

  • Young investors can afford to take on additional risk, which could yield market-beating returns over the long term.

  • Certain tech stocks have produced mind-boggling gains, but thanks to opportunities like AI, they probably aren't done going higher.

  • 10 stocks we like better than Nvidia ›

The stock market can be an incredible wealth-building machine for patient investors. Over the last 30 years, the S&P 500 (SNPINDEX: ^GSPC) index has delivered a compound annual return of 10.5%, which would have turned an investment of $10,000 into almost $208,760. Many individual stocks have performed even better, albeit with more volatility along the way.

But for young investors in their 20s, taking a little more risk for the opportunity to earn higher returns can be a worthwhile trade-off. If I were that age today, I'd buy these three stocks with the intention of holding them for the next 30 or 40 years until retirement.

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 »

An investor smiling while sitting at their computer.

Image source: Getty Images.

1. Nvidia

Since going public in 1999, Nvidia (NASDAQ: NVDA) stock has returned a mind-boggling 831,900%. That translates to a compound annual return of almost 40% over the last 27 years, four times higher than the average annual gain in the S&P 500 over the same period.

Nvidia created the world's first graphics processing unit (GPU) in the late 1990s, which redefined 3D graphics for personal computers. Today, it makes the best GPUs for data centers, which are designed to handle artificial intelligence (AI) training and inference workloads. Demand is outstripping supply for those chips, and the company's new Vera Rubin generation will only widen the imbalance.

This gives Nvidia the power to dictate prices, which is partly why its revenue soared by 65% to a record $215.9 billion during fiscal 2026 (ended Jan. 25). According to Wall Street's average estimate (provided by Yahoo Finance), the company's revenue could top $393 billion in the current 2027 fiscal year.

Although AI is Nvidia's primary growth driver today, the company is well-positioned to become a top supplier of chips and components for emerging technologies such as autonomous vehicles and robots. Earlier this year, CEO Jensen Huang said the market for humanoid robots alone could top $40 trillion over the long term, dwarfing the current AI data center opportunity.

As a result, while it's unlikely Nvidia stock will maintain a 40% annual return from here because of the company's sheer size, I think it still has the potential to outperform the broader market over the next 30 or 40 years.

2. Amazon

Amazon (NASDAQ: AMZN) stock went public in 1997, and it has since climbed by a staggering 309,230%, or a compound annual rate of 32%. So, like Nvidia, it has obliterated the broader market.

Amazon is an incredibly diverse technology company. Amazon.com is the biggest e-commerce platform in the world, while Amazon Web Services (AWS) dominates the cloud computing industry, and Amazon Prime Video has become a leading streaming platform for movies and television shows. The company is using AI across all of its businesses to unlock new revenue streams, improve efficiency, and create a better customer experience.

For example, Amazon has built an AI shopping assistant for its e-commerce website, which helps customers compare products and make purchase decisions. It has also deployed over 1 million AI-powered robots in its fulfillment centers to speed up its logistics processes. Further, the AWS platform operates some of the best data centers for AI development, which it rents to other businesses for a fee. This has become one of the most profitable practices in the company's history.

Amazon has never rested on its laurels. I think the company's willingness to aggressively enter new, high-growth industries whenever the opportunity arises will be the reason it continues to beat the broader market over the long term.

3. The Vanguard S&P 500 ETF

I want to finish with an asset that even legendary investor Warren Buffett recommends. It isn't a stock in the traditional sense; it's an exchange-traded fund (ETF) that tracks the S&P 500 index: the Vanguard S&P 500 ETF (NYSEMKT: VOO). I know I said younger investors can afford to take more risk, but this could be the ideal asset for those who want to take the tried-and-tested path to stock market returns.

The Vanguard S&P 500 ETF holds 500 stocks across 11 sectors of the economy, making it highly diversified. But since it's weighted by market capitalization, the largest companies in the fund have a greater influence over its performance than the smallest. Given the size of companies like Nvidia, it's no surprise that the technology sector accounts for more than one-third of the value of the ETF's entire portfolio.

That means investors will have ample exposure to the AI boom and every other technological revolution, while also owning a slice of companies in the more defensive sectors of the economy, like financial services and consumer staples, which will help minimize volatility.

The Vanguard S&P 500 ETF is one of the most cost-effective index funds investors can buy. It has an expense ratio of just 0.03%, so annual fees would amount to just $3 per $10,000 invested. As a result, this could be the ultimate set-it-and-forget-it purchase for young investors of all experience levels.

Should you buy stock in Nvidia right now?

Before you buy stock in Nvidia, 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 Nvidia 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 $379,662!* 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,206,116!*

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

Anthony Di Pizio has no position in any of the stocks mentioned. The Motley Fool has positions in and recommends Amazon, Nvidia, and Vanguard S&P 500 ETF. The Motley Fool has a disclosure policy.

Disclaimer: For information purposes only. Past performance is not indicative of future results.
placeholder
Fed Decision Eve: 104 Economists Expect No Change; Why Is Citadel Securities Betting on a Surprise Hike?The Federal Reserve will announce its July interest rate decision on July 29, Eastern Time. The current target range for the federal funds rate remains at 3.5%-3.75%, but the suspense sur
Author  TradingKey
8 hours ago
The Federal Reserve will announce its July interest rate decision on July 29, Eastern Time. The current target range for the federal funds rate remains at 3.5%-3.75%, but the suspense sur
placeholder
WTI Oil flirts with the $80 level amid speculation about US-Iran peace talksOil prices remain depressed on Tuesday, as hopes of a new round of peace talks between the US and Iran boosted hopes of a de-escalation of the Middle East conflict.
Author  FXStreet
9 hours ago
Oil prices remain depressed on Tuesday, as hopes of a new round of peace talks between the US and Iran boosted hopes of a de-escalation of the Middle East conflict.
placeholder
Gold declines despite easing concerns over inflation, interest rate hikesGold price (XAU/USD) loses ground after registering gains in the previous day, trading around $4,050 per troy ounce during the Asian hours on Tuesday.
Author  FXStreet
17 hours ago
Gold price (XAU/USD) loses ground after registering gains in the previous day, trading around $4,050 per troy ounce during the Asian hours on Tuesday.
placeholder
Gold Price Forecast: Gold Poised to Break $4,200 as Oil Price Slump Eases Inflation FearsAs of the Asian session on July 27, gold prices ( XAUUSD) opened with a strong gap up today and maintained its upward momentum intraday, briefly breaking through $4,100 during the session
Author  TradingKey
Yesterday 08: 51
As of the Asian session on July 27, gold prices ( XAUUSD) opened with a strong gap up today and maintained its upward momentum intraday, briefly breaking through $4,100 during the session
placeholder
Middle East War updates: US-Iran pause strikes as Trump weighs up diplomatic optionsHere’s a brief recap of the key developments in the Middle East war that occurred over the weekend, which are expected to have a significant impact on markets in the upcoming week.
Author  FXStreet
Yesterday 01: 32
Here’s a brief recap of the key developments in the Middle East war that occurred over the weekend, which are expected to have a significant impact on markets in the upcoming week.
goTop
quote