XML 54 R42.htm IDEA: XBRL DOCUMENT
v3.25.2

Revenue from Contracts with Customers - Schedule of Disaggregation of Revenues (Details) - USD ($) $ in Thousands | 3 Months Ended | 6 Months Ended
--- | --- | ---
Jun. 30, 2025 | Jun. 30, 2024 | Jun. 30, 2025 | Jun. 30, 2024
Disaggregation of Revenue [Line Items] |  |  |  |  |
Revenues from unrelated entities |  | $ 4,304,400 | $ 3,666,897 | $ 8,171,772 | $ 7,099,173
UNITED STATES |  |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |  |
Revenues from unrelated entities |  | 4,169,836 | 3,560,330 | 7,931,907 | 6,887,919
United States Electrical Construction And Facilities Services [Member] | UNITED STATES |  |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |  |
Revenues from unrelated entities |  | 1,340,247 | 799,994 | 2,428,091 | 1,564,705
United States Electrical Construction And Facilities Services [Member] | UNITED STATES | Operating Segments [Member] |  |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |  |
Revenues from unrelated entities |  | 1,341,883 | 801,587 | 2,431,833 | 1,566,789
United States Electrical Construction And Facilities Services [Member] | UNITED STATES | Operating Segments [Member] | Network and Communications Market Sector [Member] |  |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |  |
Revenues from unrelated entities |  | $ 669,966 | $ 325,021 | $ 1,186,303 | $ 634,561
Percent of total segment revenues |  | 50.00% | 40.00% | 49.00% | 41.00%
United States Electrical Construction And Facilities Services [Member] | UNITED STATES | Operating Segments [Member] | Commercial Market Sector [Member] |  |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |  |
Revenues from unrelated entities |  | $ 116,536 | $ 69,551 | $ 215,094 | $ 162,999
Percent of total segment revenues |  | 8.00% | 9.00% | 9.00% | 10.00%
United States Electrical Construction And Facilities Services [Member] | UNITED STATES | Operating Segments [Member] | Manufacturing and Industrial Market Sector [Member] |  |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |  |
Revenues from unrelated entities |  | $ 111,158 | $ 103,375 | $ 209,633 | $ 203,926
Percent of total segment revenues |  | 8.00% | 13.00% | 8.00% | 13.00%
United States Electrical Construction And Facilities Services [Member] | UNITED STATES | Operating Segments [Member] | Healthcare Market Sector [Member] |  |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |  |
Revenues from unrelated entities |  | $ 133,680 | $ 61,577 | $ 241,416 | $ 114,957
Percent of total segment revenues |  | 10.00% | 8.00% | 10.00% | 7.00%
United States Electrical Construction And Facilities Services [Member] | UNITED STATES | Operating Segments [Member] | High-Tech Manufacturing Market Sector [Member] |  |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |  |
Revenues from unrelated entities |  | $ 36,114 | $ 53,103 | $ 81,124 | $ 88,346
Percent of total segment revenues |  | 3.00% | 7.00% | 3.00% | 6.00%
United States Electrical Construction And Facilities Services [Member] | UNITED STATES | Operating Segments [Member] | Institutional Market Sector [Member] |  |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |  |
Revenues from unrelated entities |  | $ 67,372 | $ 38,501 | $ 119,081 | $ 76,571
Percent of total segment revenues |  | 5.00% | 5.00% | 5.00% | 5.00%
United States Electrical Construction And Facilities Services [Member] | UNITED STATES | Operating Segments [Member] | Transportation Market Sector [Member] |  |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |  |
Revenues from unrelated entities |  | $ 66,528 | $ 56,357 | $ 128,556 | $ 99,981
Percent of total segment revenues |  | 5.00% | 7.00% | 5.00% | 6.00%
United States Electrical Construction And Facilities Services [Member] | UNITED STATES | Operating Segments [Member] | Water and Wastewater Market Sector [Member] |  |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |  |
Revenues from unrelated entities |  | $ 7,527 | $ 11,092 | $ 20,286 | $ 15,299
Percent of total segment revenues |  | 1.00% | 1.00% | 1.00% | 1.00%
United States Electrical Construction And Facilities Services [Member] | UNITED STATES | Operating Segments [Member] | Hospitality and Entertainment Market Sector [Member] |  |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |  |
Revenues from unrelated entities |  | $ 26,401 | $ 16,353 | $ 49,625 | $ 38,308
Percent of total segment revenues |  | 2.00% | 2.00% | 2.00% | 2.00%
United States Electrical Construction And Facilities Services [Member] | UNITED STATES | Operating Segments [Member] | Short-Duration Projects [Member] |  |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |  |
Revenues from unrelated entities | [1] | $ 84,705 | $ 51,224 | $ 139,682 | $ 102,283
Percent of total segment revenues |  | 6.00% | 6.00% | 6.00% | 7.00%
United States Electrical Construction And Facilities Services [Member] | UNITED STATES | Operating Segments [Member] | Service Work [Member] |  |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |  |
Revenues from unrelated entities |  | $ 21,896 | $ 15,433 | $ 41,033 | $ 29,558
Percent of total segment revenues |  | 2.00% | 2.00% | 2.00% | 2.00%
United States Electrical Construction And Facilities Services [Member] | UNITED STATES | Intersegment Eliminations [Member] |  |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |  |
Revenues from unrelated entities |  | $ (1,636) | $ (1,593) | $ (3,742) | $ (2,084)
United States Mechanical Construction And Facilities Services [Member] | UNITED STATES |  |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |  |
Revenues from unrelated entities |  | 1,755,258 | 1,655,181 | 3,327,860 | 3,082,846
United States Mechanical Construction And Facilities Services [Member] | UNITED STATES | Operating Segments [Member] |  |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |  |
Revenues from unrelated entities |  | 1,756,632 | 1,656,931 | 3,330,253 | 3,085,912
United States Mechanical Construction And Facilities Services [Member] | UNITED STATES | Operating Segments [Member] | Network and Communications Market Sector [Member] |  |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |  |
Revenues from unrelated entities |  | $ 389,676 | $ 174,623 | $ 720,037 | $ 305,704
Percent of total segment revenues |  | 22.00% | 11.00% | 21.00% | 10.00%
United States Mechanical Construction And Facilities Services [Member] | UNITED STATES | Operating Segments [Member] | Commercial Market Sector [Member] |  |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |  |
Revenues from unrelated entities |  | $ 217,007 | $ 272,368 | $ 396,910 | $ 532,138
Percent of total segment revenues |  | 12.00% | 16.00% | 12.00% | 17.00%
United States Mechanical Construction And Facilities Services [Member] | UNITED STATES | Operating Segments [Member] | Manufacturing and Industrial Market Sector [Member] |  |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |  |
Revenues from unrelated entities |  | $ 229,622 | $ 204,649 | $ 407,523 | $ 392,375
Percent of total segment revenues |  | 13.00% | 12.00% | 12.00% | 13.00%
United States Mechanical Construction And Facilities Services [Member] | UNITED STATES | Operating Segments [Member] | Healthcare Market Sector [Member] |  |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |  |
Revenues from unrelated entities |  | $ 150,052 | $ 156,171 | $ 293,615 | $ 273,424
Percent of total segment revenues |  | 9.00% | 9.00% | 9.00% | 9.00%
United States Mechanical Construction And Facilities Services [Member] | UNITED STATES | Operating Segments [Member] | High-Tech Manufacturing Market Sector [Member] |  |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |  |
Revenues from unrelated entities |  | $ 281,434 | $ 376,876 | $ 563,805 | $ 687,806
Percent of total segment revenues |  | 16.00% | 23.00% | 17.00% | 22.00%
United States Mechanical Construction And Facilities Services [Member] | UNITED STATES | Operating Segments [Member] | Institutional Market Sector [Member] |  |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |  |
Revenues from unrelated entities |  | $ 112,711 | $ 126,030 | $ 197,567 | $ 224,384
Percent of total segment revenues |  | 6.00% | 8.00% | 6.00% | 7.00%
United States Mechanical Construction And Facilities Services [Member] | UNITED STATES | Operating Segments [Member] | Transportation Market Sector [Member] |  |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |  |
Revenues from unrelated entities |  | $ 10,053 | $ 15,650 | $ 24,169 | $ 29,662
Percent of total segment revenues |  | 1.00% | 1.00% | 1.00% | 1.00%
United States Mechanical Construction And Facilities Services [Member] | UNITED STATES | Operating Segments [Member] | Water and Wastewater Market Sector [Member] |  |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |  |
Revenues from unrelated entities |  | $ 90,239 | $ 87,009 | $ 166,687 | $ 150,443
Percent of total segment revenues |  | 5.00% | 5.00% | 5.00% | 5.00%
United States Mechanical Construction And Facilities Services [Member] | UNITED STATES | Operating Segments [Member] | Hospitality and Entertainment Market Sector [Member] |  |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |  |
Revenues from unrelated entities |  | $ 36,862 | $ 16,775 | $ 66,067 | $ 29,630
Percent of total segment revenues |  | 2.00% | 1.00% | 2.00% | 1.00%
United States Mechanical Construction And Facilities Services [Member] | UNITED STATES | Operating Segments [Member] | Short-Duration Projects [Member] |  |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |  |
Revenues from unrelated entities | [1] | $ 86,203 | $ 77,615 | $ 194,729 | $ 182,831
Percent of total segment revenues |  | 5.00% | 5.00% | 6.00% | 6.00%
United States Mechanical Construction And Facilities Services [Member] | UNITED STATES | Operating Segments [Member] | Service Work [Member] |  |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |  |
Revenues from unrelated entities |  | $ 152,773 | $ 149,165 | $ 299,144 | $ 277,515
Percent of total segment revenues |  | 9.00% | 9.00% | 9.00% | 9.00%
United States Mechanical Construction And Facilities Services [Member] | UNITED STATES | Intersegment Eliminations [Member] |  |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |  |
Revenues from unrelated entities |  | $ (1,374) | $ (1,750) | $ (2,393) | $ (3,066)
United States Building Services [Member] | UNITED STATES |  |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |  |
Revenues from unrelated entities |  | 793,259 | 781,108 | 1,535,882 | 1,562,268
United States Building Services [Member] | UNITED STATES | Mechanical Services [Member] |  |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |  |
Revenues from unrelated entities |  | $ 619,516 | $ 581,735 | $ 1,178,002 | $ 1,095,883
Percent of total segment revenues |  | 78.00% | 75.00% | 77.00% | 70.00%
United States Building Services [Member] | UNITED STATES | Commercial Site-Based Services [Member] |  |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |  |
Revenues from unrelated entities |  | $ 133,560 | $ 151,872 | $ 276,869 | $ 370,501
Percent of total segment revenues |  | 17.00% | 19.00% | 18.00% | 24.00%
United States Building Services [Member] | UNITED STATES | Government Site-Based Services [Member] |  |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |  |
Revenues from unrelated entities |  | $ 40,183 | $ 47,501 | $ 81,011 | $ 95,884
Percent of total segment revenues |  | 5.00% | 6.00% | 5.00% | 6.00%
United States Industrial Services [Member] | UNITED STATES |  |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |  |
Revenues from unrelated entities |  | $ 281,072 | $ 324,047 | $ 640,074 | $ 678,100
United States Industrial Services [Member] | UNITED STATES | Field Services [Member] |  |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |  |
Revenues from unrelated entities |  | $ 241,930 | $ 275,871 | $ 559,597 | $ 585,672
Percent of total segment revenues |  | 86.00% | 85.00% | 87.00% | 86.00%
United States Industrial Services [Member] | UNITED STATES | Shop Services [Member] |  |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |  |
Revenues from unrelated entities |  | $ 39,142 | $ 48,176 | $ 80,477 | $ 92,428
Percent of total segment revenues |  | 14.00% | 15.00% | 13.00% | 14.00%
United Kingdom Building Services [Member] [Member] | UNITED KINGDOM |  |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |  |
Revenues from unrelated entities |  | $ 134,564 | $ 106,567 | $ 239,865 | $ 211,254
United Kingdom Building Services [Member] [Member] | UNITED KINGDOM | Service Work [Member] |  |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |  |
Revenues from unrelated entities |  | $ 69,661 | $ 51,160 | $ 117,692 | $ 101,004
Percent of total segment revenues |  | 52.00% | 48.00% | 49.00% | 48.00%
United Kingdom Building Services [Member] [Member] | UNITED KINGDOM | Project Work [Member] |  |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |  |
Revenues from unrelated entities |  | $ 64,903 | $ 55,407 | $ 122,173 | $ 110,250
Percent of total segment revenues |  | 48.00% | 52.00% | 51.00% | 52.00%
[1] | Represents those projects which generally are completed within three months or less.

