<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.25.0.1</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>350</ContextCount>
  <ElementCount>417</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>true</FootnotesReported>
  <SegmentCount>93</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>8</UnitCount>
  <MyReports>
    <Report instance="mmlp-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>0000001 - Document - Cover Page</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.martinmidstream.com/role/CoverPage</Role>
      <ShortName>Cover Page</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="mmlp-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>0000002 - Document - Audit Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.martinmidstream.com/role/AuditInformation</Role>
      <ShortName>Audit Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="mmlp-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>9952151 - Statement - CONSOLIDATED BALANCE SHEETS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.martinmidstream.com/role/CONSOLIDATEDBALANCESHEETS</Role>
      <ShortName>CONSOLIDATED BALANCE SHEETS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="mmlp-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>9952152 - Statement - CONSOLIDATED BALANCE SHEETS (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.martinmidstream.com/role/CONSOLIDATEDBALANCESHEETSParenthetical</Role>
      <ShortName>CONSOLIDATED BALANCE SHEETS (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="mmlp-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>9952153 - Statement - CONSOLIDATED STATEMENTS OF OPERATIONS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.martinmidstream.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF OPERATIONS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="mmlp-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>9952154 - Statement - CONSOLIDATED STATEMENTS OF OPERATIONS - (Related Party Transactions) (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.martinmidstream.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONSRelatedPartyTransactionsParenthetical</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF OPERATIONS - (Related Party Transactions) (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="mmlp-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>9952155 - Statement - CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME (LOSS)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.martinmidstream.com/role/CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMELOSS</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME (LOSS)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="mmlp-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>9952156 - Statement - CONSOLIDATED STATEMENTS OF CHANGES IN CAPITAL (DEFICIT)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.martinmidstream.com/role/CONSOLIDATEDSTATEMENTSOFCHANGESINCAPITALDEFICIT</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF CHANGES IN CAPITAL (DEFICIT)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="mmlp-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>9952157 - Statement - CONSOLIDATED STATEMENTS OF CASH FLOWS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.martinmidstream.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF CASH FLOWS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="mmlp-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>9952158 - Disclosure - Organization and Description of Business</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.martinmidstream.com/role/OrganizationandDescriptionofBusiness</Role>
      <ShortName>Organization and Description of Business</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="mmlp-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>9952159 - Disclosure - Significant Accounting Policies and Practices</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.martinmidstream.com/role/SignificantAccountingPoliciesandPractices</Role>
      <ShortName>Significant Accounting Policies and Practices</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="mmlp-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>9952160 - Disclosure - Recent Accounting Pronouncements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.martinmidstream.com/role/RecentAccountingPronouncements</Role>
      <ShortName>Recent Accounting Pronouncements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="mmlp-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>9952161 - Disclosure - Exit Activities and Divestitures</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.martinmidstream.com/role/ExitActivitiesandDivestitures</Role>
      <ShortName>Exit Activities and Divestitures</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="mmlp-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>9952162 - Disclosure - Revenue</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.martinmidstream.com/role/Revenue</Role>
      <ShortName>Revenue</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="mmlp-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>9952163 - Disclosure - Inventories</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.martinmidstream.com/role/Inventories</Role>
      <ShortName>Inventories</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="mmlp-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>9952164 - Disclosure - Property, Plant, and Equipment</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.martinmidstream.com/role/PropertyPlantandEquipment</Role>
      <ShortName>Property, Plant, and Equipment</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="mmlp-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>9952165 - Disclosure - Goodwill</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.martinmidstream.com/role/Goodwill</Role>
      <ShortName>Goodwill</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="mmlp-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>9952166 - Disclosure - Leases</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.martinmidstream.com/role/Leases</Role>
      <ShortName>Leases</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="mmlp-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>9952167 - Disclosure - Fair Value Measurements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.martinmidstream.com/role/FairValueMeasurements</Role>
      <ShortName>Fair Value Measurements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="mmlp-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>9952168 - Disclosure - Derivative Instruments and Hedging Activities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.martinmidstream.com/role/DerivativeInstrumentsandHedgingActivities</Role>
      <ShortName>Derivative Instruments and Hedging Activities</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="mmlp-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>9952169 - Disclosure - Related Party Transactions</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.martinmidstream.com/role/RelatedPartyTransactions</Role>
      <ShortName>Related Party Transactions</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="mmlp-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>9952170 - Disclosure - Supplemental Balance Sheet Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.martinmidstream.com/role/SupplementalBalanceSheetInformation</Role>
      <ShortName>Supplemental Balance Sheet Information</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="mmlp-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>9952171 - Disclosure - Long-Term Debt</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.martinmidstream.com/role/LongTermDebt</Role>
      <ShortName>Long-Term Debt</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>23</Position>
    </Report>
    <Report instance="mmlp-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>9952172 - Disclosure - Partners' Capital (Deficit)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.martinmidstream.com/role/PartnersCapitalDeficit</Role>
      <ShortName>Partners' Capital (Deficit)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>24</Position>
    </Report>
    <Report instance="mmlp-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>9952173 - Disclosure - Unit Based Awards - Long-Term Incentive Plans</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.martinmidstream.com/role/UnitBasedAwardsLongTermIncentivePlans</Role>
      <ShortName>Unit Based Awards - Long-Term Incentive Plans</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>25</Position>
    </Report>
    <Report instance="mmlp-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>9952174 - Disclosure - Income Taxes</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.martinmidstream.com/role/IncomeTaxes</Role>
      <ShortName>Income Taxes</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>26</Position>
    </Report>
    <Report instance="mmlp-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>9952175 - Disclosure - Business Segments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.martinmidstream.com/role/BusinessSegments</Role>
      <ShortName>Business Segments</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>27</Position>
    </Report>
    <Report instance="mmlp-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>9952176 - Disclosure - Commitments and Contingencies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.martinmidstream.com/role/CommitmentsandContingencies</Role>
      <ShortName>Commitments and Contingencies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>28</Position>
    </Report>
    <Report instance="mmlp-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>9952177 - Disclosure - Investment in DSM Semichem LLC</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.martinmidstream.com/role/InvestmentinDSMSemichemLLC</Role>
      <ShortName>Investment in DSM Semichem LLC</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>29</Position>
    </Report>
    <Report instance="mmlp-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>9952178 - Disclosure - Condensed Consolidating Financial Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.martinmidstream.com/role/CondensedConsolidatingFinancialInformation</Role>
      <ShortName>Condensed Consolidating Financial Information</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>30</Position>
    </Report>
    <Report instance="mmlp-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>9952179 - Disclosure - Subsequent Events</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.martinmidstream.com/role/SubsequentEvents</Role>
      <ShortName>Subsequent Events</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>31</Position>
    </Report>
    <Report instance="mmlp-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>995410 - Disclosure - Pay vs Performance Disclosure</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/ecd/role/PvpDisclosure</Role>
      <ShortName>Pay vs Performance Disclosure</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>32</Position>
    </Report>
    <Report instance="mmlp-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.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>33</Position>
    </Report>
    <Report instance="mmlp-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>995447 - Disclosure - Insider Trading Policies and Procedures</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/ecd/role/InsiderTradingPoliciesProc</Role>
      <ShortName>Insider Trading Policies and Procedures</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>34</Position>
    </Report>
    <Report instance="mmlp-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>995550 - Disclosure - Cybersecurity Risk Management and Strategy Disclosure</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/cyd/role/CybersecurityRiskManagementAndStrategyDisclosure</Role>
      <ShortName>Cybersecurity Risk Management and Strategy Disclosure</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>35</Position>
    </Report>
    <Report instance="mmlp-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>9955511 - Disclosure - Significant Accounting Policies and Practices (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.martinmidstream.com/role/SignificantAccountingPoliciesandPracticesPolicies</Role>
      <ShortName>Significant Accounting Policies and Practices (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://www.martinmidstream.com/role/SignificantAccountingPoliciesandPractices</ParentRole>
      <Position>36</Position>
    </Report>
    <Report instance="mmlp-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>9955512 - Disclosure - Exit Activities and Divestitures (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.martinmidstream.com/role/ExitActivitiesandDivestituresTables</Role>
      <ShortName>Exit Activities and Divestitures (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.martinmidstream.com/role/ExitActivitiesandDivestitures</ParentRole>
      <Position>37</Position>
    </Report>
    <Report instance="mmlp-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>9955513 - Disclosure - Revenue (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.martinmidstream.com/role/RevenueTables</Role>
      <ShortName>Revenue (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.martinmidstream.com/role/Revenue</ParentRole>
      <Position>38</Position>
    </Report>
    <Report instance="mmlp-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>9955514 - Disclosure - Inventories (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.martinmidstream.com/role/InventoriesTables</Role>
      <ShortName>Inventories (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.martinmidstream.com/role/Inventories</ParentRole>
      <Position>39</Position>
    </Report>
    <Report instance="mmlp-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>9955515 - Disclosure - Property, Plant, and Equipment (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.martinmidstream.com/role/PropertyPlantandEquipmentTables</Role>
      <ShortName>Property, Plant, and Equipment (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.martinmidstream.com/role/PropertyPlantandEquipment</ParentRole>
      <Position>40</Position>
    </Report>
    <Report instance="mmlp-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>9955516 - Disclosure - Goodwill (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.martinmidstream.com/role/GoodwillTables</Role>
      <ShortName>Goodwill (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.martinmidstream.com/role/Goodwill</ParentRole>
      <Position>41</Position>
    </Report>
    <Report instance="mmlp-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>9955517 - Disclosure - Leases (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.martinmidstream.com/role/LeasesTables</Role>
      <ShortName>Leases (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.martinmidstream.com/role/Leases</ParentRole>
      <Position>42</Position>
    </Report>
    <Report instance="mmlp-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>9955518 - Disclosure - Fair Value Measurements (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.martinmidstream.com/role/FairValueMeasurementsTables</Role>
      <ShortName>Fair Value Measurements (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.martinmidstream.com/role/FairValueMeasurements</ParentRole>
      <Position>43</Position>
    </Report>
    <Report instance="mmlp-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>9955519 - Disclosure - Derivative Instruments and Hedging Activities (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.martinmidstream.com/role/DerivativeInstrumentsandHedgingActivitiesTables</Role>
      <ShortName>Derivative Instruments and Hedging Activities (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.martinmidstream.com/role/DerivativeInstrumentsandHedgingActivities</ParentRole>
      <Position>44</Position>
    </Report>
    <Report instance="mmlp-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>9955520 - Disclosure - Related Party Transactions (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.martinmidstream.com/role/RelatedPartyTransactionsTables</Role>
      <ShortName>Related Party Transactions (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.martinmidstream.com/role/RelatedPartyTransactions</ParentRole>
      <Position>45</Position>
    </Report>
    <Report instance="mmlp-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>9955521 - Disclosure - Supplemental Balance Sheet Information (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.martinmidstream.com/role/SupplementalBalanceSheetInformationTables</Role>
      <ShortName>Supplemental Balance Sheet Information (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.martinmidstream.com/role/SupplementalBalanceSheetInformation</ParentRole>
      <Position>46</Position>
    </Report>
    <Report instance="mmlp-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>9955522 - Disclosure - Long-Term Debt (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.martinmidstream.com/role/LongTermDebtTables</Role>
      <ShortName>Long-Term Debt (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.martinmidstream.com/role/LongTermDebt</ParentRole>
      <Position>47</Position>
    </Report>
    <Report instance="mmlp-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>9955523 - Disclosure - Partners' Capital (Deficit) (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.martinmidstream.com/role/PartnersCapitalDeficitTables</Role>
      <ShortName>Partners' Capital (Deficit) (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.martinmidstream.com/role/PartnersCapitalDeficit</ParentRole>
      <Position>48</Position>
    </Report>
    <Report instance="mmlp-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>9955524 - Disclosure - Unit Based Awards - Long-Term Incentive Plans (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.martinmidstream.com/role/UnitBasedAwardsLongTermIncentivePlansTables</Role>
      <ShortName>Unit Based Awards - Long-Term Incentive Plans (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.martinmidstream.com/role/UnitBasedAwardsLongTermIncentivePlans</ParentRole>
      <Position>49</Position>
    </Report>
    <Report instance="mmlp-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>9955525 - Disclosure - Income Taxes (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.martinmidstream.com/role/IncomeTaxesTables</Role>
      <ShortName>Income Taxes (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.martinmidstream.com/role/IncomeTaxes</ParentRole>
      <Position>50</Position>
    </Report>
    <Report instance="mmlp-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>9955526 - Disclosure - Business Segments (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.martinmidstream.com/role/BusinessSegmentsTables</Role>
      <ShortName>Business Segments (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.martinmidstream.com/role/BusinessSegments</ParentRole>
      <Position>51</Position>
    </Report>
    <Report instance="mmlp-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>9955527 - Disclosure - Investment in DSM Semichem LLC (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.martinmidstream.com/role/InvestmentinDSMSemichemLLCTables</Role>
      <ShortName>Investment in DSM Semichem LLC (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.martinmidstream.com/role/InvestmentinDSMSemichemLLC</ParentRole>
      <Position>52</Position>
    </Report>
    <Report instance="mmlp-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>9955528 - Disclosure - Organization and Description of Business (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.martinmidstream.com/role/OrganizationandDescriptionofBusinessDetails</Role>
      <ShortName>Organization and Description of Business (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.martinmidstream.com/role/OrganizationandDescriptionofBusiness</ParentRole>
      <Position>53</Position>
    </Report>
    <Report instance="mmlp-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>9955529 - Disclosure - Significant Accounting Policies and Practices (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.martinmidstream.com/role/SignificantAccountingPoliciesandPracticesDetails</Role>
      <ShortName>Significant Accounting Policies and Practices (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.martinmidstream.com/role/SignificantAccountingPoliciesandPracticesPolicies</ParentRole>
      <Position>54</Position>
    </Report>
    <Report instance="mmlp-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>9955530 - Disclosure - Exit Activities and Divestitures - Schedule of Revenue and Costs of Disposal Group (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.martinmidstream.com/role/ExitActivitiesandDivestituresScheduleofRevenueandCostsofDisposalGroupDetails</Role>
      <ShortName>Exit Activities and Divestitures - Schedule of Revenue and Costs of Disposal Group (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>55</Position>
    </Report>
    <Report instance="mmlp-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>9955531 - Disclosure - Exit Activities and Divestitures - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.martinmidstream.com/role/ExitActivitiesandDivestituresNarrativeDetails</Role>
      <ShortName>Exit Activities and Divestitures - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>56</Position>
    </Report>
    <Report instance="mmlp-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>9955532 - Disclosure - Revenue - Disaggregation of Revenue (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.martinmidstream.com/role/RevenueDisaggregationofRevenueDetails</Role>
      <ShortName>Revenue - Disaggregation of Revenue (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>57</Position>
    </Report>
    <Report instance="mmlp-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>9955533 - Disclosure - Revenue - Estimated Revenue Expected to be Recognized in Future (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.martinmidstream.com/role/RevenueEstimatedRevenueExpectedtobeRecognizedinFutureDetails</Role>
      <ShortName>Revenue - Estimated Revenue Expected to be Recognized in Future (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>58</Position>
    </Report>
    <Report instance="mmlp-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>9955534 - Disclosure - Inventories (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.martinmidstream.com/role/InventoriesDetails</Role>
      <ShortName>Inventories (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.martinmidstream.com/role/InventoriesTables</ParentRole>
      <Position>59</Position>
    </Report>
    <Report instance="mmlp-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>9955535 - Disclosure - Property, Plant, and Equipment - Summary (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.martinmidstream.com/role/PropertyPlantandEquipmentSummaryDetails</Role>
      <ShortName>Property, Plant, and Equipment - Summary (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>60</Position>
    </Report>
    <Report instance="mmlp-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>9955536 - Disclosure - Property, Plant, and Equipment - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.martinmidstream.com/role/PropertyPlantandEquipmentNarrativeDetails</Role>
      <ShortName>Property, Plant, and Equipment - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>61</Position>
    </Report>
    <Report instance="mmlp-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>9955537 - Disclosure - Goodwill (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.martinmidstream.com/role/GoodwillDetails</Role>
      <ShortName>Goodwill (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.martinmidstream.com/role/GoodwillTables</ParentRole>
      <Position>62</Position>
    </Report>
    <Report instance="mmlp-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>9955538 - Disclosure - Leases - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.martinmidstream.com/role/LeasesNarrativeDetails</Role>
      <ShortName>Leases - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>63</Position>
    </Report>
    <Report instance="mmlp-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>9955539 - Disclosure - Leases - Lease Cost (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.martinmidstream.com/role/LeasesLeaseCostDetails</Role>
      <ShortName>Leases - Lease Cost (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>64</Position>
    </Report>
    <Report instance="mmlp-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>9955540 - Disclosure - Leases - Cash Flow Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.martinmidstream.com/role/LeasesCashFlowInformationDetails</Role>
      <ShortName>Leases - Cash Flow Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>65</Position>
    </Report>
    <Report instance="mmlp-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>9955541 - Disclosure - Leases - Balance Sheet Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.martinmidstream.com/role/LeasesBalanceSheetInformationDetails</Role>
      <ShortName>Leases - Balance Sheet Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>66</Position>
    </Report>
    <Report instance="mmlp-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R67.htm</HtmlFileName>
      <LongName>9955542 - Disclosure - Leases - Future Minimum Lease Obligations (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.martinmidstream.com/role/LeasesFutureMinimumLeaseObligationsDetails</Role>
      <ShortName>Leases - Future Minimum Lease Obligations (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>67</Position>
    </Report>
    <Report instance="mmlp-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R68.htm</HtmlFileName>
      <LongName>9955543 - Disclosure - Fair Value Measurements (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.martinmidstream.com/role/FairValueMeasurementsDetails</Role>
      <ShortName>Fair Value Measurements (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.martinmidstream.com/role/FairValueMeasurementsTables</ParentRole>
      <Position>68</Position>
    </Report>
    <Report instance="mmlp-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R69.htm</HtmlFileName>
      <LongName>9955544 - Disclosure - Derivative Instruments and Hedging Activities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.martinmidstream.com/role/DerivativeInstrumentsandHedgingActivitiesDetails</Role>
      <ShortName>Derivative Instruments and Hedging Activities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.martinmidstream.com/role/DerivativeInstrumentsandHedgingActivitiesTables</ParentRole>
      <Position>69</Position>
    </Report>
    <Report instance="mmlp-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R70.htm</HtmlFileName>
      <LongName>9955545 - Disclosure - Related Party Transactions - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.martinmidstream.com/role/RelatedPartyTransactionsNarrativeDetails</Role>
      <ShortName>Related Party Transactions - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>70</Position>
    </Report>
    <Report instance="mmlp-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R71.htm</HtmlFileName>
      <LongName>9955546 - Disclosure - Related Party Transactions - Omnibus Agreement (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.martinmidstream.com/role/RelatedPartyTransactionsOmnibusAgreementDetails</Role>
      <ShortName>Related Party Transactions - Omnibus Agreement (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>71</Position>
    </Report>
    <Report instance="mmlp-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R72.htm</HtmlFileName>
      <LongName>9955547 - Disclosure - Related Party Transactions - Master Transportation Services Agreement (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.martinmidstream.com/role/RelatedPartyTransactionsMasterTransportationServicesAgreementDetails</Role>
      <ShortName>Related Party Transactions - Master Transportation Services Agreement (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>72</Position>
    </Report>
    <Report instance="mmlp-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R73.htm</HtmlFileName>
      <LongName>9955548 - Disclosure - Related Party Transactions - Terminal Services Agreements (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.martinmidstream.com/role/RelatedPartyTransactionsTerminalServicesAgreementsDetails</Role>
      <ShortName>Related Party Transactions - Terminal Services Agreements (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>73</Position>
    </Report>
    <Report instance="mmlp-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R74.htm</HtmlFileName>
      <LongName>9955549 - Disclosure - Related Party Transactions - Marine Agreements (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.martinmidstream.com/role/RelatedPartyTransactionsMarineAgreementsDetails</Role>
      <ShortName>Related Party Transactions - Marine Agreements (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>74</Position>
    </Report>
    <Report instance="mmlp-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R75.htm</HtmlFileName>
      <LongName>9955550 - Disclosure - Related Party Transactions - Other Agreements (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.martinmidstream.com/role/RelatedPartyTransactionsOtherAgreementsDetails</Role>
      <ShortName>Related Party Transactions - Other Agreements (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>75</Position>
    </Report>
    <Report instance="mmlp-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R76.htm</HtmlFileName>
      <LongName>9955551 - Disclosure - Related Party Transactions - Schedule of the Impact of Related Party Transactions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.martinmidstream.com/role/RelatedPartyTransactionsScheduleoftheImpactofRelatedPartyTransactionsDetails</Role>
      <ShortName>Related Party Transactions - Schedule of the Impact of Related Party Transactions (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>76</Position>
    </Report>
    <Report instance="mmlp-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R77.htm</HtmlFileName>
      <LongName>9955552 - Disclosure - Supplemental Balance Sheet Information - Other Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.martinmidstream.com/role/SupplementalBalanceSheetInformationOtherAssetsDetails</Role>
      <ShortName>Supplemental Balance Sheet Information - Other Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>77</Position>
    </Report>
    <Report instance="mmlp-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R78.htm</HtmlFileName>
      <LongName>9955553 - Disclosure - Supplemental Balance Sheet Information - Other Intangible Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.martinmidstream.com/role/SupplementalBalanceSheetInformationOtherIntangibleAssetsDetails</Role>
      <ShortName>Supplemental Balance Sheet Information - Other Intangible Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>78</Position>
    </Report>
    <Report instance="mmlp-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R79.htm</HtmlFileName>
      <LongName>9955554 - Disclosure - Supplemental Balance Sheet Information - Other Accrued Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.martinmidstream.com/role/SupplementalBalanceSheetInformationOtherAccruedLiabilitiesDetails</Role>
      <ShortName>Supplemental Balance Sheet Information - Other Accrued Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>79</Position>
    </Report>
    <Report instance="mmlp-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R80.htm</HtmlFileName>
      <LongName>9955555 - Disclosure - Supplemental Balance Sheet Information - Asset Retirement Obligations (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.martinmidstream.com/role/SupplementalBalanceSheetInformationAssetRetirementObligationsDetails</Role>
      <ShortName>Supplemental Balance Sheet Information - Asset Retirement Obligations (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>80</Position>
    </Report>
    <Report instance="mmlp-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R81.htm</HtmlFileName>
      <LongName>9955556 - Disclosure - Long-Term Debt - Schedule of Long-Term Debt (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.martinmidstream.com/role/LongTermDebtScheduleofLongTermDebtDetails</Role>
      <ShortName>Long-Term Debt - Schedule of Long-Term Debt (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>81</Position>
    </Report>
    <Report instance="mmlp-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R82.htm</HtmlFileName>
      <LongName>9955557 - Disclosure - Long-Term Debt - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.martinmidstream.com/role/LongTermDebtNarrativeDetails</Role>
      <ShortName>Long-Term Debt - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>82</Position>
    </Report>
    <Report instance="mmlp-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R83.htm</HtmlFileName>
      <LongName>9955558 - Disclosure - Partners' Capital (Deficit) - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.martinmidstream.com/role/PartnersCapitalDeficitNarrativeDetails</Role>
      <ShortName>Partners' Capital (Deficit) - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.martinmidstream.com/role/PartnersCapitalDeficitTables</ParentRole>
      <Position>83</Position>
    </Report>
    <Report instance="mmlp-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R84.htm</HtmlFileName>
      <LongName>9955559 - Disclosure - Partners' Capital (Deficit) - Impact on Partners' Capital (Deficit) Related to Transactions Between Entities Under Common Control (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.martinmidstream.com/role/PartnersCapitalDeficitImpactonPartnersCapitalDeficitRelatedtoTransactionsBetweenEntitiesUnderCommonControlDetails</Role>
      <ShortName>Partners' Capital (Deficit) - Impact on Partners' Capital (Deficit) Related to Transactions Between Entities Under Common Control (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.martinmidstream.com/role/PartnersCapitalDeficitTables</ParentRole>
      <Position>84</Position>
    </Report>
    <Report instance="mmlp-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R85.htm</HtmlFileName>
      <LongName>9955560 - Disclosure - Partners' Capital (Deficit) - Incentive Distribution Rights (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.martinmidstream.com/role/PartnersCapitalDeficitIncentiveDistributionRightsDetails</Role>
      <ShortName>Partners' Capital (Deficit) - Incentive Distribution Rights (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.martinmidstream.com/role/PartnersCapitalDeficitTables</ParentRole>
      <Position>85</Position>
    </Report>
    <Report instance="mmlp-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R86.htm</HtmlFileName>
      <LongName>9955561 - Disclosure - Partners' Capital (Deficit) - Distributions of Available Cash (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.martinmidstream.com/role/PartnersCapitalDeficitDistributionsofAvailableCashDetails</Role>
      <ShortName>Partners' Capital (Deficit) - Distributions of Available Cash (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.martinmidstream.com/role/PartnersCapitalDeficitTables</ParentRole>
      <Position>86</Position>
    </Report>
    <Report instance="mmlp-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R87.htm</HtmlFileName>
      <LongName>9955562 - Disclosure - Partners' Capital (Deficit) - Reconciliation of net income to partners interest in net income (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.martinmidstream.com/role/PartnersCapitalDeficitReconciliationofnetincometopartnersinterestinnetincomeDetails</Role>
      <ShortName>Partners' Capital (Deficit) - Reconciliation of net income to partners interest in net income (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.martinmidstream.com/role/PartnersCapitalDeficitTables</ParentRole>
      <Position>87</Position>
    </Report>
    <Report instance="mmlp-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R88.htm</HtmlFileName>
      <LongName>9955563 - Disclosure - Unit Based Awards - Long-Term Incentive Plans - Schedule of Compensation Costs Relate to Unit Based Plan (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.martinmidstream.com/role/UnitBasedAwardsLongTermIncentivePlansScheduleofCompensationCostsRelatetoUnitBasedPlanDetails</Role>
      <ShortName>Unit Based Awards - Long-Term Incentive Plans - Schedule of Compensation Costs Relate to Unit Based Plan (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>88</Position>
    </Report>
    <Report instance="mmlp-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R89.htm</HtmlFileName>
      <LongName>9955564 - Disclosure - Unit Based Awards - Long-Term Incentive Plans - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.martinmidstream.com/role/UnitBasedAwardsLongTermIncentivePlansNarrativeDetails</Role>
      <ShortName>Unit Based Awards - Long-Term Incentive Plans - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>89</Position>
    </Report>
    <Report instance="mmlp-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R90.htm</HtmlFileName>
      <LongName>9955565 - Disclosure - Unit Based Awards - Long-Term Incentive Plans - Summary of Restricted Unit Activity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.martinmidstream.com/role/UnitBasedAwardsLongTermIncentivePlansSummaryofRestrictedUnitActivityDetails</Role>
      <ShortName>Unit Based Awards - Long-Term Incentive Plans - Summary of Restricted Unit Activity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>90</Position>
    </Report>
    <Report instance="mmlp-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R91.htm</HtmlFileName>
      <LongName>9955566 - Disclosure - Unit Based Awards - Long-Term Incentive Plans - Summary of Aggregate Intrinsic Value and Fair Value of Units Vested (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.martinmidstream.com/role/UnitBasedAwardsLongTermIncentivePlansSummaryofAggregateIntrinsicValueandFairValueofUnitsVestedDetails</Role>
      <ShortName>Unit Based Awards - Long-Term Incentive Plans - Summary of Aggregate Intrinsic Value and Fair Value of Units Vested (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>91</Position>
    </Report>
    <Report instance="mmlp-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R92.htm</HtmlFileName>
      <LongName>9955567 - Disclosure - Income Taxes - Components of Income Tax Expense (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.martinmidstream.com/role/IncomeTaxesComponentsofIncomeTaxExpenseDetails</Role>
      <ShortName>Income Taxes - Components of Income Tax Expense (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>92</Position>
    </Report>
    <Report instance="mmlp-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R93.htm</HtmlFileName>
      <LongName>9955568 - Disclosure - Income Taxes - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.martinmidstream.com/role/IncomeTaxesNarrativeDetails</Role>
      <ShortName>Income Taxes - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>93</Position>
    </Report>
    <Report instance="mmlp-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R94.htm</HtmlFileName>
      <LongName>9955569 - Disclosure - Income Taxes - Income Tax Reconciliation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.martinmidstream.com/role/IncomeTaxesIncomeTaxReconciliationDetails</Role>
      <ShortName>Income Taxes - Income Tax Reconciliation (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>94</Position>
    </Report>
    <Report instance="mmlp-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R95.htm</HtmlFileName>
      <LongName>9955570 - Disclosure - Income Taxes - Deferred Income Tax Assets and Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.martinmidstream.com/role/IncomeTaxesDeferredIncomeTaxAssetsandLiabilitiesDetails</Role>
      <ShortName>Income Taxes - Deferred Income Tax Assets and Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>95</Position>
    </Report>
    <Report instance="mmlp-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R96.htm</HtmlFileName>
      <LongName>9955571 - Disclosure - Business Segments - Narratives (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.martinmidstream.com/role/BusinessSegmentsNarrativesDetails</Role>
      <ShortName>Business Segments - Narratives (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>96</Position>
    </Report>
    <Report instance="mmlp-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R97.htm</HtmlFileName>
      <LongName>9955572 - Disclosure - Business Segments - Income Statement (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.martinmidstream.com/role/BusinessSegmentsIncomeStatementDetails</Role>
      <ShortName>Business Segments - Income Statement (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>97</Position>
    </Report>
    <Report instance="mmlp-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R98.htm</HtmlFileName>
      <LongName>9955573 - Disclosure - Investment in DSM Semichem LLC - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.martinmidstream.com/role/InvestmentinDSMSemichemLLCNarrativeDetails</Role>
      <ShortName>Investment in DSM Semichem LLC - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>98</Position>
    </Report>
    <Report instance="mmlp-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R99.htm</HtmlFileName>
      <LongName>9955574 - Disclosure - Investment in DSM Semichem LLC - Schedule of Investment Income (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.martinmidstream.com/role/InvestmentinDSMSemichemLLCScheduleofInvestmentIncomeDetails</Role>
      <ShortName>Investment in DSM Semichem LLC - Schedule of Investment Income (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>99</Position>
    </Report>
    <Report instance="mmlp-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R100.htm</HtmlFileName>
      <LongName>9955575 - Disclosure - Subsequent Events (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.martinmidstream.com/role/SubsequentEventsDetails</Role>
      <ShortName>Subsequent Events (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.martinmidstream.com/role/SubsequentEvents</ParentRole>
      <Position>100</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File doctype="10-K" isDefinitelyFs="true" isUsgaap="true" original="mmlp-20241231.htm">mmlp-20241231.htm</File>
    <File>mmlp-20241231.xsd</File>
    <File>mmlp-20241231_cal.xml</File>
    <File>mmlp-20241231_def.xml</File>
    <File>mmlp-20241231_lab.xml</File>
    <File>mmlp-20241231_pre.xml</File>
  </InputFiles>
  <SupplementalFiles/>
  <BaseTaxonomies>
    <BaseTaxonomy items="1284">http://fasb.org/us-gaap/2024</BaseTaxonomy>
    <BaseTaxonomy items="15">http://xbrl.sec.gov/cyd/2024</BaseTaxonomy>
    <BaseTaxonomy items="38">http://xbrl.sec.gov/dei/2024</BaseTaxonomy>
    <BaseTaxonomy items="5">http://xbrl.sec.gov/ecd/2024</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
