<?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>0001623477</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>Upperman Dorothy</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>4074</noOfUnitsSold>
      <aggregateMarketValue>749073.07</aggregateMarketValue>
      <noOfUnitsOutstanding>145175564</noOfUnitsOutstanding>
      <approxSaleDate>06/07/2023</approxSaleDate>
      <securitiesExchangeName>NYSE</securitiesExchangeName>
    </securitiesInformation>
    <securitiesToBeSold>
      <securitiesClassTitle>Common</securitiesClassTitle>
      <acquiredDate>02/28/2022</acquiredDate>
      <natureOfAcquisitionTransaction>Restricted Stock Vesting</natureOfAcquisitionTransaction>
      <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
      <isGiftTransaction>N</isGiftTransaction>
      <amountOfSecuritiesAcquired>366</amountOfSecuritiesAcquired>
      <paymentDate>02/28/2022</paymentDate>
      <natureOfPayment>Compensation</natureOfPayment>
    </securitiesToBeSold>
    <securitiesToBeSold>
      <securitiesClassTitle>Common</securitiesClassTitle>
      <acquiredDate>03/02/2022</acquiredDate>
      <natureOfAcquisitionTransaction>Restricted Stock Vesting</natureOfAcquisitionTransaction>
      <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
      <isGiftTransaction>N</isGiftTransaction>
      <amountOfSecuritiesAcquired>2667</amountOfSecuritiesAcquired>
      <paymentDate>03/02/2022</paymentDate>
      <natureOfPayment>Compensation</natureOfPayment>
    </securitiesToBeSold>
    <securitiesToBeSold>
      <securitiesClassTitle>Common</securitiesClassTitle>
      <acquiredDate>03/04/2022</acquiredDate>
      <natureOfAcquisitionTransaction>Restricted Stock Vesting</natureOfAcquisitionTransaction>
      <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
      <isGiftTransaction>N</isGiftTransaction>
      <amountOfSecuritiesAcquired>64</amountOfSecuritiesAcquired>
      <paymentDate>03/04/2022</paymentDate>
      <natureOfPayment>Compensation</natureOfPayment>
    </securitiesToBeSold>
    <securitiesToBeSold>
      <securitiesClassTitle>Common</securitiesClassTitle>
      <acquiredDate>03/26/2022</acquiredDate>
      <natureOfAcquisitionTransaction>Restricted Stock Vesting</natureOfAcquisitionTransaction>
      <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
      <isGiftTransaction>N</isGiftTransaction>
      <amountOfSecuritiesAcquired>977</amountOfSecuritiesAcquired>
      <paymentDate>03/26/2022</paymentDate>
      <natureOfPayment>Compensation</natureOfPayment>
    </securitiesToBeSold>
    <nothingToReportFlagOnSecuritiesSoldInPast3Months>Y</nothingToReportFlagOnSecuritiesSoldInPast3Months>
    <noticeSignature>
      <noticeDate>06/07/2023</noticeDate>
      <signature>/s/Wade Moss, as a duly authorized representative of Fidelity Brokerage Services LLC, as attorney-in-fact for Dorothy C Upperman</signature>
    </noticeSignature>
  </formData>
</edgarSubmission>
[{"type": "144", "sequence": "1", "filename": "primary_doc.xml", "secsgml_size_bytes": 4448}]
144
0001623477
XXXXXXXX
LIVE
0001050915
QUANTA SERVICES, INC.
001-13831
2727 NORTH LOOP WEST
HOUSTON
TX
77008-1044
713-629-7600
Upperman Dorothy
Officer
Common
Fidelity Brokerage Services LLC
900 Salem Street
Smithfield
RI
02917
4074
749073.07
145175564
06/07/2023
NYSE
Common
02/28/2022
Restricted Stock Vesting
Issuer
N
366
02/28/2022
Compensation
Common
03/02/2022
Restricted Stock Vesting
Issuer
N
2667
03/02/2022
Compensation
Common
03/04/2022
Restricted Stock Vesting
Issuer
N
64
03/04/2022
Compensation
Common
03/26/2022
Restricted Stock Vesting
Issuer
N
977
03/26/2022
Compensation
Y
06/07/2023
/s/Wade Moss, as a duly authorized representative of Fidelity Brokerage Services LLC, as attorney-in-fact for Dorothy C Upperman