Form: 10-K

Annual report pursuant to Section 13 and 15(d)

February 29, 2016

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-8 (Nos. 333-143923, 333-142279, 333-174306, 333-174374 and 333-193616) and Form S-3 (Nos. 333-81419, 333-90961, 333-114938, 333-119134 and 333-189644) of Quanta Services, Inc. of our report dated February 29, 2016 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 29, 2016