Form: 10-K

Annual report pursuant to Section 13 and 15(d)

February 22, 2024


Exhibit 23.1
CONSENT OF INDEPENDENT REGISTERED PUBLIC ACCOUNTING FIRM

We hereby consent to the incorporation by reference in the Registration Statements on Form S-3 (No. 333-248776) and Form S-8 (Nos. 333-267093, 333-231769, 333-226780, 333-193616 and 333-174374) of Quanta Services, Inc. of our report dated February 22, 2024 relating to the financial statements and the effectiveness of internal control over financial reporting, which appears in this Form 10-K.


/s/ PricewaterhouseCoopers LLP
Houston, Texas
February 22, 2024