X
- Definition Percentage of total segment revenues. + References No definition available. + Details
Name: | eme_PercentageOfIndividualSegmentRevenues
Namespace Prefix: | eme_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 606 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 7 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479806/606-10-50-7 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 606 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479806/606-10-50-5 Reference 3: http://www.xbrl.org/2003/role/exampleRef -Topic 606 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 91 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479777/606-10-55-91 Reference 4: http://www.xbrl.org/2003/role/exampleRef -Topic 606 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 91 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479777/606-10-55-91 Reference 5: http://www.xbrl.org/2003/role/exampleRef -Topic 606 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 91 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479777/606-10-55-91 Reference 6: http://www.xbrl.org/2003/role/exampleRef -Topic 606 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 91 -Subparagraph (d) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479777/606-10-55-91 Reference 7: http://www.xbrl.org/2003/role/exampleRef -Topic 606 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 91 -Subparagraph (e) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479777/606-10-55-91 Reference 8: http://www.xbrl.org/2003/role/exampleRef -Topic 606 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 91 -Subparagraph (f) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479777/606-10-55-91 Reference 9: http://www.xbrl.org/2003/role/exampleRef -Topic 606 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 91 -Subparagraph (g) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479777/606-10-55-91 + Details
Name: | us-gaap_DisaggregationOfRevenueLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount, including tax collected from customer, of revenue from satisfaction of performance obligation by transferring promised good or service to customer. Tax collected from customer is tax assessed by governmental authority that is both imposed on and concurrent with specific revenue-producing transaction, including, but not limited to, sales, use, value-added and excise. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 280 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 41 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482810/280-10-50-41 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 280 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 42 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482810/280-10-50-42 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 606 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 7 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479806/606-10-50-7 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 270 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (i) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482964/270-10-50-1 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 280 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 32 -Subparagraph (ee) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482810/280-10-50-32 Reference 6: http://fasb.org/us-gaap/role/ref/otherTransitionRef -Topic 280 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 32 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482810/280-10-50-32 Reference 7: http://fasb.org/us-gaap/role/ref/otherTransitionRef -Topic 280 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 32 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482810/280-10-50-32 Reference 8: http://www.xbrl.org/2003/role/disclosureRef -Topic 924 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SAB Topic 11.L) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479941/924-10-S99-1 Reference 9: http://www.xbrl.org/2003/role/disclosureRef -Topic 606 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479806/606-10-50-5 Reference 10: http://www.xbrl.org/2003/role/disclosureRef -Topic 280 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 30 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482810/280-10-50-30 Reference 11: http://www.xbrl.org/2003/role/disclosureRef -Topic 280 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 22 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482810/280-10-50-22 Reference 12: http://www.xbrl.org/2003/role/disclosureRef -Topic 280 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 40 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482810/280-10-50-40 Reference 13: http://www.xbrl.org/2003/role/disclosureRef -Topic 280 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 22 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482810/280-10-50-22 Reference 14: http://www.xbrl.org/2003/role/disclosureRef -Topic 606 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479806/606-10-50-4 + Details
Name: | us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Details
Name: | srt_StatementGeographicalAxis=country_US
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementBusinessSegmentsAxis=eme_UnitedStatesElectricalConstructionAndFacilitiesServicesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ConsolidationItemsAxis=us-gaap_OperatingSegmentsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ProductOrServiceAxis=eme_NetworkandCommunicationsMarketSectorMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ProductOrServiceAxis=eme_CommercialMarketSectorMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ProductOrServiceAxis=eme_ManufacturingandIndustrialMarketSectorMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ProductOrServiceAxis=eme_HealthcareMarketSectorMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ProductOrServiceAxis=eme_HighTechManufacturingMarketSectorMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ProductOrServiceAxis=eme_InstitutionalMarketSectorMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ProductOrServiceAxis=eme_TransportationMarketSectorMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ProductOrServiceAxis=eme_WaterandWastewaterMarketSectorMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ProductOrServiceAxis=eme_HospitalityandEntertainmentMarketSectorMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ProductOrServiceAxis=eme_ShortDurationProjectsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ProductOrServiceAxis=eme_ServiceWorkMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ConsolidationItemsAxis=us-gaap_IntersegmentEliminationMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementBusinessSegmentsAxis=eme_UnitedStatesMechanicalConstructionAndFacilitiesServicesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementBusinessSegmentsAxis=eme_UnitedStatesBuildingServicesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ProductOrServiceAxis=eme_MechanicalServicesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ProductOrServiceAxis=eme_CommercialSiteBasedServicesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ProductOrServiceAxis=eme_GovernmentSiteBasedServicesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementBusinessSegmentsAxis=eme_UnitedStatesIndustrialServicesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ProductOrServiceAxis=eme_FieldServicesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ProductOrServiceAxis=eme_ShopServicesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementBusinessSegmentsAxis=eme_UnitedKingdomBuildingServicesMemberMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_StatementGeographicalAxis=country_GB
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ProductOrServiceAxis=eme_ProjectWorkMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |