<?xml version="1.0" encoding="UTF-8"?><edgarSubmission xmlns="http://www.sec.gov/edgar/schedule13D" xmlns:com="http://www.sec.gov/edgar/common">
  <headerData>
    <submissionType>SCHEDULE 13D/A</submissionType>
    <previousAccessionNumber>0000902664-22-005089</previousAccessionNumber>
    <filerInfo>
      <filer>
        <filerCredentials>
          <!-- Field: Pseudo-Tag; ID: Name; Data: Impactive Capital LP -->
          <cik>0001786767</cik>
          <ccc>XXXXXXXX</ccc>
        </filerCredentials>
      </filer>
      <liveTestFlag>LIVE</liveTestFlag>


    </filerInfo>
  </headerData>
  <formData>
    <coverPageHeader>
      <amendmentNo>2</amendmentNo>
      <securitiesClassTitle>Common Stock, $0.01 par value per share</securitiesClassTitle>
      <dateOfEvent>05/02/2025</dateOfEvent>
      <previouslyFiledFlag>false</previouslyFiledFlag>
      <issuerInfo>
        <issuerCIK>0001309108</issuerCIK>
        <issuerCUSIP>96208T104</issuerCUSIP>
        <issuerName>WEX Inc.</issuerName>
        <address>
          <com:street1>1 HANCOCK STREET</com:street1>
          <com:city>PORTLAND</com:city>
          <com:stateOrCountry>ME</com:stateOrCountry>
          <com:zipCode>04101</com:zipCode>
        </address>
      </issuerInfo>
      <authorizedPersons>
        <notificationInfo>
          <personName>CHRISTIAN ASMAR</personName>
          <personPhoneNum>212-218-8810</personPhoneNum>
          <personAddress>
            <com:street1>IMPACTIVE CAPITAL LP</com:street1>
            <com:street2>450 West 14th Street, 12th Floor</com:street2>
            <com:city>New York</com:city>
            <com:stateOrCountry>NY</com:stateOrCountry>
            <com:zipCode>10014</com:zipCode>
          </personAddress>
        </notificationInfo>
        <notificationInfo>
          <personName>LAUREN TAYLOR WOLFE</personName>
          <personPhoneNum>212-218-8810</personPhoneNum>
          <personAddress>
            <com:street1>IMPACTIVE CAPITAL LP</com:street1>
            <com:street2>450 West 14th Street, 12th Floor</com:street2>
            <com:city>New York</com:city>
            <com:stateOrCountry>NY</com:stateOrCountry>
            <com:zipCode>10014</com:zipCode>
          </personAddress>
        </notificationInfo>
        <notificationInfo>
          <personName>ANDREW FREEDMAN, ESQ.</personName>
          <personPhoneNum>212-451-2300</personPhoneNum>
          <personAddress>
            <com:street1>OLSHAN FROME WOLOSKY LLP</com:street1>
            <com:street2>1325 Avenue of the Americas</com:street2>
            <com:city>New York</com:city>
            <com:stateOrCountry>NY</com:stateOrCountry>
            <com:zipCode>10019</com:zipCode>
          </personAddress>
        </notificationInfo>
      </authorizedPersons>
    </coverPageHeader>
    <reportingPersons>
      <reportingPersonInfo>
        <reportingPersonCIK>0001786767</reportingPersonCIK>
        <reportingPersonNoCIK>N</reportingPersonNoCIK>
        <reportingPersonName>Impactive Capital LP</reportingPersonName>
        <fundType>AF</fundType>
        <legalProceedings>N</legalProceedings>
        <citizenshipOrOrganization>DE</citizenshipOrOrganization>
        <soleVotingPower>0.00</soleVotingPower>
        <sharedVotingPower>2395253.00</sharedVotingPower>
        <soleDispositivePower>0.00</soleDispositivePower>
        <sharedDispositivePower>2395253.00</sharedDispositivePower>
        <aggregateAmountOwned>2395253.00</aggregateAmountOwned>
        <isAggregateExcludeShares>N</isAggregateExcludeShares>
        <percentOfClass>7.0</percentOfClass>
        <typeOfReportingPerson>IA</typeOfReportingPerson>
        <typeOfReportingPerson>PN</typeOfReportingPerson>
      </reportingPersonInfo>
      <reportingPersonInfo>
        <reportingPersonCIK>0001786731</reportingPersonCIK>
        <reportingPersonNoCIK>N</reportingPersonNoCIK>
        <reportingPersonName>Impactive Capital LLC</reportingPersonName>
        <fundType>AF</fundType>
        <legalProceedings>N</legalProceedings>
        <citizenshipOrOrganization>DE</citizenshipOrOrganization>
        <soleVotingPower>0.00</soleVotingPower>
        <sharedVotingPower>2395253.00</sharedVotingPower>
        <soleDispositivePower>0.00</soleDispositivePower>
        <sharedDispositivePower>2395253.00</sharedDispositivePower>
        <aggregateAmountOwned>2395253.00</aggregateAmountOwned>
        <isAggregateExcludeShares>N</isAggregateExcludeShares>
        <percentOfClass>7.0</percentOfClass>
        <typeOfReportingPerson>OO</typeOfReportingPerson>
      </reportingPersonInfo>
      <reportingPersonInfo>
        <reportingPersonCIK>0001699118</reportingPersonCIK>
        <reportingPersonNoCIK>N</reportingPersonNoCIK>
        <reportingPersonName>Wolfe Lauren Taylor</reportingPersonName>
        <fundType>AF</fundType>
        <legalProceedings>N</legalProceedings>
        <citizenshipOrOrganization>X1</citizenshipOrOrganization>
        <soleVotingPower>0.00</soleVotingPower>
        <sharedVotingPower>2395253.00</sharedVotingPower>
        <soleDispositivePower>0.00</soleDispositivePower>
        <sharedDispositivePower>2395253.00</sharedDispositivePower>
        <aggregateAmountOwned>2395253.00</aggregateAmountOwned>
        <isAggregateExcludeShares>N</isAggregateExcludeShares>
        <percentOfClass>7.0</percentOfClass>
        <typeOfReportingPerson>IN</typeOfReportingPerson>
      </reportingPersonInfo>
      <reportingPersonInfo>
        <reportingPersonCIK>0001787532</reportingPersonCIK>
        <reportingPersonNoCIK>N</reportingPersonNoCIK>
        <reportingPersonName>Asmar Christian</reportingPersonName>
        <fundType>AF</fundType>
        <legalProceedings>N</legalProceedings>
        <citizenshipOrOrganization>X1</citizenshipOrOrganization>
        <soleVotingPower>0.00</soleVotingPower>
        <sharedVotingPower>2395253.00</sharedVotingPower>
        <soleDispositivePower>0.00</soleDispositivePower>
        <sharedDispositivePower>2395253.00</sharedDispositivePower>
        <aggregateAmountOwned>2395253.00</aggregateAmountOwned>
        <isAggregateExcludeShares>N</isAggregateExcludeShares>
        <percentOfClass>7.0</percentOfClass>
        <typeOfReportingPerson>IN</typeOfReportingPerson>
      </reportingPersonInfo>
    </reportingPersons>
    <items1To7>
      <item1>
        <securityTitle>Common Stock, $0.01 par value per share</securityTitle>
        <issuerName>WEX Inc.</issuerName>
        <issuerPrincipalAddress>
          <com:street1>1 HANCOCK STREET</com:street1>
          <com:city>PORTLAND</com:city>
          <com:stateOrCountry>ME</com:stateOrCountry>
          <com:zipCode>04101</com:zipCode>
        </issuerPrincipalAddress>
      </item1>
      <item3>
        <fundsSource>Item 3 is hereby amended and restated as follows:

