Got $5,000? 3 Tech Stocks to Buy and Hold for the Long Term

Source The Motley Fool

If the choppiness in the markets has you concerned, there's one thing you can focus on that will help calm any uneasiness: the long term. By shifting your focus from what will happen during the next few weeks to what will happen over the next few years, you can ignore the short-term noise driving the markets.

At the end of the day, you need to ask yourself: "Will this matter in three to five years?" While the knee-jerk reaction may be, "yes," think about what was going on five years ago: COVID-19. Many people were convinced that we would never return to in-person work, but that turned out to be a mostly false prediction.

Where to invest $1,000 right now? Our analyst team just revealed what they believe are the 10 best stocks to buy right now. Learn More »

However, many of the strong tech companies continued their dominance amid difficult circumstances and grew stronger despite significant headwinds. I think the market is in a similar situation today, and investors should consider scooping up these three beaten-down tech stocks that will likely be stronger five years from now.

My picks for stocks that will be just fine three to five years from now are Amazon (NASDAQ: AMZN), Meta Platforms (NASDAQ: META), and The Trade Desk (NASDAQ: TTD). All three are experiencing some short-term headwinds with tariffs and economic uncertainty, but that likely won't matter a few years from now.

Amazon

Amazon is one that many have keyed in on, and it could be wrecked by tariffs. It doesn't take much searching on Amazon's website to find that a considerable number of its products are made in China. Although the exact tariff figure on Chinese goods is rapidly changing, it's incredibly high. This could eat into Amazon's profits, which wouldn't bode well for the stock.

However, investors need to focus on the facts. If we enter a prolonged trade war with China, suppliers will move supply chains elsewhere, which will likely be resolved within three to five years. Also, Amazon doesn't generate a ton of profits from the goods it sells.

Retailers don't make a lot of money from their products; they make their profits on volume. Take Walmart, for example. Over the past year, it sold $681 billion in goods but only made a $19.4 billion profit -- a 2.9% margin.

In comparison, Amazon's profit margin was 9.3% over the past year. So, does this mean Amazon makes more from its commerce segment? Absolutely not.

Instead, Amazon gets a boost from other inherently high-margin divisions within its company. Subscription services, ad services, and Amazon Web Services (AWS, its cloud computing division) all have much higher margins to drive Amazon's profits. For reference, AWS made up only 17% of Amazon's revenue in 2024, yet produced 58% of its operating profits. These divisions won't be affected much by an economic downturn and will continue pushing Amazon's stock higher over the next few years.

Meta Platforms

Meta Platforms is better known by its former name, Facebook. Meta is the parent company of social media sites Facebook, Instagram, Threads, WhatsApp, and Messenger. These apps make money through advertisements, which is a huge cash cow for Meta.

Ad budgets are usually cut during an economic downturn, which could harm Meta's business. We saw this briefly during COVID-19 and in late 2022 and 2023, when most of the market was convinced we were headed for a recession.

META Operating Revenue (Quarterly YoY Growth) Chart

META Operating Revenue (Quarterly YoY Growth) data by YCharts

However, Meta's revenue always bounces back stronger than ever following these brief dips. I believe we'll see something similar throughout 2025, but its five-year revenue will likely be much higher, which will also drive the stock price up. So the sale price you're getting today on Meta's stock is a great bargain.

The Trade Desk

Similar to Meta, The Trade Desk operates in the ad environment but it acts as an intermediary between ad buyers and sellers to ensure that buyers place their content in the best locations.

While The Trade Desk could see a revenue dip similar to Meta, it has an even bigger problem: platform migration. During the fourth quarter, The Trade Desk migrated its users from its old Solimar platform to Kokai, which had some execution issues. This caused The Trade Desk to miss revenue guidance for the first time in company history, which caused the stock to sell off heavily.

