2 Top Cybersecurity Stocks to Buy in January

Source The Motley Fool

Key Points

  • AI-enabled cyberattacks increased 72% in 2025.

  • Palo Alto has a very profitable security business and is expanding its footprint with its Cyberark purchase.

  • Microsoft is the largest cybersecurity company by revenue.

  • 10 stocks we like better than Palo Alto Networks ›

Security threats are constantly rising and getting more sophisticated, thanks to bad actors utilizing artificial intelligence (AI). AI-enabled cyberattacks increased an estimated 72% in 2025 and that's led to a rapid increase in the number of companies using AI to fight threats, with about two-thirds now doing so.

As security complexities increase, cybersecurity companies are more important than ever, driving what will become a $377 billion market by 2028, according to IDC. As companies rise to meet the increasing threats, investors have the potential to benefit from the companies leading the pack. Here's why Palo Alto Networks (NASDAQ: PANW) and Microsoft (NASDAQ: MSFT) are two of the best cybersecurity stocks to buy right now.

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

A person looking at a screen with a lock on it.

Image source: Getty Images.

Palo Alto continues to expand its security footprint

Palo Alto recently made a very significant move to expand its security lead by purchasing Cyberark Software for $25 billion. The move helps the company, which was already a leader in cybersecurity, expand its footprint in identity and access control. The move, while pricey, means Palo Alto can offer a comprehensive cybersecurity solution to its clients, once the deal closes in the next few months.

But it's worth mentioning that Palo Alto would already be a top cybersecurity company even without the purchase. In the fiscal first quarter (which ended Oct. 31), the company's sales rose 16% to $2.5 billion, and its non-GAAP (adjusted) net income rose by 19% to $0.93 per share.

Palo Alto's business is highly profitable, with management reporting another quarter of an approximately 30% operating margin and guiding toward an adjusted free-cash-flow margin of 40% or higher by fiscal 2028. With the company's profitability already high and Palo Alto on the verge of closing its Cyberark deal to expand its security services, shareholders have a lot to look forward to.

Microsoft isn't just an AI and cloud company

Microsoft is best known for its Azure cloud computing business, its growing influence in artificial intelligence with Copilot, and its Microsoft 365 software offerings. That's important to note because the AI cloud market is estimated to reach $2 trillion globally by 2030.

But the company is also an important player in the cybersecurity space, with 1.5 million cybersecurity customers globally. Microsoft has an Azure Security service it offers to its cloud customers, allowing the company to benefit from both hosting clients' cloud networks and their need to secure them.

In 2025, Microsoft earned an estimated $37 billion in cybersecurity sales, which accounted for about 14% of its total sales, making it the largest cybersecurity company by revenue. If it continues to grow at a similar rate, Microsoft could reach $50 billion in security sales by 2030.

Microsoft is already delivering strong results for shareholders. Revenue climbed 18% year over year to $77.7 billion, in its fiscal first quarter of 2026, ended Sept. 30, 2025, while non-GAAP earnings surged 22% to $30.8 billion. By capitalizing on the rapid adoption of AI -- and the growing demand for security services that protect AI-driven cloud infrastructure -- Microsoft is well positioned to continue rewarding shareholders as it evolves into an increasingly key player in cybersecurity.

One quick note about cybersecurity stocks

All tech stocks can be volatile, but cybersecurity stocks sometimes fall on news of security breaches. No cybersecurity system is foolproof, so some breaches are inevitable. But as long as Microsoft and Palo Alto deal with any problems quickly and no lasting damage is done, investors shouldn't panic-sell when cyberattacks occur.

Should you buy stock in Palo Alto Networks right now?

Before you buy stock in Palo Alto Networks, 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 Palo Alto Networks 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 22, 2026.

Chris Neiger has no position in any of the stocks mentioned. The Motley Fool has positions in and recommends Microsoft. The Motley Fool recommends Palo Alto Networks and recommends the following options: long January 2026 $395 calls on Microsoft and short January 2026 $405 calls on Microsoft. The Motley Fool has a disclosure policy.

Disclaimer: For information purposes only. Past performance is not indicative of future results.
placeholder
Ethereum (ETH) Price Closes Above $3,900 — Is a New All-Time High Possible Before 2024 Ends?Once again, the price of Ethereum (ETH) has risen above $3,900. This bounce has hinted at a further price increase for the altcoin before the end of the year.
Author  Beincrypto
Dec 17, 2024
Once again, the price of Ethereum (ETH) has risen above $3,900. This bounce has hinted at a further price increase for the altcoin before the end of the year.
placeholder
Gold nears $4,700 record as US–EU trade war fears ignite haven rushGold (XAU/USD) rallies on Monday after falling to a four-day low on Friday, edging up more than 1.50%, and hovers near the $4,700 figure after reaching a new all-time high courtesy of geopolitical uncertainty amid the US-European Union trade-war escalation over the weekend.
Author  FXStreet
Jan 20, Tue
Gold (XAU/USD) rallies on Monday after falling to a four-day low on Friday, edging up more than 1.50%, and hovers near the $4,700 figure after reaching a new all-time high courtesy of geopolitical uncertainty amid the US-European Union trade-war escalation over the weekend.
placeholder
Bitcoin options open interest hits $74.1B, topping futures volume for the first time: CheckonchainBitcoin options open interest hit $74.1B vs. $65.2B futures as BTC trades at $93,189; Checkonchain flags IBIT/Deribit concentration and a 15% hashrate drop.
Author  Mitrade
Jan 20, Tue
Bitcoin options open interest hit $74.1B vs. $65.2B futures as BTC trades at $93,189; Checkonchain flags IBIT/Deribit concentration and a 15% hashrate drop.
placeholder
Ethereum slides below $3,000 as sellers defend $3,020 and $2,880 becomes the key lineEthereum fell below $3,000 after failing at $3,200, with resistance at $3,020 and key support at $2,880; a break lower could target $2,800 and $2,750, while a rebound needs $3,120–$3,150.
Author  Mitrade
Yesterday 03: 27
Ethereum fell below $3,000 after failing at $3,200, with resistance at $3,020 and key support at $2,880; a break lower could target $2,800 and $2,750, while a rebound needs $3,120–$3,150.
placeholder
When is the US President Trump’s speech at WEF in Davos and how could it affect EUR/USDUnited States (US) President Donald Trump is scheduled to deliver his speech at the World Economic Forum (WEF) in Davos after 13:00 GMT. Trump’s trip to Davos was delayed after Air Force One was forced to turn around due to a "minor electrical issue".
Author  FXStreet
Yesterday 10: 40
United States (US) President Donald Trump is scheduled to deliver his speech at the World Economic Forum (WEF) in Davos after 13:00 GMT. Trump’s trip to Davos was delayed after Air Force One was forced to turn around due to a "minor electrical issue".
goTop
quote