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>0001182750</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>SHANNON MARGARET B</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>8515</noOfUnitsSold>
        <aggregateMarketValue>2042918.80</aggregateMarketValue>
        <noOfUnitsOutstanding>145748976</noOfUnitsOutstanding>
        <approxSaleDate>03/01/2024</approxSaleDate>
        <securitiesExchangeName>NYSE</securitiesExchangeName>
      </securitiesInformation>
      <securitiesToBeSold>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <acquiredDate>05/28/2020</acquiredDate>
        <natureOfAcquisitionTransaction>Restricted Stock Vesting</natureOfAcquisitionTransaction>
        <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
        <isGiftTransaction>N</isGiftTransaction>
        <amountOfSecuritiesAcquired>2527</amountOfSecuritiesAcquired>
        <paymentDate>05/28/2020</paymentDate>
        <natureOfPayment>Compensation</natureOfPayment>
      </securitiesToBeSold>
      <securitiesToBeSold>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <acquiredDate>06/01/2021</acquiredDate>
        <natureOfAcquisitionTransaction>Restricted Stock Vesting</natureOfAcquisitionTransaction>
        <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
        <isGiftTransaction>N</isGiftTransaction>
        <amountOfSecuritiesAcquired>4425</amountOfSecuritiesAcquired>
        <paymentDate>06/01/2021</paymentDate>
        <natureOfPayment>Compensation</natureOfPayment>
      </securitiesToBeSold>
      <securitiesToBeSold>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <acquiredDate>06/01/2022</acquiredDate>
        <natureOfAcquisitionTransaction>Restricted Stock Vesting</natureOfAcquisitionTransaction>
        <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
        <isGiftTransaction>N</isGiftTransaction>
        <amountOfSecuritiesAcquired>1563</amountOfSecuritiesAcquired>
        <paymentDate>06/01/2022</paymentDate>
        <natureOfPayment>Compensation</natureOfPayment>
      </securitiesToBeSold>
      <nothingToReportFlagOnSecuritiesSoldInPast3Months>Y</nothingToReportFlagOnSecuritiesSoldInPast3Months>
      <noticeSignature>
        <noticeDate>03/01/2024</noticeDate>
        <signature>/s/ Bradley Camilo, as a duly authorized representative of Fidelity Brokerage Services LLC, as attorney-in-fact for Margaret Shannon</signature>
      </noticeSignature>
    </formData>
  </edgarSubmission>
metadata_documents: [{"type": "144", "sequence": "1", "filename": "primary_doc.xml", "secsgml_size_bytes": 3922}]
text: 144
  0001182750
  XXXXXXXX
  LIVE
  0001050915
  QUANTA SERVICES, INC.
  001-13831
  2727 NORTH LOOP WEST
  HOUSTON
  TX
  77008-1044
  713-629-7600
  SHANNON MARGARET B
  Director
  Common
  Fidelity Brokerage Services LLC
  900 Salem Street
  Smithfield
  RI
  02917
  8515
  2042918.80
  145748976
  03/01/2024
  NYSE
  Common
  05/28/2020
  Restricted Stock Vesting
  Issuer
  N
  2527
  05/28/2020
  Compensation
  Common
  06/01/2021
  Restricted Stock Vesting
  Issuer
  N
  4425
  06/01/2021
  Compensation
  Common
  06/01/2022
  Restricted Stock Vesting
  Issuer
  N
  1563
  06/01/2022
  Compensation
  Y
  03/01/2024
  /s/ Bradley Camilo, as a duly authorized representative of Fidelity Brokerage Services LLC, as attorney-in-fact for Margaret Shannon