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>0001101864</cik>
            <ccc>XXXXXXXX</ccc>
          </filerCredentials>
        </filer>
        <liveTestFlag>LIVE</liveTestFlag>
  
  
  
      </filerInfo>
    </headerData>
    <formData>
      <issuerInfo>
        <issuerCik>0001050915</issuerCik>
        <issuerName>QUANTA SERVICES, INC.</issuerName>
        <secFileNumber>001-13831</secFileNumber>
        <issuerAddress>
          <com:street1>2727 NORTH LOOP WEST</com:street1>
          <com:city>HOUSTON</com:city>
          <com:stateOrCountry>TX</com:stateOrCountry>
          <com:zipCode>77008-1044</com:zipCode>
        </issuerAddress>
        <issuerContactPhone>713-629-7600</issuerContactPhone>
        <nameOfPersonForWhoseAccountTheSecuritiesAreToBeSold>WAYNE DONALD</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>595</noOfUnitsSold>
        <aggregateMarketValue>142567.95</aggregateMarketValue>
        <noOfUnitsOutstanding>145748976</noOfUnitsOutstanding>
        <approxSaleDate>03/12/2024</approxSaleDate>
        <securitiesExchangeName>NYSE</securitiesExchangeName>
      </securitiesInformation>
      <securitiesToBeSold>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <acquiredDate>03/09/2024</acquiredDate>
        <natureOfAcquisitionTransaction>Restricted Stock Vesting</natureOfAcquisitionTransaction>
        <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
        <isGiftTransaction>N</isGiftTransaction>
        <amountOfSecuritiesAcquired>595</amountOfSecuritiesAcquired>
        <paymentDate>03/09/2024</paymentDate>
        <natureOfPayment>Compensation</natureOfPayment>
      </securitiesToBeSold>
      <nothingToReportFlagOnSecuritiesSoldInPast3Months>N</nothingToReportFlagOnSecuritiesSoldInPast3Months>
      <securitiesSoldInPast3Months>
        <sellerDetails>
          <name>Donald C. Wayne</name>
          <address>
            <com:street1>2727 North Loop West</com:street1>
            <com:city>Houston</com:city>
            <com:stateOrCountry>TX</com:stateOrCountry>
            <com:zipCode>77008</com:zipCode>
          </address>
        </sellerDetails>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <saleDate>03/04/2024</saleDate>
        <amountOfSecuritiesSold>8842</amountOfSecuritiesSold>
        <grossProceeds>2142151.34</grossProceeds>
      </securitiesSoldInPast3Months>
      <securitiesSoldInPast3Months>
        <sellerDetails>
          <name>Donald C. Wayne</name>
          <address>
            <com:street1>2727 North Loop West</com:street1>
            <com:city>Houston</com:city>
            <com:stateOrCountry>TX</com:stateOrCountry>
            <com:zipCode>77008</com:zipCode>
          </address>
        </sellerDetails>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <saleDate>03/05/2024</saleDate>
        <amountOfSecuritiesSold>904</amountOfSecuritiesSold>
        <grossProceeds>218596.24</grossProceeds>
      </securitiesSoldInPast3Months>
      <noticeSignature>
        <noticeDate>03/12/2024</noticeDate>
        <planAdoptionDates>
          <planAdoptionDate>05/15/2023</planAdoptionDate>
        </planAdoptionDates>
        <signature>/s/ Bradley Camilo, as a duly authorized representative of Fidelity Brokerage Services LLC, as attorney-in-fact for Donald C. Wayne</signature>
      </noticeSignature>
    </formData>
  </edgarSubmission>
metadata_documents: [{"type": "144", "sequence": "1", "filename": "primary_doc.xml", "secsgml_size_bytes": 4114}]
text: 144
  0001101864
  XXXXXXXX
  LIVE
  0001050915
  QUANTA SERVICES, INC.
  001-13831
  2727 NORTH LOOP WEST
  HOUSTON
  TX
  77008-1044
  713-629-7600
  WAYNE DONALD
  Officer
  Common
  Fidelity Brokerage Services LLC
  900 Salem Street
  Smithfield
  RI
  02917
  595
  142567.95
  145748976
  03/12/2024
  NYSE
  Common
  03/09/2024
  Restricted Stock Vesting
  Issuer
  N
  595
  03/09/2024
  Compensation
  N
  Donald C. Wayne
  2727 North Loop West
  Houston
  TX
  77008
  Common
  03/04/2024
  8842
  2142151.34
  Donald C. Wayne
  2727 North Loop West
  Houston
  TX
  77008
  Common
  03/05/2024
  904
  218596.24
  03/12/2024
  05/15/2023
  /s/ Bradley Camilo, as a duly authorized representative of Fidelity Brokerage Services LLC, as attorney-in-fact for Donald C. Wayne