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>0001820263</cik>
            <ccc>XXXXXXXX</ccc>
          </filerCredentials>
        </filer>
        <liveTestFlag>LIVE</liveTestFlag>
  
  
  
      </filerInfo>
    </headerData>
    <formData>
      <issuerInfo>
        <issuerCik>0000866374</issuerCik>
        <issuerName>FLEX LTD.</issuerName>
        <secFileNumber>000-23354</secFileNumber>
        <issuerAddress>
          <com:street1>12515-8 RESEARCH BLVD</com:street1>
          <com:street2>SUITE 300</com:street2>
          <com:city>AUSTIN</com:city>
          <com:stateOrCountry>TX</com:stateOrCountry>
          <com:zipCode>78759</com:zipCode>
        </issuerAddress>
        <issuerContactPhone>(512) 425-7929</issuerContactPhone>
        <nameOfPersonForWhoseAccountTheSecuritiesAreToBeSold>Hartung Michael P</nameOfPersonForWhoseAccountTheSecuritiesAreToBeSold>
        <relationshipsToIssuer>
          <relationshipToIssuer>Officer</relationshipToIssuer>
        </relationshipsToIssuer>
      </issuerInfo>
      <securitiesInformation>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <brokerOrMarketmakerDetails>
          <name>Fidelity Brokerage Services LLC</name>
          <address>
            <com:street1>900 Salem Street</com:street1>
            <com:city>Smithfield</com:city>
            <com:stateOrCountry>RI</com:stateOrCountry>
            <com:zipCode>02917</com:zipCode>
          </address>
        </brokerOrMarketmakerDetails>
        <noOfUnitsSold>6887</noOfUnitsSold>
        <aggregateMarketValue>310014.17</aggregateMarketValue>
        <noOfUnitsOutstanding>373315616</noOfUnitsOutstanding>
        <approxSaleDate>06/17/2025</approxSaleDate>
        <securitiesExchangeName>NASDAQ</securitiesExchangeName>
      </securitiesInformation>
      <securitiesToBeSold>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <acquiredDate>06/16/2025</acquiredDate>
        <natureOfAcquisitionTransaction>Restricted Stock Vesting</natureOfAcquisitionTransaction>
        <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
        <isGiftTransaction>N</isGiftTransaction>
        <amountOfSecuritiesAcquired>6887</amountOfSecuritiesAcquired>
        <paymentDate>06/16/2025</paymentDate>
        <natureOfPayment>Compensation</natureOfPayment>
      </securitiesToBeSold>
      <nothingToReportFlagOnSecuritiesSoldInPast3Months>N</nothingToReportFlagOnSecuritiesSoldInPast3Months>
      <securitiesSoldInPast3Months>
        <sellerDetails>
          <name>Michael Hartung</name>
          <address>
            <com:street1>12515-8 Research Blvd, Suite 300,</com:street1>
            <com:city>Austin</com:city>
            <com:stateOrCountry>TX</com:stateOrCountry>
            <com:zipCode>78759</com:zipCode>
          </address>
        </sellerDetails>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <saleDate>05/13/2025</saleDate>
        <amountOfSecuritiesSold>32173</amountOfSecuritiesSold>
        <grossProceeds>1350908.88</grossProceeds>
      </securitiesSoldInPast3Months>
      <securitiesSoldInPast3Months>
        <sellerDetails>
          <name>Michael Hartung</name>
          <address>
            <com:street1>12515-8 Research Blvd, Suite 300</com:street1>
            <com:city>Austin</com:city>
            <com:stateOrCountry>TX</com:stateOrCountry>
            <com:zipCode>78759</com:zipCode>
          </address>
        </sellerDetails>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <saleDate>06/03/2025</saleDate>
        <amountOfSecuritiesSold>11025</amountOfSecuritiesSold>
        <grossProceeds>473007.78</grossProceeds>
      </securitiesSoldInPast3Months>
      <securitiesSoldInPast3Months>
        <sellerDetails>
          <name>Michael Hartung</name>
          <address>
            <com:street1>12515-8 Research Blvd, Suite 300</com:street1>
            <com:city>Austin</com:city>
            <com:stateOrCountry>TX</com:stateOrCountry>
            <com:zipCode>78759</com:zipCode>
          </address>
        </sellerDetails>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <saleDate>06/04/2025</saleDate>
        <amountOfSecuritiesSold>35393</amountOfSecuritiesSold>
        <grossProceeds>1517280.21</grossProceeds>
      </securitiesSoldInPast3Months>
      <securitiesSoldInPast3Months>
        <sellerDetails>
          <name>Michael Hartung</name>
          <address>
            <com:street1>12515-8 Research Blvd, Suite 300</com:street1>
            <com:city>Austin</com:city>
            <com:stateOrCountry>TX</com:stateOrCountry>
            <com:zipCode>78759</com:zipCode>
          </address>
        </sellerDetails>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <saleDate>06/13/2025</saleDate>
        <amountOfSecuritiesSold>4554</amountOfSecuritiesSold>
        <grossProceeds>198059.84</grossProceeds>
      </securitiesSoldInPast3Months>
      <remarks>Sale includes an amount necessary to cover a tax obligation resulting from the settlement of a vested equity award distribution.</remarks>
      <noticeSignature>
        <noticeDate>06/17/2025</noticeDate>
        <signature>/s/ Bradley Camilo, as a duly authorized representative of Fidelity Brokerage Services LLC, as attorney-in-fact for Michael Hartung </signature>
      </noticeSignature>
    </formData>
  </edgarSubmission>
metadata_documents: [{"type": "144", "sequence": "1", "filename": "primary_doc.xml", "secsgml_size_bytes": 5417}]
text: 144
  0001820263
  XXXXXXXX
  LIVE
  0000866374
  FLEX LTD.
  000-23354
  12515-8 RESEARCH BLVD
  SUITE 300
  AUSTIN
  TX
  78759
  (512) 425-7929
  Hartung Michael P
  Officer
  Common
  Fidelity Brokerage Services LLC
  900 Salem Street
  Smithfield
  RI
  02917
  6887
  310014.17
  373315616
  06/17/2025
  NASDAQ
  Common
  06/16/2025
  Restricted Stock Vesting
  Issuer
  N
  6887
  06/16/2025
  Compensation
  N
  Michael Hartung
  12515-8 Research Blvd, Suite 300,
  Austin
  TX
  78759
  Common
  05/13/2025
  32173
  1350908.88
  Michael Hartung
  12515-8 Research Blvd, Suite 300
  Austin
  TX
  78759
  Common
  06/03/2025
  11025
  473007.78
  Michael Hartung
  12515-8 Research Blvd, Suite 300
  Austin
  TX
  78759
  Common
  06/04/2025
  35393
  1517280.21
  Michael Hartung
  12515-8 Research Blvd, Suite 300
  Austin
  TX
  78759
  Common
  06/13/2025
  4554
  198059.84
  Sale includes an amount necessary to cover a tax obligation resulting from the settlement of a vested equity award distribution.
  06/17/2025
  /s/ Bradley Camilo, as a duly authorized representative of Fidelity Brokerage Services LLC, as attorney-in-fact for Michael Hartung