v3.25.1
Document and Entity Information - shares
3 Months Ended
Mar. 31, 2025
May 07, 2025
Document and Entity Information    
Document Type 10-Q  
Document Quarterly Report true  
Document Period End Date Mar. 31, 2025  
Document Transition Report false  
Entity File Number 001-34535  
Entity Registrant Name United States 12 Month Natural Gas Fund, LP  
Entity Incorporation, State or Country Code DE  
Entity Tax Identification Number 26-0431733  
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 12 Month Natural Gas Fund, LP  
Trading Symbol UNL  
Security Exchange Name NYSE  
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  
Entity Shell Company false  
Entity Common Stock, Shares Outstanding   1,350,000
Entity Central Index Key 0001405513  
Current Fiscal Year End Date --12-31  
Document Fiscal Year Focus 2025  
Document Fiscal Period Focus Q1  
Amendment Flag false