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>58296</noOfUnitsSold>
        <aggregateMarketValue>1798431</aggregateMarketValue>
        <noOfUnitsOutstanding>32986332</noOfUnitsOutstanding>
        <approxSaleDate>11/14/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>58296</amountOfSecuritiesAcquired>
        <paymentDate>12/20/2021</paymentDate>
        <natureOfPayment>Compensation</natureOfPayment>
      </securitiesToBeSold>
      <nothingToReportFlagOnSecuritiesSoldInPast3Months>N</nothingToReportFlagOnSecuritiesSoldInPast3Months>
      <securitiesSoldInPast3Months>
        <sellerDetails>
          <name>William &amp; Iris Griffiths</name>
          <address>
            <com:street1>Care of 	Quanex Building Products Corp</com:street1>
            <com:street2>1800 West Loop South, Suite 1500</com:street2>
            <com:city>Houston</com:city>
            <com:stateOrCountry>TX</com:stateOrCountry>
            <com:zipCode>77027</com:zipCode>
          </address>
        </sellerDetails>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <saleDate>07/18/2023</saleDate>
        <amountOfSecuritiesSold>913</amountOfSecuritiesSold>
        <grossProceeds>25594.83</grossProceeds>
      </securitiesSoldInPast3Months>
      <securitiesSoldInPast3Months>
        <sellerDetails>
          <name>William &amp; Iris Griffiths</name>
          <address>
            <com:street1>Care of 	Quanex Building Products Corp</com:street1>
            <com:street2>1800 West Loop South, Suite 1500</com:street2>
            <com:city>Houston</com:city>
            <com:stateOrCountry>TX</com:stateOrCountry>
            <com:zipCode>77027</com:zipCode>
          </address>
        </sellerDetails>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <saleDate>07/20/2023</saleDate>
        <amountOfSecuritiesSold>162</amountOfSecuritiesSold>
        <grossProceeds>4545.62</grossProceeds>
      </securitiesSoldInPast3Months>
      <securitiesSoldInPast3Months>
        <sellerDetails>
          <name>William &amp; Iris Griffiths</name>
          <address>
            <com:street1>Care of 	Quanex Building Products Corp</com:street1>
            <com:street2>1800 West Loop South, Suite 1500</com:street2>
            <com:city>Houston</com:city>
            <com:stateOrCountry>TX</com:stateOrCountry>
            <com:zipCode>77027</com:zipCode>
          </address>
        </sellerDetails>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <saleDate>07/26/2023</saleDate>
        <amountOfSecuritiesSold>2</amountOfSecuritiesSold>
        <grossProceeds>56.02</grossProceeds>
      </securitiesSoldInPast3Months>
      <securitiesSoldInPast3Months>
        <sellerDetails>
          <name>William &amp; Iris Griffiths</name>
          <address>
            <com:street1>Care of 	Quanex Building Products Corp</com:street1>
            <com:street2>1800 West Loop South, Suite 1500</com:street2>
            <com:city>Houston</com:city>
            <com:stateOrCountry>TX</com:stateOrCountry>
            <com:zipCode>77027</com:zipCode>
          </address>
        </sellerDetails>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <saleDate>07/27/2023</saleDate>
        <amountOfSecuritiesSold>725</amountOfSecuritiesSold>
        <grossProceeds>20316.64</grossProceeds>
      </securitiesSoldInPast3Months>
      <securitiesSoldInPast3Months>
        <sellerDetails>
          <name>William &amp; Iris Griffiths</name>
          <address>
            <com:street1>Care of 	Quanex Building Products Corp</com:street1>
            <com:street2>1800 West Loop South, Suite 1500</com:street2>
            <com:city>Houston</com:city>
            <com:stateOrCountry>TX</com:stateOrCountry>
            <com:zipCode>77027</com:zipCode>
          </address>
        </sellerDetails>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <saleDate>07/28/2023</saleDate>
        <amountOfSecuritiesSold>806</amountOfSecuritiesSold>
        <grossProceeds>22612.01</grossProceeds>
      </securitiesSoldInPast3Months>
      <securitiesSoldInPast3Months>
        <sellerDetails>
          <name>William &amp; Iris Griffiths</name>
          <address>
            <com:street1>Care of 	Quanex Building Products Corp</com:street1>
            <com:street2>1800 West Loop South, Suite 1500</com:street2>
            <com:city>Houston</com:city>
            <com:stateOrCountry>TX</com:stateOrCountry>
            <com:zipCode>77027</com:zipCode>
          </address>
        </sellerDetails>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <saleDate>07/31/2023</saleDate>
        <amountOfSecuritiesSold>16071</amountOfSecuritiesSold>
        <grossProceeds>451495.46</grossProceeds>
      </securitiesSoldInPast3Months>
      <securitiesSoldInPast3Months>
        <sellerDetails>
          <name>William &amp; Iris Griffiths</name>
          <address>
            <com:street1>Care of 	Quanex Building Products Corp</com:street1>
            <com:street2>1800 West Loop South, Suite 1500</com:street2>
            <com:city>Houston</com:city>
            <com:stateOrCountry>TX</com:stateOrCountry>
            <com:zipCode>77027</com:zipCode>
          </address>
        </sellerDetails>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <saleDate>08/01/2023</saleDate>
        <amountOfSecuritiesSold>6321</amountOfSecuritiesSold>
        <grossProceeds>177528.61</grossProceeds>
      </securitiesSoldInPast3Months>
      <securitiesSoldInPast3Months>
        <sellerDetails>
          <name>William &amp; Iris Griffiths</name>
          <address>
            <com:street1>Care of 	Quanex Building Products Corp</com:street1>
            <com:street2>1800 West Loop South, Suite 1500</com:street2>
            <com:city>Houston</com:city>
            <com:stateOrCountry>TX</com:stateOrCountry>
            <com:zipCode>77027</com:zipCode>
          </address>
        </sellerDetails>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <saleDate>09/01/2023</saleDate>
        <amountOfSecuritiesSold>25000</amountOfSecuritiesSold>
        <grossProceeds>727208.98</grossProceeds>
      </securitiesSoldInPast3Months>
      <remarks>This filing covers stock awards acquired during 07/09/2016 -12/20/2021</remarks>
      <noticeSignature>
        <noticeDate>11/14/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": 8567}]
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
  58296
  1798431
  32986332
  11/14/2023
  NYSE
  Common
  12/20/2021
  RSU PSU and RSA Awards
  Issuer
  N
  58296
  12/20/2021
  Compensation
  N
  William & Iris Griffiths
  Care of 	Quanex Building Products Corp
  1800 West Loop South, Suite 1500
  Houston
  TX
  77027
  Common
  07/18/2023
  913
  25594.83
  William & Iris Griffiths
  Care of 	Quanex Building Products Corp
  1800 West Loop South, Suite 1500
  Houston
  TX
  77027
  Common
  07/20/2023
  162
  4545.62
  William & Iris Griffiths
  Care of 	Quanex Building Products Corp
  1800 West Loop South, Suite 1500
  Houston
  TX
  77027
  Common
  07/26/2023
  2
  56.02
  William & Iris Griffiths
  Care of 	Quanex Building Products Corp
  1800 West Loop South, Suite 1500
  Houston
  TX
  77027
  Common
  07/27/2023
  725
  20316.64
  William & Iris Griffiths
  Care of 	Quanex Building Products Corp
  1800 West Loop South, Suite 1500
  Houston
  TX
  77027
  Common
  07/28/2023
  806
  22612.01
  William & Iris Griffiths
  Care of 	Quanex Building Products Corp
  1800 West Loop South, Suite 1500
  Houston
  TX
  77027
  Common
  07/31/2023
  16071
  451495.46
  William & Iris Griffiths
  Care of 	Quanex Building Products Corp
  1800 West Loop South, Suite 1500
  Houston
  TX
  77027
  Common
  08/01/2023
  6321
  177528.61
  William & Iris Griffiths
  Care of 	Quanex Building Products Corp
  1800 West Loop South, Suite 1500
  Houston
  TX
  77027
  Common
  09/01/2023
  25000
  727208.98
  This filing covers stock awards acquired during 07/09/2016 -12/20/2021
  11/14/2023
  03/15/2023
  /s/ J.P. Morgan Securities LLC as agent and attorney-in-fact for William Griffiths