<?xml version='1.0' encoding='UTF-8'?>
<FilingSummary>
  <Version>3.5.0.2</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>296</ContextCount>
  <ElementCount>312</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>106</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>17</UnitCount>
  <MyReports>
    <Report instance="sun-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>0002000 - 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-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>1001000 - 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-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>1001501 - 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-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>1002000 - Statement - Consolidated Statements of Operations and Comprehensive Income</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sunocolp.com/role/ConsolidatedStatementsOfOperationsAndComprehensiveIncome</Role>
      <ShortName>Consolidated Statements of Operations and Comprehensive Income</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="sun-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>1003000 - 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-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>1004000 - 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-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>2101100 - 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>7</Position>
    </Report>
    <Report instance="sun-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>2102100 - 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>8</Position>
    </Report>
    <Report instance="sun-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>2103100 - Disclosure - Acquisitions</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sunocolp.com/role/Acquisitions</Role>
      <ShortName>Acquisitions</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="sun-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>2104100 - 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>10</Position>
    </Report>
    <Report instance="sun-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>2105100 - Disclosure - Inventories, net</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sunocolp.com/role/InventoriesNet</Role>
      <ShortName>Inventories, net</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="sun-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>2106100 - 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>12</Position>
    </Report>
    <Report instance="sun-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>2107100 - 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>13</Position>
    </Report>
    <Report instance="sun-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>2108100 - 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>14</Position>
    </Report>
    <Report instance="sun-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>2109100 - 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>15</Position>
    </Report>
    <Report instance="sun-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>2110100 - Disclosure - Fair Value Measurements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sunocolp.com/role/FairValueMeasurements</Role>
      <ShortName>Fair Value Measurements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="sun-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>2111100 - 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>17</Position>
    </Report>
    <Report instance="sun-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>2112100 - 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>18</Position>
    </Report>
    <Report instance="sun-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>2113100 - 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>19</Position>
    </Report>
    <Report instance="sun-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>2115100 - Disclosure - Partners' Capital</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sunocolp.com/role/PartnersCapital</Role>
      <ShortName>Partners' Capital</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="sun-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>2116100 - Disclosure - Unit-Based Compensation</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sunocolp.com/role/UnitBasedCompensation</Role>
      <ShortName>Unit-Based Compensation</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="sun-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>2117100 - 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-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>2118100 - 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>23</Position>
    </Report>
    <Report instance="sun-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>2119100 - 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>24</Position>
    </Report>
    <Report instance="sun-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>2120100 - Disclosure - Subsequent Events</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sunocolp.com/role/SubsequentEvents</Role>
      <ShortName>Subsequent Events</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>25</Position>
    </Report>
    <Report instance="sun-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>2202201 - 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>26</Position>
    </Report>
    <Report instance="sun-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>2303301 - Disclosure - Acquisitions (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sunocolp.com/role/AcquisitionsTables</Role>
      <ShortName>Acquisitions (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.sunocolp.com/role/Acquisitions</ParentRole>
      <Position>27</Position>
    </Report>
    <Report instance="sun-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>2304301 - 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>28</Position>
    </Report>
    <Report instance="sun-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>2305301 - 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>29</Position>
    </Report>
    <Report instance="sun-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>2306301 - 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>
      <Position>30</Position>
    </Report>
    <Report instance="sun-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>2307301 - 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>31</Position>
    </Report>
    <Report instance="sun-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>2308301 - 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>32</Position>
    </Report>
    <Report instance="sun-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>2309301 - 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>33</Position>
    </Report>
    <Report instance="sun-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>2311301 - 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>34</Position>
    </Report>
    <Report instance="sun-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>2312301 - 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>35</Position>
    </Report>
    <Report instance="sun-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>2313301 - 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>36</Position>
    </Report>
    <Report instance="sun-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>2315301 - 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>37</Position>
    </Report>
    <Report instance="sun-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>2316301 - 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>
      <ParentRole>http://www.sunocolp.com/role/UnitBasedCompensation</ParentRole>
      <Position>38</Position>
    </Report>
    <Report instance="sun-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>2317301 - 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>39</Position>
    </Report>
    <Report instance="sun-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>2318301 - 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>40</Position>
    </Report>
    <Report instance="sun-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>2401401 - 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>41</Position>
    </Report>
    <Report instance="sun-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>2402402 - 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>42</Position>
    </Report>
    <Report instance="sun-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>2403402 - Disclosure - Acquisitions - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sunocolp.com/role/AcquisitionsAdditionalInformationDetails</Role>
      <ShortName>Acquisitions - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>43</Position>
    </Report>
    <Report instance="sun-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>2403403 - Disclosure - Acquisitions (Recognized Identified Assets Acquired and Liabilities Assumed) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sunocolp.com/role/AcquisitionsRecognizedIdentifiedAssetsAcquiredAndLiabilitiesAssumedDetails</Role>
      <ShortName>Acquisitions (Recognized Identified Assets Acquired and Liabilities Assumed) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.sunocolp.com/role/AcquisitionsTables</ParentRole>
      <Position>44</Position>
    </Report>
    <Report instance="sun-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>2404402 - 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>45</Position>
    </Report>
    <Report instance="sun-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>2405402 - 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>46</Position>
    </Report>
    <Report instance="sun-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>2405403 - 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>47</Position>
    </Report>
    <Report instance="sun-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>2406402 - 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>48</Position>
    </Report>
    <Report instance="sun-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>2407402 - Disclosure - Goodwill and Other Intangible Assets (Intangible Assets) - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sunocolp.com/role/GoodwillAndOtherIntangibleAssetsIntangibleAssetsAdditionalInformationDetails</Role>
      <ShortName>Goodwill and Other Intangible Assets (Intangible Assets) - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.sunocolp.com/role/GoodwillAndOtherIntangibleAssetsTables</ParentRole>
      <Position>49</Position>
    </Report>
    <Report instance="sun-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>2407403 - Disclosure - Goodwill and Other Intangible Assets (Intangible Assets) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sunocolp.com/role/GoodwillAndOtherIntangibleAssetsIntangibleAssetsDetails</Role>
      <ShortName>Goodwill and Other Intangible Assets (Intangible Assets) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.sunocolp.com/role/GoodwillAndOtherIntangibleAssetsTables</ParentRole>
      <Position>50</Position>
    </Report>
    <Report instance="sun-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>2408402 - 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>51</Position>
    </Report>
    <Report instance="sun-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>2409402 - 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>52</Position>
    </Report>
    <Report instance="sun-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>2409403 - Disclosure - Long-Term Debt (Term Loan) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sunocolp.com/role/LongTermDebtTermLoanDetails</Role>
      <ShortName>Long-Term Debt (Term Loan) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.sunocolp.com/role/LongTermDebtTables</ParentRole>
      <Position>53</Position>
    </Report>
    <Report instance="sun-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>2409404 - Disclosure - Long-Term Debt (5.500% Senior Notes Due 2020) (Details)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.sunocolp.com/role/LongTermDebt5500SeniorNotesDue2020Details</Role>
      <ShortName>Long-Term Debt (5.500% Senior Notes Due 2020) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.sunocolp.com/role/LongTermDebtTables</ParentRole>
      <Position>54</Position>
    </Report>
    <Report instance="sun-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>2409405 - Disclosure - Long-Term Debt (6.250% Senior Notes Due 2021) (Details)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.sunocolp.com/role/LongTermDebt6250SeniorNotesDue2021Details</Role>
      <ShortName>Long-Term Debt (6.250% Senior Notes Due 2021) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.sunocolp.com/role/LongTermDebtTables</ParentRole>
      <Position>55</Position>
    </Report>
    <Report instance="sun-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>2409406 - Disclosure - Long-Term Debt (6.375% Senior Notes Due 2023) (Details)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.sunocolp.com/role/LongTermDebt6375SeniorNotesDue2023Details</Role>
      <ShortName>Long-Term Debt (6.375% Senior Notes Due 2023) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.sunocolp.com/role/LongTermDebtTables</ParentRole>
      <Position>56</Position>
    </Report>
    <Report instance="sun-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>2409407 - 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>57</Position>
    </Report>
    <Report instance="sun-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>2409408 - Disclosure - Long-Term Debt (Sale Leaseback Financing Obligation) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sunocolp.com/role/LongTermDebtSaleLeasebackFinancingObligationDetails</Role>
      <ShortName>Long-Term Debt (Sale Leaseback Financing Obligation) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.sunocolp.com/role/LongTermDebtTables</ParentRole>
      <Position>58</Position>
    </Report>
    <Report instance="sun-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>2409409 - Disclosure - Long-Term Debt (Other Debt) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sunocolp.com/role/LongTermDebtOtherDebtDetails</Role>
      <ShortName>Long-Term Debt (Other Debt) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.sunocolp.com/role/LongTermDebtTables</ParentRole>
      <Position>59</Position>
    </Report>
    <Report instance="sun-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>2410401 - Disclosure - Fair Value Measurements (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sunocolp.com/role/FairValueMeasurementsDetails</Role>
      <ShortName>Fair Value Measurements (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.sunocolp.com/role/FairValueMeasurements</ParentRole>
      <Position>60</Position>
    </Report>
    <Report instance="sun-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>2411402 - Disclosure - Commitments And Contingencies (Leases) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sunocolp.com/role/CommitmentsAndContingenciesLeasesDetails</Role>
      <ShortName>Commitments And Contingencies (Leases) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.sunocolp.com/role/CommitmentsAndContingenciesTables</ParentRole>
      <Position>61</Position>
    </Report>
    <Report instance="sun-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>2411403 - Disclosure - Commitments And Contingencies (Leases, Schedule of Rent Expense) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sunocolp.com/role/CommitmentsAndContingenciesLeasesScheduleOfRentExpenseDetails</Role>
      <ShortName>Commitments And Contingencies (Leases, Schedule of Rent Expense) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.sunocolp.com/role/CommitmentsAndContingenciesTables</ParentRole>
      <Position>62</Position>
    </Report>
    <Report instance="sun-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>2412402 - Disclosure - Interest Expense, net (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sunocolp.com/role/InterestExpenseNetDetails</Role>
      <ShortName>Interest Expense, net (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.sunocolp.com/role/InterestExpenseNetTables</ParentRole>
      <Position>63</Position>
    </Report>
    <Report instance="sun-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>2413402 - Disclosure - Income Tax Expense (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sunocolp.com/role/IncomeTaxExpenseDetails</Role>
      <ShortName>Income Tax Expense (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.sunocolp.com/role/IncomeTaxExpenseTables</ParentRole>
      <Position>64</Position>
    </Report>
    <Report instance="sun-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>2415402 - Disclosure - Partners' Capital (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sunocolp.com/role/PartnersCapitalDetails</Role>
      <ShortName>Partners' Capital (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.sunocolp.com/role/PartnersCapitalTables</ParentRole>
      <Position>65</Position>
    </Report>
    <Report instance="sun-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>2415403 - Disclosure - Partners' Capital (Schedule of Common Units) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sunocolp.com/role/PartnersCapitalScheduleOfCommonUnitsDetails</Role>
      <ShortName>Partners' Capital (Schedule of Common Units) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.sunocolp.com/role/PartnersCapitalTables</ParentRole>
      <Position>66</Position>
    </Report>
    <Report instance="sun-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R67.htm</HtmlFileName>
      <LongName>2415404 - 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>67</Position>
    </Report>
    <Report instance="sun-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R68.htm</HtmlFileName>
      <LongName>2415405 - 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>68</Position>
    </Report>
    <Report instance="sun-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R69.htm</HtmlFileName>
      <LongName>2415406 - 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>69</Position>
    </Report>
    <Report instance="sun-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R70.htm</HtmlFileName>
      <LongName>2416402 - Disclosure - Unit-Based Compensation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sunocolp.com/role/UnitBasedCompensationDetails</Role>
      <ShortName>Unit-Based Compensation (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.sunocolp.com/role/UnitBasedCompensationTables</ParentRole>
      <Position>70</Position>
    </Report>
    <Report instance="sun-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R71.htm</HtmlFileName>
      <LongName>2416403 - Disclosure - Unit-Based Compensation (Phantom Common Unit Awards) - Additional Information(Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sunocolp.com/role/UnitBasedCompensationPhantomCommonUnitAwardsAdditionalInformationdetails</Role>
      <ShortName>Unit-Based Compensation (Phantom Common Unit Awards) - Additional Information(Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.sunocolp.com/role/UnitBasedCompensationTables</ParentRole>
      <Position>71</Position>
    </Report>
    <Report instance="sun-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R72.htm</HtmlFileName>
      <LongName>2416404 - Disclosure - Unit-Based Compensation (Phantom Common Unit Awards) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sunocolp.com/role/UnitBasedCompensationPhantomCommonUnitAwardsDetails</Role>
      <ShortName>Unit-Based Compensation (Phantom Common Unit Awards) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.sunocolp.com/role/UnitBasedCompensationTables</ParentRole>
      <Position>72</Position>
    </Report>
    <Report instance="sun-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R73.htm</HtmlFileName>
      <LongName>2416405 - Disclosure - Unit-Based Compensation (Cash Awards) - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sunocolp.com/role/UnitBasedCompensationCashAwardsAdditionalInformationDetails</Role>
      <ShortName>Unit-Based Compensation (Cash Awards) - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.sunocolp.com/role/UnitBasedCompensationTables</ParentRole>
      <Position>73</Position>
    </Report>
    <Report instance="sun-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R74.htm</HtmlFileName>
      <LongName>2417402 - 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>74</Position>
    </Report>
    <Report instance="sun-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R75.htm</HtmlFileName>
      <LongName>2417403 - 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>75</Position>
    </Report>
    <Report instance="sun-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R76.htm</HtmlFileName>
      <LongName>2418402 - 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>76</Position>
    </Report>
    <Report instance="sun-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R77.htm</HtmlFileName>
      <LongName>2419401 - Disclosure - Related-Party Transactions - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sunocolp.com/role/RelatedPartyTransactionsAdditionalInformationDetails</Role>
      <ShortName>Related-Party Transactions - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>77</Position>
    </Report>
    <Report instance="sun-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R78.htm</HtmlFileName>
      <LongName>2420401 - Disclosure - Subsequent Events (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sunocolp.com/role/SubsequentEventsDetails</Role>
      <ShortName>Subsequent Events (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.sunocolp.com/role/SubsequentEvents</ParentRole>
      <Position>78</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File>sun-20160930.xml</File>
    <File>sun-20160930.xsd</File>
    <File>sun-20160930_cal.xml</File>
    <File>sun-20160930_def.xml</File>
    <File>sun-20160930_lab.xml</File>
    <File>sun-20160930_pre.xml</File>
  </InputFiles>
  <SupplementalFiles/>
  <BaseTaxonomies/>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
