v3.25.3
Document And Entity Information - shares
9 Months Ended
Sep. 30, 2025
Oct. 31, 2025
Document Information [Line Items]    
Document Type 10-Q  
Document Quarterly Report true  
Document Period End Date Sep. 30, 2025  
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 2025  
Document Fiscal Period Focus Q3  
Amendment Flag false  
Common Units [Member]    
Document Information [Line Items]    
Entity Partnership Units Outstanding   136,613,044
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