<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.26.1</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>253</ContextCount>
  <ElementCount>339</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>true</FootnotesReported>
  <SegmentCount>70</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>10</UnitCount>
  <MyReports>
    <Report instance="musa-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>0000001 - Document - Cover</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://murphyusa.com/role/Cover</Role>
      <ShortName>Cover</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="musa-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>9952151 - Statement - Consolidated Balance Sheets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://murphyusa.com/role/ConsolidatedBalanceSheets</Role>
      <ShortName>Consolidated Balance Sheets</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="musa-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>9952152 - Statement - Consolidated Balance Sheets (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://murphyusa.com/role/ConsolidatedBalanceSheetsParenthetical</Role>
      <ShortName>Consolidated Balance Sheets (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="musa-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>9952153 - Statement - Consolidated Statements of Income (unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://murphyusa.com/role/ConsolidatedStatementsofIncomeunaudited</Role>
      <ShortName>Consolidated Statements of Income (unaudited)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="musa-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>9952154 - Statement - Consolidated Statements of Cash Flows (unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://murphyusa.com/role/ConsolidatedStatementsofCashFlowsunaudited</Role>
      <ShortName>Consolidated Statements of Cash Flows (unaudited)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="musa-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>9952155 - Statement - Consolidated Statements of Changes in Equity (unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://murphyusa.com/role/ConsolidatedStatementsofChangesinEquityunaudited</Role>
      <ShortName>Consolidated Statements of Changes in Equity (unaudited)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="musa-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>9952156 - Statement - Consolidated Statements of Changes in Equity (unaudited) (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://murphyusa.com/role/ConsolidatedStatementsofChangesinEquityunauditedParenthetical</Role>
      <ShortName>Consolidated Statements of Changes in Equity (unaudited) (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="musa-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>9952157 - Disclosure - Description of Business and Basis of Presentation</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://murphyusa.com/role/DescriptionofBusinessandBasisofPresentation</Role>
      <ShortName>Description of Business and Basis of Presentation</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="musa-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>9952158 - Disclosure - Revenues</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://murphyusa.com/role/Revenues</Role>
      <ShortName>Revenues</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="musa-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>9952159 - Disclosure - Inventories</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://murphyusa.com/role/Inventories</Role>
      <ShortName>Inventories</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="musa-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>9952160 - Disclosure - Marketable Securities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://murphyusa.com/role/MarketableSecurities</Role>
      <ShortName>Marketable Securities</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="musa-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>9952161 - Disclosure - Goodwill and Intangible Assets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://murphyusa.com/role/GoodwillandIntangibleAssets</Role>
      <ShortName>Goodwill and Intangible Assets</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="musa-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>9952162 - Disclosure - Long-Term Debt</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://murphyusa.com/role/LongTermDebt</Role>
      <ShortName>Long-Term Debt</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="musa-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>9952163 - Disclosure - Asset Retirement Obligations (ARO)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://murphyusa.com/role/AssetRetirementObligationsARO</Role>
      <ShortName>Asset Retirement Obligations (ARO)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="musa-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>9952164 - Disclosure - Income Taxes</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://murphyusa.com/role/IncomeTaxes</Role>
      <ShortName>Income Taxes</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="musa-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>9952165 - Disclosure - Incentive Plans</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://murphyusa.com/role/IncentivePlans</Role>
      <ShortName>Incentive Plans</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="musa-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>9952166 - Disclosure - Financial Instruments and Risk Management</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://murphyusa.com/role/FinancialInstrumentsandRiskManagement</Role>
      <ShortName>Financial Instruments and Risk Management</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="musa-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>9952167 - Disclosure - Earnings Per Share</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://murphyusa.com/role/EarningsPerShare</Role>
      <ShortName>Earnings Per Share</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="musa-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>9952168 - Disclosure - Other Financial Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://murphyusa.com/role/OtherFinancialInformation</Role>
      <ShortName>Other Financial Information</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="musa-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>9952169 - Disclosure - Assets and Liabilities Measured at Fair Value</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://murphyusa.com/role/AssetsandLiabilitiesMeasuredatFairValue</Role>
      <ShortName>Assets and Liabilities Measured at Fair Value</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="musa-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>9952170 - Disclosure - Contingencies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://murphyusa.com/role/Contingencies</Role>
      <ShortName>Contingencies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="musa-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>9952171 - Disclosure - Lease Accounting</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://murphyusa.com/role/LeaseAccounting</Role>
      <ShortName>Lease Accounting</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="musa-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>9952172 - Disclosure - Business Segments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://murphyusa.com/role/BusinessSegments</Role>
      <ShortName>Business Segments</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>23</Position>
    </Report>
    <Report instance="musa-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>9952173 - Disclosure - Restructuring Expenses</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://murphyusa.com/role/RestructuringExpenses</Role>
      <ShortName>Restructuring Expenses</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>24</Position>
    </Report>
    <Report instance="musa-20260630.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="musa-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>9955511 - Disclosure - Description of Business and Basis of Presentation (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://murphyusa.com/role/DescriptionofBusinessandBasisofPresentationPolicies</Role>
      <ShortName>Description of Business and Basis of Presentation (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://murphyusa.com/role/LeaseAccounting</ParentRole>
      <Position>26</Position>
    </Report>
    <Report instance="musa-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>9955512 - Disclosure - Revenues (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://murphyusa.com/role/RevenuesTables</Role>
      <ShortName>Revenues (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://murphyusa.com/role/Revenues</ParentRole>
      <Position>27</Position>
    </Report>
    <Report instance="musa-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>9955513 - Disclosure - Inventories (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://murphyusa.com/role/InventoriesTables</Role>
      <ShortName>Inventories (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://murphyusa.com/role/Inventories</ParentRole>
      <Position>28</Position>
    </Report>
    <Report instance="musa-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>9955514 - Disclosure - Goodwill and Intangible Assets (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://murphyusa.com/role/GoodwillandIntangibleAssetsTables</Role>
      <ShortName>Goodwill and Intangible Assets (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://murphyusa.com/role/GoodwillandIntangibleAssets</ParentRole>
      <Position>29</Position>
    </Report>
    <Report instance="musa-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>9955515 - Disclosure - Long-Term Debt (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://murphyusa.com/role/LongTermDebtTables</Role>
      <ShortName>Long-Term Debt (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://murphyusa.com/role/LongTermDebt</ParentRole>
      <Position>30</Position>
    </Report>
    <Report instance="musa-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>9955516 - Disclosure - Asset Retirement Obligations (ARO) (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://murphyusa.com/role/AssetRetirementObligationsAROTables</Role>
      <ShortName>Asset Retirement Obligations (ARO) (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://murphyusa.com/role/AssetRetirementObligationsARO</ParentRole>
      <Position>31</Position>
    </Report>
    <Report instance="musa-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>9955517 - Disclosure - Income Taxes (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://murphyusa.com/role/IncomeTaxesTables</Role>
      <ShortName>Income Taxes (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://murphyusa.com/role/IncomeTaxes</ParentRole>
      <Position>32</Position>
    </Report>
    <Report instance="musa-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>9955518 - Disclosure - Incentive Plans (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://murphyusa.com/role/IncentivePlansTables</Role>
      <ShortName>Incentive Plans (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://murphyusa.com/role/IncentivePlans</ParentRole>
      <Position>33</Position>
    </Report>
    <Report instance="musa-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>9955519 - Disclosure - Earnings Per Share (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://murphyusa.com/role/EarningsPerShareTables</Role>
      <ShortName>Earnings Per Share (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://murphyusa.com/role/EarningsPerShare</ParentRole>
      <Position>34</Position>
    </Report>
    <Report instance="musa-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>9955520 - Disclosure - Other Financial Information (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://murphyusa.com/role/OtherFinancialInformationTables</Role>
      <ShortName>Other Financial Information (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://murphyusa.com/role/OtherFinancialInformation</ParentRole>
      <Position>35</Position>
    </Report>
    <Report instance="musa-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>9955521 - Disclosure - Assets and Liabilities Measured at Fair Value (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://murphyusa.com/role/AssetsandLiabilitiesMeasuredatFairValueTables</Role>
      <ShortName>Assets and Liabilities Measured at Fair Value (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://murphyusa.com/role/AssetsandLiabilitiesMeasuredatFairValue</ParentRole>
      <Position>36</Position>
    </Report>
    <Report instance="musa-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>9955522 - Disclosure - Lease Accounting (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://murphyusa.com/role/LeaseAccountingTables</Role>
      <ShortName>Lease Accounting (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://murphyusa.com/role/LeaseAccounting</ParentRole>
      <Position>37</Position>
    </Report>
    <Report instance="musa-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>9955523 - Disclosure - Business Segments (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://murphyusa.com/role/BusinessSegmentsTables</Role>
      <ShortName>Business Segments (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://murphyusa.com/role/BusinessSegments</ParentRole>
      <Position>38</Position>
    </Report>
    <Report instance="musa-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>9955524 - Disclosure - Restructuring Expenses (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://murphyusa.com/role/RestructuringExpensesTables</Role>
      <ShortName>Restructuring Expenses (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://murphyusa.com/role/RestructuringExpenses</ParentRole>
      <Position>39</Position>
    </Report>
    <Report instance="musa-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>9955525 - Disclosure - Description of Business and Basis of Presentation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://murphyusa.com/role/DescriptionofBusinessandBasisofPresentationDetails</Role>
      <ShortName>Description of Business and Basis of Presentation (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://murphyusa.com/role/DescriptionofBusinessandBasisofPresentationPolicies</ParentRole>
      <Position>40</Position>
    </Report>
    <Report instance="musa-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>9955526 - Disclosure - Revenues - Schedule of Disaggregation of Revenue (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://murphyusa.com/role/RevenuesScheduleofDisaggregationofRevenueDetails</Role>
      <ShortName>Revenues - Schedule of Disaggregation of Revenue (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>41</Position>
    </Report>
    <Report instance="musa-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>9955527 - Disclosure - Revenues - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://murphyusa.com/role/RevenuesNarrativeDetails</Role>
      <ShortName>Revenues - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>42</Position>
    </Report>
    <Report instance="musa-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>9955528 - Disclosure - Inventories - Schedule of Inventories (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://murphyusa.com/role/InventoriesScheduleofInventoriesDetails</Role>
      <ShortName>Inventories - Schedule of Inventories (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>43</Position>
    </Report>
    <Report instance="musa-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>9955529 - Disclosure - Inventories - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://murphyusa.com/role/InventoriesNarrativeDetails</Role>
      <ShortName>Inventories - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>44</Position>
    </Report>
    <Report instance="musa-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>9955530 - Disclosure - Marketable Securities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://murphyusa.com/role/MarketableSecuritiesDetails</Role>
      <ShortName>Marketable Securities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://murphyusa.com/role/MarketableSecurities</ParentRole>
      <Position>45</Position>
    </Report>
    <Report instance="musa-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>9955531 - Disclosure - Goodwill and Intangible Assets - Narratives (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://murphyusa.com/role/GoodwillandIntangibleAssetsNarrativesDetails</Role>
      <ShortName>Goodwill and Intangible Assets - Narratives (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>46</Position>
    </Report>
    <Report instance="musa-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>9955532 - Disclosure - Goodwill and Intangible Assets - Schedule of Changes in Goodwill (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://murphyusa.com/role/GoodwillandIntangibleAssetsScheduleofChangesinGoodwillDetails</Role>
      <ShortName>Goodwill and Intangible Assets - Schedule of Changes in Goodwill (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>47</Position>
    </Report>
    <Report instance="musa-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>9955533 - Disclosure - Goodwill and Intangible Assets - Schedule of Intangible Assets Subject to Amortization (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://murphyusa.com/role/GoodwillandIntangibleAssetsScheduleofIntangibleAssetsSubjecttoAmortizationDetails</Role>
      <ShortName>Goodwill and Intangible Assets - Schedule of Intangible Assets Subject to Amortization (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>48</Position>
    </Report>
    <Report instance="musa-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>9955534 - Disclosure - Long-Term Debt - Schedule of Long-Term Debt (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://murphyusa.com/role/LongTermDebtScheduleofLongTermDebtDetails</Role>
      <ShortName>Long-Term Debt - Schedule of Long-Term Debt (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>49</Position>
    </Report>
    <Report instance="musa-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>9955535 - Disclosure - Long-Term Debt - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://murphyusa.com/role/LongTermDebtNarrativeDetails</Role>
      <ShortName>Long-Term Debt - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>50</Position>
    </Report>
    <Report instance="musa-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>9955536 - Disclosure - Asset Retirement Obligations (ARO) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://murphyusa.com/role/AssetRetirementObligationsARODetails</Role>
      <ShortName>Asset Retirement Obligations (ARO) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://murphyusa.com/role/AssetRetirementObligationsAROTables</ParentRole>
      <Position>51</Position>
    </Report>
    <Report instance="musa-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>9955537 - Disclosure - Income Taxes - Schedule of Pretax Income (Loss) and Income Tax Expense (Benefit) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://murphyusa.com/role/IncomeTaxesScheduleofPretaxIncomeLossandIncomeTaxExpenseBenefitDetails</Role>
      <ShortName>Income Taxes - Schedule of Pretax Income (Loss) and Income Tax Expense (Benefit) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>52</Position>
    </Report>
    <Report instance="musa-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>9955538 - Disclosure - Income Taxes - Schedule of Effective Income Tax Rates (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://murphyusa.com/role/IncomeTaxesScheduleofEffectiveIncomeTaxRatesDetails</Role>
      <ShortName>Income Taxes - Schedule of Effective Income Tax Rates (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>53</Position>
    </Report>
    <Report instance="musa-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>9955539 - Disclosure - Income Taxes - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://murphyusa.com/role/IncomeTaxesNarrativeDetails</Role>
      <ShortName>Income Taxes - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>54</Position>
    </Report>
    <Report instance="musa-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>9955540 - Disclosure - Incentive Plans - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://murphyusa.com/role/IncentivePlansNarrativeDetails</Role>
      <ShortName>Incentive Plans - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>55</Position>
    </Report>
    <Report instance="musa-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>9955541 - Disclosure - Incentive Plans - Schedule of Valuation Assumptions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://murphyusa.com/role/IncentivePlansScheduleofValuationAssumptionsDetails</Role>
      <ShortName>Incentive Plans - Schedule of Valuation Assumptions (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>56</Position>
    </Report>
    <Report instance="musa-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>9955542 - Disclosure - Incentive Plans - Schedule of Changes in Stock Options Outstanding (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://murphyusa.com/role/IncentivePlansScheduleofChangesinStockOptionsOutstandingDetails</Role>
      <ShortName>Incentive Plans - Schedule of Changes in Stock Options Outstanding (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>57</Position>
    </Report>
    <Report instance="musa-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>9955543 - Disclosure - Incentive Plans - Schedule of Stock Unit Activity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://murphyusa.com/role/IncentivePlansScheduleofStockUnitActivityDetails</Role>
      <ShortName>Incentive Plans - Schedule of Stock Unit Activity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>58</Position>
    </Report>
    <Report instance="musa-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>9955544 - Disclosure - Financial Instruments and Risk Management (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://murphyusa.com/role/FinancialInstrumentsandRiskManagementDetails</Role>
      <ShortName>Financial Instruments and Risk Management (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://murphyusa.com/role/FinancialInstrumentsandRiskManagement</ParentRole>
      <Position>59</Position>
    </Report>
    <Report instance="musa-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>9955545 - Disclosure - Earnings Per Share - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://murphyusa.com/role/EarningsPerShareNarrativeDetails</Role>
      <ShortName>Earnings Per Share - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>60</Position>
    </Report>
    <Report instance="musa-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>9955546 - Disclosure - Earnings Per Share - Schedule of Reconciliation of Basic and Diluted Earnings Per Share Computations (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://murphyusa.com/role/EarningsPerShareScheduleofReconciliationofBasicandDilutedEarningsPerShareComputationsDetails</Role>
      <ShortName>Earnings Per Share - Schedule of Reconciliation of Basic and Diluted Earnings Per Share Computations (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>61</Position>
    </Report>
    <Report instance="musa-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>9955547 - Disclosure - Earnings Per Share - Schedule of Potentially Dilutive Shares Excluded from Earnings Per Share (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://murphyusa.com/role/EarningsPerShareScheduleofPotentiallyDilutiveSharesExcludedfromEarningsPerShareDetails</Role>
      <ShortName>Earnings Per Share - Schedule of Potentially Dilutive Shares Excluded from Earnings Per Share (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>62</Position>
    </Report>
    <Report instance="musa-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>9955548 - Disclosure - Other Financial Information - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://murphyusa.com/role/OtherFinancialInformationNarrativeDetails</Role>
      <ShortName>Other Financial Information - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>63</Position>
    </Report>
    <Report instance="musa-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>9955549 - Disclosure - Other Financial Information - Schedule of Changes in Working Capital (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://murphyusa.com/role/OtherFinancialInformationScheduleofChangesinWorkingCapitalDetails</Role>
      <ShortName>Other Financial Information - Schedule of Changes in Working Capital (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>64</Position>
    </Report>
    <Report instance="musa-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>9955550 - Disclosure - Assets and Liabilities Measured at Fair Value - Schedule of Financial Assets and Liabilities Measured at Fair Value on a Recurring Basis (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://murphyusa.com/role/AssetsandLiabilitiesMeasuredatFairValueScheduleofFinancialAssetsandLiabilitiesMeasuredatFairValueonaRecurringBasisDetails</Role>
      <ShortName>Assets and Liabilities Measured at Fair Value - Schedule of Financial Assets and Liabilities Measured at Fair Value on a Recurring Basis (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>65</Position>
    </Report>
    <Report instance="musa-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>9955551 - Disclosure - Assets and Liabilities Measured at Fair Value - Schedule of Carrying Amounts and Estimated Fair Value of Financial Instruments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://murphyusa.com/role/AssetsandLiabilitiesMeasuredatFairValueScheduleofCarryingAmountsandEstimatedFairValueofFinancialInstrumentsDetails</Role>
      <ShortName>Assets and Liabilities Measured at Fair Value - Schedule of Carrying Amounts and Estimated Fair Value of Financial Instruments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>66</Position>
    </Report>
    <Report instance="musa-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R67.htm</HtmlFileName>
      <LongName>9955552 - Disclosure - Contingencies (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://murphyusa.com/role/ContingenciesDetails</Role>
      <ShortName>Contingencies (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://murphyusa.com/role/Contingencies</ParentRole>
      <Position>67</Position>
    </Report>
    <Report instance="musa-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R68.htm</HtmlFileName>
      <LongName>9955553 - Disclosure - Lease Accounting - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://murphyusa.com/role/LeaseAccountingNarrativeDetails</Role>
      <ShortName>Lease Accounting - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>68</Position>
    </Report>
    <Report instance="musa-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R69.htm</HtmlFileName>
      <LongName>9955554 - Disclosure - Lease Accounting - Schedule of Leases Reflected on Balance Sheet (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://murphyusa.com/role/LeaseAccountingScheduleofLeasesReflectedonBalanceSheetDetails</Role>
      <ShortName>Lease Accounting - Schedule of Leases Reflected on Balance Sheet (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>69</Position>
    </Report>
    <Report instance="musa-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R70.htm</HtmlFileName>
      <LongName>9955555 - Disclosure - Lease Accounting - Schedule of Lease Cost (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://murphyusa.com/role/LeaseAccountingScheduleofLeaseCostDetails</Role>
      <ShortName>Lease Accounting - Schedule of Lease Cost (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>70</Position>
    </Report>
    <Report instance="musa-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R71.htm</HtmlFileName>
      <LongName>9955556 - Disclosure - Lease Accounting - Schedule of Cash Flow Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://murphyusa.com/role/LeaseAccountingScheduleofCashFlowInformationDetails</Role>
      <ShortName>Lease Accounting - Schedule of Cash Flow Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>71</Position>
    </Report>
    <Report instance="musa-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R72.htm</HtmlFileName>
      <LongName>9955557 - Disclosure - Lease Accounting - Schedule of Finance and Operating Lease Liability Maturity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://murphyusa.com/role/LeaseAccountingScheduleofFinanceandOperatingLeaseLiabilityMaturityDetails</Role>
      <ShortName>Lease Accounting - Schedule of Finance and Operating Lease Liability Maturity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>72</Position>
    </Report>
    <Report instance="musa-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R73.htm</HtmlFileName>
      <LongName>9955558 - Disclosure - Lease Accounting - Schedule of Lease Term and Discount Rate (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://murphyusa.com/role/LeaseAccountingScheduleofLeaseTermandDiscountRateDetails</Role>
      <ShortName>Lease Accounting - Schedule of Lease Term and Discount Rate (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>73</Position>
    </Report>
    <Report instance="musa-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R74.htm</HtmlFileName>
      <LongName>9955559 - Disclosure - Business Segments - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://murphyusa.com/role/BusinessSegmentsNarrativeDetails</Role>
      <ShortName>Business Segments - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>74</Position>
    </Report>
    <Report instance="musa-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R75.htm</HtmlFileName>
      <LongName>9955560 - Disclosure - Business Segments - Schedule of Marketing Segment Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://murphyusa.com/role/BusinessSegmentsScheduleofMarketingSegmentInformationDetails</Role>
      <ShortName>Business Segments - Schedule of Marketing Segment Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>75</Position>
    </Report>
    <Report instance="musa-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R76.htm</HtmlFileName>
      <LongName>9955561 - Disclosure - Business Segments - Schedule of Other Specified Segment Disclosures (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://murphyusa.com/role/BusinessSegmentsScheduleofOtherSpecifiedSegmentDisclosuresDetails</Role>
      <ShortName>Business Segments - Schedule of Other Specified Segment Disclosures (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>76</Position>
    </Report>
    <Report instance="musa-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R77.htm</HtmlFileName>
      <LongName>9955562 - Disclosure - Business Segments - Schedule of Reconciliation of Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://murphyusa.com/role/BusinessSegmentsScheduleofReconciliationofAssetsDetails</Role>
      <ShortName>Business Segments - Schedule of Reconciliation of Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>77</Position>
    </Report>
    <Report instance="musa-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R78.htm</HtmlFileName>
      <LongName>9955563 - Disclosure - Restructuring Expenses (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://murphyusa.com/role/RestructuringExpensesDetails</Role>
      <ShortName>Restructuring Expenses (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://murphyusa.com/role/RestructuringExpensesTables</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 doctype="10-Q" isDefinitelyFs="true" isUsgaap="true" original="musa-20260630.htm">musa-20260630.htm</File>
    <File>musa-20260630.xsd</File>
    <File>musa-20260630_cal.xml</File>
    <File>musa-20260630_def.xml</File>
    <File>musa-20260630_lab.xml</File>
    <File>musa-20260630_pre.xml</File>
  </InputFiles>
  <SupplementalFiles>
    <File>musa-20260630_g1.jpg</File>
  </SupplementalFiles>
  <BaseTaxonomies>
    <BaseTaxonomy items="2">http://fasb.org/srt/2026</BaseTaxonomy>
    <BaseTaxonomy items="946">http://fasb.org/us-gaap/2026</BaseTaxonomy>
    <BaseTaxonomy items="29">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>