The 2,395,253 Shares beneficially owned by the Impactive Funds were purchased with working capital (which may, at any given time, include margin loans made by brokerage firms in the ordinary course of business) in open market purchases. The aggregate purchase price of the 2,395,253 Shares beneficially owned by the Impactive Funds is approximately $392,490,195, including brokerage commissions.</fundsSource>
      </item3>
      <item4>
        <transactionPurpose>Item 4 is hereby amended to add the following:

On May 2, 2025, Impactive Capital issued an open letter to the Issuer's shareholders (the "Open Letter"), announcing its intention to vote against three Board members--Jack VanWoerkom, Melissa Smith, and James Neary--at the Issuer's upcoming 2025 annual meeting of shareholders to send a message that meaningful change at the Issuer is necessary. In the Open Letter, Impactive Capital indicated its disappointment that the Board and management have failed to respond to its request for Board representation and refused to act with sufficient urgency to address the ongoing issues at the Issuer. Impactive Capital also expressed its belief that with the right change and improved shareholder alignment, the Issuer can deliver significant value to all stakeholders. Impactive Capital concluded the Open Letter by stating that if the Board continues to rebuff its constructive suggestions, then it must reserve its rights to take any action it believes necessary to protect shareholder interests, including nominating directors for next year's 2026 annual meeting of shareholders. A copy of the Open Letter is attached hereto as Exhibit 99.1 and is incorporated herein by reference.</transactionPurpose>
      </item4>
      <item5>
        <percentageOfClassSecurities>Item 5(a) is hereby amended and restated as follows:

