<?xml version='1.0' encoding='UTF-8'?>
<FilingSummary>
  <Version>3.8.0.1</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>496</ContextCount>
  <ElementCount>424</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>true</FootnotesReported>
  <SegmentCount>111</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>8</UnitCount>
  <MyReports>
    <Report instance="tusk-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>0001000 - Document - Document and Entity Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mammothenergy.com/role/DocumentAndEntityInformation</Role>
      <ShortName>Document and Entity Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="tusk-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>1001000 - Statement - CONSOLIDATED BALANCE SHEETS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mammothenergy.com/role/ConsolidatedBalanceSheets</Role>
      <ShortName>CONSOLIDATED BALANCE SHEETS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="tusk-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>1001001 - Statement - CONSOLIDATED BALANCE SHEETS (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mammothenergy.com/role/ConsolidatedBalanceSheetsParenthetical</Role>
      <ShortName>CONSOLIDATED BALANCE SHEETS (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="tusk-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>1002000 - Statement - CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME (LOSS)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mammothenergy.com/role/ConsolidatedStatementsOfComprehensiveIncomeLoss</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME (LOSS)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="tusk-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>1002001 - Statement - CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME (LOSS) (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mammothenergy.com/role/ConsolidatedStatementsOfComprehensiveIncomeLossParenthetical</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME (LOSS) (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="tusk-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>1003000 - Statement - CONSOLIDATED STATEMENTS OF CHANGES IN EQUITY</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mammothenergy.com/role/ConsolidatedStatementsOfChangesInEquity</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF CHANGES IN EQUITY</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="tusk-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>1004000 - Statement - CONSOLIDATED STATEMENTS OF CASH FLOWS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mammothenergy.com/role/ConsolidatedStatementsOfCashFlows</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF CASH FLOWS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="tusk-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>2101100 - Disclosure - Organization and Basis of Presentation</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mammothenergy.com/role/OrganizationAndBasisOfPresentation</Role>
      <ShortName>Organization and Basis of Presentation</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="tusk-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>2102100 - Disclosure - Summary of Significant Accounting Policies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mammothenergy.com/role/SummaryOfSignificantAccountingPolicies</Role>
      <ShortName>Summary of Significant Accounting Policies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="tusk-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>2103100 - Disclosure - Inventories</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mammothenergy.com/role/Inventories</Role>
      <ShortName>Inventories</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="tusk-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>2104100 - Disclosure - Property, Plant and Equipment</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mammothenergy.com/role/PropertyPlantAndEquipment</Role>
      <ShortName>Property, Plant and Equipment</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="tusk-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>2105100 - Disclosure - Impairments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mammothenergy.com/role/Impairments</Role>
      <ShortName>Impairments</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="tusk-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>2106100 - Disclosure - Goodwill and Intangible Assets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mammothenergy.com/role/GoodwillAndIntangibleAssets</Role>
      <ShortName>Goodwill and Intangible Assets</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="tusk-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>2107100 - Disclosure - Accrued Expenses and Other Current Liabilities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mammothenergy.com/role/AccruedExpensesAndOtherCurrentLiabilities</Role>
      <ShortName>Accrued Expenses and Other Current Liabilities</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="tusk-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>2108100 - Disclosure - Debt</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mammothenergy.com/role/Debt</Role>
      <ShortName>Debt</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="tusk-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>2109100 - Disclosure - Other Liabilities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mammothenergy.com/role/OtherLiabilities</Role>
      <ShortName>Other Liabilities</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="tusk-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>2110100 - Disclosure - Income Taxes</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mammothenergy.com/role/IncomeTaxes</Role>
      <ShortName>Income Taxes</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="tusk-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>2111100 - Disclosure - Earnings (Loss) Per Share</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mammothenergy.com/role/EarningsLossPerShare</Role>
      <ShortName>Earnings (Loss) Per Share</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="tusk-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>2112100 - Disclosure - Equity Based Compensation</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mammothenergy.com/role/EquityBasedCompensation</Role>
      <ShortName>Equity Based Compensation</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="tusk-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>2113100 - Disclosure - Stock-Based Compensation</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mammothenergy.com/role/StockBasedCompensation</Role>
      <ShortName>Stock-Based Compensation</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="tusk-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>2114100 - Disclosure - Acquisitions</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mammothenergy.com/role/Acquisitions</Role>
      <ShortName>Acquisitions</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="tusk-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>2115100 - Disclosure - Related Party Transactions</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mammothenergy.com/role/RelatedPartyTransactions</Role>
      <ShortName>Related Party Transactions</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="tusk-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>2116100 - Disclosure - Commitments and Contingencies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mammothenergy.com/role/CommitmentsAndContingencies</Role>
      <ShortName>Commitments and Contingencies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>23</Position>
    </Report>
    <Report instance="tusk-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>2117100 - Disclosure - Reporting Segments and Geographic Areas</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mammothenergy.com/role/ReportingSegmentsAndGeographicAreas</Role>
      <ShortName>Reporting Segments and Geographic Areas</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>24</Position>
    </Report>
    <Report instance="tusk-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>2118100 - Disclosure - Quarterly Financial Data (unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mammothenergy.com/role/QuarterlyFinancialDataUnaudited</Role>
      <ShortName>Quarterly Financial Data (unaudited)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>25</Position>
    </Report>
    <Report instance="tusk-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>2119100 - Disclosure - Subsequent Events</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mammothenergy.com/role/SubsequentEvents</Role>
      <ShortName>Subsequent Events</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>26</Position>
    </Report>
    <Report instance="tusk-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>2202201 - Disclosure - Summary of Significant Accounting Policies (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mammothenergy.com/role/SummaryOfSignificantAccountingPoliciesPolicies</Role>
      <ShortName>Summary of Significant Accounting Policies (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://mammothenergy.com/role/SummaryOfSignificantAccountingPolicies</ParentRole>
      <Position>27</Position>
    </Report>
    <Report instance="tusk-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>2301301 - Disclosure - Organization and Basis of Presentation (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mammothenergy.com/role/OrganizationAndBasisOfPresentationTables</Role>
      <ShortName>Organization and Basis of Presentation (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://mammothenergy.com/role/OrganizationAndBasisOfPresentation</ParentRole>
      <Position>28</Position>
    </Report>
    <Report instance="tusk-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>2302302 - Disclosure - Summary of Significant Accounting Policies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mammothenergy.com/role/SummaryOfSignificantAccountingPoliciesTables</Role>
      <ShortName>Summary of Significant Accounting Policies (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://mammothenergy.com/role/SummaryOfSignificantAccountingPolicies</ParentRole>
      <Position>29</Position>
    </Report>
    <Report instance="tusk-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>2303301 - Disclosure - Inventories (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mammothenergy.com/role/InventoriesTables</Role>
      <ShortName>Inventories (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://mammothenergy.com/role/Inventories</ParentRole>
      <Position>30</Position>
    </Report>
    <Report instance="tusk-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>2304301 - Disclosure - Property, Plant and Equipment (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mammothenergy.com/role/PropertyPlantAndEquipmentTables</Role>
      <ShortName>Property, Plant and Equipment (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://mammothenergy.com/role/PropertyPlantAndEquipment</ParentRole>
      <Position>31</Position>
    </Report>
    <Report instance="tusk-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>2305301 - Disclosure - Impairments (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mammothenergy.com/role/ImpairmentsTables</Role>
      <ShortName>Impairments (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://mammothenergy.com/role/Impairments</ParentRole>
      <Position>32</Position>
    </Report>
    <Report instance="tusk-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>2306301 - Disclosure - Goodwill and Intangible Assets (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mammothenergy.com/role/GoodwillAndIntangibleAssetsTables</Role>
      <ShortName>Goodwill and Intangible Assets (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://mammothenergy.com/role/GoodwillAndIntangibleAssets</ParentRole>
      <Position>33</Position>
    </Report>
    <Report instance="tusk-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>2307301 - Disclosure - Accrued Expenses and Other Current Liabilities (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mammothenergy.com/role/AccruedExpensesAndOtherCurrentLiabilitiesTables</Role>
      <ShortName>Accrued Expenses and Other Current Liabilities (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://mammothenergy.com/role/AccruedExpensesAndOtherCurrentLiabilities</ParentRole>
      <Position>34</Position>
    </Report>
    <Report instance="tusk-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>2309301 - Disclosure - Other Liabilities (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mammothenergy.com/role/OtherLiabilitiesTables</Role>
      <ShortName>Other Liabilities (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://mammothenergy.com/role/OtherLiabilities</ParentRole>
      <Position>35</Position>
    </Report>
    <Report instance="tusk-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>2310301 - Disclosure - Income Taxes (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mammothenergy.com/role/IncomeTaxesTables</Role>
      <ShortName>Income Taxes (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://mammothenergy.com/role/IncomeTaxes</ParentRole>
      <Position>36</Position>
    </Report>
    <Report instance="tusk-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>2311301 - Disclosure - Earnings (Loss) Per Share (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mammothenergy.com/role/EarningsLossPerShareTables</Role>
      <ShortName>Earnings (Loss) Per Share (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://mammothenergy.com/role/EarningsLossPerShare</ParentRole>
      <Position>37</Position>
    </Report>
    <Report instance="tusk-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>2313301 - Disclosure - Stock-Based Compensation (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mammothenergy.com/role/StockBasedCompensationTables</Role>
      <ShortName>Stock-Based Compensation (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://mammothenergy.com/role/StockBasedCompensation</ParentRole>
      <Position>38</Position>
    </Report>
    <Report instance="tusk-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>2314301 - Disclosure - Acquisitions (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mammothenergy.com/role/AcquisitionsTables</Role>
      <ShortName>Acquisitions (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://mammothenergy.com/role/Acquisitions</ParentRole>
      <Position>39</Position>
    </Report>
    <Report instance="tusk-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>2315301 - Disclosure - Related Party Transactions (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mammothenergy.com/role/RelatedPartyTransactionsTables</Role>
      <ShortName>Related Party Transactions (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://mammothenergy.com/role/RelatedPartyTransactions</ParentRole>
      <Position>40</Position>
    </Report>
    <Report instance="tusk-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>2316301 - Disclosure - Commitments and Contingencies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mammothenergy.com/role/CommitmentsAndContingenciesTables</Role>
      <ShortName>Commitments and Contingencies (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://mammothenergy.com/role/CommitmentsAndContingencies</ParentRole>
      <Position>41</Position>
    </Report>
    <Report instance="tusk-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>2317301 - Disclosure - Reporting Segments and Geographic Areas (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mammothenergy.com/role/ReportingSegmentsAndGeographicAreasTables</Role>
      <ShortName>Reporting Segments and Geographic Areas (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://mammothenergy.com/role/ReportingSegmentsAndGeographicAreas</ParentRole>
      <Position>42</Position>
    </Report>
    <Report instance="tusk-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>2318301 - Disclosure - Quarterly Financial Data (unaudited) (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mammothenergy.com/role/QuarterlyFinancialDataUnauditedTables</Role>
      <ShortName>Quarterly Financial Data (unaudited) (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://mammothenergy.com/role/QuarterlyFinancialDataUnaudited</ParentRole>
      <Position>43</Position>
    </Report>
    <Report instance="tusk-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>2401402 - Disclosure - Organization and Basis of Presentation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mammothenergy.com/role/OrganizationAndBasisOfPresentationDetails</Role>
      <ShortName>Organization and Basis of Presentation (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://mammothenergy.com/role/OrganizationAndBasisOfPresentationTables</ParentRole>
      <Position>44</Position>
    </Report>
    <Report instance="tusk-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>2401403 - Disclosure - Organization and Basis of Presentation - Ownership Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mammothenergy.com/role/OrganizationAndBasisOfPresentationOwnershipInformationDetails</Role>
      <ShortName>Organization and Basis of Presentation - Ownership Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>45</Position>
    </Report>
    <Report instance="tusk-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>2402403 - Disclosure - Summary of Significant Accounting Policies - Cash and Cash Equivalents (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mammothenergy.com/role/SummaryOfSignificantAccountingPoliciesCashAndCashEquivalentsDetails</Role>
      <ShortName>Summary of Significant Accounting Policies - Cash and Cash Equivalents (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>46</Position>
    </Report>
    <Report instance="tusk-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>2402404 - Disclosure - Summary of Significant Accounting Policies - Accounts Receivable (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mammothenergy.com/role/SummaryOfSignificantAccountingPoliciesAccountsReceivableDetails</Role>
      <ShortName>Summary of Significant Accounting Policies - Accounts Receivable (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>47</Position>
    </Report>
    <Report instance="tusk-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>2402405 - Disclosure - Summary of Significant Accounting Policies - Inventory (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mammothenergy.com/role/SummaryOfSignificantAccountingPoliciesInventoryDetails</Role>
      <ShortName>Summary of Significant Accounting Policies - Inventory (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>48</Position>
    </Report>
    <Report instance="tusk-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>2402406 - Disclosure - Summary of Significant Accounting Policies - Long-Lived Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mammothenergy.com/role/SummaryOfSignificantAccountingPoliciesLongLivedAssetsDetails</Role>
      <ShortName>Summary of Significant Accounting Policies - Long-Lived Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>49</Position>
    </Report>
    <Report instance="tusk-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>2402407 - Disclosure - Summary of Significant Accounting Policies - Goodwill (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mammothenergy.com/role/SummaryOfSignificantAccountingPoliciesGoodwillDetails</Role>
      <ShortName>Summary of Significant Accounting Policies - Goodwill (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>50</Position>
    </Report>
    <Report instance="tusk-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>2402408 - Disclosure - Summary of Significant Accounting Policies - Schedule of Assets Retirement Obligations (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mammothenergy.com/role/SummaryOfSignificantAccountingPoliciesScheduleOfAssetsRetirementObligationsDetails</Role>
      <ShortName>Summary of Significant Accounting Policies - Schedule of Assets Retirement Obligations (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>51</Position>
    </Report>
    <Report instance="tusk-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>2402409 - Disclosure - Summary of Significant Accounting Policies - Amortizable Intangible Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mammothenergy.com/role/SummaryOfSignificantAccountingPoliciesAmortizableIntangibleAssetsDetails</Role>
      <ShortName>Summary of Significant Accounting Policies - Amortizable Intangible Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>52</Position>
    </Report>
    <Report instance="tusk-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>2402410 - Disclosure - Summary of Significant Accounting Policies - Revenue Recognition (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mammothenergy.com/role/SummaryOfSignificantAccountingPoliciesRevenueRecognitionDetails</Role>
      <ShortName>Summary of Significant Accounting Policies - Revenue Recognition (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>53</Position>
    </Report>
    <Report instance="tusk-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>2402411 - Disclosure - Summary of Significant Accounting Policies - Income Taxes (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mammothenergy.com/role/SummaryOfSignificantAccountingPoliciesIncomeTaxesDetails</Role>
      <ShortName>Summary of Significant Accounting Policies - Income Taxes (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>54</Position>
    </Report>
    <Report instance="tusk-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>2402412 - Disclosure - Summary of Significant Accounting Policies - Concentration of Credit Risk and Significant Customers (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mammothenergy.com/role/SummaryOfSignificantAccountingPoliciesConcentrationOfCreditRiskAndSignificantCustomersDetails</Role>
      <ShortName>Summary of Significant Accounting Policies - Concentration of Credit Risk and Significant Customers (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>55</Position>
    </Report>
    <Report instance="tusk-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>2403402 - Disclosure - Inventory (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mammothenergy.com/role/InventoryDetails</Role>
      <ShortName>Inventory (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://mammothenergy.com/role/InventoriesTables</ParentRole>
      <Position>56</Position>
    </Report>
    <Report instance="tusk-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>2404402 - Disclosure - Property, Plant and Equipment (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mammothenergy.com/role/PropertyPlantAndEquipmentDetails</Role>
      <ShortName>Property, Plant and Equipment (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://mammothenergy.com/role/PropertyPlantAndEquipmentTables</ParentRole>
      <Position>57</Position>
    </Report>
    <Report instance="tusk-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>2404403 - Disclosure - Property, Plant and Equipment - Schedule of Depreciation, Amortization, Accretion, and Depletion (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mammothenergy.com/role/PropertyPlantAndEquipmentScheduleOfDepreciationAmortizationAccretionAndDepletionDetails</Role>
      <ShortName>Property, Plant and Equipment - Schedule of Depreciation, Amortization, Accretion, and Depletion (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>58</Position>
    </Report>
    <Report instance="tusk-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>2405402 - Disclosure - Impairments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mammothenergy.com/role/ImpairmentsDetails</Role>
      <ShortName>Impairments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://mammothenergy.com/role/ImpairmentsTables</ParentRole>
      <Position>59</Position>
    </Report>
    <Report instance="tusk-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>2406402 - Disclosure - Goodwill and Intangible Assets - Definite Lived Intangible Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mammothenergy.com/role/GoodwillAndIntangibleAssetsDefiniteLivedIntangibleAssetsDetails</Role>
      <ShortName>Goodwill and Intangible Assets - Definite Lived Intangible Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>60</Position>
    </Report>
    <Report instance="tusk-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>2406403 - Disclosure - Goodwill and Intangible Assets - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mammothenergy.com/role/GoodwillAndIntangibleAssetsNarrativeDetails</Role>
      <ShortName>Goodwill and Intangible Assets - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>61</Position>
    </Report>
    <Report instance="tusk-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>2406404 - Disclosure - Goodwill and Intangible Assets - Aggregated Expected Amortization Expense (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mammothenergy.com/role/GoodwillAndIntangibleAssetsAggregatedExpectedAmortizationExpenseDetails</Role>
      <ShortName>Goodwill and Intangible Assets - Aggregated Expected Amortization Expense (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>62</Position>
    </Report>
    <Report instance="tusk-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>2406405 - Disclosure - Goodwill and Intangible Assets - Schedule Of Changes in Goodwill (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mammothenergy.com/role/GoodwillAndIntangibleAssetsScheduleOfChangesInGoodwillDetails</Role>
      <ShortName>Goodwill and Intangible Assets - Schedule Of Changes in Goodwill (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>63</Position>
    </Report>
    <Report instance="tusk-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>2407402 - Disclosure - Accrued Expenses and Other Current Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mammothenergy.com/role/AccruedExpensesAndOtherCurrentLiabilitiesDetails</Role>
      <ShortName>Accrued Expenses and Other Current Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://mammothenergy.com/role/AccruedExpensesAndOtherCurrentLiabilitiesTables</ParentRole>
      <Position>64</Position>
    </Report>
    <Report instance="tusk-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>2407403 - Disclosure - Accrued Expenses and Other Current Liabilities - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mammothenergy.com/role/AccruedExpensesAndOtherCurrentLiabilitiesNarrativeDetails</Role>
      <ShortName>Accrued Expenses and Other Current Liabilities - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>65</Position>
    </Report>
    <Report instance="tusk-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>2408401 - Disclosure - Debt (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mammothenergy.com/role/DebtDetails</Role>
      <ShortName>Debt (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://mammothenergy.com/role/Debt</ParentRole>
      <Position>66</Position>
    </Report>
    <Report instance="tusk-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R67.htm</HtmlFileName>
      <LongName>2409402 - Disclosure - Other Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mammothenergy.com/role/OtherLiabilitiesDetails</Role>
      <ShortName>Other Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://mammothenergy.com/role/OtherLiabilitiesTables</ParentRole>
      <Position>67</Position>
    </Report>
    <Report instance="tusk-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R68.htm</HtmlFileName>
      <LongName>2409403 - Disclosure - Other Liabilities - Schedule of Other Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mammothenergy.com/role/OtherLiabilitiesScheduleOfOtherLiabilitiesDetails</Role>
      <ShortName>Other Liabilities - Schedule of Other Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>68</Position>
    </Report>
    <Report instance="tusk-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R69.htm</HtmlFileName>
      <LongName>2409404 - Disclosure - Other Liabilities - Schedule of Future Payments Under Capital Lease (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mammothenergy.com/role/OtherLiabilitiesScheduleOfFuturePaymentsUnderCapitalLeaseDetails</Role>
      <ShortName>Other Liabilities - Schedule of Future Payments Under Capital Lease (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>69</Position>
    </Report>
    <Report instance="tusk-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R70.htm</HtmlFileName>
      <LongName>2410402 - Disclosure - Income Taxes (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mammothenergy.com/role/IncomeTaxesDetails</Role>
      <ShortName>Income Taxes (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://mammothenergy.com/role/IncomeTaxesTables</ParentRole>
      <Position>70</Position>
    </Report>
    <Report instance="tusk-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R71.htm</HtmlFileName>
      <LongName>2410403 - Disclosure - Income Taxes - Income Tax Reconciliation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mammothenergy.com/role/IncomeTaxesIncomeTaxReconciliationDetails</Role>
      <ShortName>Income Taxes - Income Tax Reconciliation (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>71</Position>
    </Report>
    <Report instance="tusk-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R72.htm</HtmlFileName>
      <LongName>2410404 - Disclosure - Income Taxes - Deferred Income Tax Assets and Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mammothenergy.com/role/IncomeTaxesDeferredIncomeTaxAssetsAndLiabilitiesDetails</Role>
      <ShortName>Income Taxes - Deferred Income Tax Assets and Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>72</Position>
    </Report>
    <Report instance="tusk-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R73.htm</HtmlFileName>
      <LongName>2411402 - Disclosure - Earnings (Loss) Per Share - Basic Net Loss Per Common Unit Calculation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mammothenergy.com/role/EarningsLossPerShareBasicNetLossPerCommonUnitCalculationDetails</Role>
      <ShortName>Earnings (Loss) Per Share - Basic Net Loss Per Common Unit Calculation (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://mammothenergy.com/role/EarningsLossPerShareTables</ParentRole>
      <Position>73</Position>
    </Report>
    <Report instance="tusk-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R74.htm</HtmlFileName>
      <LongName>2411403 - Disclosure - Earnings (Loss) Per Share - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mammothenergy.com/role/EarningsLossPerShareNarrativeDetails</Role>
      <ShortName>Earnings (Loss) Per Share - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://mammothenergy.com/role/EarningsLossPerShareTables</ParentRole>
      <Position>74</Position>
    </Report>
    <Report instance="tusk-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R75.htm</HtmlFileName>
      <LongName>2411404 - Disclosure - Earnings (Loss) Per Share - Schedule of Conversion of Common Units into Common Shares (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mammothenergy.com/role/EarningsLossPerShareScheduleOfConversionOfCommonUnitsIntoCommonSharesDetails</Role>
      <ShortName>Earnings (Loss) Per Share - Schedule of Conversion of Common Units into Common Shares (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://mammothenergy.com/role/EarningsLossPerShareTables</ParentRole>
      <Position>75</Position>
    </Report>
    <Report instance="tusk-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R76.htm</HtmlFileName>
      <LongName>2411405 - Disclosure - Earnings (Loss) Per Share (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mammothenergy.com/role/EarningsLossPerShareDetails</Role>
      <ShortName>Earnings (Loss) Per Share (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://mammothenergy.com/role/EarningsLossPerShareTables</ParentRole>
      <Position>76</Position>
    </Report>
    <Report instance="tusk-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R77.htm</HtmlFileName>
      <LongName>2411406 - Disclosure - Earnings (Loss) Per Share - Pro Forma Earnings Per Share (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mammothenergy.com/role/EarningsLossPerShareProFormaEarningsPerShareDetails</Role>
      <ShortName>Earnings (Loss) Per Share - Pro Forma Earnings Per Share (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://mammothenergy.com/role/EarningsLossPerShareTables</ParentRole>
      <Position>77</Position>
    </Report>
    <Report instance="tusk-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R78.htm</HtmlFileName>
      <LongName>2412401 - Disclosure - Equity Based Compensation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mammothenergy.com/role/EquityBasedCompensationDetails</Role>
      <ShortName>Equity Based Compensation (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://mammothenergy.com/role/EquityBasedCompensation</ParentRole>
      <Position>78</Position>
    </Report>
    <Report instance="tusk-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R79.htm</HtmlFileName>
      <LongName>2413402 - Disclosure - Stock-Based Compensation - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mammothenergy.com/role/StockBasedCompensationNarrativeDetails</Role>
      <ShortName>Stock-Based Compensation - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>79</Position>
    </Report>
    <Report instance="tusk-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R80.htm</HtmlFileName>
      <LongName>2413403 - Disclosure - Stock-Based Compensation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mammothenergy.com/role/StockBasedCompensationDetails</Role>
      <ShortName>Stock-Based Compensation (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://mammothenergy.com/role/StockBasedCompensationTables</ParentRole>
      <Position>80</Position>
    </Report>
    <Report instance="tusk-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R81.htm</HtmlFileName>
      <LongName>2414402 - Disclosure - Acquisitions - Stingray Acquisition Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mammothenergy.com/role/AcquisitionsStingrayAcquisitionNarrativeDetails</Role>
      <ShortName>Acquisitions - Stingray Acquisition Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>81</Position>
    </Report>
    <Report instance="tusk-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R82.htm</HtmlFileName>
      <LongName>2414403 - Disclosure - Acquisitions - Consideration Transferred Stingray Acquisition (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mammothenergy.com/role/AcquisitionsConsiderationTransferredStingrayAcquisitionDetails</Role>
      <ShortName>Acquisitions - Consideration Transferred Stingray Acquisition (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>82</Position>
    </Report>
    <Report instance="tusk-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R83.htm</HtmlFileName>
      <LongName>2414404 - Disclosure - Acquisitions - Schedule of Assets Acquired and Liabilities Assumed, Stingray (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mammothenergy.com/role/AcquisitionsScheduleOfAssetsAcquiredAndLiabilitiesAssumedStingrayDetails</Role>
      <ShortName>Acquisitions - Schedule of Assets Acquired and Liabilities Assumed, Stingray (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>83</Position>
    </Report>
    <Report instance="tusk-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R84.htm</HtmlFileName>
      <LongName>2414405 - Disclosure - Acquisitions - Pro Forma Stingray Acquisitions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mammothenergy.com/role/AcquisitionsProFormaStingrayAcquisitionsDetails</Role>
      <ShortName>Acquisitions - Pro Forma Stingray Acquisitions (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>84</Position>
    </Report>
    <Report instance="tusk-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R85.htm</HtmlFileName>
      <LongName>2414406 - Disclosure - Acquisitions - Chieftain Acquisition Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mammothenergy.com/role/AcquisitionsChieftainAcquisitionNarrativeDetails</Role>
      <ShortName>Acquisitions - Chieftain Acquisition Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>85</Position>
    </Report>
    <Report instance="tusk-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R86.htm</HtmlFileName>
      <LongName>2414407 - Disclosure - Acquisitions - Schedule of Assets Acquired and Liabilities Assumed Chieftrain Sand and Proppant LLC (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mammothenergy.com/role/AcquisitionsScheduleOfAssetsAcquiredAndLiabilitiesAssumedChieftrainSandAndProppantLlcDetails</Role>
      <ShortName>Acquisitions - Schedule of Assets Acquired and Liabilities Assumed Chieftrain Sand and Proppant LLC (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>86</Position>
    </Report>
    <Report instance="tusk-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R87.htm</HtmlFileName>
      <LongName>2414408 - Disclosure - Acquisitions - Pro Forma Information Chieftain Sand and Proppant LLC (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mammothenergy.com/role/AcquisitionsProFormaInformationChieftainSandAndProppantLlcDetails</Role>
      <ShortName>Acquisitions - Pro Forma Information Chieftain Sand and Proppant LLC (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>87</Position>
    </Report>
    <Report instance="tusk-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R88.htm</HtmlFileName>
      <LongName>2414409 - Disclosure - Acquisitions - Narrative Sturgeon Acquisitions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mammothenergy.com/role/AcquisitionsNarrativeSturgeonAcquisitionsDetails</Role>
      <ShortName>Acquisitions - Narrative Sturgeon Acquisitions (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>88</Position>
    </Report>
    <Report instance="tusk-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R89.htm</HtmlFileName>
      <LongName>2414410 - Disclosure - Acquisitions - Acquisition of Higher Power Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mammothenergy.com/role/AcquisitionsAcquisitionOfHigherPowerNarrativeDetails</Role>
      <ShortName>Acquisitions - Acquisition of Higher Power Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>89</Position>
    </Report>
    <Report instance="tusk-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R90.htm</HtmlFileName>
      <LongName>2414411 - Disclosure - Acquisitions - Schedule of Assets Acquired and Liabilities Assumed. High Power Acquisition (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mammothenergy.com/role/AcquisitionsScheduleOfAssetsAcquiredAndLiabilitiesAssumedHighPowerAcquisitionDetails</Role>
      <ShortName>Acquisitions - Schedule of Assets Acquired and Liabilities Assumed. High Power Acquisition (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>90</Position>
    </Report>
    <Report instance="tusk-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R91.htm</HtmlFileName>
      <LongName>2414412 - Disclosure - Acquisitions - Pro Forma Information High Power Acquisition (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mammothenergy.com/role/AcquisitionsProFormaInformationHighPowerAcquisitionDetails</Role>
      <ShortName>Acquisitions - Pro Forma Information High Power Acquisition (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>91</Position>
    </Report>
    <Report instance="tusk-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R92.htm</HtmlFileName>
      <LongName>2414413 - Disclosure - Acquisitions - Acquisition of 5 Star Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mammothenergy.com/role/AcquisitionsAcquisitionOf5StarNarrativeDetails</Role>
      <ShortName>Acquisitions - Acquisition of 5 Star Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>92</Position>
    </Report>
    <Report instance="tusk-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R93.htm</HtmlFileName>
      <LongName>2414414 - Disclosure - Acquisitions - Schedule Of Assets Acquired and Liabilities Assumed 5 Star (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mammothenergy.com/role/AcquisitionsScheduleOfAssetsAcquiredAndLiabilitiesAssumed5StarDetails</Role>
      <ShortName>Acquisitions - Schedule Of Assets Acquired and Liabilities Assumed 5 Star (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>93</Position>
    </Report>
    <Report instance="tusk-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R94.htm</HtmlFileName>
      <LongName>2414415 - Disclosure - Acquisitions - Pro Forma, 5 Star (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mammothenergy.com/role/AcquisitionsProForma5StarDetails</Role>
      <ShortName>Acquisitions - Pro Forma, 5 Star (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>94</Position>
    </Report>
    <Report instance="tusk-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R95.htm</HtmlFileName>
      <LongName>2415402 - Disclosure - Related Party Transactions - Revenues and Accounts Receivable (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mammothenergy.com/role/RelatedPartyTransactionsRevenuesAndAccountsReceivableDetails</Role>
      <ShortName>Related Party Transactions - Revenues and Accounts Receivable (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>95</Position>
    </Report>
    <Report instance="tusk-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R96.htm</HtmlFileName>
      <LongName>2415403 - Disclosure - Related Party Transactions - Cost of Revenues of Accounts Payable (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mammothenergy.com/role/RelatedPartyTransactionsCostOfRevenuesOfAccountsPayableDetails</Role>
      <ShortName>Related Party Transactions - Cost of Revenues of Accounts Payable (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>96</Position>
    </Report>
    <Report instance="tusk-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R97.htm</HtmlFileName>
      <LongName>2416402 - Disclosure - Commitments and Contingencies - Future minimum lease payments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mammothenergy.com/role/CommitmentsAndContingenciesFutureMinimumLeasePaymentsDetails</Role>
      <ShortName>Commitments and Contingencies - Future minimum lease payments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>97</Position>
    </Report>
    <Report instance="tusk-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R98.htm</HtmlFileName>
      <LongName>2416403 - Disclosure - Commitments and Contingencies - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mammothenergy.com/role/CommitmentsAndContingenciesNarrativeDetails</Role>
      <ShortName>Commitments and Contingencies - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>98</Position>
    </Report>
    <Report instance="tusk-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R99.htm</HtmlFileName>
      <LongName>2416404 - Disclosure - Commitments and Contingencies - Schedule of Letters of Credit (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mammothenergy.com/role/CommitmentsAndContingenciesScheduleOfLettersOfCreditDetails</Role>
      <ShortName>Commitments and Contingencies - Schedule of Letters of Credit (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>99</Position>
    </Report>
    <Report instance="tusk-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R100.htm</HtmlFileName>
      <LongName>2416405 - Disclosure - Commitments and Contingencies - Defined Contribution Plan (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mammothenergy.com/role/CommitmentsAndContingenciesDefinedContributionPlanDetails</Role>
      <ShortName>Commitments and Contingencies - Defined Contribution Plan (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>100</Position>
    </Report>
    <Report instance="tusk-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R101.htm</HtmlFileName>
      <LongName>2417402 - Disclosure - Reporting Segments and Geographic Areas (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mammothenergy.com/role/ReportingSegmentsAndGeographicAreasDetails</Role>
      <ShortName>Reporting Segments and Geographic Areas (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://mammothenergy.com/role/ReportingSegmentsAndGeographicAreasTables</ParentRole>
      <Position>101</Position>
    </Report>
    <Report instance="tusk-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R102.htm</HtmlFileName>
      <LongName>2418402 - Disclosure - Quarterly Financial Data (unaudited) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mammothenergy.com/role/QuarterlyFinancialDataUnauditedDetails</Role>
      <ShortName>Quarterly Financial Data (unaudited) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://mammothenergy.com/role/QuarterlyFinancialDataUnauditedTables</ParentRole>
      <Position>102</Position>
    </Report>
    <Report instance="tusk-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R103.htm</HtmlFileName>
      <LongName>2419401 - Disclosure - Subsequent Events (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mammothenergy.com/role/SubsequentEventsDetails</Role>
      <ShortName>Subsequent Events (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://mammothenergy.com/role/SubsequentEvents</ParentRole>
      <Position>103</Position>
    </Report>
    <Report instance="tusk-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9999.htm</HtmlFileName>
      <LongName>Uncategorized Items - tusk-20171231.xml</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/role/uncategorizedFacts</Role>
      <ShortName>Uncategorized Items - tusk-20171231.xml</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>104</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File>tusk-20171231.xml</File>
    <File>tusk-20171231.xsd</File>
    <File>tusk-20171231_cal.xml</File>
    <File>tusk-20171231_def.xml</File>
    <File>tusk-20171231_lab.xml</File>
    <File>tusk-20171231_pre.xml</File>
  </InputFiles>
  <SupplementalFiles/>
  <BaseTaxonomies>
    <BaseTaxonomy>http://fasb.org/us-gaap/2017-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://xbrl.sec.gov/country/2017-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://xbrl.sec.gov/dei/2014-01-31</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
