Cover - USD ($)
12 Months Ended
Jul. 31, 2021
Jan. 04, 2022
Jan. 31, 2021
Cover [Abstract]      
Entity Registrant Name MIRAGE ENERGY CORPORATION    
Entity Central Index Key 0001623360    
Document Type 10-K    
Amendment Flag false    
Entity Voluntary Filers No    
Current Fiscal Year End Date --07-31    
Entity Well Known Seasoned Issuer No    
Entity Small Business false    
Entity Shell Company false    
Entity Emerging Growth Company true    
Entity Current Reporting Status Yes    
Document Period End Date Jul. 31, 2021    
Entity Filer Category Non-accelerated Filer    
Document Fiscal Period Focus FY    
Document Fiscal Year Focus 2021    
Entity Ex Transition Period false    
Entity Common Stock Shares Outstanding   496,711,769  
Entity Public Float     $ 74,905,415
Document Annual Report true    
Document Transition Report false    
Entity File Number 000-55690    
Entity Incorporation State Country Code NV    
Entity Tax Identification Number 33-1231170    
Entity Address Address Line 1 900 Isom Rd.    
Entity Address Address Line 2 Ste. 306    
Entity Address City Or Town San Antonio    
Entity Address State Or Province TX    
Entity Address Postal Zip Code 78216    
City Area Code 210    
Local Phone Number 858-3970    
Security 12g Title Common Stock, par value $0.001    
Entity Interactive Data Current Yes