However, this issue won't be present five years down the road. What will be even more prevalent is programmatic advertising, which uses artificial intelligence to process how an ad campaign is performing and tweak as necessary to provide peak performance. The Trade Desk is a market leader in this area, and I'm confident that it will be just as dominant five years from now as it is today.

While the road may be a bit bumpy between now and five years from now, I'm confident that The Trade Desk's stock will be much higher, prompting me to add more shares to my position.

Should you invest $1,000 in Amazon right now?

Before you buy stock in Amazon, 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 Amazon 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 $524,747!* Or when Nvidia made this list on April 15, 2005... if you invested $1,000 at the time of our recommendation, you’d have $622,041!*

Now, it’s worth noting Stock Advisor’s total average return is 792% — a market-crushing outperformance compared to 153% for the S&P 500. Don’t miss out on the latest top 10 list, available when you join Stock Advisor.

See the 10 stocks »

*Stock Advisor returns as of April 21, 2025

John Mackey, former CEO of Whole Foods Market, an Amazon subsidiary, is a member of The Motley Fool’s board of directors. Randi Zuckerberg, a former director of market development and spokeswoman for Facebook and sister to Meta Platforms CEO Mark Zuckerberg, is a member of The Motley Fool's board of directors. Keithen Drury has positions in Amazon and The Trade Desk. The Motley Fool has positions in and recommends Amazon, Meta Platforms, The Trade Desk, and Walmart. The Motley Fool has a disclosure policy.

Disclaimer: For information purposes only. Past performance is not indicative of future results.
placeholder
Here are all the Trump insiders who sold off billions in stocks before tariff announcementExecutives from some of America’s biggest companies sold off billions of dollars in shares right before Trump’s tariff announcement hit the markets. The trades happened during the first quarter of 2025, as tension built around the White House’s next economic move.
Author  Cryptopolitan
Yesterday 01: 29
Executives from some of America’s biggest companies sold off billions of dollars in shares right before Trump’s tariff announcement hit the markets. The trades happened during the first quarter of 2025, as tension built around the White House’s next economic move.
placeholder
Gold price continues scaling new record highs amid trade jitters, bearish USDGold price (XAU/USD) regains strong positive traction following Friday's modest downtick and climbs to a fresh all-time peak, closer to the $3,400 mark at the start of a new week.
Author  FXStreet
Yesterday 05: 35
Gold price (XAU/USD) regains strong positive traction following Friday's modest downtick and climbs to a fresh all-time peak, closer to the $3,400 mark at the start of a new week.
placeholder
Bitcoin ETFs Rebound, But Inflows Hit 2025 Low | ETF NewsBitcoin exchange-traded funds (ETFs) recorded a modest net inflow of $15 million last week, marking a significant turnaround from the previous week’s sharp outflows exceeding $713 million.
Author  Beincrypto
Yesterday 08: 17
Bitcoin exchange-traded funds (ETFs) recorded a modest net inflow of $15 million last week, marking a significant turnaround from the previous week’s sharp outflows exceeding $713 million.
placeholder
Is Bitcoin Following Gold’s Power Curve? Analyst Predicts $450,000 Target By Q4 2025While gold continues to set new all-time highs (ATH), trading at $3,420 per ounce, Bitcoin (BTC) may soon follow the precious metal’s price trajectory, according to crypto analyst Master of Crypto.
Author  FXStreet
12 hours ago
While gold continues to set new all-time highs (ATH), trading at $3,420 per ounce, Bitcoin (BTC) may soon follow the precious metal’s price trajectory, according to crypto analyst Master of Crypto.
placeholder
Gold price surges to $3,500 neighborhood; strong uptrend remains uninterruptedGold price (XAU/USD) builds on the previous day's breakout momentum beyond the $3,400 mark and continues scaling new record highs during the Asian session on Tuesday.
Author  FXStreet
8 hours ago
Gold price (XAU/USD) builds on the previous day's breakout momentum beyond the $3,400 mark and continues scaling new record highs during the Asian session on Tuesday.
goTop
quote