v3.26.1
Cover - $ / shares
6 Months Ended
Jun. 30, 2026
Aug. 14, 2026
Cover [Abstract]    
Document Type 10-Q  
Amendment Flag false  
Document Quarterly Report true  
Document Transition Report false  
Document Period End Date Jun. 30, 2026  
Document Fiscal Period Focus Q2  
Document Fiscal Year Focus 2026  
Current Fiscal Year End Date --12-31  
Entity File Number 001-42687  
Entity Registrant Name XCF Global, Inc.  
Entity Central Index Key 0002019793  
Entity Tax Identification Number 33-4582264  
Entity Incorporation, State or Country Code DE  
Entity Address, Address Line One 3040 Post Oak Blvd  
Entity Address, Address Line Two FL 18 Suite 164  
Entity Address, City or Town Houston  
Entity Address, State or Province TX  
Entity Address, Postal Zip Code 77056  
City Area Code (346)  
Local Phone Number 630-4724  
Title of 12(b) Security Class A Common Stock, par value $0.0001 per share  
Trading Symbol SAFX  
Security Exchange Name NASDAQ  
Entity Current Reporting Status Yes  
Entity Interactive Data Current Yes  
Entity Filer Category Non-accelerated Filer  
Entity Small Business true  
Entity Emerging Growth Company true  
Elected Not To Use the Extended Transition Period true  
Entity Shell Company false  
Entity Common Stock, Shares Outstanding   410,816,896
Entity Listing, Par Value Per Share $ 0.0001