content: <?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>0001444969</cik>
            <ccc>XXXXXXXX</ccc>
          </filerCredentials>
        </filer>
        <liveTestFlag>LIVE</liveTestFlag>
  
  
      </filerInfo>
    </headerData>
    <formData>
      <issuerInfo>
        <issuerCik>0001021635</issuerCik>
        <issuerName>OGE ENERGY CORP.</issuerName>
        <secFileNumber>001-12579</secFileNumber>
        <issuerAddress>
          <com:street1>321 N HARVEY</com:street1>
          <com:street2>P.O. BOX 321</com:street2>
          <com:city>OKLAHOMA CITY</com:city>
          <com:stateOrCountry>OK</com:stateOrCountry>
          <com:zipCode>73101-0321</com:zipCode>
        </issuerAddress>
        <issuerContactPhone>4055533000</issuerContactPhone>
        <nameOfPersonForWhoseAccountTheSecuritiesAreToBeSold>McQuistion Cristina F</nameOfPersonForWhoseAccountTheSecuritiesAreToBeSold>
        <relationshipsToIssuer>
          <relationshipToIssuer>Officer</relationshipToIssuer>
        </relationshipsToIssuer>
      </issuerInfo>
      <securitiesInformation>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <brokerOrMarketmakerDetails>
          <name>Fidelity Brokerage Services LLC</name>
          <address>
            <com:street1>245 Summer Street</com:street1>
            <com:city>Boston</com:city>
            <com:stateOrCountry>MA</com:stateOrCountry>
            <com:zipCode>02110</com:zipCode>
          </address>
        </brokerOrMarketmakerDetails>
        <noOfUnitsSold>11731</noOfUnitsSold>
        <aggregateMarketValue>527425.00</aggregateMarketValue>
        <noOfUnitsOutstanding>201148883</noOfUnitsOutstanding>
        <approxSaleDate>02/25/2025</approxSaleDate>
        <securitiesExchangeName>NYSE</securitiesExchangeName>
      </securitiesInformation>
      <securitiesToBeSold>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <acquiredDate>12/31/2021</acquiredDate>
        <natureOfAcquisitionTransaction>Stock Award</natureOfAcquisitionTransaction>
        <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
        <isGiftTransaction>N</isGiftTransaction>
        <amountOfSecuritiesAcquired>924</amountOfSecuritiesAcquired>
        <paymentDate>12/31/2021</paymentDate>
        <natureOfPayment>Compensation</natureOfPayment>
      </securitiesToBeSold>
      <securitiesToBeSold>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <acquiredDate>02/19/2019</acquiredDate>
        <natureOfAcquisitionTransaction>Stock Award</natureOfAcquisitionTransaction>
        <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
        <isGiftTransaction>N</isGiftTransaction>
        <amountOfSecuritiesAcquired>8492</amountOfSecuritiesAcquired>
        <paymentDate>02/19/2019</paymentDate>
        <natureOfPayment>Compensation</natureOfPayment>
      </securitiesToBeSold>
      <securitiesToBeSold>
        <securitiesClassTitle> Common</securitiesClassTitle>
        <acquiredDate>02/24/2021</acquiredDate>
        <natureOfAcquisitionTransaction>Stock Award</natureOfAcquisitionTransaction>
        <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
        <isGiftTransaction>N</isGiftTransaction>
        <amountOfSecuritiesAcquired>2315</amountOfSecuritiesAcquired>
        <paymentDate>02/24/2021</paymentDate>
        <natureOfPayment>Compensation</natureOfPayment>
      </securitiesToBeSold>
      <nothingToReportFlagOnSecuritiesSoldInPast3Months>N</nothingToReportFlagOnSecuritiesSoldInPast3Months>
      <securitiesSoldInPast3Months>
        <sellerDetails>
          <name>Cristina McQuistion</name>
          <address>
            <com:street1>321 North Harvey </com:street1>
            <com:street2>P.O. Box 321</com:street2>
            <com:city>Oklahoma City</com:city>
            <com:stateOrCountry>OK</com:stateOrCountry>
            <com:zipCode>73101-0321</com:zipCode>
          </address>
        </sellerDetails>
        <securitiesClassTitle>OGE Energy Corp</securitiesClassTitle>
        <saleDate>02/21/2025</saleDate>
        <amountOfSecuritiesSold>5403</amountOfSecuritiesSold>
        <grossProceeds>242486.00</grossProceeds>
      </securitiesSoldInPast3Months>
      <noticeSignature>
        <noticeDate>02/25/2025</noticeDate>
        <signature>/s/ Christian Nasser as a duly authorized representative of Fidelity Brokerage Services LLC, as attorney-in-fact for Cristina McQuistion</signature>
      </noticeSignature>
    </formData>
  </edgarSubmission>
metadata_documents: [{"type": "144", "sequence": "1", "filename": "primary_doc.xml", "secsgml_size_bytes": 4580}]
text: 144
  0001444969
  XXXXXXXX
  LIVE
  0001021635
  OGE ENERGY CORP.
  001-12579
  321 N HARVEY
  P.O. BOX 321
  OKLAHOMA CITY
  OK
  73101-0321
  4055533000
  McQuistion Cristina F
  Officer
  Common
  Fidelity Brokerage Services LLC
  245 Summer Street
  Boston
  MA
  02110
  11731
  527425.00
  201148883
  02/25/2025
  NYSE
  Common
  12/31/2021
  Stock Award
  Issuer
  N
  924
  12/31/2021
  Compensation
  Common
  02/19/2019
  Stock Award
  Issuer
  N
  8492
  02/19/2019
  Compensation
  Common
  02/24/2021
  Stock Award
  Issuer
  N
  2315
  02/24/2021
  Compensation
  N
  Cristina McQuistion
  321 North Harvey
  P.O. Box 321
  Oklahoma City
  OK
  73101-0321
  OGE Energy Corp
  02/21/2025
  5403
  242486.00
  02/25/2025
  /s/ Christian Nasser as a duly authorized representative of Fidelity Brokerage Services LLC, as attorney-in-fact for Cristina McQuistion