The aggregate percentage of Shares reported owned by each person named herein is based upon 34,244,491 Shares outstanding as of April 3, 2025, which is the total number of Shares outstanding as reported in the Issuer's Definitive Proxy Statement on Schedule 14A filed with the Securities and Exchange Commission on April 17, 2025.

A. Impactive Capital
As of the date hereof, Impactive Capital beneficially owned 2,395,253 Shares held by the Impactive Funds.

Percentage: Approximately 7.0%

B. Impactive Capital GP
As the general partner of Impactive Capital, Impactive Capital GP may be deemed to beneficially own the 2,395,253 Shares held by the Impactive Funds.

Percentage: Approximately 7.0%

C. Ms. Taylor Wolfe and Mr. Asmar
Each of Ms. Taylor Wolfe and Mr. Asmar, as Managing Members of Impactive Capital GP, may be deemed to beneficially own the 2,395,253 Shares held by the Impactive Funds.

Percentage: Approximately 7.0%</percentageOfClassSecurities>
        <numberOfShares>Item 5(b) is hereby amended and restated as follows:

A. Impactive Capital
1. Sole power to vote or direct vote: 0
2. Shared power to vote or direct vote: 2,395,253
3. Sole power to dispose or direct the disposition: 0
4. Shared power to dispose or direct the disposition: 2,395,253

B. Impactive Capital GP
1. Sole power to vote or direct vote: 0
2. Shared power to vote or direct vote: 2,395,253
3. Sole power to dispose or direct the disposition: 0
4. Shared power to dispose or direct the disposition: 2,395,253

C. Ms. Taylor Wolfe and Mr. Asmar
1. Sole power to vote or direct vote: 0
2. Shared power to vote or direct vote: 2,395,253
3. Sole power to dispose or direct the disposition: 0
4. Shared power to dispose or direct the disposition: 2,395,253</numberOfShares>
        <transactionDesc>Item 5(c) is hereby amended and restated as follows:

A. Impactive Capital
The transactions in the Shares by Impactive Capital through the Impactive Funds since the filing of Amendment No. 1 to the Schedule 13D are set forth in Exhibit 1 and are incorporated herein by reference.

B. Impactive Capital GP
Impactive Capital GP has not entered into any transactions in the Shares since the filing of Amendment No. 1 to the Schedule 13D. The transactions in the Shares by Impactive Capital through the Impactive Funds since the filing of Amendment No. 1 to the Schedule 13D are set forth in Exhibit 1 and are incorporated herein by reference.

C. Ms. Taylor Wolfe and Mr. Asmar
Each of Ms. Taylor Wolfe and Mr. Asmar have not entered into any transactions in the Shares since the filing of Amendment No. 1 to the Schedule 13D. The transactions in the Shares by Impactive Capital through the Impactive Funds since the filing of Amendment No. 1 to the Schedule 13D are set forth in Exhibit 1 and are incorporated herein by reference.</transactionDesc>
      </item5>
      <item7>
        <filedExhibits>Item 7 is hereby amended to add the following exhibits:

1 - Transactions in Securities

99. 1 - Open Letter, dated May 2, 2025</filedExhibits>
      </item7>
    </items1To7>
    <signatureInfo>
      <signaturePerson>
        <signatureReportingPerson>Impactive Capital LP</signatureReportingPerson>
        <signatureDetails>
          <signature>/s/ Lauren Taylor Wolfe</signature>
          <title>Lauren Taylor Wolfe, Managing Member of Impactive Capital LLC, its General Partner</title>
          <date>05/02/2025</date>
        </signatureDetails>
      </signaturePerson>
      <signaturePerson>
        <signatureReportingPerson>Impactive Capital LLC</signatureReportingPerson>
        <signatureDetails>
          <signature>/s/ Lauren Taylor Wolfe</signature>
          <title>Lauren Taylor Wolfe, Managing Member</title>
          <date>05/02/2025</date>
        </signatureDetails>
      </signaturePerson>
      <signaturePerson>
        <signatureReportingPerson>Wolfe Lauren Taylor</signatureReportingPerson>
        <signatureDetails>
          <signature>/s/ Lauren Taylor Wolfe</signature>
          <title>Lauren Taylor Wolfe</title>
          <date>05/02/2025</date>
        </signatureDetails>
      </signaturePerson>
      <signaturePerson>
        <signatureReportingPerson>Asmar Christian</signatureReportingPerson>
        <signatureDetails>
          <signature>/s/ Christian Asmar</signature>
          <title>Christian Asmar</title>
          <date>05/02/2025</date>
        </signatureDetails>
      </signaturePerson>
    </signatureInfo>
  </formData>

</edgarSubmission>
