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>0001817754</cik>
            <ccc>XXXXXXXX</ccc>
          </filerCredentials>
        </filer>
        <liveTestFlag>LIVE</liveTestFlag>
  
  
      </filerInfo>
    </headerData>
    <formData>
      <issuerInfo>
        <issuerCik>0000077360</issuerCik>
        <issuerName>PENTAIR plc</issuerName>
        <secFileNumber>001-11625</secFileNumber>
        <issuerAddress>
          <com:street1>REGAL HOUSE, 70 LONDON ROAD</com:street1>
          <com:street2>TWICKENHAM</com:street2>
          <com:city>LONDON</com:city>
          <com:stateOrCountry>X0</com:stateOrCountry>
          <com:zipCode>TW13QS</com:zipCode>
        </issuerAddress>
        <issuerContactPhone>763-545-1730</issuerContactPhone>
        <nameOfPersonForWhoseAccountTheSecuritiesAreToBeSold>Pilla Stephen J</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>7200</noOfUnitsSold>
        <aggregateMarketValue>706608.00</aggregateMarketValue>
        <noOfUnitsOutstanding>165231158</noOfUnitsOutstanding>
        <approxSaleDate>02/13/2025</approxSaleDate>
        <securitiesExchangeName>NYSE</securitiesExchangeName>
      </securitiesInformation>
      <securitiesToBeSold>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <acquiredDate>05/10/2021</acquiredDate>
        <natureOfAcquisitionTransaction>Stock Option Exercise</natureOfAcquisitionTransaction>
        <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
        <isGiftTransaction>N</isGiftTransaction>
        <amountOfSecuritiesAcquired>29</amountOfSecuritiesAcquired>
        <paymentDate>05/10/2021</paymentDate>
        <natureOfPayment>Cash</natureOfPayment>
      </securitiesToBeSold>
      <securitiesToBeSold>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <acquiredDate>06/10/2021</acquiredDate>
        <natureOfAcquisitionTransaction>Stock Option Exercise</natureOfAcquisitionTransaction>
        <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
        <isGiftTransaction>N</isGiftTransaction>
        <amountOfSecuritiesAcquired>18</amountOfSecuritiesAcquired>
        <paymentDate>06/10/2021</paymentDate>
        <natureOfPayment>Cash</natureOfPayment>
      </securitiesToBeSold>
      <securitiesToBeSold>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <acquiredDate>01/04/2022</acquiredDate>
        <natureOfAcquisitionTransaction>Restricted Stock Vesting</natureOfAcquisitionTransaction>
        <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
        <isGiftTransaction>N</isGiftTransaction>
        <amountOfSecuritiesAcquired>778</amountOfSecuritiesAcquired>
        <paymentDate>01/04/2022</paymentDate>
        <natureOfPayment>Compensation</natureOfPayment>
      </securitiesToBeSold>
      <securitiesToBeSold>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <acquiredDate>01/10/2022</acquiredDate>
        <natureOfAcquisitionTransaction>Stock Option Exercise</natureOfAcquisitionTransaction>
        <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
        <isGiftTransaction>N</isGiftTransaction>
        <amountOfSecuritiesAcquired>29</amountOfSecuritiesAcquired>
        <paymentDate>01/10/2022</paymentDate>
        <natureOfPayment>Cash</natureOfPayment>
      </securitiesToBeSold>
      <securitiesToBeSold>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <acquiredDate>09/30/2023</acquiredDate>
        <natureOfAcquisitionTransaction>Restricted Stock Vesting</natureOfAcquisitionTransaction>
        <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
        <isGiftTransaction>N</isGiftTransaction>
        <amountOfSecuritiesAcquired>4740</amountOfSecuritiesAcquired>
        <paymentDate>09/30/2023</paymentDate>
        <natureOfPayment>Compensation</natureOfPayment>
      </securitiesToBeSold>
      <securitiesToBeSold>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <acquiredDate>01/03/2024</acquiredDate>
        <natureOfAcquisitionTransaction>Restricted Stock Vesting</natureOfAcquisitionTransaction>
        <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
        <isGiftTransaction>N</isGiftTransaction>
        <amountOfSecuritiesAcquired>735</amountOfSecuritiesAcquired>
        <paymentDate>01/03/2024</paymentDate>
        <natureOfPayment>Compensation</natureOfPayment>
      </securitiesToBeSold>
      <securitiesToBeSold>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <acquiredDate>01/04/2024</acquiredDate>
        <natureOfAcquisitionTransaction>Restricted Stock Vesting</natureOfAcquisitionTransaction>
        <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
        <isGiftTransaction>N</isGiftTransaction>
        <amountOfSecuritiesAcquired>804</amountOfSecuritiesAcquired>
        <paymentDate>01/04/2024</paymentDate>
        <natureOfPayment>Compensation</natureOfPayment>
      </securitiesToBeSold>
      <securitiesToBeSold>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <acquiredDate>01/10/2024</acquiredDate>
        <natureOfAcquisitionTransaction>Stock Option Exercise</natureOfAcquisitionTransaction>
        <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
        <isGiftTransaction>N</isGiftTransaction>
        <amountOfSecuritiesAcquired>34</amountOfSecuritiesAcquired>
        <paymentDate>01/10/2024</paymentDate>
        <natureOfPayment>Cash</natureOfPayment>
      </securitiesToBeSold>
      <securitiesToBeSold>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <acquiredDate>02/12/2024</acquiredDate>
        <natureOfAcquisitionTransaction>Stock Option Exercise</natureOfAcquisitionTransaction>
        <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
        <isGiftTransaction>N</isGiftTransaction>
        <amountOfSecuritiesAcquired>33</amountOfSecuritiesAcquired>
        <paymentDate>02/12/2024</paymentDate>
        <natureOfPayment>Cash</natureOfPayment>
      </securitiesToBeSold>
      <nothingToReportFlagOnSecuritiesSoldInPast3Months>Y</nothingToReportFlagOnSecuritiesSoldInPast3Months>
      <noticeSignature>
        <noticeDate>02/13/2025</noticeDate>
        <signature>/s/ Jackson Harris, as a duly authorized representative of Fidelity Brokerage Services LLC, as attorney-in-fact for Stephen J Pilla</signature>
      </noticeSignature>
    </formData>
  </edgarSubmission>
