| | | | | | | | | | | | | | | | | | | | | |
<?xml version="1.0" encoding="windows-1252"?> |
<FilingSummary> |
| <Version> 3.20.4 </Version> |
| <ProcessingTime/> |
| <ReportFormat> html </ReportFormat> |
| <ContextCount> 330 </ContextCount> |
| <ElementCount> 536 </ElementCount> |
| <EntityCount> 1 </EntityCount> |
| <FootnotesReported> true </FootnotesReported> |
| <SegmentCount> 96 </SegmentCount> |
| <ScenarioCount> 0 </ScenarioCount> |
| <TuplesReported> false </TuplesReported> |
| <UnitCount> 10 </UnitCount> |
| <MyReports> |
| | <Report instance="sun-20201231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R1.htm </HtmlFileName> |
| | | <LongName> 0001001 - Document - Cover Page </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.sunocolp.com/role/CoverPage </Role> |
| | | <ShortName> Cover Page </ShortName> |
| | | <MenuCategory> Cover </MenuCategory> |
| | | <Position> 1 </Position> |
| | | </Report> |
| | <Report instance="sun-20201231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R2.htm </HtmlFileName> |
| | | <LongName> 1001002 - Statement - Consolidated Balance Sheets </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.sunocolp.com/role/ConsolidatedBalanceSheets </Role> |
| | | <ShortName> Consolidated Balance Sheets </ShortName> |
| | | <MenuCategory> Statements </MenuCategory> |
| | | <Position> 2 </Position> |
| | | </Report> |
| | <Report instance="sun-20201231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R3.htm </HtmlFileName> |
| | | <LongName> 1002003 - Statement - Consolidated Balance Sheets (Parenthetical) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.sunocolp.com/role/ConsolidatedBalanceSheetsParenthetical </Role> |
| | | <ShortName> Consolidated Balance Sheets (Parenthetical) </ShortName> |
| | | <MenuCategory> Statements </MenuCategory> |
| | | <Position> 3 </Position> |
| | | </Report> |
| | <Report instance="sun-20201231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R4.htm </HtmlFileName> |
| | | <LongName> 1003004 - Statement - Consolidated Statements of Operations and Comprehensive Income (Loss) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.sunocolp.com/role/ConsolidatedStatementsofOperationsandComprehensiveIncomeLoss </Role> |
| | | <ShortName> Consolidated Statements of Operations and Comprehensive Income (Loss) </ShortName> |
| | | <MenuCategory> Statements </MenuCategory> |
| | | <Position> 4 </Position> |
| | | </Report> |
| | <Report instance="sun-20201231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R5.htm </HtmlFileName> |
| | | <LongName> 1004005 - Statement - Consolidated Statement of Equity </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.sunocolp.com/role/ConsolidatedStatementofEquity </Role> |
| | | <ShortName> Consolidated Statement of Equity </ShortName> |
| | | <MenuCategory> Statements </MenuCategory> |
| | | <Position> 5 </Position> |
| | | </Report> |
| | <Report instance="sun-20201231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R6.htm </HtmlFileName> |
| | | <LongName> 1005006 - Statement - Consolidated Statements of Cash Flows </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.sunocolp.com/role/ConsolidatedStatementsofCashFlows </Role> |
| | | <ShortName> Consolidated Statements of Cash Flows </ShortName> |
| | | <MenuCategory> Statements </MenuCategory> |
| | | <Position> 6 </Position> |
| | | </Report> |
| | <Report instance="sun-20201231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R7.htm </HtmlFileName> |
| | | <LongName> 1106119 - Statement - Unit-Based Compensation </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.sunocolp.com/role/UnitBasedCompensation </Role> |
| | | <ShortName> Unit-Based Compensation </ShortName> |
| | | <MenuCategory> Statements </MenuCategory> |
| | | <Position> 7 </Position> |
| | | </Report> |
| | <Report instance="sun-20201231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R8.htm </HtmlFileName> |
| | | <LongName> 2101101 - Disclosure - Organization and Principles of Consolidation </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.sunocolp.com/role/OrganizationandPrinciplesofConsolidation </Role> |
| | | <ShortName> Organization and Principles of Consolidation </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 8 </Position> |
| | | </Report> |
| | <Report instance="sun-20201231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R9.htm </HtmlFileName> |
| | | <LongName> 2103102 - Disclosure - Summary of Significant Accounting Policies </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.sunocolp.com/role/SummaryofSignificantAccountingPolicies </Role> |
| | | <ShortName> Summary of Significant Accounting Policies </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 9 </Position> |
| | | </Report> |
| | <Report instance="sun-20201231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R10.htm </HtmlFileName> |
| | | <LongName> 2106103 - Disclosure - Mergers and Acquisitions </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.sunocolp.com/role/MergersandAcquisitions </Role> |
| | | <ShortName> Mergers and Acquisitions </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 10 </Position> |
| | | </Report> |
| | <Report instance="sun-20201231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R11.htm </HtmlFileName> |
| | | <LongName> 2110104 - Disclosure - Discontinued Operations </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.sunocolp.com/role/DiscontinuedOperations </Role> |
| | | <ShortName> Discontinued Operations </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 11 </Position> |
| | | </Report> |
| | <Report instance="sun-20201231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R12.htm </HtmlFileName> |
| | | <LongName> 2114105 - Disclosure - Accounts Receivable, net </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.sunocolp.com/role/AccountsReceivablenet </Role> |
| | | <ShortName> Accounts Receivable, net </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 12 </Position> |
| | | </Report> |
| | <Report instance="sun-20201231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R13.htm </HtmlFileName> |
| | | <LongName> 2117106 - Disclosure - Inventories, net </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.sunocolp.com/role/Inventoriesnet </Role> |
| | | <ShortName> Inventories, net </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 13 </Position> |
| | | </Report> |
| | <Report instance="sun-20201231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R14.htm </HtmlFileName> |
| | | <LongName> 2120107 - Disclosure - Property and Equipment, net </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.sunocolp.com/role/PropertyandEquipmentnet </Role> |
| | | <ShortName> Property and Equipment, net </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 14 </Position> |
| | | </Report> |
| | <Report instance="sun-20201231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R15.htm </HtmlFileName> |
| | | <LongName> 2124108 - Disclosure - Goodwill and Other Intangible Assets </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.sunocolp.com/role/GoodwillandOtherIntangibleAssets </Role> |
| | | <ShortName> Goodwill and Other Intangible Assets </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 15 </Position> |
| | | </Report> |
| | <Report instance="sun-20201231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R16.htm </HtmlFileName> |
| | | <LongName> 2131109 - Disclosure - Accrued Expenses and Other Current Liabilities </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.sunocolp.com/role/AccruedExpensesandOtherCurrentLiabilities </Role> |
| | | <ShortName> Accrued Expenses and Other Current Liabilities </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 16 </Position> |
| | | </Report> |
| | <Report instance="sun-20201231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R17.htm </HtmlFileName> |
| | | <LongName> 2134110 - Disclosure - Long-Term Debt </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.sunocolp.com/role/LongTermDebt </Role> |
| | | <ShortName> Long-Term Debt </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 17 </Position> |
| | | </Report> |
| | <Report instance="sun-20201231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R18.htm </HtmlFileName> |
| | | <LongName> 2141111 - Disclosure - Other Noncurrent Liabilities </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.sunocolp.com/role/OtherNoncurrentLiabilities </Role> |
| | | <ShortName> Other Noncurrent Liabilities </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 18 </Position> |
| | | </Report> |
| | <Report instance="sun-20201231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R19.htm </HtmlFileName> |
| | | <LongName> 2148113 - Disclosure - Revenue </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.sunocolp.com/role/Revenue </Role> |
| | | <ShortName> Revenue </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 19 </Position> |
| | | </Report> |
| | <Report instance="sun-20201231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R20.htm </HtmlFileName> |
| | | <LongName> 2153114 - Disclosure - Commitments and Contingencies </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.sunocolp.com/role/CommitmentsandContingencies </Role> |
| | | <ShortName> Commitments and Contingencies </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 20 </Position> |
| | | </Report> |
| | <Report instance="sun-20201231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R21.htm </HtmlFileName> |
| | | <LongName> 2158115 - Disclosure - Assets under Operating Leases </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.sunocolp.com/role/AssetsunderOperatingLeases </Role> |
| | | <ShortName> Assets under Operating Leases </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 21 </Position> |
| | | </Report> |
| | <Report instance="sun-20201231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R22.htm </HtmlFileName> |
| | | <LongName> 2161116 - Disclosure - Interest Expense, net </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.sunocolp.com/role/InterestExpensenet </Role> |
| | | <ShortName> Interest Expense, net </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 22 </Position> |
| | | </Report> |
| | <Report instance="sun-20201231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R23.htm </HtmlFileName> |
| | | <LongName> 2164117 - Disclosure - Income Tax Expense </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.sunocolp.com/role/IncomeTaxExpense </Role> |
| | | <ShortName> Income Tax Expense </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 23 </Position> |
| | | </Report> |
| | <Report instance="sun-20201231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R24.htm </HtmlFileName> |
| | | <LongName> 2171118 - Disclosure - Partners' Capital </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.sunocolp.com/role/PartnersCapital </Role> |
| | | <ShortName> Partners' Capital </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 24 </Position> |
| | | </Report> |
| | <Report instance="sun-20201231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R25.htm </HtmlFileName> |
| | | <LongName> 2182120 - Disclosure - Segment Reporting </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.sunocolp.com/role/SegmentReporting </Role> |
| | | <ShortName> Segment Reporting </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 25 </Position> |
| | | </Report> |
| | <Report instance="sun-20201231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R26.htm </HtmlFileName> |
| | | <LongName> 2186121 - Disclosure - Net Income per Unit </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.sunocolp.com/role/NetIncomeperUnit </Role> |
| | | <ShortName> Net Income per Unit </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 26 </Position> |
| | | </Report> |
| | <Report instance="sun-20201231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R27.htm </HtmlFileName> |
| | | <LongName> 2189122 - Disclosure - Selected Quarterly Financial Data (unaudited) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.sunocolp.com/role/SelectedQuarterlyFinancialDataunaudited </Role> |
| | | <ShortName> Selected Quarterly Financial Data (unaudited) </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 27 </Position> |
| | | </Report> |
| | <Report instance="sun-20201231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R28.htm </HtmlFileName> |
| | | <LongName> 2204201 - Disclosure - Summary of Significant Accounting Policies (Policies) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.sunocolp.com/role/SummaryofSignificantAccountingPoliciesPolicies </Role> |
| | | <ShortName> Summary of Significant Accounting Policies (Policies) </ShortName> |
| | | <MenuCategory> Policies </MenuCategory> |
| | | <ParentRole> http://www.sunocolp.com/role/SummaryofSignificantAccountingPolicies </ParentRole> |
| | | <Position> 28 </Position> |
| | | </Report> |
| | <Report instance="sun-20201231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R29.htm </HtmlFileName> |
| | | <LongName> 2307301 - Disclosure - Acquisitions and Divestment (Tables) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.sunocolp.com/role/AcquisitionsandDivestmentTables </Role> |
| | | <ShortName> Acquisitions and Divestment (Tables) </ShortName> |
| | | <MenuCategory> Tables </MenuCategory> |
| | | <Position> 29 </Position> |
| | | </Report> |
| | <Report instance="sun-20201231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R30.htm </HtmlFileName> |
| | | <LongName> 2311302 - Disclosure - Discontinued Operations (Tables) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.sunocolp.com/role/DiscontinuedOperationsTables </Role> |
| | | <ShortName> Discontinued Operations (Tables) </ShortName> |
| | | <MenuCategory> Tables </MenuCategory> |
| | | <ParentRole> http://www.sunocolp.com/role/DiscontinuedOperations </ParentRole> |
| | | <Position> 30 </Position> |
| | | </Report> |
| | <Report instance="sun-20201231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R31.htm </HtmlFileName> |
| | | <LongName> 2315303 - Disclosure - Accounts Receivable, net (Tables) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.sunocolp.com/role/AccountsReceivablenetTables </Role> |
| | | <ShortName> Accounts Receivable, net (Tables) </ShortName> |
| | | <MenuCategory> Tables </MenuCategory> |
| | | <ParentRole> http://www.sunocolp.com/role/AccountsReceivablenet </ParentRole> |
| | | <Position> 31 </Position> |
| | | </Report> |
| | <Report instance="sun-20201231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R32.htm </HtmlFileName> |
| | | <LongName> 2318304 - Disclosure - Inventories, net (Tables) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.sunocolp.com/role/InventoriesnetTables </Role> |
| | | <ShortName> Inventories, net (Tables) </ShortName> |
| | | <MenuCategory> Tables </MenuCategory> |
| | | <ParentRole> http://www.sunocolp.com/role/Inventoriesnet </ParentRole> |
| | | <Position> 32 </Position> |
| | | </Report> |
| | <Report instance="sun-20201231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R33.htm </HtmlFileName> |
| | | <LongName> 2321305 - Disclosure - Property and Equipment, net (Tables) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.sunocolp.com/role/PropertyandEquipmentnetTables </Role> |
| | | <ShortName> Property and Equipment, net (Tables) </ShortName> |
| | | <MenuCategory> Tables </MenuCategory> |
| | | <ParentRole> http://www.sunocolp.com/role/PropertyandEquipmentnet </ParentRole> |
| | | <Position> 33 </Position> |
| | | </Report> |
| | <Report instance="sun-20201231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R34.htm </HtmlFileName> |
| | | <LongName> 2325306 - Disclosure - Goodwill and Other Intangible Assets (Tables) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.sunocolp.com/role/GoodwillandOtherIntangibleAssetsTables </Role> |
| | | <ShortName> Goodwill and Other Intangible Assets (Tables) </ShortName> |
| | | <MenuCategory> Tables </MenuCategory> |
| | | <ParentRole> http://www.sunocolp.com/role/GoodwillandOtherIntangibleAssets </ParentRole> |
| | | <Position> 34 </Position> |
| | | </Report> |
| | <Report instance="sun-20201231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R35.htm </HtmlFileName> |
| | | <LongName> 2332307 - Disclosure - Accrued Expenses and Other Current Liabilities (Tables) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.sunocolp.com/role/AccruedExpensesandOtherCurrentLiabilitiesTables </Role> |
| | | <ShortName> Accrued Expenses and Other Current Liabilities (Tables) </ShortName> |
| | | <MenuCategory> Tables </MenuCategory> |
| | | <ParentRole> http://www.sunocolp.com/role/AccruedExpensesandOtherCurrentLiabilities </ParentRole> |
| | | <Position> 35 </Position> |
| | | </Report> |
| | <Report instance="sun-20201231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R36.htm </HtmlFileName> |
| | | <LongName> 2335308 - Disclosure - Long-Term Debt (Tables) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.sunocolp.com/role/LongTermDebtTables </Role> |
| | | <ShortName> Long-Term Debt (Tables) </ShortName> |
| | | <MenuCategory> Tables </MenuCategory> |
| | | <ParentRole> http://www.sunocolp.com/role/LongTermDebt </ParentRole> |
| | | <Position> 36 </Position> |
| | | </Report> |
| | <Report instance="sun-20201231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R37.htm </HtmlFileName> |
| | | <LongName> 2342309 - Disclosure - Other Noncurrent Liabilities (Tables) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.sunocolp.com/role/OtherNoncurrentLiabilitiesTables </Role> |
| | | <ShortName> Other Noncurrent Liabilities (Tables) </ShortName> |
| | | <MenuCategory> Tables </MenuCategory> |
| | | <ParentRole> http://www.sunocolp.com/role/OtherNoncurrentLiabilities </ParentRole> |
| | | <Position> 37 </Position> |
| | | </Report> |
| | <Report instance="sun-20201231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R38.htm </HtmlFileName> |
| | | <LongName> 2346310 - Disclosure - Related-Party Transactions (Tables) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.sunocolp.com/role/RelatedPartyTransactionsTables </Role> |
| | | <ShortName> Related-Party Transactions (Tables) </ShortName> |
| | | <MenuCategory> Tables </MenuCategory> |
| | | <Position> 38 </Position> |
| | | </Report> |
| | <Report instance="sun-20201231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R39.htm </HtmlFileName> |
| | | <LongName> 2349311 - Disclosure - Revenue (Tables) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.sunocolp.com/role/RevenueTables </Role> |
| | | <ShortName> Revenue (Tables) </ShortName> |
| | | <MenuCategory> Tables </MenuCategory> |
| | | <ParentRole> http://www.sunocolp.com/role/Revenue </ParentRole> |
| | | <Position> 39 </Position> |
| | | </Report> |
| | <Report instance="sun-20201231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R40.htm </HtmlFileName> |
| | | <LongName> 2354312 - Disclosure - Commitments and Contingencies (Tables) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.sunocolp.com/role/CommitmentsandContingenciesTables </Role> |
| | | <ShortName> Commitments and Contingencies (Tables) </ShortName> |
| | | <MenuCategory> Tables </MenuCategory> |
| | | <ParentRole> http://www.sunocolp.com/role/CommitmentsandContingencies </ParentRole> |
| | | <Position> 40 </Position> |
| | | </Report> |
| | <Report instance="sun-20201231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R41.htm </HtmlFileName> |
| | | <LongName> 2359313 - Disclosure - Assets under Operating Leases (Tables) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.sunocolp.com/role/AssetsunderOperatingLeasesTables </Role> |
| | | <ShortName> Assets under Operating Leases (Tables) </ShortName> |
| | | <MenuCategory> Tables </MenuCategory> |
| | | <ParentRole> http://www.sunocolp.com/role/AssetsunderOperatingLeases </ParentRole> |
| | | <Position> 41 </Position> |
| | | </Report> |
| | <Report instance="sun-20201231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R42.htm </HtmlFileName> |
| | | <LongName> 2362314 - Disclosure - Interest Expense, net (Tables) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.sunocolp.com/role/InterestExpensenetTables </Role> |
| | | <ShortName> Interest Expense, net (Tables) </ShortName> |
| | | <MenuCategory> Tables </MenuCategory> |
| | | <ParentRole> http://www.sunocolp.com/role/InterestExpensenet </ParentRole> |
| | | <Position> 42 </Position> |
| | | </Report> |
| | <Report instance="sun-20201231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R43.htm </HtmlFileName> |
| | | <LongName> 2365315 - Disclosure - Income Tax Expense (Tables) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.sunocolp.com/role/IncomeTaxExpenseTables </Role> |
| | | <ShortName> Income Tax Expense (Tables) </ShortName> |
| | | <MenuCategory> Tables </MenuCategory> |
| | | <ParentRole> http://www.sunocolp.com/role/IncomeTaxExpense </ParentRole> |
| | | <Position> 43 </Position> |
| | | </Report> |
| | <Report instance="sun-20201231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R44.htm </HtmlFileName> |
| | | <LongName> 2372316 - Disclosure - Partners' Capital (Tables) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.sunocolp.com/role/PartnersCapitalTables </Role> |
| | | <ShortName> Partners' Capital (Tables) </ShortName> |
| | | <MenuCategory> Tables </MenuCategory> |
| | | <ParentRole> http://www.sunocolp.com/role/PartnersCapital </ParentRole> |
| | | <Position> 44 </Position> |
| | | </Report> |
| | <Report instance="sun-20201231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R45.htm </HtmlFileName> |
| | | <LongName> 2379317 - Disclosure - Unit-Based Compensation (Tables) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.sunocolp.com/role/UnitBasedCompensationTables </Role> |
| | | <ShortName> Unit-Based Compensation (Tables) </ShortName> |
| | | <MenuCategory> Tables </MenuCategory> |
| | | <Position> 45 </Position> |
| | | </Report> |
| | <Report instance="sun-20201231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R46.htm </HtmlFileName> |
| | | <LongName> 2383318 - Disclosure - Segment Reporting (Tables) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.sunocolp.com/role/SegmentReportingTables </Role> |
| | | <ShortName> Segment Reporting (Tables) </ShortName> |
| | | <MenuCategory> Tables </MenuCategory> |
| | | <ParentRole> http://www.sunocolp.com/role/SegmentReporting </ParentRole> |
| | | <Position> 46 </Position> |
| | | </Report> |
| | <Report instance="sun-20201231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R47.htm </HtmlFileName> |
| | | <LongName> 2387319 - Disclosure - Net Income per Unit (Tables) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.sunocolp.com/role/NetIncomeperUnitTables </Role> |
| | | <ShortName> Net Income per Unit (Tables) </ShortName> |
| | | <MenuCategory> Tables </MenuCategory> |
| | | <ParentRole> http://www.sunocolp.com/role/NetIncomeperUnit </ParentRole> |
| | | <Position> 47 </Position> |
| | | </Report> |
| | <Report instance="sun-20201231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R48.htm </HtmlFileName> |
| | | <LongName> 2390320 - Disclosure - Selected Quarterly Financial Data (unaudited) (Tables) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.sunocolp.com/role/SelectedQuarterlyFinancialDataunauditedTables </Role> |
| | | <ShortName> Selected Quarterly Financial Data (unaudited) (Tables) </ShortName> |
| | | <MenuCategory> Tables </MenuCategory> |
| | | <ParentRole> http://www.sunocolp.com/role/SelectedQuarterlyFinancialDataunaudited </ParentRole> |
| | | <Position> 48 </Position> |
| | | </Report> |
| | <Report instance="sun-20201231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R49.htm </HtmlFileName> |
| | | <LongName> 2402401 - Disclosure - Organization and Principles of Consolidation - Additional Information (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.sunocolp.com/role/OrganizationandPrinciplesofConsolidationAdditionalInformationDetails </Role> |
| | | <ShortName> Organization and Principles of Consolidation - Additional Information (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 49 </Position> |
| | | </Report> |
| | <Report instance="sun-20201231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R50.htm </HtmlFileName> |
| | | <LongName> 2405402 - Disclosure - Summary of Significant Accounting Policies Narrative (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.sunocolp.com/role/SummaryofSignificantAccountingPoliciesNarrativeDetails </Role> |
| | | <ShortName> Summary of Significant Accounting Policies Narrative (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <ParentRole> http://www.sunocolp.com/role/SummaryofSignificantAccountingPoliciesPolicies </ParentRole> |
| | | <Position> 50 </Position> |
| | | </Report> |
| | <Report instance="sun-20201231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R51.htm </HtmlFileName> |
| | | <LongName> 2408403 - Disclosure - Acquisitions and Divestment - Schedules (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.sunocolp.com/role/AcquisitionsandDivestmentSchedulesDetails </Role> |
| | | <ShortName> Acquisitions and Divestment - Schedules (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 51 </Position> |
| | | </Report> |
| | <Report instance="sun-20201231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R52.htm </HtmlFileName> |
| | | <LongName> 2409404 - Disclosure - Acquisitions and Divestment - Narrative (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.sunocolp.com/role/AcquisitionsandDivestmentNarrativeDetails </Role> |
| | | <ShortName> Acquisitions and Divestment - Narrative (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 52 </Position> |
| | | </Report> |
| | <Report instance="sun-20201231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R53.htm </HtmlFileName> |
| | | <LongName> 2412405 - Disclosure - Discontinued Operations Schedule of Operating Results Associated with Discontinued Operations (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.sunocolp.com/role/DiscontinuedOperationsScheduleofOperatingResultsAssociatedwithDiscontinuedOperationsDetails </Role> |
| | | <ShortName> Discontinued Operations Schedule of Operating Results Associated with Discontinued Operations (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 53 </Position> |
| | | </Report> |
| | <Report instance="sun-20201231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R54.htm </HtmlFileName> |
| | | <LongName> 2413406 - Disclosure - Discontinued Operations (Narrative) (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.sunocolp.com/role/DiscontinuedOperationsNarrativeDetails </Role> |
| | | <ShortName> Discontinued Operations (Narrative) (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <ParentRole> http://www.sunocolp.com/role/DiscontinuedOperationsTables </ParentRole> |
| | | <Position> 54 </Position> |
| | | </Report> |
| | <Report instance="sun-20201231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R55.htm </HtmlFileName> |
| | | <LongName> 2416407 - Disclosure - Accounts Receivable, net (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.sunocolp.com/role/AccountsReceivablenetDetails </Role> |
| | | <ShortName> Accounts Receivable, net (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <ParentRole> http://www.sunocolp.com/role/AccountsReceivablenetTables </ParentRole> |
| | | <Position> 55 </Position> |
| | | </Report> |
| | <Report instance="sun-20201231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R56.htm </HtmlFileName> |
| | | <LongName> 2419408 - Disclosure - Inventories, net (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.sunocolp.com/role/InventoriesnetDetails </Role> |
| | | <ShortName> Inventories, net (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <ParentRole> http://www.sunocolp.com/role/InventoriesnetTables </ParentRole> |
| | | <Position> 56 </Position> |
| | | </Report> |
| | <Report instance="sun-20201231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R57.htm </HtmlFileName> |
| | | <LongName> 2422409 - Disclosure - Property and Equipment, net (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.sunocolp.com/role/PropertyandEquipmentnetDetails </Role> |
| | | <ShortName> Property and Equipment, net (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <ParentRole> http://www.sunocolp.com/role/PropertyandEquipmentnetTables </ParentRole> |
| | | <Position> 57 </Position> |
| | | </Report> |
| | <Report instance="sun-20201231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R58.htm </HtmlFileName> |
| | | <LongName> 2423410 - Disclosure - Property and Equipment, net - Additional Information (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.sunocolp.com/role/PropertyandEquipmentnetAdditionalInformationDetails </Role> |
| | | <ShortName> Property and Equipment, net - Additional Information (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 58 </Position> |
| | | </Report> |
| | <Report instance="sun-20201231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R59.htm </HtmlFileName> |
| | | <LongName> 2426411 - Disclosure - Goodwill and Other Intangible Assets (Goodwill Rollforward) (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.sunocolp.com/role/GoodwillandOtherIntangibleAssetsGoodwillRollforwardDetails </Role> |
| | | <ShortName> Goodwill and Other Intangible Assets (Goodwill Rollforward) (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <ParentRole> http://www.sunocolp.com/role/GoodwillandOtherIntangibleAssetsTables </ParentRole> |
| | | <Position> 59 </Position> |
| | | </Report> |
| | <Report instance="sun-20201231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R60.htm </HtmlFileName> |
| | | <LongName> 2427412 - Disclosure - Goodwill and Other Intangible Assets (Goodwill Narrative) (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.sunocolp.com/role/GoodwillandOtherIntangibleAssetsGoodwillNarrativeDetails </Role> |
| | | <ShortName> Goodwill and Other Intangible Assets (Goodwill Narrative) (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <ParentRole> http://www.sunocolp.com/role/GoodwillandOtherIntangibleAssetsTables </ParentRole> |
| | | <Position> 60 </Position> |
| | | </Report> |
| | <Report instance="sun-20201231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R61.htm </HtmlFileName> |
| | | <LongName> 2428413 - Disclosure - Goodwill and Other Intangible Assets (Intangible Assets Schedule) (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.sunocolp.com/role/GoodwillandOtherIntangibleAssetsIntangibleAssetsScheduleDetails </Role> |
| | | <ShortName> Goodwill and Other Intangible Assets (Intangible Assets Schedule) (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <ParentRole> http://www.sunocolp.com/role/GoodwillandOtherIntangibleAssetsTables </ParentRole> |
| | | <Position> 61 </Position> |
| | | </Report> |
| | <Report instance="sun-20201231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R62.htm </HtmlFileName> |
| | | <LongName> 2429414 - Disclosure - Goodwill and Other Intangible Assets (Intangible Amortization Schedule) (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.sunocolp.com/role/GoodwillandOtherIntangibleAssetsIntangibleAmortizationScheduleDetails </Role> |
| | | <ShortName> Goodwill and Other Intangible Assets (Intangible Amortization Schedule) (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <ParentRole> http://www.sunocolp.com/role/GoodwillandOtherIntangibleAssetsTables </ParentRole> |
| | | <Position> 62 </Position> |
| | | </Report> |
| | <Report instance="sun-20201231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R63.htm </HtmlFileName> |
| | | <LongName> 2430415 - Disclosure - Goodwill and Other Intangible Assets (Other Intangible Assets Narrative) (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.sunocolp.com/role/GoodwillandOtherIntangibleAssetsOtherIntangibleAssetsNarrativeDetails </Role> |
| | | <ShortName> Goodwill and Other Intangible Assets (Other Intangible Assets Narrative) (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <ParentRole> http://www.sunocolp.com/role/GoodwillandOtherIntangibleAssetsTables </ParentRole> |
| | | <Position> 63 </Position> |
| | | </Report> |
| | <Report instance="sun-20201231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R64.htm </HtmlFileName> |
| | | <LongName> 2433416 - Disclosure - Accrued Expenses and Other Current Liabilities (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.sunocolp.com/role/AccruedExpensesandOtherCurrentLiabilitiesDetails </Role> |
| | | <ShortName> Accrued Expenses and Other Current Liabilities (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <ParentRole> http://www.sunocolp.com/role/AccruedExpensesandOtherCurrentLiabilitiesTables </ParentRole> |
| | | <Position> 64 </Position> |
| | | </Report> |
| | <Report instance="sun-20201231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R65.htm </HtmlFileName> |
| | | <LongName> 2436417 - Disclosure - Long-Term Debt (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.sunocolp.com/role/LongTermDebtDetails </Role> |
| | | <ShortName> Long-Term Debt (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <ParentRole> http://www.sunocolp.com/role/LongTermDebtTables </ParentRole> |
| | | <Position> 65 </Position> |
| | | </Report> |
| | <Report instance="sun-20201231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R66.htm </HtmlFileName> |
| | | <LongName> 2437418 - Disclosure - Long-Term Debt (Maturities) (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.sunocolp.com/role/LongTermDebtMaturitiesDetails </Role> |
| | | <ShortName> Long-Term Debt (Maturities) (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <ParentRole> http://www.sunocolp.com/role/LongTermDebtTables </ParentRole> |
| | | <Position> 66 </Position> |
| | | </Report> |
| | <Report instance="sun-20201231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R67.htm </HtmlFileName> |
| | | <LongName> 2438419 - Disclosure - Long-Term Debt (Senior Notes) (Details) </LongName> |
| | | <ReportType> Notes </ReportType> |
| | | <Role> http://www.sunocolp.com/role/LongTermDebtSeniorNotesDetails </Role> |
| | | <ShortName> Long-Term Debt (Senior Notes) (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <ParentRole> http://www.sunocolp.com/role/LongTermDebtTables </ParentRole> |
| | | <Position> 67 </Position> |
| | | </Report> |
| | <Report instance="sun-20201231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R68.htm </HtmlFileName> |
| | | <LongName> 2439420 - Disclosure - Long-Term Debt (Revolving Credit Agreement) (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.sunocolp.com/role/LongTermDebtRevolvingCreditAgreementDetails </Role> |
| | | <ShortName> Long-Term Debt (Revolving Credit Agreement) (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <ParentRole> http://www.sunocolp.com/role/LongTermDebtTables </ParentRole> |
| | | <Position> 68 </Position> |
| | | </Report> |
| | <Report instance="sun-20201231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R69.htm </HtmlFileName> |
| | | <LongName> 2440421 - Disclosure - Long-Term Debt (Sale Leaseback Financing Obligation and Fair Value) (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.sunocolp.com/role/LongTermDebtSaleLeasebackFinancingObligationandFairValueDetails </Role> |
| | | <ShortName> Long-Term Debt (Sale Leaseback Financing Obligation and Fair Value) (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <ParentRole> http://www.sunocolp.com/role/LongTermDebtTables </ParentRole> |
| | | <Position> 69 </Position> |
| | | </Report> |
| | <Report instance="sun-20201231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R70.htm </HtmlFileName> |
| | | <LongName> 2443422 - Disclosure - Other Noncurrent Liabilities - Other Noncurrent Liabilities (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.sunocolp.com/role/OtherNoncurrentLiabilitiesOtherNoncurrentLiabilitiesDetails </Role> |
| | | <ShortName> Other Noncurrent Liabilities - Other Noncurrent Liabilities (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 70 </Position> |
| | | </Report> |
| | <Report instance="sun-20201231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R71.htm </HtmlFileName> |
| | | <LongName> 2444423 - Disclosure - Other Noncurrent Liabilities - Change in Assets Retirement Obligations (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.sunocolp.com/role/OtherNoncurrentLiabilitiesChangeinAssetsRetirementObligationsDetails </Role> |
| | | <ShortName> Other Noncurrent Liabilities - Change in Assets Retirement Obligations (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 71 </Position> |
| | | </Report> |
| | <Report instance="sun-20201231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R72.htm </HtmlFileName> |
| | | <LongName> 2447424 - Disclosure - Related-Party Transactions (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.sunocolp.com/role/RelatedPartyTransactionsDetails </Role> |
| | | <ShortName> Related-Party Transactions (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <ParentRole> http://www.sunocolp.com/role/RelatedPartyTransactionsTables </ParentRole> |
| | | <Position> 72 </Position> |
| | | </Report> |
| | <Report instance="sun-20201231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R73.htm </HtmlFileName> |
| | | <LongName> 2450425 - Disclosure - Revenue - Disaggregation of Revenue (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.sunocolp.com/role/RevenueDisaggregationofRevenueDetails </Role> |
| | | <ShortName> Revenue - Disaggregation of Revenue (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 73 </Position> |
| | | </Report> |
| | <Report instance="sun-20201231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R74.htm </HtmlFileName> |
| | | <LongName> 2451426 - Disclosure - Revenue - Contract Balances with Customers (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.sunocolp.com/role/RevenueContractBalanceswithCustomersDetails </Role> |
| | | <ShortName> Revenue - Contract Balances with Customers (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 74 </Position> |
| | | </Report> |
| | <Report instance="sun-20201231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R75.htm </HtmlFileName> |
| | | <LongName> 2452427 - Disclosure - Revenue - Narrative (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.sunocolp.com/role/RevenueNarrativeDetails </Role> |
| | | <ShortName> Revenue - Narrative (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 75 </Position> |
| | | </Report> |
| | <Report instance="sun-20201231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R76.htm </HtmlFileName> |
| | | <LongName> 2455428 - Disclosure - Commitments and Contingencies - Lessee Disclosures (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.sunocolp.com/role/CommitmentsandContingenciesLesseeDisclosuresDetails </Role> |
| | | <ShortName> Commitments and Contingencies - Lessee Disclosures (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 76 </Position> |
| | | </Report> |
| | <Report instance="sun-20201231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R77.htm </HtmlFileName> |
| | | <LongName> 2456429 - Disclosure - Commitments and Contingencies - Lessor Disclosures (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.sunocolp.com/role/CommitmentsandContingenciesLessorDisclosuresDetails </Role> |
| | | <ShortName> Commitments and Contingencies - Lessor Disclosures (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 77 </Position> |
| | | </Report> |
| | <Report instance="sun-20201231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R78.htm </HtmlFileName> |
| | | <LongName> 2457430 - Disclosure - Commitments and Contingencies Commitments and Contingencies Narrative (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.sunocolp.com/role/CommitmentsandContingenciesCommitmentsandContingenciesNarrativeDetails </Role> |
| | | <ShortName> Commitments and Contingencies Commitments and Contingencies Narrative (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 78 </Position> |
| | | </Report> |
| | <Report instance="sun-20201231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R79.htm </HtmlFileName> |
| | | <LongName> 2460431 - Disclosure - Assets under Operating Leases (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.sunocolp.com/role/AssetsunderOperatingLeasesDetails </Role> |
| | | <ShortName> Assets under Operating Leases (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <ParentRole> http://www.sunocolp.com/role/AssetsunderOperatingLeasesTables </ParentRole> |
| | | <Position> 79 </Position> |
| | | </Report> |
| | <Report instance="sun-20201231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R80.htm </HtmlFileName> |
| | | <LongName> 2463432 - Disclosure - Interest Expense And Interest Income (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.sunocolp.com/role/InterestExpenseAndInterestIncomeDetails </Role> |
| | | <ShortName> Interest Expense And Interest Income (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 80 </Position> |
| | | </Report> |
| | <Report instance="sun-20201231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R81.htm </HtmlFileName> |
| | | <LongName> 2466433 - Disclosure - Income Tax Expense (Components of Tax Expense) (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.sunocolp.com/role/IncomeTaxExpenseComponentsofTaxExpenseDetails </Role> |
| | | <ShortName> Income Tax Expense (Components of Tax Expense) (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <ParentRole> http://www.sunocolp.com/role/IncomeTaxExpenseTables </ParentRole> |
| | | <Position> 81 </Position> |
| | | </Report> |
| | <Report instance="sun-20201231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R82.htm </HtmlFileName> |
| | | <LongName> 2467434 - Disclosure - Income Tax Expense (Effective Income Tax Rate Reconciliation) (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.sunocolp.com/role/IncomeTaxExpenseEffectiveIncomeTaxRateReconciliationDetails </Role> |
| | | <ShortName> Income Tax Expense (Effective Income Tax Rate Reconciliation) (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <ParentRole> http://www.sunocolp.com/role/IncomeTaxExpenseTables </ParentRole> |
| | | <Position> 82 </Position> |
| | | </Report> |
| | <Report instance="sun-20201231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R83.htm </HtmlFileName> |
| | | <LongName> 2468435 - Disclosure - Income Tax Expense (Deferred Taxes) (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.sunocolp.com/role/IncomeTaxExpenseDeferredTaxesDetails </Role> |
| | | <ShortName> Income Tax Expense (Deferred Taxes) (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <ParentRole> http://www.sunocolp.com/role/IncomeTaxExpenseTables </ParentRole> |
| | | <Position> 83 </Position> |
| | | </Report> |
| | <Report instance="sun-20201231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R84.htm </HtmlFileName> |
| | | <LongName> 2469436 - Disclosure - Income Tax Expense (Unrecognized Tax Benefit) (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.sunocolp.com/role/IncomeTaxExpenseUnrecognizedTaxBenefitDetails </Role> |
| | | <ShortName> Income Tax Expense (Unrecognized Tax Benefit) (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <ParentRole> http://www.sunocolp.com/role/IncomeTaxExpenseTables </ParentRole> |
| | | <Position> 84 </Position> |
| | | </Report> |
| | <Report instance="sun-20201231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R85.htm </HtmlFileName> |
| | | <LongName> 2470437 - Disclosure - Income Tax Expense (Additional Information) (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.sunocolp.com/role/IncomeTaxExpenseAdditionalInformationDetails </Role> |
| | | <ShortName> Income Tax Expense (Additional Information) (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <ParentRole> http://www.sunocolp.com/role/IncomeTaxExpenseTables </ParentRole> |
| | | <Position> 85 </Position> |
| | | </Report> |
| | <Report instance="sun-20201231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R86.htm </HtmlFileName> |
| | | <LongName> 2473438 - Disclosure - Partners' Capital (Narrative) (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.sunocolp.com/role/PartnersCapitalNarrativeDetails </Role> |
| | | <ShortName> Partners' Capital (Narrative) (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <ParentRole> http://www.sunocolp.com/role/PartnersCapitalTables </ParentRole> |
| | | <Position> 86 </Position> |
| | | </Report> |
| | <Report instance="sun-20201231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R87.htm </HtmlFileName> |
| | | <LongName> 2474439 - Disclosure - Partners' Capital (Common Unit Activity) (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.sunocolp.com/role/PartnersCapitalCommonUnitActivityDetails </Role> |
| | | <ShortName> Partners' Capital (Common Unit Activity) (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <ParentRole> http://www.sunocolp.com/role/PartnersCapitalTables </ParentRole> |
| | | <Position> 87 </Position> |
| | | </Report> |
| | <Report instance="sun-20201231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R88.htm </HtmlFileName> |
| | | <LongName> 2475440 - Disclosure - Partners' Capital (Allocations of Net Income) (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.sunocolp.com/role/PartnersCapitalAllocationsofNetIncomeDetails </Role> |
| | | <ShortName> Partners' Capital (Allocations of Net Income) (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <ParentRole> http://www.sunocolp.com/role/PartnersCapitalTables </ParentRole> |
| | | <Position> 88 </Position> |
| | | </Report> |
| | <Report instance="sun-20201231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R89.htm </HtmlFileName> |
| | | <LongName> 2476441 - Disclosure - Partners' Capital (Incentive Distribution Rights) (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.sunocolp.com/role/PartnersCapitalIncentiveDistributionRightsDetails </Role> |
| | | <ShortName> Partners' Capital (Incentive Distribution Rights) (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <ParentRole> http://www.sunocolp.com/role/PartnersCapitalTables </ParentRole> |
| | | <Position> 89 </Position> |
| | | </Report> |
| | <Report instance="sun-20201231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R90.htm </HtmlFileName> |
| | | <LongName> 2477442 - Disclosure - Partners' Capital (Cash Distributions) (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.sunocolp.com/role/PartnersCapitalCashDistributionsDetails </Role> |
| | | <ShortName> Partners' Capital (Cash Distributions) (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <ParentRole> http://www.sunocolp.com/role/PartnersCapitalTables </ParentRole> |
| | | <Position> 90 </Position> |
| | | </Report> |
| | <Report instance="sun-20201231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R91.htm </HtmlFileName> |
| | | <LongName> 2478443 - Disclosure - Partners' Capital (Series A Preferred Units) (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.sunocolp.com/role/PartnersCapitalSeriesAPreferredUnitsDetails </Role> |
| | | <ShortName> Partners' Capital (Series A Preferred Units) (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <ParentRole> http://www.sunocolp.com/role/PartnersCapitalTables </ParentRole> |
| | | <Position> 91 </Position> |
| | | </Report> |
| | <Report instance="sun-20201231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R92.htm </HtmlFileName> |
| | | <LongName> 2480444 - Disclosure - Unit-Based Compensation - Additional Information Narrative (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.sunocolp.com/role/UnitBasedCompensationAdditionalInformationNarrativeDetails </Role> |
| | | <ShortName> Unit-Based Compensation - Additional Information Narrative (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 92 </Position> |
| | | </Report> |
| | <Report instance="sun-20201231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R93.htm </HtmlFileName> |
| | | <LongName> 2481445 - Disclosure - Unit-Based Compensation - Schedule of Unit Grants Outstanding (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.sunocolp.com/role/UnitBasedCompensationScheduleofUnitGrantsOutstandingDetails </Role> |
| | | <ShortName> Unit-Based Compensation - Schedule of Unit Grants Outstanding (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 93 </Position> |
| | | </Report> |
| | <Report instance="sun-20201231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R94.htm </HtmlFileName> |
| | | <LongName> 2484446 - Disclosure - Segment Reporting - Additional Information (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.sunocolp.com/role/SegmentReportingAdditionalInformationDetails </Role> |
| | | <ShortName> Segment Reporting - Additional Information (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 94 </Position> |
| | | </Report> |
| | <Report instance="sun-20201231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R95.htm </HtmlFileName> |
| | | <LongName> 2485447 - Disclosure - Segment Reporting (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.sunocolp.com/role/SegmentReportingDetails </Role> |
| | | <ShortName> Segment Reporting (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <ParentRole> http://www.sunocolp.com/role/SegmentReportingTables </ParentRole> |
| | | <Position> 95 </Position> |
| | | </Report> |
| | <Report instance="sun-20201231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R96.htm </HtmlFileName> |
| | | <LongName> 2488448 - Disclosure - Net Income per Unit (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.sunocolp.com/role/NetIncomeperUnitDetails </Role> |
| | | <ShortName> Net Income per Unit (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <ParentRole> http://www.sunocolp.com/role/NetIncomeperUnitTables </ParentRole> |
| | | <Position> 96 </Position> |
| | | </Report> |
| | <Report instance="sun-20201231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R97.htm </HtmlFileName> |
| | | <LongName> 2491449 - Disclosure - Selected Quarterly Financial Data (unaudited) (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.sunocolp.com/role/SelectedQuarterlyFinancialDataunauditedDetails </Role> |
| | | <ShortName> Selected Quarterly Financial Data (unaudited) (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <ParentRole> http://www.sunocolp.com/role/SelectedQuarterlyFinancialDataunauditedTables </ParentRole> |
| | | <Position> 97 </Position> |
| | | </Report> |
| | <Report> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <LongName> All Reports </LongName> |
| | | <ReportType> Book </ReportType> |
| | | <ShortName> All Reports </ShortName> |
| | | </Report> |
| | </MyReports> |
| <InputFiles> |
| | <File doctype="10-K" original="sun-20201231.htm"> sun-20201231.htm </File> |
| | <File> sun-12312020xexx1012.htm </File> |
| | <File> sun-12312020xexx1013.htm </File> |
| | <File> sun-12312020xexx211.htm </File> |
| | <File> sun-12312020xexx231.htm </File> |
| | <File> sun-12312020xexx232.htm </File> |
| | <File> sun-12312020xexx311.htm </File> |
| | <File> sun-12312020xexx312.htm </File> |
| | <File> sun-12312020xexx321.htm </File> |
| | <File> sun-12312020xexx322.htm </File> |
| | <File> sun-20201231.xsd </File> |
| | <File> sun-20201231_cal.xml </File> |
| | <File> sun-20201231_def.xml </File> |
| | <File> sun-20201231_lab.xml </File> |
| | <File> sun-20201231_pre.xml </File> |
| | </InputFiles> |
| <SupplementalFiles> |
| | <File> sun-20201231_g1.jpg </File> |
| | </SupplementalFiles> |
| <BaseTaxonomies> |
| | <BaseTaxonomy> http://fasb.org/us-gaap/2020-01-31 </BaseTaxonomy> |
| | <BaseTaxonomy> http://xbrl.sec.gov/dei/2020-01-31 </BaseTaxonomy> |
| | <BaseTaxonomy> http://fasb.org/srt/2020-01-31 </BaseTaxonomy> |
| | </BaseTaxonomies> |
| <HasPresentationLinkbase> true </HasPresentationLinkbase> |
| <HasCalculationLinkbase> true </HasCalculationLinkbase> |
| </FilingSummary> |