XML 54 R40.htm IDEA: XBRL DOCUMENT
v3.24.2

Revenue from Contracts with Customers - Schedule of Disaggregation of Revenues (Details) - USD ($) $ in Thousands | 3 Months Ended | 6 Months Ended
--- | --- | ---
Jun. 30, 2024 | Jun. 30, 2023 | Jun. 30, 2024 | Jun. 30, 2023
Disaggregation of Revenue [Line Items] |  |  |  |  |
Revenues from unrelated entities |  | $ 3,666,897 | $ 3,045,622 | $ 7,099,173 | $ 5,936,054
UNITED STATES |  |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |  |
Revenues from unrelated entities |  | 3,560,330 | 2,939,575 | 6,887,919 | 5,719,137
United States Electrical Construction And Facilities Services [Member] | UNITED STATES |  |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |  |
Revenues from unrelated entities |  | 799,994 | 678,167 | 1,564,705 | 1,322,913
United States Electrical Construction And Facilities Services [Member] | UNITED STATES | Operating Segments [Member] |  |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |  |
Revenues from unrelated entities |  | 801,587 | 678,709 | 1,566,789 | 1,324,236
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 |  | $ 325,021 | $ 215,288 | $ 634,561 | $ 429,039
Percent of total segment revenues |  | 40.00% | 32.00% | 41.00% | 32.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 |  | $ 69,551 | $ 93,820 | $ 162,999 | $ 190,918
Percent of total segment revenues |  | 9.00% | 14.00% | 10.00% | 14.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 |  | $ 103,375 | $ 95,883 | $ 203,926 | $ 181,124
Percent of total segment revenues |  | 13.00% | 14.00% | 13.00% | 14.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 |  | $ 61,577 | $ 64,813 | $ 114,957 | $ 120,316
Percent of total segment revenues |  | 8.00% | 9.00% | 7.00% | 9.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 |  | $ 53,103 | $ 38,039 | $ 88,346 | $ 68,593
Percent of total segment revenues |  | 7.00% | 6.00% | 6.00% | 5.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 |  | $ 38,501 | $ 37,250 | $ 76,571 | $ 74,661
Percent of total segment revenues |  | 5.00% | 5.00% | 5.00% | 6.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 |  | $ 56,357 | $ 41,247 | $ 99,981 | $ 75,149
Percent of total segment revenues |  | 7.00% | 6.00% | 6.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 |  | $ 11,092 | $ 4,603 | $ 15,299 | $ 12,061
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 |  | $ 16,353 | $ 19,750 | $ 38,308 | $ 39,802
Percent of total segment revenues |  | 2.00% | 3.00% | 2.00% | 3.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] | $ 51,224 | $ 50,740 | $ 102,283 | $ 98,420
Percent of total segment revenues |  | 6.00% | 7.00% | 7.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 |  | $ 15,433 | $ 17,276 | $ 29,558 | $ 34,153
Percent of total segment revenues |  | 2.00% | 3.00% | 2.00% | 3.00%
United States Electrical Construction And Facilities Services [Member] | UNITED STATES | Intersegment Eliminations [Member] |  |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |  |
Revenues from unrelated entities |  | $ (1,593) | $ (542) | $ (2,084) | $ (1,323)
United States Mechanical Construction And Facilities Services [Member] | UNITED STATES |  |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |  |
Revenues from unrelated entities |  | 1,655,181 | 1,194,113 | 3,082,846 | 2,272,671
United States Mechanical Construction And Facilities Services [Member] | UNITED STATES | Operating Segments [Member] |  |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |  |
Revenues from unrelated entities |  | 1,656,931 | 1,195,812 | 3,085,912 | 2,275,848
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 |  | $ 174,623 | $ 87,034 | $ 305,704 | $ 186,455
Percent of total segment revenues |  | 11.00% | 7.00% | 10.00% | 8.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 |  | $ 272,368 | $ 289,304 | $ 532,138 | $ 545,150
Percent of total segment revenues |  | 16.00% | 24.00% | 17.00% | 24.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 |  | $ 204,649 | $ 166,051 | $ 392,375 | $ 307,686
Percent of total segment revenues |  | 12.00% | 14.00% | 13.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 |  | $ 156,171 | $ 117,842 | $ 273,424 | $ 230,570
Percent of total segment revenues |  | 9.00% | 10.00% | 9.00% | 10.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 |  | $ 376,876 | $ 177,653 | $ 687,806 | $ 294,449
Percent of total segment revenues |  | 23.00% | 15.00% | 22.00% | 13.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 |  | $ 126,030 | $ 71,626 | $ 224,384 | $ 135,674
Percent of total segment revenues |  | 8.00% | 6.00% | 7.00% | 6.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 |  | $ 15,650 | $ 9,229 | $ 29,662 | $ 21,447
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 |  | $ 87,009 | $ 67,286 | $ 150,443 | $ 135,948
Percent of total segment revenues |  | 5.00% | 6.00% | 5.00% | 6.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 |  | $ 16,775 | $ 13,531 | $ 29,630 | $ 23,608
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] | Short-Duration Projects [Member] |  |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |  |
Revenues from unrelated entities | [1] | $ 77,615 | $ 73,978 | $ 182,831 | $ 155,395
Percent of total segment revenues |  | 5.00% | 6.00% | 6.00% | 7.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 |  | $ 149,165 | $ 122,278 | $ 277,515 | $ 239,466
Percent of total segment revenues |  | 9.00% | 10.00% | 9.00% | 11.00%
United States Mechanical Construction And Facilities Services [Member] | UNITED STATES | Intersegment Eliminations [Member] |  |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |  |
Revenues from unrelated entities |  | $ (1,750) | $ (1,699) | $ (3,066) | $ (3,177)
United States Building Services [Member] | UNITED STATES |  |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |  |
Revenues from unrelated entities |  | 781,108 | 775,012 | 1,562,268 | 1,500,387
United States Building Services [Member] | UNITED STATES | Mechanical Services [Member] |  |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |  |
Revenues from unrelated entities |  | $ 581,735 | $ 514,505 | $ 1,095,883 | $ 977,039
Percent of total segment revenues |  | 75.00% | 66.00% | 70.00% | 65.00%
United States Building Services [Member] | UNITED STATES | Commercial Site-Based Services [Member] |  |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |  |
Revenues from unrelated entities |  | $ 151,872 | $ 207,323 | $ 370,501 | $ 416,694
Percent of total segment revenues |  | 19.00% | 27.00% | 24.00% | 28.00%
United States Building Services [Member] | UNITED STATES | Government Site-Based Services [Member] |  |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |  |
Revenues from unrelated entities |  | $ 47,501 | $ 53,184 | $ 95,884 | $ 106,654
Percent of total segment revenues |  | 6.00% | 7.00% | 6.00% | 7.00%
United States Industrial Services [Member] | UNITED STATES |  |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |  |
Revenues from unrelated entities |  | $ 324,047 | $ 292,283 | $ 678,100 | $ 623,166
United States Industrial Services [Member] | UNITED STATES | Field Services [Member] |  |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |  |
Revenues from unrelated entities |  | $ 275,871 | $ 250,877 | $ 585,672 | $ 536,721
Percent of total segment revenues |  | 85.00% | 86.00% | 86.00% | 86.00%
United States Industrial Services [Member] | UNITED STATES | Shop Services [Member] |  |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |  |
Revenues from unrelated entities |  | $ 48,176 | $ 41,406 | $ 92,428 | $ 86,445
Percent of total segment revenues |  | 15.00% | 14.00% | 14.00% | 14.00%
United Kingdom Building Services [Member] [Member] | UNITED KINGDOM |  |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |  |
Revenues from unrelated entities |  | $ 106,567 | $ 106,047 | $ 211,254 | $ 216,917
United Kingdom Building Services [Member] [Member] | UNITED KINGDOM | Service Work [Member] |  |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |  |
Revenues from unrelated entities |  | $ 51,160 | $ 51,682 | $ 101,004 | $ 103,345
Percent of total segment revenues |  | 48.00% | 49.00% | 48.00% | 48.00%
United Kingdom Building Services [Member] [Member] | UNITED KINGDOM | Project Work [Member] |  |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |  |
Revenues from unrelated entities |  | $ 55,407 | $ 54,365 | $ 110,250 | $ 113,572
Percent of total segment revenues |  | 52.00% | 51.00% | 52.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-types1: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 5 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479806/606-10-50-5 Reference 2: 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 3: 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 4: 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 5: 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 6: 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 7: 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 8: 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 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 3: 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 4: 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 5: 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 6: 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 7: 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 8: 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 9: 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 10: 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 11: 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 12: 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 13: 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: |