metadata_documents: [{"type": "144", "sequence": "1", "filename": "primary_doc.xml", "secsgml_size_bytes": 7113}]
text: 144
  0001817754
  XXXXXXXX
  LIVE
  0000077360
  PENTAIR plc
  001-11625
  REGAL HOUSE, 70 LONDON ROAD
  TWICKENHAM
  LONDON
  X0
  TW13QS
  763-545-1730
  Pilla Stephen J
  Officer
  Common
  Fidelity Brokerage Services LLC
  900 Salem Street
  Smithfield
  RI
  02917
  7200
  706608.00
  165231158
  02/13/2025
  NYSE
  Common
  05/10/2021
  Stock Option Exercise
  Issuer
  N
  29
  05/10/2021
  Cash
  Common
  06/10/2021
  Stock Option Exercise
  Issuer
  N
  18
  06/10/2021
  Cash
  Common
  01/04/2022
  Restricted Stock Vesting
  Issuer
  N
  778
  01/04/2022
  Compensation
  Common
  01/10/2022
  Stock Option Exercise
  Issuer
  N
  29
  01/10/2022
  Cash
  Common
  09/30/2023
  Restricted Stock Vesting
  Issuer
  N
  4740
  09/30/2023
  Compensation
  Common
  01/03/2024
  Restricted Stock Vesting
  Issuer
  N
  735
  01/03/2024
  Compensation
  Common
  01/04/2024
  Restricted Stock Vesting
  Issuer
  N
  804
  01/04/2024
  Compensation
  Common
  01/10/2024
  Stock Option Exercise
  Issuer
  N
  34
  01/10/2024
  Cash
  Common
  02/12/2024
  Stock Option Exercise
  Issuer
  N
  33
  02/12/2024
  Cash
  Y
  02/13/2025
  /s/ Jackson Harris, as a duly authorized representative of Fidelity Brokerage Services LLC, as attorney-in-fact for Stephen J Pilla