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>0001223646</cik>
            <ccc>XXXXXXXX</ccc>
          </filerCredentials>
        </filer>
        <liveTestFlag>LIVE</liveTestFlag>
  
  
      </filerInfo>
    </headerData>
    <formData>
      <issuerInfo>
        <issuerCik>0000355811</issuerCik>
        <issuerName>GENTEX CORP</issuerName>
        <secFileNumber>000-10235</secFileNumber>
        <issuerAddress>
          <com:street1>600 N CENTENNIAL ST</com:street1>
          <com:city>ZEELAND</com:city>
          <com:stateOrCountry>MI</com:stateOrCountry>
          <com:zipCode>49464</com:zipCode>
        </issuerAddress>
        <issuerContactPhone>6167721800</issuerContactPhone>
        <nameOfPersonForWhoseAccountTheSecuritiesAreToBeSold>GOODE GARY F</nameOfPersonForWhoseAccountTheSecuritiesAreToBeSold>
        <relationshipsToIssuer>
          <relationshipToIssuer>Director</relationshipToIssuer>
        </relationshipsToIssuer>
      </issuerInfo>
      <securitiesInformation>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <brokerOrMarketmakerDetails>
          <name>Morgan Stanley Smith Barney LLC Executive Financial Services</name>
          <address>
            <com:street1>1 New York Plaza</com:street1>
            <com:street2>38th FL</com:street2>
            <com:city>New York</com:city>
            <com:stateOrCountry>NY</com:stateOrCountry>
            <com:zipCode>10004</com:zipCode>
          </address>
        </brokerOrMarketmakerDetails>
        <noOfUnitsSold>4416</noOfUnitsSold>
        <aggregateMarketValue>124266.24</aggregateMarketValue>
        <noOfUnitsOutstanding>29180</noOfUnitsOutstanding>
        <approxSaleDate>05/19/2023</approxSaleDate>
        <securitiesExchangeName>NASDAQ</securitiesExchangeName>
      </securitiesInformation>
      <securitiesToBeSold>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <acquiredDate>05/19/2023</acquiredDate>
        <natureOfAcquisitionTransaction>Restricted Shares Vesting</natureOfAcquisitionTransaction>
        <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
        <isGiftTransaction>N</isGiftTransaction>
        <amountOfSecuritiesAcquired>4416</amountOfSecuritiesAcquired>
        <paymentDate>05/19/2023</paymentDate>
        <natureOfPayment>Stock Compensation</natureOfPayment>
      </securitiesToBeSold>
      <nothingToReportFlagOnSecuritiesSoldInPast3Months>Y</nothingToReportFlagOnSecuritiesSoldInPast3Months>
      <noticeSignature>
        <noticeDate>05/19/2023</noticeDate>
        <signature>/s/ Scott Ryan, for Gary Goode</signature>
      </noticeSignature>
    </formData>
  </edgarSubmission>
metadata_documents: [{"type": "144", "sequence": "1", "filename": "primary_doc.xml", "secsgml_size_bytes": 2795}]
text: 144
  0001223646
  XXXXXXXX
  LIVE
  0000355811
  GENTEX CORP
  000-10235
  600 N CENTENNIAL ST
  ZEELAND
  MI
  49464
  6167721800
  GOODE GARY F
  Director
  Common
  Morgan Stanley Smith Barney LLC Executive Financial Services
  1 New York Plaza
  38th FL
  New York
  NY
  10004
  4416
  124266.24
  29180
  05/19/2023
  NASDAQ
  Common
  05/19/2023
  Restricted Shares Vesting
  Issuer
  N
  4416
  05/19/2023
  Stock Compensation
  Y
  05/19/2023
  /s/ Scott Ryan, for Gary Goode