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>0001251789</cik>
            <ccc>XXXXXXXX</ccc>
          </filerCredentials>
        </filer>
        <liveTestFlag>LIVE</liveTestFlag>
  
  
  
      </filerInfo>
    </headerData>
    <formData>
      <issuerInfo>
        <issuerCik>0001423221</issuerCik>
        <issuerName>Quanex Building Products Corp</issuerName>
        <secFileNumber>001-33913</secFileNumber>
        <issuerAddress>
          <com:street1>1800 West Loop South, Suite 1500</com:street1>
          <com:city>Houston</com:city>
          <com:stateOrCountry>TX</com:stateOrCountry>
          <com:zipCode>77027</com:zipCode>
        </issuerAddress>
        <issuerContactPhone>713-961-4600</issuerContactPhone>
        <nameOfPersonForWhoseAccountTheSecuritiesAreToBeSold>William and Iris Griffiths</nameOfPersonForWhoseAccountTheSecuritiesAreToBeSold>
        <relationshipsToIssuer>
          <relationshipToIssuer>Affiliate</relationshipToIssuer>
        </relationshipsToIssuer>
      </issuerInfo>
      <securitiesInformation>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <brokerOrMarketmakerDetails>
          <name>J.P. Morgan Securities LLC</name>
          <address>
            <com:street1>390 Madison Avenue</com:street1>
            <com:street2>6th Floor</com:street2>
            <com:city>New York</com:city>
            <com:stateOrCountry>NY</com:stateOrCountry>
            <com:zipCode>10017</com:zipCode>
          </address>
        </brokerOrMarketmakerDetails>
        <noOfUnitsSold>198296</noOfUnitsSold>
        <aggregateMarketValue>5294503.2</aggregateMarketValue>
        <noOfUnitsOutstanding>32952532</noOfUnitsOutstanding>
        <approxSaleDate>06/13/2023</approxSaleDate>
        <securitiesExchangeName>NYSE</securitiesExchangeName>
      </securitiesInformation>
      <securitiesToBeSold>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <acquiredDate>12/20/2021</acquiredDate>
        <natureOfAcquisitionTransaction>RSU PSU and RSA Awards</natureOfAcquisitionTransaction>
        <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
        <isGiftTransaction>N</isGiftTransaction>
        <amountOfSecuritiesAcquired>198296</amountOfSecuritiesAcquired>
        <paymentDate>12/20/2021</paymentDate>
        <natureOfPayment>Compensation</natureOfPayment>
      </securitiesToBeSold>
      <nothingToReportFlagOnSecuritiesSoldInPast3Months>Y</nothingToReportFlagOnSecuritiesSoldInPast3Months>
      <remarks>This filing covers stock awards acquired during 07/09/2016 -12/20/2021</remarks>
      <noticeSignature>
        <noticeDate>06/13/2023</noticeDate>
        <planAdoptionDates>
          <planAdoptionDate>03/15/2023</planAdoptionDate>
        </planAdoptionDates>
        <signature>/s/ J.P. Morgan Securities LLC as agent and attorney-in-fact for William Griffiths</signature>
      </noticeSignature>
    </formData>
  </edgarSubmission>
metadata_documents: [{"type": "144", "sequence": "1", "filename": "primary_doc.xml", "secsgml_size_bytes": 3097}]
text: 144
  0001251789
  XXXXXXXX
  LIVE
  0001423221
  Quanex Building Products Corp
  001-33913
  1800 West Loop South, Suite 1500
  Houston
  TX
  77027
  713-961-4600
  William and Iris Griffiths
  Affiliate
  Common
  J.P. Morgan Securities LLC
  390 Madison Avenue
  6th Floor
  New York
  NY
  10017
  198296
  5294503.2
  32952532
  06/13/2023
  NYSE
  Common
  12/20/2021
  RSU PSU and RSA Awards
  Issuer
  N
  198296
  12/20/2021
  Compensation
  Y
  This filing covers stock awards acquired during 07/09/2016 -12/20/2021
  06/13/2023
  03/15/2023
  /s/ J.P. Morgan Securities LLC as agent and attorney-in-fact for William Griffiths