| Plan sponsor | EMCOR GROUP, INC. | Form 5500, Part II line 2a; SPONSOR_DFE_NAME pos 19; filing 20251014163202NAL0001686307001, received 2025-10-14 |
| Plan name | EMCOR GROUP, INC. 401(K) SAVINGS PLAN | Form 5500, line 1a; PLAN_NAME pos 16; filing 20251014163202NAL0001686307001, received 2025-10-14 |
| Sponsor EIN / plan number | 11-2125338 / 002 | Form 5500, line 2b; SPONS_DFE_EIN pos 44; filing 20251014163202NAL0001686307001, received 2025-10-14 |
| Plan type | single-employer | Form 5500, Part I line A; TYPE_PLAN_ENTITY_CD pos 4; filing 20251014163202NAL0001686307001, received 2025-10-14 |
| Sponsor location | NORWALK, CT | Form 5500, line 2a; SPONS_DFE_MAIL_US_STATE pos 25; filing 20251014163202NAL0001686307001, received 2025-10-14 |
| Industry (business code) | 238900, Construction | Form 5500, line 2d; BUSINESS_CODE pos 46; filing 20251014163202NAL0001686307001, received 2025-10-14 |
| Plan year | 2024-01-01 to 2024-12-31 | Form 5500, Part I plan year; FORM_PLAN_YEAR_BEGIN_DATE pos 2; filing 20251014163202NAL0001686307001, received 2025-10-14 |
| Filing received | 2025-10-14 | Form 5500, EFAST2 receipt date; DATE_RECEIVED pos 102; filing 20251014163202NAL0001686307001, received 2025-10-14 |
| Final filing | no | Form 5500, Part I line B; FINAL_FILING_IND pos 8; filing 20251014163202NAL0001686307001, received 2025-10-14 |
| Amended filing | no | Form 5500, Part I line B; AMENDED_IND pos 7; filing 20251014163202NAL0001686307001, received 2025-10-14 |
| Participants, beginning of year | 17,394 | Form 5500, line 5; TOT_PARTCP_BOY_CNT pos 71; filing 20251014163202NAL0001686307001, received 2025-10-14 |
| Active participants | 12,965 | Form 5500, line 6a(2); TOT_ACTIVE_PARTCP_CNT pos 72; filing 20251014163202NAL0001686307001, received 2025-10-14 |
| Participants, end of year | 17,722 | Form 5500, line 6f; TOT_ACT_RTD_SEP_BENEF_CNT pos 77; filing 20251014163202NAL0001686307001, received 2025-10-14 |
| Participants with an account balance | 15,733 | Form 5500, line 6g(2); PARTCP_ACCOUNT_BAL_CNT pos 78; filing 20251014163202NAL0001686307001, received 2025-10-14 |
| Total assets, beginning of year | $1,568,716,948 | Schedule H, Part I line 1f col (a); TOT_ASSETS_BOY_AMT pos 30; filing 20251014163202NAL0001686307001, received 2025-10-14 |
| Total assets, end of year | $1,733,478,181 | Schedule H, Part I line 1f col (b); TOT_ASSETS_EOY_AMT pos 61; filing 20251014163202NAL0001686307001, received 2025-10-14 |
| Net assets, end of year | $1,729,058,170 | Schedule H, line 1l col (b); NET_ASSETS_EOY_AMT pos 67; filing 20251014163202NAL0001686307001, received 2025-10-14 |
| Total income | $334,069,889 | Schedule H, Part II line 2d; TOT_INCOME_AMT pos 97; filing 20251014163202NAL0001686307001, received 2025-10-14 |
| Net income | $162,782,643 | Schedule H, line 2k; NET_INCOME_AMT pos 111; filing 20251014163202NAL0001686307001, received 2025-10-14 |
| Employer contributions | $55,660,959 | Schedule H, Part II line 2a(1)(A); EMPLR_CONTRIB_INCOME_AMT pos 68; filing 20251014163202NAL0001686307001, received 2025-10-14 |
| Participant contributions | $83,303,690 | Schedule H, line 2a(1)(B); PARTICIPANT_CONTRIB_AMT pos 69; filing 20251014163202NAL0001686307001, received 2025-10-14 |
| Other contributions (incl. rollovers) | $9,436,651 | Schedule H, line 2a(1)(C); OTH_CONTRIB_RCVD_AMT pos 70; filing 20251014163202NAL0001686307001, received 2025-10-14 |
| Total contributions | $148,401,300 | Schedule H, line 2a(3); TOT_CONTRIB_AMT pos 72; filing 20251014163202NAL0001686307001, received 2025-10-14 |
| Benefit payments | $170,645,663 | Schedule H, line 2e(4); TOT_DISTRIB_BNFT_AMT pos 101; filing 20251014163202NAL0001686307001, received 2025-10-14 |
| Total expenses (incl. benefit payments) | $171,287,246 | Schedule H, line 2j; TOT_EXPENSES_AMT pos 110; filing 20251014163202NAL0001686307001, received 2025-10-14 |
| Total administrative expenses | $641,583 | Schedule H, line 2i(12) total administrative expenses; TOT_ADMIN_EXPENSES_AMT pos 109; filing 20251014163202NAL0001686307001, received 2025-10-14 |
| Recordkeeping fees | $399,133 | Schedule H, line 2i(3); OTH_RECORDKEEPING_FEES_AMT pos 160; filing 20251014163202NAL0001686307001, received 2025-10-14 |
| Administrative expenses excluding investment management | $641,583 | derived, admin_expenses (2i(12)) minus invst_mgmt_fees (2i(5)), floored at 0; filing 20251014163202NAL0001686307001, received 2025-10-14 |
| Held in common/collective trusts | $1,193,433,353 | Schedule H, line 1c(9) col (b); INT_COMMON_TR_EOY_AMT pos 51; filing 20251014163202NAL0001686307001, received 2025-10-14 |
| Held in mutual funds | $499,994,622 | Schedule H, line 1c(13) col (b); INT_REG_INVST_CO_EOY_AMT pos 55; filing 20251014163202NAL0001686307001, received 2025-10-14 |
| Independent auditor | ERNST & YOUNG, LLP | Schedule H, Part III line 3a; ACCOUNTANT_FIRM_NAME pos 116; filing 20251014163202NAL0001686307001, received 2025-10-14 |