<?xml version="1.0" encoding="UTF-8"?><edgarSubmission xmlns="http://www.sec.gov/edgar/ownership" xmlns:com="http://www.sec.gov/edgar/common">
  <headerData>
    <submissionType>144</submissionType>
    <filerInfo>
      <filer>
        <filerCredentials>
          <cik>0001034323</cik>
          <ccc>XXXXXXXX</ccc>
        </filerCredentials>
      </filer>
      <liveTestFlag>LIVE</liveTestFlag>



    </filerInfo>
  </headerData>
  <formData>
    <issuerInfo>
      <issuerCik>0001679268</issuerCik>
      <issuerName>MAMMOTH ENERGY SERVICES, INC.</issuerName>
      <secFileNumber>001-37917</secFileNumber>
      <issuerAddress>
        <com:street1>14201 CALIBER DRIVE</com:street1>
        <com:street2>SUITE 300</com:street2>
        <com:city>OKLAHOMA CITY</com:city>
        <com:stateOrCountry>OK</com:stateOrCountry>
        <com:zipCode>73134</com:zipCode>
      </issuerAddress>
      <issuerContactPhone>405-608-6007</issuerContactPhone>
      <nameOfPersonForWhoseAccountTheSecuritiesAreToBeSold>SMITH ARTHUR L</nameOfPersonForWhoseAccountTheSecuritiesAreToBeSold>
      <relationshipsToIssuer>
        <relationshipToIssuer>Director</relationshipToIssuer>
      </relationshipsToIssuer>
    </issuerInfo>
    <securitiesInformation>
      <securitiesClassTitle>Common Stock</securitiesClassTitle>
      <brokerOrMarketmakerDetails>
        <name>Charles Schwab &amp; Co.</name>
        <address>
          <com:street1>3000 Schwab Way</com:street1>
          <com:city>Westlake</com:city>
          <com:stateOrCountry>TX</com:stateOrCountry>
          <com:zipCode>76262</com:zipCode>
        </address>
      </brokerOrMarketmakerDetails>
      <noOfUnitsSold>100000</noOfUnitsSold>
      <aggregateMarketValue>253000.00</aggregateMarketValue>
      <noOfUnitsOutstanding>48127369</noOfUnitsOutstanding>
      <approxSaleDate>05/12/2025</approxSaleDate>
      <securitiesExchangeName>Nasdaq GS</securitiesExchangeName>
    </securitiesInformation>
    <securitiesToBeSold>
      <securitiesClassTitle>Common Stock</securitiesClassTitle>
      <acquiredDate>06/02/2020</acquiredDate>
      <natureOfAcquisitionTransaction>Board Compensation</natureOfAcquisitionTransaction>
      <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
      <isGiftTransaction>N</isGiftTransaction>
      <amountOfSecuritiesAcquired>100000</amountOfSecuritiesAcquired>
      <paymentDate>06/02/2020</paymentDate>
      <natureOfPayment>Services Rendered</natureOfPayment>
    </securitiesToBeSold>
    <nothingToReportFlagOnSecuritiesSoldInPast3Months>Y</nothingToReportFlagOnSecuritiesSoldInPast3Months>
    <remarks>Shares to be sold were compensation for Board members granted between 6/2/20-6/2/22</remarks>
    <noticeSignature>
      <noticeDate>05/12/2025</noticeDate>
      <signature>Arthur Smith</signature>
    </noticeSignature>
  </formData>
</edgarSubmission>
[{"type": "144", "sequence": "1", "filename": "primary_doc.xml", "secsgml_size_bytes": 2890}]
144
0001034323
XXXXXXXX
LIVE
0001679268
MAMMOTH ENERGY SERVICES, INC.
001-37917
14201 CALIBER DRIVE
SUITE 300
OKLAHOMA CITY
OK
73134
405-608-6007
SMITH ARTHUR L
Director
Common Stock
Charles Schwab & Co.
3000 Schwab Way
Westlake
TX
76262
100000
253000.00
48127369
05/12/2025
Nasdaq GS
Common Stock
06/02/2020
Board Compensation
Issuer
N
100000
06/02/2020
Services Rendered
Y
Shares to be sold were compensation for Board members granted between 6/2/20-6/2/22
05/12/2025
Arthur Smith