6 Cybersecurity Stocks to Buy Now
With global security spending continuing to rise, these cybersecurity stocks are worth a closer look.

Cybersecurity stocks sold off a few months back when a July software update from CrowdStrike Holdings (CRWD) caused one of the biggest internet blackouts ever. But the industry quickly rebounded and analysts say it is primed for long-term growth.
Along with the rest of the tech sector, the cybersecurity industry is enjoying a tremendous run. Over the past five years, shares of the Global X Cybersecurity ETF (BUG), which tracks a basket of cybersecurity stocks, has averaged an annual return of 13.5%.
And there is still plenty of opportunity for investors, especially for those with a long-term perspective, as growth prospects for cybersecurity stocks remain generally strong.
An October survey of chief information officers conducted by Gartner found that cybersecurity remains their highest priority, with approximately 87% planning to increase spending this year.
That reflects a digital threat environment that's getting worse, including the proliferation of phishing attacks and ransomware. The emergence of artificial intelligence (AI) systems like ChatGPT have made such attacks even tougher to fend off. Hackers are using these technologies to craft more convincing phishing emails – and even to create malware.
Plus, "the increasing integration of technology into defense and national security," along with rising geopolitical tensions and accelerating globalization are driving increases in defense spending, says Global X. "By 2030, global defense expenditures are expected to surge nearly 40%, surpassing $3.4 trillion, with a growing portion allocated to AI, cybersecurity, and other advanced defense technologies."
So which cybersecurity stocks stand to benefit from this increase spending? And which look attractive right now?
We've compiled a list of six of the best cybersecurity stocks to buy as growth in the industry ramps up.
To come up with our list of the best stocks to buy in this industry, we focused on companies that are expected to average double-digit earnings-per-share growth each year for the next three to five years, according to S&P Global Market Intelligence.
This makes them ideal long-term investment stocks.

Fortinet
- Market value: $74.5 billion
- Analysts' consensus long-term EPS growth estimate: 18.1%
At the core of Fortinet (FTNT) is a comprehensive system to secure networks. The solutions include firewalls, intrusion prevention systems, data leak prevention, virtual private networks (VPNs) and secure web gateways. These and other measures provide strong security as well as improved network performance.
Besides its core technologies, Fortinet also has offerings like encryption applications, universal zero trust network access and security for LANs (Local Area Networks) and WLANs (wide-area networks).
"What Fortinet does well is that it offers multiple security functions on one platform at an attractive price as a bundle," said Hendi Susanto, portfolio manager at Gabelli Funds.
In Q3 2024, revenue rose 13% year over year to $1.5 billion, and service revenue jumped 19% to $868.7 billion. Cash flows from operations were $608 million.
The company has more than 800,000 customers, including a number of the companies in the Fortune 500 and the Global 2000, and nearly 1,400 patents.
Over the years, Fortinet has invested heavily in its AI solutions, including using sophisticated algorithms to process more than 100 billion cyber events every day. This has allowed for better real-time prevention of breaches, as well as improved remediation.
For investors seeking out the best cybersecurity stocks, FTNT is worth a closer look.

CyberArk Software
- Market value: $17.5 billion
- Analysts' consensus long-term EPS growth estimate: 24.5%
CyberArk Software (CYBR) develops identity security systems. Its solutions include single sign-on, multi-factor authentication, directory services and lifecycle management. These are available on-premises, through the cloud and via the hybrid cloud. The company also offers a rich set of solutions for analytics.
CyberArk has more than 8,500 customers across 110 countries. Its customer base includes more than half the Fortune 500 and about a third of the Global 2000.
A strong identity system is certainly a must-have for security, and CyberArk's solution incorporates the functions enterprises need.
"We are the only company with an Identity Security platform that can offer our customers the flexibility to provide standing access, just in time access or zero standing privileges, depending on the type of identity and the nature of the target they need to access," said CEO Matt Cohen in CyberArk's third-quarter earnings call.
"What differentiates our platform even further," Cohen added, "is that we can do this across hybrid and cloud native environments."
This is why CyberArk is one of the best cybersecurity stocks around.

