XML 15 R1.htm IDEA: XBRL DOCUMENT v3.23.2
Document And Entity Information - shares
6 Months Ended
Jun. 30, 2023
Jul. 31, 2023
Document And Entity Information    
Document Type 10-Q  
Document Quarterly Report true  
Document Period End Date Jun. 30, 2023  
Document Transition Report false  
Entity File Number 001-33096  
Entity Registrant Name United States Natural Gas Fund, LP  
Entity Incorporation, State or Country Code DE  
Entity Tax Identification Number 20-5576760  
Entity Address, Address Line One 1850 Mt. Diablo Boulevard, Suite 640  
Entity Address, City or Town Walnut Creek  
Entity Address, State or Province CA  
Entity Address, Postal Zip Code 94596  
City Area Code 510  
Local Phone Number 522-9600  
Title of 12(b) Security Shares of United States Natural Gas Fund, LP  
Trading Symbol UNG  
Security Exchange Name NYSE  
Entity Current Reporting Status Yes  
Entity Interactive Data Current Yes  
Entity Filer Category Accelerated Filer  
Entity Small Business false  
Entity Emerging Growth Company false  
Entity Shell Company false  
Entity Common Stock, Shares Outstanding   158,184,588
Amendment Flag false  
Document Fiscal Year Focus 2023  
Document Fiscal Period Focus Q2  
Current Fiscal Year End Date --12-31  
Entity Central Index Key 0001376227