XML 52 R40.htm IDEA: XBRL DOCUMENT
v3.25.3

Revenue from Contracts with Customers - Schedule of Disaggregation of Revenues (Details) - USD ($) $ in Thousands | 3 Months Ended | 9 Months Ended
--- | --- | ---
Sep. 30, 2025 | Sep. 30, 2024 | Sep. 30, 2025 | Sep. 30, 2024
Disaggregation of Revenue [Line Items] |  |  |  |  |
Revenues from unrelated entities |  | $ 4,301,529 | $ 3,696,924 | $ 12,473,301 | $ 10,796,097
UNITED STATES |  |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |  |
Revenues from unrelated entities |  | 4,165,341 | 3,590,574 | 12,097,248 | 10,478,493
United States Electrical Construction And Facilities Services [Member] | UNITED STATES |  |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |  |
Revenues from unrelated entities |  | 1,285,269 | 845,030 | 3,713,360 | 2,409,735
United States Electrical Construction And Facilities Services [Member] | UNITED STATES | Operating Segments [Member] |  |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |  |
Revenues from unrelated entities |  | 1,286,250 | 846,064 | 3,718,083 | 2,412,853
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 |  | $ 621,650 | $ 367,555 | $ 1,807,953 | $ 1,002,116
Percent of total segment revenues |  | 48.00% | 43.00% | 49.00% | 42.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 |  | $ 110,377 | $ 70,366 | $ 325,471 | $ 233,365
Percent of total segment revenues |  | 9.00% | 8.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 |  | $ 107,895 | $ 109,528 | $ 317,528 | $ 313,454
Percent of total segment revenues |  | 8.00% | 13.00% | 9.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 |  | $ 96,319 | $ 62,102 | $ 337,735 | $ 177,059
Percent of total segment revenues |  | 7.00% | 7.00% | 9.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 |  | $ 33,232 | $ 48,960 | $ 114,356 | $ 137,306
Percent of total segment revenues |  | 3.00% | 6.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 |  | $ 84,776 | $ 51,504 | $ 203,857 | $ 128,075
Percent of total segment revenues |  | 7.00% | 6.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 |  | $ 70,213 | $ 47,720 | $ 198,769 | $ 147,701
Percent of total segment revenues |  | 5.00% | 6.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 |  | $ 8,869 | $ 8,038 | $ 29,155 | $ 23,337
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 |  | $ 35,305 | $ 16,835 | $ 84,930 | $ 55,143
Percent of total segment revenues |  | 3.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] | $ 92,400 | $ 48,225 | $ 232,082 | $ 150,508
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] | Service Work [Member] |  |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |  |
Revenues from unrelated entities |  | $ 25,214 | $ 15,231 | $ 66,247 | $ 44,789
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 |  | $ (981) | $ (1,034) | $ (4,723) | $ (3,118)
United States Mechanical Construction And Facilities Services [Member] | UNITED STATES |  |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |  |
Revenues from unrelated entities |  | 1,779,279 | 1,662,211 | 5,107,139 | 4,745,057
United States Mechanical Construction And Facilities Services [Member] | UNITED STATES | Operating Segments [Member] |  |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |  |
Revenues from unrelated entities |  | 1,787,568 | 1,663,818 | 5,117,821 | 4,749,730
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 |  | $ 432,138 | $ 221,700 | $ 1,152,175 | $ 527,404
Percent of total segment revenues |  | 24.00% | 13.00% | 22.00% | 11.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 |  | $ 222,953 | $ 243,629 | $ 619,863 | $ 775,767
Percent of total segment revenues |  | 12.00% | 15.00% | 12.00% | 16.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 |  | $ 236,399 | $ 176,127 | $ 643,922 | $ 568,502
Percent of total segment revenues |  | 13.00% | 11.00% | 13.00% | 12.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 |  | $ 145,882 | $ 152,851 | $ 439,497 | $ 426,275
Percent of total segment revenues |  | 8.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 |  | $ 225,801 | $ 388,084 | $ 789,606 | $ 1,075,890
Percent of total segment revenues |  | 13.00% | 23.00% | 15.00% | 23.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 |  | $ 127,085 | $ 136,218 | $ 324,652 | $ 360,602
Percent of total segment revenues |  | 7.00% | 8.00% | 6.00% | 8.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,560 | $ 13,834 | $ 39,729 | $ 43,496
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 |  | $ 83,229 | $ 74,478 | $ 249,916 | $ 224,921
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 |  | $ 31,781 | $ 20,272 | $ 97,848 | $ 49,902
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] | $ 105,104 | $ 71,085 | $ 299,833 | $ 253,916
Percent of total segment revenues |  | 6.00% | 4.00% | 6.00% | 5.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 |  | $ 161,636 | $ 165,540 | $ 460,780 | $ 443,055
Percent of total segment revenues |  | 9.00% | 10.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 |  | $ (8,289) | $ (1,607) | $ (10,682) | $ (4,673)
United States Building Services [Member] | UNITED STATES |  |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |  |
Revenues from unrelated entities |  | 813,879 | 796,923 | 2,349,761 | 2,359,191
United States Building Services [Member] | UNITED STATES | Mechanical Services [Member] |  |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |  |
Revenues from unrelated entities |  | $ 634,246 | $ 599,371 | $ 1,812,248 | $ 1,695,254
Percent of total segment revenues |  | 78.00% | 75.00% | 77.00% | 72.00%
United States Building Services [Member] | UNITED STATES | Commercial Site-Based Services [Member] |  |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |  |
Revenues from unrelated entities |  | $ 141,652 | $ 151,852 | $ 418,521 | $ 522,353
Percent of total segment revenues |  | 17.00% | 19.00% | 18.00% | 22.00%
United States Building Services [Member] | UNITED STATES | Government Site-Based Services [Member] |  |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |  |
Revenues from unrelated entities |  | $ 37,981 | $ 45,700 | $ 118,992 | $ 141,584
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 |  | $ 286,914 | $ 286,410 | $ 926,988 | $ 964,510
United States Industrial Services [Member] | UNITED STATES | Field Services [Member] |  |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |  |
Revenues from unrelated entities |  | $ 245,033 | $ 251,552 | $ 804,630 | $ 837,224
Percent of total segment revenues |  | 85.00% | 88.00% | 87.00% | 87.00%
United States Industrial Services [Member] | UNITED STATES | Shop Services [Member] |  |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |  |
Revenues from unrelated entities |  | $ 41,881 | $ 34,858 | $ 122,358 | $ 127,286
Percent of total segment revenues |  | 15.00% | 12.00% | 13.00% | 13.00%
United Kingdom Building Services [Member] | UNITED KINGDOM |  |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |  |
Revenues from unrelated entities |  | $ 136,188 | $ 106,350 | $ 376,053 | $ 317,604
United Kingdom Building Services [Member] | UNITED KINGDOM | Service Work [Member] |  |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |  |
Revenues from unrelated entities |  | $ 71,702 | $ 49,530 | $ 189,394 | $ 150,534
Percent of total segment revenues |  | 53.00% | 47.00% | 50.00% | 47.00%
United Kingdom Building Services [Member] | UNITED KINGDOM | Project Work [Member] |  |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |  |
Revenues from unrelated entities |  | $ 64,486 | $ 56,820 | $ 186,659 | $ 167,070
Percent of total segment revenues |  | 47.00% | 53.00% | 50.00% | 53.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: |