2 Top Cybersecurity Stocks to Buy in March - The Motley Fool
The Motley FoolArchived Mar 18, 2026✓ Full text saved
2 Top Cybersecurity Stocks to Buy in March The Motley Fool
Full text archived locally
✦ AI Summary· Claude Sonnet
By Robert Izquierdo – Mar 16, 2026 at 9:30PM EST
KEY POINTS
Cybersecurity stocks experienced a sell-off in early 2026 amid fears of AI-fueled industry disruption.
Palo Alto Networks and Okta are among the companies that saw share price declines.
Both businesses are experiencing year-over-year revenue growth and enjoy leadership positions in the industry.
Artificial intelligence (AI) proved to be a boon for tech stocks after ChatGPT launched in 2022. But in 2026, the situation has changed drastically.
Now AI is seen as a disruptive force, threatening to upend business models in industries such as cybersecurity. Stock prices in the sector plunged in February after artificial intelligence giant Anthropic introduced a new AI security tool.
Wall Street's knee-jerk reaction creates an opportunity for the industrious investor to scoop up cybersecurity stocks at compelling valuations. Two to consider are Palo Alto Networks (
PANW
+1.00%
) and Okta (
OKTA
+1.81%
).
Image source: Getty Images.
Reasons to consider Palo Alto Networks stock
Palo Alto Networks is an attractive investment because it's an industry leader and the largest cybersecurity company by market cap. Consequently, despite Wall Street's sell-off, customers are unlikely to dump Palo Alto Networks in favor of unproven AI solutions.
Cybersecurity is critically important in today's digital world. Rival CrowdStrike proved this in 2024 when it accidentally released a software glitch that caused global chaos, creating disruption for airlines, banks, and hospitals.
Expand
NASDAQ: PANW
Palo Alto Networks
Today's Change
(1.00%) $1.68
Current Price
$169.13
KEY DATA POINTS
Market Cap
$138B
Day's Range
$167.70 - $172.03
52wk Range
$139.57 - $223.61
Volume
313
Avg Vol
10M
Gross Margin
73.50%
Moreover, Palo Alto Networks' sales are healthy, indicating its technology is in demand. In the company's fiscal second quarter (ended Jan. 31), revenue rose a healthy 15% year over year to $2.6 billion.
In addition, the company is constantly evolving its protections. For instance, it acquired CyberArk in February, marking its first foray into the identity security space. This serves as a potent new source of sales growth. In the third quarter, CyberArk posted $342.8 million in revenue, up a whopping 43% year over year.
Palo Alto Networks' solutions include defenses against quantum computers, which are capable of hacking through most of today's existing cybersecurity. According to the company, it introduced "the industry's first cipher translation, which instantly upgrades any application to be quantum safe." As quantum computers move past the early stages of development, they become increasingly more of a threat, making Palo Alto Networks a key security provider.
Yet its share price drop suggests it's at an alluring valuation. This can be seen in its forward price-to-earnings ratio, which tells you how much investors are willing to pay for a dollar of earnings based on estimates for the next 12 months.
PANW PE Ratio (Forward) data by YCharts.
The chart shows Palo Alto Networks' forward earnings multiple is lower than it's been for most of the past year. In fact, it's below the level seen last April, when the Trump administration's tariff policies caused the stock market to crash.
Why Okta is a worthwhile stock
Okta is one of the top five identity security companies in the space. It protects organizations from cyberattacks by recognizing who should have access to a customer's IT network. Anthropic's new AI security tool is designed to look for software vulnerabilities, so it can't replace Okta.
Moreover, in an age where a growing number of organizations are adopting agentic AI to perform tasks, recognizing which automated agents are allowed to access an IT system becomes increasingly difficult. Okta can make this distinction, which makes its services critical as AI agents proliferate.
Expand
NASDAQ: OKTA
Okta
Today's Change
(1.81%) $1.40
Current Price
$78.56
KEY DATA POINTS
Market Cap
$14B
Day's Range
$77.08 - $80.57
52wk Range
$68.77 - $127.57
Volume
80K
Avg Vol
3M
Gross Margin
77.36%
Okta's solutions are proving popular, as demonstrated by the company's growing sales. In its 2026 fiscal year (ended Jan. 31), revenue rose 12% year over year to $2.9 billion. It expects to continue seeing sales growth in fiscal 2027 with forecasted revenue of $3.2 billion.
Along with rising revenue, Okta's financial health is strengthening. It ended fiscal 2026 with operating income of $149 million compared to an operating loss of $74 million in the previous year.
The company also exited the 2026 fiscal year with an outstanding balance sheet. Total assets were $9.7 billion with cash, cash equivalents, and short-term investments of $2.6 billion. Total liabilities were $2.7 billion, but nearly $2 billion of that comprised deferred revenue, which are up-front payments from customers that will be recognized as sales once services are delivered.
Despite the positives, Wall Street indiscriminately sold cybersecurity stocks this year, resulting in an attractive share price valuation for Okta.
OKTA PE Ratio (Forward) data by YCharts.
The chart shows Okta's forward earnings multiple has dropped significantly. It isn't far from its low point for the past year.
Okta's growing sales and operating income combined with an outstanding balance sheet make it a solid cybersecurity company. Its lowered valuation means now is a good time to buy shares.
Read Next
Mar 13, 2026 By Leo Sun
CrowdStrike vs. Palo Alto Networks: Which Cybersecurity Stock Will Win 2026?
Mar 10, 2026 By Bryan White
Palo Alto Networks Just Made a $25 Billion Bet on 1 Security Platform. Is the Stock a Buy?
Mar 8, 2026 By Chris Neiger
2 Top Cybersecurity Stocks to Buy in March
Feb 27, 2026 By Harsh Chauhan
The Cybersecurity Market Is Set to Double to $300 Billion by 2030. Here's the Best Artificial Intelligence (AI) Stock to Buy Now.
Feb 22, 2026 By Geoffrey Seiler
Is It Time to Buy Palo Alto Networks Stock on the Dip?
Feb 22, 2026 By Anthony Di Pizio
1 No-Brainer Artificial Intelligence (AI) Stock to Buy With $160 and Hold for the Long Term
ABOUT THE AUTHOR
Robert "Izzy" Izquierdo is a contributing Motley Fool stock market analyst covering information technology, consumer discretionary, consumer staples, and communication services sectors. Prior to The Motley Fool, Izzy was head of product management at Target Media Partners, developing and launching multimillion-dollar software used by businesses such as Charter Communications. Prior to that, he worked at Yahoo! and startups on software products in connected TV, AI, consumer apps, and digital advertising. He holds a bachelor’s degree in English literature from UCLA and is certified in software product management.
TMFWryWrite
STOCKS MENTIONED
Palo Alto Networks
NASDAQ: PANW
$169.19
(+1.04%)
+$1.74
Okta
NASDAQ: OKTA
$78.56
(+1.81%)
+$1.40
*Average returns of all recommendations since inception. Cost basis and return based on previous market day close.