v3.25.4
Cover - USD ($)
$ in Billions
12 Months Ended
Jan. 31, 2026
Feb. 27, 2026
Jul. 31, 2025
Entity Information [Line Items]      
Document Type 10-K    
Document Annual Report true    
Document Period End Date Jan. 31, 2026    
Current Fiscal Year End Date --01-31    
Document Transition Report false    
Entity File Number 001-38044    
Entity Registrant Name Okta, Inc.    
Entity Incorporation, State or Country Code DE    
Entity Address, Address Line One 100 First Street, Suite 600    
Entity Tax Identification Number 26-4175727    
Entity Address, City or Town San Francisco    
Entity Address, State or Province CA    
Entity Address, Postal Zip Code 94105    
City Area Code 888    
Local Phone Number 722-7871    
Title of 12(b) Security Class A common stock, par value $0.0001 per share    
Trading Symbol OKTA    
Security Exchange Name NASDAQ    
Entity Well-Known Seasoned Issuer Yes    
Entity Voluntary Filers No    
Entity Current Reporting Status Yes    
Entity Interactive Data Current Yes    
Entity Filer Category Large Accelerated Filer    
Smaller Reporting Company false    
Emerging Growth Company false    
ICFR Auditor Attestation Flag true    
Document Financial Statement Error Correction false    
Shell Company false    
Entity Public Float     $ 16.4
Documents Incorporated by Reference Portions of the registrant's definitive Proxy Statement relating to the 2026 Annual Meeting of Stockholders are incorporated herein by reference in Part III of this Annual Report on Form 10-K to the extent stated herein. Such Proxy Statement will be filed with the Securities and Exchange Commission within 120 days of the registrant's fiscal year ended January 31, 2026.
   
Amendment Flag false    
Entity Central Index Key 0001660134    
Document Fiscal Year Focus 2026    
Document Period Focus FY    
Class A Common Stock      
Entity Information [Line Items]      
Entity Common Stock, Shares Outstanding   169,200,461  
Class B Common Stock       
Entity Information [Line Items]      
Entity Common Stock, Shares Outstanding   7,687,471