Okta reported better-than-expected fiscal Q2 results this week.
The company also guided for stronger-than-expected earnings.
Investors are buying cybersecurity stocks as AI-powered threats come into focus.
Okta (NASDAQ: OKTA) stock closed out this week's trading with a huge gain, rising 23% across the stretch. Meanwhile, the S&P 500 ended the week up 1.1%, and the Nasdaq Composite gained 1.8%.
After the stock market closed on Wednesday, Okta released results for the second quarter of its 2027 fiscal year -- a period that closed July 31. The company reported sales and earnings that beat expectations and also issued encouraging guidance, and its stock also got a boost from excitement surrounding the broader cybersecurity industry.
Missed Nvidia in 2009? This Rare Signal Is Flashing Again. In 2009, a "Double Down" signal flashed for a little-known chipmaker called Nvidia. For the first time in years, that same "Total Conviction" signal is flashing for a company 1/100th the size of Nvidia. Continue »
Image source: Getty Images.
Okta recorded a non-GAAP (adjusted) profit of $1.05 per share on sales of $805 million last quarter, beating the average analyst estimate's call for adjusted earnings of $0.96 per share on sales of roughly $793 million. The company's revenue was up 10.6% year over year in the quarter, and adjusted earnings per share were up 15.4%.
Okta also said that it expects to record sales between $3.216 billion and $3.226 billion for the year -- essentially in line with the average analyst estimate. Meanwhile, adjusted earnings per share are projected to be between $3.90 and $3.94 -- significantly ahead of the average analyst estimate's call for per-share earnings of $3.84 prior to the release of the report.
In addition to strong earnings reports from companies including Okta and CrowdStrike, the broader cybersecurity industry saw a bullish valuation backdrop thanks to concerns about the rising tide of cyberthreats driven by artificial intelligence (AI). On Thursday, a public letter signed by more than tech 100 companies was published that urged businesses, institutions, and politicians to prioritize cybersecurity protections amid expectations that AI will continue to usher in a wider range of increasingly advanced and numerous threats. While the evolution of these threats poses huge challenges, it also suggests a strong demand environment for Okta.
Before you buy stock in Okta, 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 Okta 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 $440,710!* 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,335,252!*
Now, it’s worth noting Stock Advisor’s total average return is 978% — a market-crushing outperformance compared to 213% 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 August 30, 2026.
Keith Noonan has positions in CrowdStrike. The Motley Fool has positions in and recommends CrowdStrike and Okta. The Motley Fool has a disclosure policy.