content: <?xml version="1.0" encoding="UTF-8"?><edgarSubmission xmlns="http://www.sec.gov/edgar/ownership" xmlns:com="http://www.sec.gov/edgar/common">
    <!-- Generated by Workiva -->
    <headerData>
      <submissionType>144</submissionType>
      <filerInfo>
        <filer>
          <filerCredentials>
            <cik>0001283563</cik>
            <ccc>XXXXXXXX</ccc>
          </filerCredentials>
        </filer>
        <liveTestFlag>LIVE</liveTestFlag>
  
  
  
      </filerInfo>
    </headerData>
    <formData>
      <issuerInfo>
        <issuerCik>0000826675</issuerCik>
        <issuerName>Dynex Capital, Inc.</issuerName>
        <secFileNumber>001-09819</secFileNumber>
        <issuerAddress>
          <com:street1>4991 Lake Brook Drive</com:street1>
          <com:street2>Suite 100</com:street2>
          <com:city>Glen Allen</com:city>
          <com:stateOrCountry>VA</com:stateOrCountry>
          <com:zipCode>23060</com:zipCode>
        </issuerAddress>
        <issuerContactPhone>8042175800</issuerContactPhone>
        <nameOfPersonForWhoseAccountTheSecuritiesAreToBeSold>Byron L. Boston</nameOfPersonForWhoseAccountTheSecuritiesAreToBeSold>
        <relationshipsToIssuer>
          <relationshipToIssuer>Officer</relationshipToIssuer>
          <relationshipToIssuer>Director</relationshipToIssuer>
        </relationshipsToIssuer>
      </issuerInfo>
      <securitiesInformation>
        <securitiesClassTitle>Common Stock</securitiesClassTitle>
        <brokerOrMarketmakerDetails>
          <name>SEI Investments Company</name>
          <address>
            <com:street1>1 Freedom Valley Drive</com:street1>
            <com:city>Oaks</com:city>
            <com:stateOrCountry>PA</com:stateOrCountry>
            <com:zipCode>19456</com:zipCode>
          </address>
        </brokerOrMarketmakerDetails>
        <noOfUnitsSold>17138</noOfUnitsSold>
        <aggregateMarketValue>215767.42</aggregateMarketValue>
        <noOfUnitsOutstanding>74707776</noOfUnitsOutstanding>
        <approxSaleDate>08/30/2024</approxSaleDate>
        <securitiesExchangeName>NYSE</securitiesExchangeName>
      </securitiesInformation>
      <securitiesToBeSold>
        <securitiesClassTitle>Common Stock</securitiesClassTitle>
        <acquiredDate>08/01/2024</acquiredDate>
        <natureOfAcquisitionTransaction>Purchase of issuer securities from employee contributions, company match contributions, and dividend reinvestment through the Dynex Capital, Inc. 401(k) Plan.</natureOfAcquisitionTransaction>
        <nameOfPersonfromWhomAcquired>Open market</nameOfPersonfromWhomAcquired>
        <isGiftTransaction>N</isGiftTransaction>
        <amountOfSecuritiesAcquired>17138</amountOfSecuritiesAcquired>
        <paymentDate>08/01/2024</paymentDate>
        <natureOfPayment>See remarks</natureOfPayment>
      </securitiesToBeSold>
      <nothingToReportFlagOnSecuritiesSoldInPast3Months>Y</nothingToReportFlagOnSecuritiesSoldInPast3Months>
      <remarks>The proposed sale to which this Form 144 relates is being made in connection with the Dynex Capital, Inc. 401(k) Plan no longer offering Dynex Capital, Inc. common stock as an investment option. All such shares held by the filer through the Dynex Capital, Inc. 401 (k) Plan as of 08/30/2024 are proposed to be sold by the plan trustee. Aggregate Market Value is as of 08/29/2024 and Number of Shares Outstanding is as of 07/24/2024. The shares proposed to be sold were acquired by the filer through the Dynex Capital, Inc. 401(k) Plan in multiple transactions between 8/7/2019 and 08/01/2024 pursuant to participant investment elections, company match contributions, and dividend reinvestments under such plan.</remarks>
      <noticeSignature>
        <noticeDate>08/29/2024</noticeDate>
        <signature>Byron L. Boston</signature>
      </noticeSignature>
    </formData>
  </edgarSubmission>
metadata_documents: [{"type": "144", "sequence": "1", "filename": "primary_doc.xml", "secsgml_size_bytes": 3735}]
text: 144
  0001283563
  XXXXXXXX
  LIVE
  0000826675
  Dynex Capital, Inc.
  001-09819
  4991 Lake Brook Drive
  Suite 100
  Glen Allen
  VA
  23060
  8042175800
  Byron L. Boston
  Officer
  Director
  Common Stock
  SEI Investments Company
  1 Freedom Valley Drive
  Oaks
  PA
  19456
  17138
  215767.42
  74707776
  08/30/2024
  NYSE
  Common Stock
  08/01/2024
  Purchase of issuer securities from employee contributions, company match contributions, and dividend reinvestment through the Dynex Capital, Inc. 401(k) Plan.
  Open market
  N
  17138
  08/01/2024
  See remarks
  Y
  The proposed sale to which this Form 144 relates is being made in connection with the Dynex Capital, Inc. 401(k) Plan no longer offering Dynex Capital, Inc. common stock as an investment option. All such shares held by the filer through the Dynex Capital, Inc. 401 (k) Plan as of 08/30/2024 are proposed to be sold by the plan trustee. Aggregate Market Value is as of 08/29/2024 and Number of Shares Outstanding is as of 07/24/2024. The shares proposed to be sold were acquired by the filer through the Dynex Capital, Inc. 401(k) Plan in multiple transactions between 8/7/2019 and 08/01/2024 pursuant to participant investment elections, company match contributions, and dividend reinvestments under such plan.
  08/29/2024
  Byron L. Boston