<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.26.1</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>255</ContextCount>
  <ElementCount>296</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>true</FootnotesReported>
  <SegmentCount>110</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>11</UnitCount>
  <MyReports>
    <Report instance="sun-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>0000001 - Document - Document And Entity Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sunocolp.com/role/DocumentAndEntityInformation</Role>
      <ShortName>Document And Entity Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="sun-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>9952151 - 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-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>9952152 - 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-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>9952153 - Statement - Consolidated Statements of Operations</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sunocolp.com/role/ConsolidatedStatementsofOperations</Role>
      <ShortName>Consolidated Statements of Operations</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="sun-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>9952154 - Statement - Statement of Comprehensive Income (Statement)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sunocolp.com/role/StatementofComprehensiveIncomeStatement</Role>
      <ShortName>Statement of Comprehensive Income (Statement)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="sun-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>9952155 - 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>6</Position>
    </Report>
    <Report instance="sun-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>9952156 - 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>7</Position>
    </Report>
    <Report instance="sun-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>9952157 - 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-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>9952158 - 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-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>9952159 - Disclosure - Acquisitions, Divestitures and Other Transactions</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sunocolp.com/role/AcquisitionsDivestituresandOtherTransactions</Role>
      <ShortName>Acquisitions, Divestitures and Other Transactions</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="sun-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>9952160 - Disclosure - Cash and Cash Equivalents</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sunocolp.com/role/CashandCashEquivalents</Role>
      <ShortName>Cash and Cash Equivalents</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="sun-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>9952161 - 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-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>9952162 - 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-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>9952163 - Disclosure - Investment in Unconsolidated Affiliates</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sunocolp.com/role/InvestmentinUnconsolidatedAffiliates</Role>
      <ShortName>Investment in Unconsolidated Affiliates</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="sun-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>9952164 - 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>15</Position>
    </Report>
    <Report instance="sun-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>9952165 - Disclosure - Debt Obligations</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sunocolp.com/role/DebtObligations</Role>
      <ShortName>Debt Obligations</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="sun-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>9952166 - Disclosure - Other Noncurrent Liabilities (Notes)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.sunocolp.com/role/OtherNoncurrentLiabilitiesNotes</Role>
      <ShortName>Other Noncurrent Liabilities (Notes)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="sun-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>9952167 - Disclosure - Related-Party Transactions</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sunocolp.com/role/RelatedPartyTransactions</Role>
      <ShortName>Related-Party Transactions</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="sun-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>9952168 - Disclosure - Revenue (Notes)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.sunocolp.com/role/RevenueNotes</Role>
      <ShortName>Revenue (Notes)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="sun-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>9952169 - 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-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>9952170 - Disclosure - Equity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sunocolp.com/role/Equity</Role>
      <ShortName>Equity</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="sun-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>9952171 - Disclosure - Segment Reporting</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sunocolp.com/role/SegmentReporting</Role>
      <ShortName>Segment Reporting</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="sun-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>9952172 - Disclosure - Net Income per Common Unit</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sunocolp.com/role/NetIncomeperCommonUnit</Role>
      <ShortName>Net Income per Common Unit</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>23</Position>
    </Report>
    <Report instance="sun-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>9952173 - Disclosure - Derivative Instruments and Hedging Activities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sunocolp.com/role/DerivativeInstrumentsandHedgingActivities</Role>
      <ShortName>Derivative Instruments and Hedging Activities</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>24</Position>
    </Report>
    <Report instance="sun-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>995445 - Disclosure - Insider Trading Arrangements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements</Role>
      <ShortName>Insider Trading Arrangements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>25</Position>
    </Report>
    <Report instance="sun-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>9955511 - Disclosure - Organization and Principles of Consolidation Organization and Principles of Consolidation (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sunocolp.com/role/OrganizationandPrinciplesofConsolidationOrganizationandPrinciplesofConsolidationPolicies</Role>
      <ShortName>Organization and Principles of Consolidation Organization and Principles of Consolidation (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://www.sunocolp.com/role/SummaryofSignificantAccountingPolicies</ParentRole>
      <Position>26</Position>
    </Report>
    <Report instance="sun-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>9955512 - 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>27</Position>
    </Report>
    <Report instance="sun-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>9955513 - Disclosure - Inventory (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sunocolp.com/role/InventoryPolicies</Role>
      <ShortName>Inventory (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://www.sunocolp.com/role/SummaryofSignificantAccountingPolicies</ParentRole>
      <Position>28</Position>
    </Report>
    <Report instance="sun-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>9955514 - Disclosure - Revenue from Contract with Customer (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sunocolp.com/role/RevenuefromContractwithCustomerPolicies</Role>
      <ShortName>Revenue from Contract with Customer (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://www.sunocolp.com/role/SummaryofSignificantAccountingPolicies</ParentRole>
      <Position>29</Position>
    </Report>
    <Report instance="sun-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>9955518 - Disclosure - Acquisitions, Divestitures and Other Transactions (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sunocolp.com/role/AcquisitionsDivestituresandOtherTransactionsTables</Role>
      <ShortName>Acquisitions, Divestitures and Other Transactions (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.sunocolp.com/role/AcquisitionsDivestituresandOtherTransactions</ParentRole>
      <Position>30</Position>
    </Report>
    <Report instance="sun-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>9955519 - Disclosure - Cash and Cash Equivalents (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sunocolp.com/role/CashandCashEquivalentsTables</Role>
      <ShortName>Cash and Cash Equivalents (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.sunocolp.com/role/CashandCashEquivalents</ParentRole>
      <Position>31</Position>
    </Report>
    <Report instance="sun-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>9955520 - 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>32</Position>
    </Report>
    <Report instance="sun-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>9955521 - 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>33</Position>
    </Report>
    <Report instance="sun-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>9955522 - Disclosure - Investment in Unconsolidated Affiliates (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sunocolp.com/role/InvestmentinUnconsolidatedAffiliatesTables</Role>
      <ShortName>Investment in Unconsolidated Affiliates (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.sunocolp.com/role/InvestmentinUnconsolidatedAffiliates</ParentRole>
      <Position>34</Position>
    </Report>
    <Report instance="sun-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>9955523 - 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-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>9955524 - Disclosure - Debt Obligations (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sunocolp.com/role/DebtObligationsTables</Role>
      <ShortName>Debt Obligations (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.sunocolp.com/role/DebtObligations</ParentRole>
      <Position>36</Position>
    </Report>
    <Report instance="sun-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>9955525 - 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/OtherNoncurrentLiabilitiesNotes</ParentRole>
      <Position>37</Position>
    </Report>
    <Report instance="sun-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>9955526 - 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>
      <ParentRole>http://www.sunocolp.com/role/RelatedPartyTransactions</ParentRole>
      <Position>38</Position>
    </Report>
    <Report instance="sun-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>9955527 - 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/RevenueNotes</ParentRole>
      <Position>39</Position>
    </Report>
    <Report instance="sun-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>9955528 - 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-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>9955529 - Disclosure - Equity (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sunocolp.com/role/EquityTables</Role>
      <ShortName>Equity (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.sunocolp.com/role/Equity</ParentRole>
      <Position>41</Position>
    </Report>
    <Report instance="sun-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>9955530 - 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>42</Position>
    </Report>
    <Report instance="sun-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>9955531 - Disclosure - Net Income per Common Unit (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sunocolp.com/role/NetIncomeperCommonUnitTables</Role>
      <ShortName>Net Income per Common Unit (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.sunocolp.com/role/NetIncomeperCommonUnit</ParentRole>
      <Position>43</Position>
    </Report>
    <Report instance="sun-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>9955532 - Disclosure - Derivative Instruments and Hedging Activities (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sunocolp.com/role/DerivativeInstrumentsandHedgingActivitiesTables</Role>
      <ShortName>Derivative Instruments and Hedging Activities (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.sunocolp.com/role/DerivativeInstrumentsandHedgingActivities</ParentRole>
      <Position>44</Position>
    </Report>
    <Report instance="sun-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>9955533 - 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>45</Position>
    </Report>
    <Report instance="sun-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>9955534 - Disclosure - Summary of Significant Accounting Policies - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sunocolp.com/role/SummaryofSignificantAccountingPoliciesAdditionalInformationDetails</Role>
      <ShortName>Summary of Significant Accounting Policies - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>46</Position>
    </Report>
    <Report instance="sun-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>9955535 - Disclosure - Acquisitions, Divestitures and Other Transactions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sunocolp.com/role/AcquisitionsDivestituresandOtherTransactionsDetails</Role>
      <ShortName>Acquisitions, Divestitures and Other Transactions (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.sunocolp.com/role/AcquisitionsDivestituresandOtherTransactionsTables</ParentRole>
      <Position>47</Position>
    </Report>
    <Report instance="sun-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>9955536 - Disclosure - Cash and Cash Equivalents (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sunocolp.com/role/CashandCashEquivalentsDetails</Role>
      <ShortName>Cash and Cash Equivalents (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.sunocolp.com/role/CashandCashEquivalentsTables</ParentRole>
      <Position>48</Position>
    </Report>
    <Report instance="sun-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>9955537 - 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>49</Position>
    </Report>
    <Report instance="sun-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>9955538 - Disclosure - Inventories, net - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sunocolp.com/role/InventoriesnetAdditionalInformationDetails</Role>
      <ShortName>Inventories, net - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>50</Position>
    </Report>
    <Report instance="sun-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>9955539 - 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>51</Position>
    </Report>
    <Report instance="sun-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>9955540 - Disclosure - Investment in Unconsolidated Affiliates (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sunocolp.com/role/InvestmentinUnconsolidatedAffiliatesDetails</Role>
      <ShortName>Investment in Unconsolidated Affiliates (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.sunocolp.com/role/InvestmentinUnconsolidatedAffiliatesTables</ParentRole>
      <Position>52</Position>
    </Report>
    <Report instance="sun-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>9955541 - Disclosure - Schedule of Investment in Unconsolidated Affiliates (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sunocolp.com/role/ScheduleofInvestmentinUnconsolidatedAffiliatesDetails</Role>
      <ShortName>Schedule of Investment in Unconsolidated Affiliates (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>53</Position>
    </Report>
    <Report instance="sun-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>9955542 - 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>54</Position>
    </Report>
    <Report instance="sun-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>9955543 - Disclosure - Debt Obligations (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sunocolp.com/role/DebtObligationsDetails</Role>
      <ShortName>Debt Obligations (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.sunocolp.com/role/DebtObligationsTables</ParentRole>
      <Position>55</Position>
    </Report>
    <Report instance="sun-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>9955544 - Disclosure - Debt Obligations (Revolving Credit Agreement) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sunocolp.com/role/DebtObligationsRevolvingCreditAgreementDetails</Role>
      <ShortName>Debt Obligations (Revolving Credit Agreement) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.sunocolp.com/role/DebtObligationsTables</ParentRole>
      <Position>56</Position>
    </Report>
    <Report instance="sun-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>9955545 - Disclosure - Debt Obligations (Fair Value Measurements) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sunocolp.com/role/DebtObligationsFairValueMeasurementsDetails</Role>
      <ShortName>Debt Obligations (Fair Value Measurements) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.sunocolp.com/role/DebtObligationsTables</ParentRole>
      <Position>57</Position>
    </Report>
    <Report instance="sun-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>9955546 - Disclosure - Other Noncurrent Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sunocolp.com/role/OtherNoncurrentLiabilitiesDetails</Role>
      <ShortName>Other Noncurrent Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.sunocolp.com/role/OtherNoncurrentLiabilitiesTables</ParentRole>
      <Position>58</Position>
    </Report>
    <Report instance="sun-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>9955547 - 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>59</Position>
    </Report>
    <Report instance="sun-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>9955548 - 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>
      <ParentRole>http://www.sunocolp.com/role/RevenueTables</ParentRole>
      <Position>60</Position>
    </Report>
    <Report instance="sun-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>9955549 - Disclosure - Revenue (Contract Balances with Customer) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sunocolp.com/role/RevenueContractBalanceswithCustomerDetails</Role>
      <ShortName>Revenue (Contract Balances with Customer) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.sunocolp.com/role/RevenueTables</ParentRole>
      <Position>61</Position>
    </Report>
    <Report instance="sun-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>9955550 - Disclosure - Revenue - Remaining Performance Obligation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sunocolp.com/role/RevenueRemainingPerformanceObligationDetails</Role>
      <ShortName>Revenue - Remaining Performance Obligation (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>62</Position>
    </Report>
    <Report instance="sun-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>9955551 - Disclosure - Commitments And Contingencies (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sunocolp.com/role/CommitmentsAndContingenciesDetails</Role>
      <ShortName>Commitments And Contingencies (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.sunocolp.com/role/CommitmentsAndContingenciesTables</ParentRole>
      <Position>63</Position>
    </Report>
    <Report instance="sun-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>9955552 - Disclosure - Equity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sunocolp.com/role/EquityDetails</Role>
      <ShortName>Equity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.sunocolp.com/role/EquityTables</ParentRole>
      <Position>64</Position>
    </Report>
    <Report instance="sun-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>9955553 - Disclosure - Equity (Schedule of Common Units) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sunocolp.com/role/EquityScheduleofCommonUnitsDetails</Role>
      <ShortName>Equity (Schedule of Common Units) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.sunocolp.com/role/EquityTables</ParentRole>
      <Position>65</Position>
    </Report>
    <Report instance="sun-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>9955554 - Disclosure - Equity (Cash Distributions) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sunocolp.com/role/EquityCashDistributionsDetails</Role>
      <ShortName>Equity (Cash Distributions) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.sunocolp.com/role/EquityTables</ParentRole>
      <Position>66</Position>
    </Report>
    <Report instance="sun-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R67.htm</HtmlFileName>
      <LongName>9955555 - 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>67</Position>
    </Report>
    <Report instance="sun-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R68.htm</HtmlFileName>
      <LongName>9955556 - Disclosure - Net Income per Common Unit (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sunocolp.com/role/NetIncomeperCommonUnitDetails</Role>
      <ShortName>Net Income per Common Unit (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.sunocolp.com/role/NetIncomeperCommonUnitTables</ParentRole>
      <Position>68</Position>
    </Report>
    <Report instance="sun-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R69.htm</HtmlFileName>
      <LongName>9955557 - Disclosure - Derivative Instruments and Hedging Activities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sunocolp.com/role/DerivativeInstrumentsandHedgingActivitiesDetails</Role>
      <ShortName>Derivative Instruments and Hedging Activities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.sunocolp.com/role/DerivativeInstrumentsandHedgingActivitiesTables</ParentRole>
      <Position>69</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-Q" isDefinitelyFs="true" isUsgaap="true" original="sun-20260331.htm">sun-20260331.htm</File>
    <File>sun-20260331.xsd</File>
    <File>sun-20260331_cal.xml</File>
    <File>sun-20260331_def.xml</File>
    <File>sun-20260331_lab.xml</File>
    <File>sun-20260331_pre.xml</File>
  </InputFiles>
  <SupplementalFiles>
    <File>sun-20260331_g1.jpg</File>
  </SupplementalFiles>
  <BaseTaxonomies>
    <BaseTaxonomy items="795">http://fasb.org/us-gaap/2026</BaseTaxonomy>
    <BaseTaxonomy items="32">http://xbrl.sec.gov/dei/2026</BaseTaxonomy>
    <BaseTaxonomy items="4">http://xbrl.sec.gov/ecd/2026</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