Palo Alto Networks
- Market value: $120.4 billion
- Analysts' consensus long-term EPS growth estimate: 22.3%
Palo Alto Networks (PANW) is one of the world's largest providers of cybersecurity solutions. Its software and hardware support sophisticated network security, secure access service edge (SASE) and cloud security. The company also provides threat intelligence consulting services.
With Palo Alto Networks' massive scale, it's able to invest about $1 billion in research and development (R&D) each year. This is two to five times what its pure-play rivals spend. Ongoing R&D investment sustains a large number of updates, upgrades and new systems.
And it's paying off for one of Wall Street's best cybersecurity stocks. In November, management reported a 14% year-over-year increase in fiscal first quarter revenue to $2.1 billion and projected similar growth for its fiscal second quarter.
Remaining performance obligations, management's preferred metric for contracted but not yet recognized revenue, in Q1 were up 20% year over year to $12.6 billion and forecast to be up between 35% and 36% in fiscal Q2.
"PANW's results over the last few quarters have demonstrated its success with driving large transactions via its 'platformization' strategy," says CFRA Research analyst Janice Quek (Buy). "We anticipate this momentum to continue in 2025, as enterprise firms prioritize AI-driven product investments, cost optimization, and security enhancements in the new year."

Okta
- Market value: $15.3 billion
- Analysts' consensus long-term EPS growth estimate: 24.5%
Okta (OKTA) is a leading developer of identity technologies, which facilitate secure access, authentication and automation for a variety of systems such as cloud and mobile apps, on-premises servers and APIs (Application Programming Interfaces).
Big competitors occupy the identity market, including blue chip stock Microsoft (MSFT). But Okta has the advantage of being neutral: It does not sell any other software that might compete with customers.
Okta has also built a strong ecosystem. The company currently boasts more than 7,000 pre-built integrations.
Secular trends are driving Okta's business, including the still-developing move toward a hybrid workforce and the corresponding demand for securing external systems and applications.
Another important trend is Zero Trust security. This assumes that an organization will be compromised and that cybersecurity systems need to be more comprehensive, such as with response and recovery to breaches.
Another reason OKTA is on this list of the best cybersecurity stocks is that the company has nearly 19,000 customers. One of the most notable is OpenAI, which is the creator of the hugely successful ChatGPT app.
Okta's platform has the benefit of extension into new market categories, such as with SIEM (Security Information and Event Management).
In other words, OKTA should enjoy good momentum for years to come.

Zscaler
- Market value: $29.4 billion
- Analysts' consensus long-term EPS growth estimate: 25.7%
Founded in 2007, Zscaler (ZS) is one of the early players in the cloud-based cybersecurity market.
The company's core platform is the Zscaler Zero Trust Exchange. It's an alternative to the traditional approach to cybersecurity, which has focused on on-premise corporate networks.
The Zscaler Zero Trust Exchange has multiple benefits. It allows users to have secure and reliable access to cloud applications, and the technology secures workloads for the public cloud and private cloud. There's also a system for protecting Internet-of-Things devices.
The underlying foundation of the Zscaler Zero Trust Exchange is massive. Every day, it processes more than half a trillion transactions and prevents more than 9 billion security violations. This data is invaluable for leveraging AI and machine learning.
It's also why, in addition to being one of Wall Street's best cybersecurity stocks, ZS also tends to pop up on lists of the best AI stocks.
Innovation is a critical factor that's made ZS one of the best growth stocks. The latest major release of its cloud software included more than 150 new features.
This focus on innovation creates strong customer loyalty. Consider that Zscaler's Net Promoter Score (NPS) – which shows whether a customer will recommend a product – is above 70.
That's well above the average for software-as-a-service companies. And it's the foundation for further upside for this cybersecurity stock.

