v3.22.2.2
Document and Entity Information - USD ($)
$ in Millions
12 Months Ended
Jun. 30, 2022
Sep. 12, 2022
Dec. 31, 2021
Document And Entity Information [Abstract]      
Document Type 10-K    
Document Annual Report true    
Document Transition Report false    
Document Period End Date Jun. 30, 2022    
Entity File Number 001-35314    
Entity Registrant Name eGain Corporation    
Entity Incorporation, State or Country Code DE    
Entity Tax Identification Number 77-0466366    
Entity Address, Address Line One 1252 Borregas Avenue    
Entity Address, City or Town Sunnyvale    
Entity Address, State or Province CA    
Entity Address, Postal Zip Code 94089    
City Area Code 408    
Local Phone Number 636-4500    
Title of 12(b) Security Common Stock, par value $0.001 per share    
Trading Symbol EGAN    
Security Exchange Name NASDAQ    
Entity Well-known Seasoned Issuer No    
Entity Voluntary Filers No    
Entity Current Reporting Status Yes    
Entity Interactive Data Current Yes    
Entity Filer Category Non-accelerated Filer    
Entity Small Business true    
Entity Emerging Growth Company false    
ICFR Auditor Attestation Flag true    
Entity Shell Company false    
Entity Public Float     $ 216.4
Entity Common Stock, Shares Outstanding   31,934,956  
Entity Central Index Key 0001066194    
Current Fiscal Year End Date --06-30    
Document Fiscal Year Focus 2022    
Document Fiscal Period Focus FY    
Amendment Flag false    
Auditor Name BPM LLP    
Auditor Firm ID 207    
Auditor Location San Jose, California