v3.26.1
Document And Entity Information - shares
3 Months Ended
Mar. 31, 2026
May 01, 2026
Document Information [Line Items]    
Document Type 10-Q  
Document Quarterly Report true  
Document Period End Date Mar. 31, 2026  
Document Transition Report false  
Entity File Number 001-35653  
Entity Registrant Name SUNOCO LP  
Entity Incorporation, State or Country Code DE  
Entity Tax Identification Number 30-0740483  
Entity Address, Address Line One 8111 Westchester Drive  
Entity Address, Address Line Two Suite 400  
Entity Address, City or Town Dallas  
Entity Address, State or Province TX  
Entity Address, Postal Zip Code 75225  
City Area Code 214  
Local Phone Number 981-0700  
Title of 12(b) Security Common Units Representing Limited Partner Interests  
Trading Symbol SUN  
Security Exchange Name NYSE  
Entity Current Reporting Status Yes  
Entity Interactive Data Current Yes  
Entity Filer Category Large Accelerated Filer  
Entity Small Business false  
Entity Emerging Growth Company false  
Entity Shell Company false  
Entity Central Index Key 0001552275  
Current Fiscal Year End Date --12-31  
Document Fiscal Year Focus 2026  
Document Fiscal Period Focus Q1  
Amendment Flag false  
Common Units [Member]    
Document Information [Line Items]    
Entity Partnership Units Outstanding   136,894,754
Common Class C [Member]    
Document Information [Line Items]    
Entity Partnership Units Outstanding   16,410,780
Common Class D units    
Document Information [Line Items]    
Entity Partnership Units Outstanding   51,517,198