<?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>0001190873</cik>
          <ccc>XXXXXXXX</ccc>
        </filerCredentials>
      </filer>
      <liveTestFlag>LIVE</liveTestFlag>



    </filerInfo>
  </headerData>
  <formData>
    <issuerInfo>
      <issuerCik>0001309108</issuerCik>
      <issuerName>WEX Inc.</issuerName>
      <secFileNumber>001-32426</secFileNumber>
      <issuerAddress>
        <com:street1>1 HANCOCK STREET</com:street1>
        <com:city>PORTLAND</com:city>
        <com:stateOrCountry>ME</com:stateOrCountry>
        <com:zipCode>04101</com:zipCode>
      </issuerAddress>
      <issuerContactPhone>(207) 773-8171</issuerContactPhone>
      <nameOfPersonForWhoseAccountTheSecuritiesAreToBeSold>SOMMER REGINA O</nameOfPersonForWhoseAccountTheSecuritiesAreToBeSold>
      <relationshipsToIssuer>
        <relationshipToIssuer>Director</relationshipToIssuer>
      </relationshipsToIssuer>
    </issuerInfo>
    <securitiesInformation>
      <securitiesClassTitle>Common</securitiesClassTitle>
      <brokerOrMarketmakerDetails>
        <name>Wells Fargo Clearing Services</name>
        <address>
          <com:street1>One North Jefferson Avenue</com:street1>
          <com:city>St. Louis</com:city>
          <com:stateOrCountry>MO</com:stateOrCountry>
          <com:zipCode>63103</com:zipCode>
        </address>
      </brokerOrMarketmakerDetails>
      <noOfUnitsSold>1422</noOfUnitsSold>
      <aggregateMarketValue>247933.78</aggregateMarketValue>
      <noOfUnitsOutstanding>41900535</noOfUnitsOutstanding>
      <approxSaleDate>06/28/2024</approxSaleDate>
      <securitiesExchangeName>NYSE</securitiesExchangeName>
    </securitiesInformation>
    <securitiesToBeSold>
      <securitiesClassTitle>Common</securitiesClassTitle>
      <acquiredDate>05/08/2020</acquiredDate>
      <natureOfAcquisitionTransaction>Compensation</natureOfAcquisitionTransaction>
      <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
      <isGiftTransaction>N</isGiftTransaction>
      <amountOfSecuritiesAcquired>662</amountOfSecuritiesAcquired>
      <paymentDate>05/08/2020</paymentDate>
      <natureOfPayment>N/A</natureOfPayment>
    </securitiesToBeSold>
    <securitiesToBeSold>
      <securitiesClassTitle>Common</securitiesClassTitle>
      <acquiredDate>06/03/2022</acquiredDate>
      <natureOfAcquisitionTransaction>Compensation</natureOfAcquisitionTransaction>
      <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
      <isGiftTransaction>N</isGiftTransaction>
      <amountOfSecuritiesAcquired>760</amountOfSecuritiesAcquired>
      <paymentDate>06/03/2022</paymentDate>
      <natureOfPayment>N/A</natureOfPayment>
    </securitiesToBeSold>
    <nothingToReportFlagOnSecuritiesSoldInPast3Months>N</nothingToReportFlagOnSecuritiesSoldInPast3Months>
    <securitiesSoldInPast3Months>
      <sellerDetails>
        <name>Regina O Sommer</name>
        <address>
          <com:street1>1 Hancock Street</com:street1>
          <com:city>Portland</com:city>
          <com:stateOrCountry>ME</com:stateOrCountry>
          <com:zipCode>04101</com:zipCode>
        </address>
      </sellerDetails>
      <securitiesClassTitle>Wex, Inc.</securitiesClassTitle>
      <saleDate>05/31/2024</saleDate>
      <amountOfSecuritiesSold>1147</amountOfSecuritiesSold>
      <grossProceeds>213278.72</grossProceeds>
    </securitiesSoldInPast3Months>
    <securitiesSoldInPast3Months>
      <sellerDetails>
        <name>Regina O Sommer</name>
        <address>
          <com:street1>1 Hancock Street</com:street1>
          <com:city>Portland</com:city>
          <com:stateOrCountry>ME</com:stateOrCountry>
          <com:zipCode>04101</com:zipCode>
        </address>
      </sellerDetails>
      <securitiesClassTitle>Wex, Inc.</securitiesClassTitle>
      <saleDate>06/21/2024</saleDate>
      <amountOfSecuritiesSold>1030</amountOfSecuritiesSold>
      <grossProceeds>179281.96</grossProceeds>
    </securitiesSoldInPast3Months>
    <remarks>The 1,422 shares sold today were from the Regina O Sommer 2012 Rev TR</remarks>
    <noticeSignature>
      <noticeDate>06/28/2024</noticeDate>
      <signature>Regina O Sommer</signature>
    </noticeSignature>
  </formData>
</edgarSubmission>
[{"type": "144", "sequence": "1", "filename": "primary_doc.xml", "secsgml_size_bytes": 4469}]
144
0001190873
XXXXXXXX
LIVE
0001309108
WEX Inc.
001-32426
1 HANCOCK STREET
PORTLAND
ME
04101
(207) 773-8171
SOMMER REGINA O
Director
Common
Wells Fargo Clearing Services
One North Jefferson Avenue
St. Louis
MO
63103
1422
247933.78
41900535
06/28/2024
NYSE
Common
05/08/2020
Compensation
Issuer
N
662
05/08/2020
N/A
Common
06/03/2022
Compensation
Issuer
N
760
06/03/2022
N/A
N
Regina O Sommer
1 Hancock Street
Portland
ME
04101
Wex, Inc.
05/31/2024
1147
213278.72
Regina O Sommer
1 Hancock Street
Portland
ME
04101
Wex, Inc.
06/21/2024
1030
179281.96
The 1,422 shares sold today were from the Regina O Sommer 2012 Rev TR
06/28/2024
Regina O Sommer