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>0000905631</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>JONES DAVID A /WI</nameOfPersonForWhoseAccountTheSecuritiesAreToBeSold>
        <relationshipsToIssuer>
          <relationshipToIssuer>Director</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>2260</noOfUnitsSold>
        <aggregateMarketValue>153341.00</aggregateMarketValue>
        <noOfUnitsOutstanding>165298959</noOfUnitsOutstanding>
        <approxSaleDate>12/13/2023</approxSaleDate>
        <securitiesExchangeName>NYSE</securitiesExchangeName>
      </securitiesInformation>
      <securitiesToBeSold>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <acquiredDate>12/13/2023</acquiredDate>
        <natureOfAcquisitionTransaction>Option Granted 01/02/2014</natureOfAcquisitionTransaction>
        <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
        <isGiftTransaction>N</isGiftTransaction>
        <amountOfSecuritiesAcquired>2260</amountOfSecuritiesAcquired>
        <paymentDate>12/13/2023</paymentDate>
        <natureOfPayment>Cash</natureOfPayment>
      </securitiesToBeSold>
      <nothingToReportFlagOnSecuritiesSoldInPast3Months>Y</nothingToReportFlagOnSecuritiesSoldInPast3Months>
      <noticeSignature>
        <noticeDate>12/13/2023</noticeDate>
        <planAdoptionDates>
          <planAdoptionDate>08/17/2023</planAdoptionDate>
        </planAdoptionDates>
        <signature>/s/Wade Moss, as a duly authorized representative of Fidelity Brokerage Services LLC, as attorney-in-fact for David Arthur Jones</signature>
      </noticeSignature>
    </formData>
  </edgarSubmission>
metadata_documents: [{"type": "144", "sequence": "1", "filename": "primary_doc.xml", "secsgml_size_bytes": 2980}]
text: 144
  0000905631
  XXXXXXXX
  LIVE
  0000077360
  PENTAIR plc
  001-11625
  REGAL HOUSE, 70 LONDON ROAD
  TWICKENHAM
  LONDON
  X0
  TW13QS
  763-545-1730
  JONES DAVID A /WI
  Director
  Common
  Fidelity Brokerage Services LLC
  900 Salem Street
  Smithfield
  RI
  02917
  2260
  153341.00
  165298959
  12/13/2023
  NYSE
  Common
  12/13/2023
  Option Granted 01/02/2014
  Issuer
  N
  2260
  12/13/2023
  Cash
  Y
  12/13/2023
  08/17/2023
  /s/Wade Moss, as a duly authorized representative of Fidelity Brokerage Services LLC, as attorney-in-fact for David Arthur Jones