<?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>0001512301</cik>
          <ccc>XXXXXXXX</ccc>
        </filerCredentials>
      </filer>
      <liveTestFlag>LIVE</liveTestFlag>



    </filerInfo>
  </headerData>
  <formData>
    <issuerInfo>
      <issuerCik>0000760498</issuerCik>
      <issuerName>BANCFIRST CORP /OK/</issuerName>
      <secFileNumber>000-14384</secFileNumber>
      <issuerAddress>
        <com:street1>100 NORTH BROADWAY AVE</com:street1>
        <com:city>OKLAHOMA CITY</com:city>
        <com:stateOrCountry>OK</com:stateOrCountry>
        <com:zipCode>73102-8401</com:zipCode>
      </issuerAddress>
      <issuerContactPhone>4052701000</issuerContactPhone>
      <nameOfPersonForWhoseAccountTheSecuritiesAreToBeSold>Drummond F Ford</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>5000</noOfUnitsSold>
      <aggregateMarketValue>587900.00</aggregateMarketValue>
      <noOfUnitsOutstanding>33128923</noOfUnitsOutstanding>
      <approxSaleDate>01/29/2025</approxSaleDate>
      <securitiesExchangeName>Nasdaq Global</securitiesExchangeName>
    </securitiesInformation>
    <securitiesToBeSold>
      <securitiesClassTitle>Common Stock</securitiesClassTitle>
      <acquiredDate>01/29/2025</acquiredDate>
      <natureOfAcquisitionTransaction>Stock Option Exercise</natureOfAcquisitionTransaction>
      <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
      <isGiftTransaction>N</isGiftTransaction>
      <amountOfSecuritiesAcquired>5000</amountOfSecuritiesAcquired>
      <paymentDate>01/29/2025</paymentDate>
      <natureOfPayment>Broker Check</natureOfPayment>
    </securitiesToBeSold>
    <nothingToReportFlagOnSecuritiesSoldInPast3Months>Y</nothingToReportFlagOnSecuritiesSoldInPast3Months>
    <noticeSignature>
      <noticeDate>01/29/2025</noticeDate>
      <signature>Frederick Drummond</signature>
    </noticeSignature>
  </formData>
</edgarSubmission>
[{"type": "144", "sequence": "1", "filename": "primary_doc.xml", "secsgml_size_bytes": 2739}]
144
0001512301
XXXXXXXX
LIVE
0000760498
BANCFIRST CORP /OK/
000-14384
100 NORTH BROADWAY AVE
OKLAHOMA CITY
OK
73102-8401
4052701000
Drummond F Ford
Director
Common Stock
Charles Schwab & Co.
3000 Schwab Way
Westlake
TX
76262
5000
587900.00
33128923
01/29/2025
Nasdaq Global
Common Stock
01/29/2025
Stock Option Exercise
Issuer
N
5000
01/29/2025
Broker Check
Y
01/29/2025
Frederick Drummond