Better Cybersecurity Stock: Okta vs. Zscaler

Understand this faster with AI
By Catie Hogan – Mar 21, 2026 at 10:21PM ESTKey PointsBoth stocks declined substantially in the past 12 months.Zscaler's revenue grew 26% in its most recent quarterly earnings.Okta's subscription revenue is approaching $3 billion annually.If you spend your workdays in front of a computer, there's a solid chance you're required to keep your company safe from bad actors through either Okta (OKTA 2.91%) or Zscaler (ZS 2.48%). Both cybersecurity businesses are pure-play leaders in a growing market. They technically serve different niches, but which one is the stronger long-term investment? Is Okta undervalued? At the beginning of March, Okta released its full results for the 2026 fiscal year. The cybersecurity company saw a 12% year-over-year increase in revenue. Subscriptions reached nearly $3 billion. Okta also turned operating income from a net loss to a net gain in its latest fiscal year. Okta's guidance for 2027 is solid, but it shows a declining growth rate, with only 9% revenue growth expected in the coming year. Where remaining performance obligations (RPOs) grew 15% in fiscal 2026, Okta expects that growth to slow to 10% in fiscal 2027. Image source: Getty Images. The numbers are positive, but there's a real slowdown happening with Okta's revenue. The stock has dropped 30% in the past 12 months. This drawdown potentially makes Okta undervalued right now. The company is facing headwinds as artificial intelligence (AI) poses a significant threat, yet it continues to grow and maintains a strong industry position. ExpandNASDAQ: OKTAOktaToday's Change(-2.91%) $-2.35Current Price$78.41Key Data PointsMarket Cap$14BDay's Range$78.21 - $80.3352wk Range$68.77 - $127.57Volume63KAvg Vol3MGross Margin77.36% Zscaler's impressive growth Zscaler's stock is also down over 20% in the past year, but the company's financials are quite promising. In the second quarter of fiscal 2026, Zscaler reported revenue of $815.8 million, an impressive 26% year-over-year increase. Annual recurring revenue also grew 25% to $3.3 billion. Zscaler revised its full-year 2026 guidance upward and now expects 24% revenue growth. The company's stock is still trading at a premium, as its forward P/E ratio sits above 40. Yet, the decline in the stock price is making the valuation metrics more appealing. Combine that with the expectations of revenue growth, and Zscaler stock is a compelling buy. ExpandNASDAQ: ZSZscalerToday's Change(-2.48%) $-3.86Current Price$151.54Key Data PointsMarket Cap$24BDay's Range$148.34 - $153.4852wk Range$140.56 - $336.99Volume103KAvg Vol2.5MGross Margin76.28% Zscaler also hits the "Rule of 40" metric for growing software-as-a-service (SaaS) companies. This rule states that a healthy SaaS business has a combined growth rate and profit margin exceeding 40%. Zscaler is growing efficiently in this regard. Regarding AI, Zscaler is focused on AI-driven security products. The company isn't working against AI; it's collaborating with it to ensure customer safety. Which stock wins? Both stocks are volatile but remain industry leaders. Okta's stock is priced better, but Zscaler's financials demonstrate a superior growth trajectory. In the long term, Zscaler is the better investment, in my opinion. Okta's decelerating growth is a real concern. As AI disrupts many cybersecurity companies, Zscaler is well-positioned to withstand competition and expand its platform.Read NextMar 7, 2026 •By Rick OrfordGreat News: Zscaler Just Made a Bold AI Security MoveMar 7, 2026 •By Anthony Di Pizio1 Growth Stock Down 60% You'll Wish You'd Bought on the Dip, According to Wall StreetJan 27, 2026 •By Joe TenebrusoWhy Zscaler Stock Is Up TodayJan 22, 2026 •By Motley Fool StaffThe Motley Fool Interviews Zscaler Founder and CEO Jay ChaudhryDec 3, 2025 •By Harsh Chauhan1 Top Growth Stock Down 25% to Buy Right NowDec 2, 2025 •By Anthony Di Pizio1 Glorious Growth Stock Down 31% to Buy Hand Over Fist, According to Wall StreetAbout the AuthorCatie is a contributing Motley Fool stock market analyst covering technology, consumer goods, transportation, industrials, materials, and energy. She's the founder of the family finances newsletter, Cents of Humor. Catie was formerly the Head of Advice & Coaching at Parthean and an advisor at Element Financial Group. She's the writer and a producer of the hit off-Broadway show, Vape!
The Grease Parody. Catie has a degree in journalism from Emerson College.TMFCatieHoganStocks MentionedZscalerNASDAQ: ZS$151.54(-2.48%)-$3.86OktaNASDAQ: OKTA$78.41(-2.91%)-$2.35*Average returns of all recommendations since inception. Cost basis and return based on previous market day close.
Source Information
Discussion
0 professional contributions
Sign in to join this professional discussion.
Be the first to add a constructive contribution.
