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>0001068045</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>2 Changi South Lane</com:street1>
          <com:city>Singapore</com:city>
          <com:stateOrCountry>U0</com:stateOrCountry>
          <com:zipCode>486123</com:zipCode>
        </issuerAddress>
        <issuerContactPhone>65-6876-9899</issuerContactPhone>
        <nameOfPersonForWhoseAccountTheSecuritiesAreToBeSold>Michael D. Capellas</nameOfPersonForWhoseAccountTheSecuritiesAreToBeSold>
        <relationshipsToIssuer>
          <relationshipToIssuer>Director</relationshipToIssuer>
        </relationshipsToIssuer>
      </issuerInfo>
      <securitiesInformation>
        <securitiesClassTitle>Ordinary Shares</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>78872</noOfUnitsSold>
        <aggregateMarketValue>2626438</aggregateMarketValue>
        <noOfUnitsOutstanding>401640807</noOfUnitsOutstanding>
        <approxSaleDate>05/28/2024</approxSaleDate>
        <securitiesExchangeName>NASDAQ</securitiesExchangeName>
      </securitiesInformation>
      <securitiesToBeSold>
        <securitiesClassTitle>Ordinary Shares</securitiesClassTitle>
        <acquiredDate>07/15/2015</acquiredDate>
        <natureOfAcquisitionTransaction>Compensation</natureOfAcquisitionTransaction>
        <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
        <isGiftTransaction>N</isGiftTransaction>
        <amountOfSecuritiesAcquired>2325</amountOfSecuritiesAcquired>
        <paymentDate>07/15/2015</paymentDate>
        <natureOfPayment>Compensation</natureOfPayment>
      </securitiesToBeSold>
      <securitiesToBeSold>
        <securitiesClassTitle>Ordinary Shares</securitiesClassTitle>
        <acquiredDate>01/15/2016</acquiredDate>
        <natureOfAcquisitionTransaction>Compensation</natureOfAcquisitionTransaction>
        <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
        <isGiftTransaction>N</isGiftTransaction>
        <amountOfSecuritiesAcquired>2673</amountOfSecuritiesAcquired>
        <paymentDate>01/15/2016</paymentDate>
        <natureOfPayment>Compensation</natureOfPayment>
      </securitiesToBeSold>
      <securitiesToBeSold>
        <securitiesClassTitle>Ordinary Shares</securitiesClassTitle>
        <acquiredDate>01/15/2019</acquiredDate>
        <natureOfAcquisitionTransaction>Compensation</natureOfAcquisitionTransaction>
        <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
        <isGiftTransaction>N</isGiftTransaction>
        <amountOfSecuritiesAcquired>5138</amountOfSecuritiesAcquired>
        <paymentDate>01/15/2019</paymentDate>
        <natureOfPayment>Compensation</natureOfPayment>
      </securitiesToBeSold>
      <securitiesToBeSold>
        <securitiesClassTitle>Ordinary Shares</securitiesClassTitle>
        <acquiredDate>07/15/2019</acquiredDate>
        <natureOfAcquisitionTransaction>Compensation</natureOfAcquisitionTransaction>
        <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
        <isGiftTransaction>N</isGiftTransaction>
        <amountOfSecuritiesAcquired>4179</amountOfSecuritiesAcquired>
        <paymentDate>07/15/2019</paymentDate>
        <natureOfPayment>Compensation</natureOfPayment>
      </securitiesToBeSold>
      <securitiesToBeSold>
        <securitiesClassTitle>Ordinary Shares</securitiesClassTitle>
        <acquiredDate>08/19/2019</acquiredDate>
        <natureOfAcquisitionTransaction>Compensation</natureOfAcquisitionTransaction>
        <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
        <isGiftTransaction>N</isGiftTransaction>
        <amountOfSecuritiesAcquired>59470</amountOfSecuritiesAcquired>
        <paymentDate>08/19/2019</paymentDate>
        <natureOfPayment>Compensation</natureOfPayment>
      </securitiesToBeSold>
      <securitiesToBeSold>
        <securitiesClassTitle>Ordinary Shares</securitiesClassTitle>
        <acquiredDate>04/15/2020</acquiredDate>
        <natureOfAcquisitionTransaction>Compensation</natureOfAcquisitionTransaction>
        <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
        <isGiftTransaction>N</isGiftTransaction>
        <amountOfSecuritiesAcquired>5087</amountOfSecuritiesAcquired>
        <paymentDate>04/15/2020</paymentDate>
        <natureOfPayment>Compensation</natureOfPayment>
      </securitiesToBeSold>
      <nothingToReportFlagOnSecuritiesSoldInPast3Months>Y</nothingToReportFlagOnSecuritiesSoldInPast3Months>
      <noticeSignature>
        <noticeDate>05/28/2024</noticeDate>
        <signature>/s/ J.P. Morgan Securities LLC as agent and attorney-in-fact for Michael D.  Capellas</signature>
      </noticeSignature>
    </formData>
  </edgarSubmission>
metadata_documents: [{"type": "144", "sequence": "1", "filename": "primary_doc.xml", "secsgml_size_bytes": 5541}]
text: 144
  0001068045
  XXXXXXXX
  LIVE
  0000866374
  Flex Ltd.
  000-23354
  2 Changi South Lane
  Singapore
  U0
  486123
  65-6876-9899
  Michael D. Capellas
  Director
  Ordinary Shares
  J.P. Morgan Securities LLC
  390 Madison Avenue
  6th Floor
  New York
  NY
  10017
  78872
  2626438
  401640807
  05/28/2024
  NASDAQ
  Ordinary Shares
  07/15/2015
  Compensation
  Issuer
  N
  2325
  07/15/2015
  Compensation
  Ordinary Shares
  01/15/2016
  Compensation
  Issuer
  N
  2673
  01/15/2016
  Compensation
  Ordinary Shares
  01/15/2019
  Compensation
  Issuer
  N
  5138
  01/15/2019
  Compensation
  Ordinary Shares
  07/15/2019
  Compensation
  Issuer
  N
  4179
  07/15/2019
  Compensation
  Ordinary Shares
  08/19/2019
  Compensation
  Issuer
  N
  59470
  08/19/2019
  Compensation
  Ordinary Shares
  04/15/2020
  Compensation
  Issuer
  N
  5087
  04/15/2020
  Compensation
  Y
  05/28/2024
  /s/ J.P. Morgan Securities LLC as agent and attorney-in-fact for Michael D.  Capellas