v3.25.4
ACQUISITIONS - Additional Information (Details)
$ in Thousands
12 Months Ended
Jul. 25, 2025
USD ($)
shares
Jul. 17, 2024
USD ($)
shares
Dec. 31, 2025
USD ($)
business
shares
Dec. 31, 2024
USD ($)
business
shares
Dec. 31, 2023
USD ($)
business
shares
Business Combination [Line Items]          
Cash consideration, net of cash acquired     $ 3,052,116 $ 1,745,735 $ 651,623
Fair value of contingent consideration liability     593,829 344,984  
Cash payment for contingent consideration liabilities     $ 106,800   5,000
Stock issued as payment for contingent consideration liabilities (in shares) | shares     158,040    
Underground and Infrastructure          
Business Combination [Line Items]          
Goodwill adjustment, increase due to certain contingent consideration adjustments     $ 44,000    
Goodwill adjustment, increase due to certain post-closing adjustments       58,500  
Dynamic Systems, LLC          
Business Combination [Line Items]          
Cash consideration $ 1,260,000   1,264,009    
Number of shares granted for acquired companies (in shares) | shares 518,772        
Common stock consideration transferred in business acquisition $ 218,800        
Contingent consideration payments (up to) $ 216,000        
Financial performance targets to be achieved, term 2 years        
Percentage of consideration that can be paid in stock 15.00%        
Fair value of total consideration transferred or estimated to be transferred     1,673,326    
Value of Quanta common stock issued     218,756    
Fair value of contingent consideration liability     190,561    
2025 Acquisitions, Excluding Dynamic Systems          
Business Combination [Line Items]          
Cash consideration     $ 1,997,842    
Number of shares granted for acquired companies (in shares) | shares     789,824    
Common stock consideration transferred in business acquisition     $ 284,500    
Contingent consideration payments (up to)     $ 228,000    
Financial performance targets to be achieved, term     3 years    
Percentage of contingent consideration amounts     0.2500    
Number of businesses acquired | business     7    
Fair value of total consideration transferred or estimated to be transferred     $ 2,471,057    
Value of Quanta common stock issued     284,478    
Fair value of contingent consideration liability     $ 188,737    
Civil Solutions Acquisitions          
Business Combination [Line Items]          
Number of businesses acquired | business     2    
CEI          
Business Combination [Line Items]          
Cash consideration       1,654,967  
Number of shares granted for acquired companies (in shares) | shares   882,926      
Contingent consideration payments (up to)   $ 200,000      
Financial performance targets to be achieved, term   3 years      
Percentage of consideration that can be paid in stock   10.00%      
Fair value of total consideration transferred or estimated to be transferred   $ 2,040,000   2,035,230  
Aggregate cash consideration paid   1,650,000      
Value of Quanta common stock issued   216,300   216,264  
Cash consideration, net of cash acquired   $ 1,240,000      
Fair value of contingent consideration liability       163,999  
2024 Acquisitions, Excluding CEI          
Business Combination [Line Items]          
Cash consideration       $ 540,882  
Number of shares granted for acquired companies (in shares) | shares       334,472  
Number of businesses acquired | business       7  
Fair value of total consideration transferred or estimated to be transferred       $ 639,945  
Value of Quanta common stock issued       74,797  
Fair value of contingent consideration liability       24,266  
Acquisitions 2025          
Business Combination [Line Items]          
Goodwill expected to be deductible for income tax     $ 1,750,000    
Acquisitions 2024          
Business Combination [Line Items]          
Goodwill expected to be deductible for income tax       $ 43,200  
Acquisitions 2023          
Business Combination [Line Items]          
Cash consideration         $ 780,800
Number of shares granted for acquired companies (in shares) | shares         1,238,576
Number of businesses acquired | business         5
Value of Quanta common stock issued         $ 158,900
Goodwill expected to be deductible for income tax         $ 380,600
Acquisitions Completed Prior to 2025          
Business Combination [Line Items]          
Contingent consideration payments (up to)     $ 713,000