CrowdStrike Holdings
- Market value: $90.3 billion
- Analysts' consensus long-term EPS growth estimate: 35.1%
CrowdStrike Holdings' (CRWD) cybersecurity platform, Falcon, is a cloud-native system that processes huge amounts of data to detect attacks and remediate breaches in real time.
As much as any company, CrowdStrike is leveraging AI. The more data its system ingests, the smarter it gets. Falcon also has 22 cloud modules that offer workload security, identity protection, log management, data protection and vulnerability management.
CrowdStrike's "land and expand strategy" has been working quite well. The adoption rate for five or more modules is 66%, and it's 31% for seven or more modules.
There's also plenty of room for long-term growth for this top cybersecurity stock. CRWD pegs the current addressable market opportunity at roughly $100 billion. It expects that figure to grow to $225 billion by 2028.
And analysts anticipate average annual earnings per share growth of 35% over the next three to five years.
Related content
Get Kiplinger Today newsletter — free
Profit and prosper with the best of Kiplinger's advice on investing, taxes, retirement, personal finance and much more. Delivered daily. Enter your email in the box and click Sign Me Up.
Tom Taulli has been developing software since the 1980s when he was in high school. He sold his applications to a variety of publications. In college, he started his first company, which focused on the development of e-learning systems. He would go on to create other companies as well, including Hypermart.net that was sold to InfoSpace in 1996. Along the way, Tom has written columns for online publications such as Bloomberg, Forbes, Barron's and Kiplinger. He has also written a variety of books, including Artificial Intelligence Basics: A Non-Technical Introduction. He can be reached on Twitter at @ttaulli.
-
How to Opt Out of Uber’s New 1.5% Currency Conversion Fee
Paying for rides in your preferred currency? Uber will now charge a 1.5% fee for that, unless you disable the feature in the app.
By Rachael Green Published
-
Buying an Annuity? Avoid These Five Common Mistakes
Annuities are becoming more popular but if you choose the wrong one it could create a liquidity problem.
By Donna Fuscaldo Published
-
Five Wins for Federal Employees in the Social Security Fairness Act
More money means more opportunities and financial stability for current retirees and future retirees.
By Brian Skrobonja, Chartered Financial Consultant (ChFC®) Published
-
How Do You Know Your Insurer Can Afford to Pay Your Claims?
Here's how to find out where your insurance company stands financially and whether it has a good track record with customers.
By Karl Susman, CPCU, LUTCF, CIC, CSFP, CFS, CPIA, AAI-M, PLCS Published
-
Stock Market Today: Growth Concerns Drag on Stocks
Forward-looking commentary from a major retailer outweighed its backward-looking results as all three major equity indexes retreated on Thursday.
By David Dittman Published
-
Why Alibaba Stock Is Soaring After Earnings
Alibaba stock is higher Thursday after the China-based e-commerce platform beat expectations for its fourth quarter. Here's what you need to know.
By Joey Solitro Published
-
Palantir Stock: Why One Analyst Says to Buy the Dip
Palantir stock is continuing to slide Thursday as investors weigh a CEO stock sale and potential defense budget cuts. Here’s what you need to know.
By Joey Solitro Published
-
Walmart Is the Worst Dow Jones Stock After Earnings. Here's Why
Walmart stock is sinking Thursday as the retail giant's dreary outlook offsets a fourth-quarter earnings beat and dividend hike. Here's what you need to know.
By Joey Solitro Published
-
Stressed About Doing Your Taxes? Use These Easy Tips to Cope
If the thought of filing your taxes puts you on edge, you're not alone — nearly 65% of Americans say they're stressed during tax season. Here's how to cope.
By Cynthia Pruemm, Investment Adviser Representative Published
-
Three Ways to Get Your Finances in Better Shape
Want fitter finances this year and beyond? Start by making full use of all your workplace benefits — from 401(k)s to budgeting apps and wellness programs.
By Craig Rubino Published