<?xml version="1.0" encoding="US-ASCII"?>
<!--XBRL Document Created with Wdesk from Workiva-->
<!-- -->
<link:linkbase xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd" xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xbrldt="http://xbrl.org/2005/xbrldt" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <link:roleRef roleURI="http://www.emcorgroup.com/role/AcquisitionsOfBusinesses" xlink:href="eme-20190930.xsd#AcquisitionsOfBusinesses" xlink:type="simple" />
  <link:roleRef roleURI="http://www.emcorgroup.com/role/AcquisitionsOfBusinessesDetails" xlink:href="eme-20190930.xsd#AcquisitionsOfBusinessesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.emcorgroup.com/role/BasisOfPresentation" xlink:href="eme-20190930.xsd#BasisOfPresentation" xlink:type="simple" />
  <link:roleRef roleURI="http://www.emcorgroup.com/role/CommitmentsAndContingencies" xlink:href="eme-20190930.xsd#CommitmentsAndContingencies" xlink:type="simple" />
  <link:roleRef roleURI="http://www.emcorgroup.com/role/CommitmentsAndContingenciesNarrativeDetails" xlink:href="eme-20190930.xsd#CommitmentsAndContingenciesNarrativeDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.emcorgroup.com/role/CommitmentsAndContingenciesRestructuringAndRelatedActivitiesTables" xlink:href="eme-20190930.xsd#CommitmentsAndContingenciesRestructuringAndRelatedActivitiesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.emcorgroup.com/role/CommonStock" xlink:href="eme-20190930.xsd#CommonStock" xlink:type="simple" />
  <link:roleRef roleURI="http://www.emcorgroup.com/role/CommonStockDetails" xlink:href="eme-20190930.xsd#CommonStockDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.emcorgroup.com/role/CondensedConsolidatedBalanceSheets" xlink:href="eme-20190930.xsd#CondensedConsolidatedBalanceSheets" xlink:type="simple" />
  <link:roleRef roleURI="http://www.emcorgroup.com/role/CondensedConsolidatedBalanceSheetsParenthetical" xlink:href="eme-20190930.xsd#CondensedConsolidatedBalanceSheetsParenthetical" xlink:type="simple" />
  <link:roleRef roleURI="http://www.emcorgroup.com/role/CondensedConsolidatedStatementsOfCashFlows" xlink:href="eme-20190930.xsd#CondensedConsolidatedStatementsOfCashFlows" xlink:type="simple" />
  <link:roleRef roleURI="http://www.emcorgroup.com/role/CondensedConsolidatedStatementsOfCashFlowsCondensedConsolidatedStatementsOfCashFlowsParenthetical" xlink:href="eme-20190930.xsd#CondensedConsolidatedStatementsOfCashFlowsCondensedConsolidatedStatementsOfCashFlowsParenthetical" xlink:type="simple" />
  <link:roleRef roleURI="http://www.emcorgroup.com/role/CondensedConsolidatedStatementsOfComprehensiveIncome" xlink:href="eme-20190930.xsd#CondensedConsolidatedStatementsOfComprehensiveIncome" xlink:type="simple" />
  <link:roleRef roleURI="http://www.emcorgroup.com/role/CondensedConsolidatedStatementsOfComprehensiveIncomeParenthetical" xlink:href="eme-20190930.xsd#CondensedConsolidatedStatementsOfComprehensiveIncomeParenthetical" xlink:type="simple" />
  <link:roleRef roleURI="http://www.emcorgroup.com/role/CondensedConsolidatedStatementsOfEquity" xlink:href="eme-20190930.xsd#CondensedConsolidatedStatementsOfEquity" xlink:type="simple" />
  <link:roleRef roleURI="http://www.emcorgroup.com/role/CondensedConsolidatedStatementsOfOperations" xlink:href="eme-20190930.xsd#CondensedConsolidatedStatementsOfOperations" xlink:type="simple" />
  <link:roleRef roleURI="http://www.emcorgroup.com/role/Debt" xlink:href="eme-20190930.xsd#Debt" xlink:type="simple" />
  <link:roleRef roleURI="http://www.emcorgroup.com/role/DebtNarrativeDetails" xlink:href="eme-20190930.xsd#DebtNarrativeDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.emcorgroup.com/role/DebtScheduleOfDebtDetails" xlink:href="eme-20190930.xsd#DebtScheduleOfDebtDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.emcorgroup.com/role/DebtTables" xlink:href="eme-20190930.xsd#DebtTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.emcorgroup.com/role/DispositionOfAssets" xlink:href="eme-20190930.xsd#DispositionOfAssets" xlink:type="simple" />
  <link:roleRef roleURI="http://www.emcorgroup.com/role/DispositionOfAssetsNarrativeDetails" xlink:href="eme-20190930.xsd#DispositionOfAssetsNarrativeDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.emcorgroup.com/role/DispositionOfAssetsTables" xlink:href="eme-20190930.xsd#DispositionOfAssetsTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.emcorgroup.com/role/DocumentAndEntityInformation" xlink:href="eme-20190930.xsd#DocumentAndEntityInformation" xlink:type="simple" />
  <link:roleRef roleURI="http://www.emcorgroup.com/role/EarningsPerShare" xlink:href="eme-20190930.xsd#EarningsPerShare" xlink:type="simple" />
  <link:roleRef roleURI="http://www.emcorgroup.com/role/EarningsPerShareDetails" xlink:href="eme-20190930.xsd#EarningsPerShareDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.emcorgroup.com/role/EarningsPerShareTables" xlink:href="eme-20190930.xsd#EarningsPerShareTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.emcorgroup.com/role/FairValueMeasurements" xlink:href="eme-20190930.xsd#FairValueMeasurements" xlink:type="simple" />
  <link:roleRef roleURI="http://www.emcorgroup.com/role/FairValueMeasurementsPolicy" xlink:href="eme-20190930.xsd#FairValueMeasurementsPolicy" xlink:type="simple" />
  <link:roleRef roleURI="http://www.emcorgroup.com/role/FairValueMeasurementsScheduleOfAssetsAndLiabilitiesCarriedAtFairValueMeasuredOnRecurringBasisDetails" xlink:href="eme-20190930.xsd#FairValueMeasurementsScheduleOfAssetsAndLiabilitiesCarriedAtFairValueMeasuredOnRecurringBasisDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.emcorgroup.com/role/FairValueMeasurementsTables" xlink:href="eme-20190930.xsd#FairValueMeasurementsTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.emcorgroup.com/role/IncomeTaxes" xlink:href="eme-20190930.xsd#IncomeTaxes" xlink:type="simple" />
  <link:roleRef roleURI="http://www.emcorgroup.com/role/IncomeTaxesDetails" xlink:href="eme-20190930.xsd#IncomeTaxesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.emcorgroup.com/role/Inventories" xlink:href="eme-20190930.xsd#Inventories" xlink:type="simple" />
  <link:roleRef roleURI="http://www.emcorgroup.com/role/InventoriesInventoriesDetails" xlink:href="eme-20190930.xsd#InventoriesInventoriesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.emcorgroup.com/role/InventoriesTables" xlink:href="eme-20190930.xsd#InventoriesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.emcorgroup.com/role/Leases" xlink:href="eme-20190930.xsd#Leases" xlink:type="simple" />
  <link:roleRef roleURI="http://www.emcorgroup.com/role/LeasesPolicy" xlink:href="eme-20190930.xsd#LeasesPolicy" xlink:type="simple" />
  <link:roleRef roleURI="http://www.emcorgroup.com/role/LeasesScheduleOfLeaseAssetsAndLiabilitiesDetails" xlink:href="eme-20190930.xsd#LeasesScheduleOfLeaseAssetsAndLiabilitiesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.emcorgroup.com/role/LeasesScheduleOfLeaseCostsDetails" xlink:href="eme-20190930.xsd#LeasesScheduleOfLeaseCostsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.emcorgroup.com/role/LeasesScheduleOfLeaseTermAndDiscountRateDetails" xlink:href="eme-20190930.xsd#LeasesScheduleOfLeaseTermAndDiscountRateDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.emcorgroup.com/role/LeasesScheduleOfMaturityOfLeaseLiabilitiesDetails" xlink:href="eme-20190930.xsd#LeasesScheduleOfMaturityOfLeaseLiabilitiesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.emcorgroup.com/role/LeasesScheduleOfSupplementalCashFlowLeaseInformationDetails" xlink:href="eme-20190930.xsd#LeasesScheduleOfSupplementalCashFlowLeaseInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.emcorgroup.com/role/LeasesTables" xlink:href="eme-20190930.xsd#LeasesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.emcorgroup.com/role/NewAccountingPronouncements" xlink:href="eme-20190930.xsd#NewAccountingPronouncements" xlink:type="simple" />
  <link:roleRef roleURI="http://www.emcorgroup.com/role/NewAccountingPronouncementsNewAccountingPronouncementsDetails" xlink:href="eme-20190930.xsd#NewAccountingPronouncementsNewAccountingPronouncementsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.emcorgroup.com/role/RetirementPlans" xlink:href="eme-20190930.xsd#RetirementPlans" xlink:type="simple" />
  <link:roleRef roleURI="http://www.emcorgroup.com/role/RetirementPlansComponentsOfNetPeriodicPensionBenefitCostDetails" xlink:href="eme-20190930.xsd#RetirementPlansComponentsOfNetPeriodicPensionBenefitCostDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.emcorgroup.com/role/RetirementPlansNarrativeDetails" xlink:href="eme-20190930.xsd#RetirementPlansNarrativeDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.emcorgroup.com/role/RetirementPlansTables" xlink:href="eme-20190930.xsd#RetirementPlansTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.emcorgroup.com/role/RevenueFromContractsWithCustomers" xlink:href="eme-20190930.xsd#RevenueFromContractsWithCustomers" xlink:type="simple" />
  <link:roleRef roleURI="http://www.emcorgroup.com/role/RevenueFromContractsWithCustomersDetails" xlink:href="eme-20190930.xsd#RevenueFromContractsWithCustomersDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.emcorgroup.com/role/RevenueFromContractsWithCustomersPolicy" xlink:href="eme-20190930.xsd#RevenueFromContractsWithCustomersPolicy" xlink:type="simple" />
  <link:roleRef roleURI="http://www.emcorgroup.com/role/RevenueFromContractsWithCustomersScheduleOfContractWithCustomerAssetAndLiabilityDetails" xlink:href="eme-20190930.xsd#RevenueFromContractsWithCustomersScheduleOfContractWithCustomerAssetAndLiabilityDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.emcorgroup.com/role/RevenueFromContractsWithCustomersScheduleOfDisaggregationOfRevenuesDetails" xlink:href="eme-20190930.xsd#RevenueFromContractsWithCustomersScheduleOfDisaggregationOfRevenuesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.emcorgroup.com/role/RevenueFromContractsWithCustomersScheduleOfRevenueRemainingPerformanceObligationDetails" xlink:href="eme-20190930.xsd#RevenueFromContractsWithCustomersScheduleOfRevenueRemainingPerformanceObligationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.emcorgroup.com/role/RevenueFromContractsWithCustomersScheduleOfRevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionDetails" xlink:href="eme-20190930.xsd#RevenueFromContractsWithCustomersScheduleOfRevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.emcorgroup.com/role/RevenueFromContractsWithCustomersTables" xlink:href="eme-20190930.xsd#RevenueFromContractsWithCustomersTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.emcorgroup.com/role/ScheduleOfRestructuringActivitiesDetails" xlink:href="eme-20190930.xsd#ScheduleOfRestructuringActivitiesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.emcorgroup.com/role/SegmentInformation" xlink:href="eme-20190930.xsd#SegmentInformation" xlink:type="simple" />
  <link:roleRef roleURI="http://www.emcorgroup.com/role/SegmentInformationInformationAboutIndustrySegmentsAndGeographicAreasDetails" xlink:href="eme-20190930.xsd#SegmentInformationInformationAboutIndustrySegmentsAndGeographicAreasDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.emcorgroup.com/role/SegmentInformationTables" xlink:href="eme-20190930.xsd#SegmentInformationTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.emcorgroup.com/role/SubsequentEventSubsequentEvent" xlink:href="eme-20190930.xsd#SubsequentEventSubsequentEvent" xlink:type="simple" />
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/all" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#all" xlink:type="simple" />
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-default" xlink:type="simple" />
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-domain" xlink:type="simple" />
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/domain-member" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#domain-member" xlink:type="simple" />
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#hypercube-dimension" xlink:type="simple" />
  <link:definitionLink xlink:role="http://www.emcorgroup.com/role/AcquisitionsOfBusinesses" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.emcorgroup.com/role/AcquisitionsOfBusinessesDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_BusinessAcquisitionLineItems" xlink:label="loc_us-gaap_BusinessAcquisitionLineItems_3751A0BCC0A63792E1EADB74A2625EB1" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_06FB87581AF15F4A1971DB74A2615D5C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_3751A0BCC0A63792E1EADB74A2625EB1" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_06FB87581AF15F4A1971DB74A2615D5C" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_C181715BB3695367D00ADB74A26180D0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_06FB87581AF15F4A1971DB74A2615D5C" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_C181715BB3695367D00ADB74A26180D0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_04FE84934C19318E9F12DB74A261EC7B_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_C181715BB3695367D00ADB74A26180D0" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_04FE84934C19318E9F12DB74A261EC7B_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_04FE84934C19318E9F12DB74A261EC7B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_C181715BB3695367D00ADB74A26180D0" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_04FE84934C19318E9F12DB74A261EC7B" xlink:type="arc" />
    <link:loc xlink:href="eme-20190930.xsd#eme_A2019AcquisitionsMember" xlink:label="loc_eme_A2019AcquisitionsMember_9F9B4290A7374AE5110EDB74A261CAC1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_04FE84934C19318E9F12DB74A261EC7B" xlink:to="loc_eme_A2019AcquisitionsMember_9F9B4290A7374AE5110EDB74A261CAC1" xlink:type="arc" />
    <link:loc xlink:href="eme-20190930.xsd#eme_A2018AcquisitionsMember" xlink:label="loc_eme_A2018AcquisitionsMember_40A3C2199BC5E21A66B7DB74A2624780" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_04FE84934C19318E9F12DB74A261EC7B" xlink:to="loc_eme_A2018AcquisitionsMember_40A3C2199BC5E21A66B7DB74A2624780" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PaymentsToAcquireBusinessesGross" xlink:label="loc_us-gaap_PaymentsToAcquireBusinessesGross_CD4B9854A02775ED27B6DB74A262364F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_3751A0BCC0A63792E1EADB74A2625EB1" xlink:to="loc_us-gaap_PaymentsToAcquireBusinessesGross_CD4B9854A02775ED27B6DB74A262364F" xlink:type="arc" />
    <link:loc xlink:href="eme-20190930.xsd#eme_BusinessCombinationRecognizedWorkingCapital" xlink:label="loc_eme_BusinessCombinationRecognizedWorkingCapital_287095E66AFD2BFF528CDB74A2627CD5" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_3751A0BCC0A63792E1EADB74A2625EB1" xlink:to="loc_eme_BusinessCombinationRecognizedWorkingCapital_287095E66AFD2BFF528CDB74A2627CD5" xlink:type="arc" />
    <link:loc xlink:href="eme-20190930.xsd#eme_BusinessCombinationRecognizedOtherNetAssets" xlink:label="loc_eme_BusinessCombinationRecognizedOtherNetAssets_968838C22031E1553604DB74A262DD6A" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_3751A0BCC0A63792E1EADB74A2625EB1" xlink:to="loc_eme_BusinessCombinationRecognizedOtherNetAssets_968838C22031E1553604DB74A262DD6A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_Goodwill" xlink:label="loc_us-gaap_Goodwill_17B5ED424E16E1A40821DB74A262C4BE" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_3751A0BCC0A63792E1EADB74A2625EB1" xlink:to="loc_us-gaap_Goodwill_17B5ED424E16E1A40821DB74A262C4BE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill_C31589551A069D32A6F1DB74A2639F2F" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_3751A0BCC0A63792E1EADB74A2625EB1" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill_C31589551A069D32A6F1DB74A2639F2F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_NumberOfBusinessesAcquired" xlink:label="loc_us-gaap_NumberOfBusinessesAcquired_1A90174D462AE714EA0FDB74A2632ACF" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_3751A0BCC0A63792E1EADB74A2625EB1" xlink:to="loc_us-gaap_NumberOfBusinessesAcquired_1A90174D462AE714EA0FDB74A2632ACF" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.emcorgroup.com/role/BasisOfPresentation" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.emcorgroup.com/role/CommitmentsAndContingencies" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.emcorgroup.com/role/CommitmentsAndContingenciesNarrativeDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LossContingenciesLineItems" xlink:label="loc_us-gaap_LossContingenciesLineItems_CAAF66E0B29732C480C8271ABB1EE867" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LossContingenciesTable" xlink:label="loc_us-gaap_LossContingenciesTable_E80BFADC68E51ACED41D271ABB1DCDCA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_LossContingenciesLineItems_CAAF66E0B29732C480C8271ABB1EE867" xlink:to="loc_us-gaap_LossContingenciesTable_E80BFADC68E51ACED41D271ABB1DCDCA" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RestructuringCostAndReserveAxis" xlink:label="loc_us-gaap_RestructuringCostAndReserveAxis_BAE44CF6EBA30FF1458C271ABB1D9708" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_E80BFADC68E51ACED41D271ABB1DCDCA" xlink:to="loc_us-gaap_RestructuringCostAndReserveAxis_BAE44CF6EBA30FF1458C271ABB1D9708" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_TypeOfRestructuringDomain" xlink:label="loc_us-gaap_TypeOfRestructuringDomain_5F2119B3784A01C4F2CC271ABB1DB5C3_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RestructuringCostAndReserveAxis_BAE44CF6EBA30FF1458C271ABB1D9708" xlink:to="loc_us-gaap_TypeOfRestructuringDomain_5F2119B3784A01C4F2CC271ABB1DB5C3_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_TypeOfRestructuringDomain" xlink:label="loc_us-gaap_TypeOfRestructuringDomain_5F2119B3784A01C4F2CC271ABB1DB5C3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RestructuringCostAndReserveAxis_BAE44CF6EBA30FF1458C271ABB1D9708" xlink:to="loc_us-gaap_TypeOfRestructuringDomain_5F2119B3784A01C4F2CC271ABB1DB5C3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_EmployeeSeveranceMember" xlink:label="loc_us-gaap_EmployeeSeveranceMember_B4F511C3A0E834E62701271ABB1DC0B3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfRestructuringDomain_5F2119B3784A01C4F2CC271ABB1DB5C3" xlink:to="loc_us-gaap_EmployeeSeveranceMember_B4F511C3A0E834E62701271ABB1DC0B3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RestructuringCharges" xlink:label="loc_us-gaap_RestructuringCharges_25A8579166DC9DD08746271ABB1E9DB0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_CAAF66E0B29732C480C8271ABB1EE867" xlink:to="loc_us-gaap_RestructuringCharges_25A8579166DC9DD08746271ABB1E9DB0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RestructuringReserve" xlink:label="loc_us-gaap_RestructuringReserve_737F3B0ACEDC1CF9C9D7271ABB1EC4E3" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_CAAF66E0B29732C480C8271ABB1EE867" xlink:to="loc_us-gaap_RestructuringReserve_737F3B0ACEDC1CF9C9D7271ABB1EC4E3" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.emcorgroup.com/role/CommitmentsAndContingenciesRestructuringAndRelatedActivitiesTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.emcorgroup.com/role/CommonStock" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.emcorgroup.com/role/CommonStockDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_EquityClassOfTreasuryStockLineItems" xlink:label="loc_us-gaap_EquityClassOfTreasuryStockLineItems_86725C76873903BB3F73D5F187340850" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ClassOfTreasuryStockTable" xlink:label="loc_us-gaap_ClassOfTreasuryStockTable_044AC1033378A4BE5F1CD5F1873240CF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_EquityClassOfTreasuryStockLineItems_86725C76873903BB3F73D5F187340850" xlink:to="loc_us-gaap_ClassOfTreasuryStockTable_044AC1033378A4BE5F1CD5F1873240CF" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementEquityComponentsAxis" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_8275978C18FFF4561D40D5F187329F2D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ClassOfTreasuryStockTable_044AC1033378A4BE5F1CD5F1873240CF" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_8275978C18FFF4561D40D5F187329F2D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_19CA85B32DABF4352078D5F18733F058_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_8275978C18FFF4561D40D5F187329F2D" xlink:to="loc_us-gaap_EquityComponentDomain_19CA85B32DABF4352078D5F18733F058_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_19CA85B32DABF4352078D5F18733F058" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_8275978C18FFF4561D40D5F187329F2D" xlink:to="loc_us-gaap_EquityComponentDomain_19CA85B32DABF4352078D5F18733F058" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CommonStockMember" xlink:label="loc_us-gaap_CommonStockMember_A84349BD65ED27080046D5F187330CA9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_19CA85B32DABF4352078D5F18733F058" xlink:to="loc_us-gaap_CommonStockMember_A84349BD65ED27080046D5F187330CA9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareRepurchaseProgramAxis" xlink:label="loc_us-gaap_ShareRepurchaseProgramAxis_C9D2DA5D54D868F7DE8ED5F1873388A9" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ClassOfTreasuryStockTable_044AC1033378A4BE5F1CD5F1873240CF" xlink:to="loc_us-gaap_ShareRepurchaseProgramAxis_C9D2DA5D54D868F7DE8ED5F1873388A9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareRepurchaseProgramDomain" xlink:label="loc_us-gaap_ShareRepurchaseProgramDomain_5CA056E77996A76C381ED5F1873363C0_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ShareRepurchaseProgramAxis_C9D2DA5D54D868F7DE8ED5F1873388A9" xlink:to="loc_us-gaap_ShareRepurchaseProgramDomain_5CA056E77996A76C381ED5F1873363C0_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareRepurchaseProgramDomain" xlink:label="loc_us-gaap_ShareRepurchaseProgramDomain_5CA056E77996A76C381ED5F1873363C0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ShareRepurchaseProgramAxis_C9D2DA5D54D868F7DE8ED5F1873388A9" xlink:to="loc_us-gaap_ShareRepurchaseProgramDomain_5CA056E77996A76C381ED5F1873363C0" xlink:type="arc" />
    <link:loc xlink:href="eme-20190930.xsd#eme_RepurchaseProgramSep262011Member" xlink:label="loc_eme_RepurchaseProgramSep262011Member_7543CF5825EA1DE1E399D5F18734AADF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareRepurchaseProgramDomain_5CA056E77996A76C381ED5F1873363C0" xlink:to="loc_eme_RepurchaseProgramSep262011Member_7543CF5825EA1DE1E399D5F18734AADF" xlink:type="arc" />
    <link:loc xlink:href="eme-20190930.xsd#eme_RepurchaseProgramSep2011toSep2019Member" xlink:label="loc_eme_RepurchaseProgramSep2011toSep2019Member_143A32EA798553D22C4FD5F18734695B" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareRepurchaseProgramDomain_5CA056E77996A76C381ED5F1873363C0" xlink:to="loc_eme_RepurchaseProgramSep2011toSep2019Member_143A32EA798553D22C4FD5F18734695B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CommonStockSharesOutstanding" xlink:label="loc_us-gaap_CommonStockSharesOutstanding_9AF920C4A209AF15B6C1D5F18734E769" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityClassOfTreasuryStockLineItems_86725C76873903BB3F73D5F187340850" xlink:to="loc_us-gaap_CommonStockSharesOutstanding_9AF920C4A209AF15B6C1D5F18734E769" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesShareBasedCompensationGross" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesShareBasedCompensationGross_16C64D5BC71B7DCDEC1AD5F187354D18" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityClassOfTreasuryStockLineItems_86725C76873903BB3F73D5F187340850" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesShareBasedCompensationGross_16C64D5BC71B7DCDEC1AD5F187354D18" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CommonStockDividendsPerShareCashPaid" xlink:label="loc_us-gaap_CommonStockDividendsPerShareCashPaid_870F973BE76F9652BB32D5F1C903A1C2" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityClassOfTreasuryStockLineItems_86725C76873903BB3F73D5F187340850" xlink:to="loc_us-gaap_CommonStockDividendsPerShareCashPaid_870F973BE76F9652BB32D5F1C903A1C2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StockRepurchaseProgramAuthorizedAmount1" xlink:label="loc_us-gaap_StockRepurchaseProgramAuthorizedAmount1_56713715EE3F1FA19FAED5F187358AE4" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityClassOfTreasuryStockLineItems_86725C76873903BB3F73D5F187340850" xlink:to="loc_us-gaap_StockRepurchaseProgramAuthorizedAmount1_56713715EE3F1FA19FAED5F187358AE4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StockRepurchasedDuringPeriodShares" xlink:label="loc_us-gaap_StockRepurchasedDuringPeriodShares_C4E4C3F9A02E2279CCBFD5F187357828" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityClassOfTreasuryStockLineItems_86725C76873903BB3F73D5F187340850" xlink:to="loc_us-gaap_StockRepurchasedDuringPeriodShares_C4E4C3F9A02E2279CCBFD5F187357828" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StockRepurchasedDuringPeriodValue" xlink:label="loc_us-gaap_StockRepurchasedDuringPeriodValue_1BE95ABCE331E7FCAEFDD5F187358033" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityClassOfTreasuryStockLineItems_86725C76873903BB3F73D5F187340850" xlink:to="loc_us-gaap_StockRepurchasedDuringPeriodValue_1BE95ABCE331E7FCAEFDD5F187358033" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StockRepurchaseProgramRemainingAuthorizedRepurchaseAmount1" xlink:label="loc_us-gaap_StockRepurchaseProgramRemainingAuthorizedRepurchaseAmount1_81E651A577B34170EB3DD5F1873581EB" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityClassOfTreasuryStockLineItems_86725C76873903BB3F73D5F187340850" xlink:to="loc_us-gaap_StockRepurchaseProgramRemainingAuthorizedRepurchaseAmount1_81E651A577B34170EB3DD5F1873581EB" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.emcorgroup.com/role/CondensedConsolidatedBalanceSheets" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.emcorgroup.com/role/CondensedConsolidatedBalanceSheetsParenthetical" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.emcorgroup.com/role/CondensedConsolidatedStatementsOfCashFlows" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaap_StatementLineItems_EFD1DDA0D02690BEB27DCCA7628F2382" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaap_StatementTable_276FB2916CD3E1FFB05DCCA7628EC5BA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_EFD1DDA0D02690BEB27DCCA7628F2382" xlink:to="loc_us-gaap_StatementTable_276FB2916CD3E1FFB05DCCA7628EC5BA" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_StatementScenarioAxis" xlink:label="loc_srt_StatementScenarioAxis_FBE3E809C74C39420649CCA7628E226A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_276FB2916CD3E1FFB05DCCA7628EC5BA" xlink:to="loc_srt_StatementScenarioAxis_FBE3E809C74C39420649CCA7628E226A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_ScenarioUnspecifiedDomain" xlink:label="loc_srt_ScenarioUnspecifiedDomain_3B20F883CA0ED304D230CCA7628FDD9B_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_StatementScenarioAxis_FBE3E809C74C39420649CCA7628E226A" xlink:to="loc_srt_ScenarioUnspecifiedDomain_3B20F883CA0ED304D230CCA7628FDD9B_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_ScenarioUnspecifiedDomain" xlink:label="loc_srt_ScenarioUnspecifiedDomain_3B20F883CA0ED304D230CCA7628FDD9B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_StatementScenarioAxis_FBE3E809C74C39420649CCA7628E226A" xlink:to="loc_srt_ScenarioUnspecifiedDomain_3B20F883CA0ED304D230CCA7628FDD9B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract_96B3DA866E4DB2CE8503CCA7628F4781" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_EFD1DDA0D02690BEB27DCCA7628F2382" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract_96B3DA866E4DB2CE8503CCA7628F4781" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ProfitLoss" xlink:label="loc_us-gaap_ProfitLoss_1FCBC0D278CAE0DF5E4ECCA7628F93ED" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract_96B3DA866E4DB2CE8503CCA7628F4781" xlink:to="loc_us-gaap_ProfitLoss_1FCBC0D278CAE0DF5E4ECCA7628F93ED" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract" xlink:label="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_D64E9D0AA4D2B65F5930CCA762900D94" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract_96B3DA866E4DB2CE8503CCA7628F4781" xlink:to="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_D64E9D0AA4D2B65F5930CCA762900D94" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_Depreciation" xlink:label="loc_us-gaap_Depreciation_94A389F3EF47D7306827CCA76290AE7D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_D64E9D0AA4D2B65F5930CCA762900D94" xlink:to="loc_us-gaap_Depreciation_94A389F3EF47D7306827CCA76290AE7D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AmortizationOfIntangibleAssets" xlink:label="loc_us-gaap_AmortizationOfIntangibleAssets_9D48017A659D1088690BCCA76290672B" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_D64E9D0AA4D2B65F5930CCA762900D94" xlink:to="loc_us-gaap_AmortizationOfIntangibleAssets_9D48017A659D1088690BCCA76290672B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ProvisionForDoubtfulAccounts" xlink:label="loc_us-gaap_ProvisionForDoubtfulAccounts_D63BC63C8157F04360E3CCA7629093A7" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_D64E9D0AA4D2B65F5930CCA762900D94" xlink:to="loc_us-gaap_ProvisionForDoubtfulAccounts_D63BC63C8157F04360E3CCA7629093A7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit" xlink:label="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_D0FF02B2DFD84828A189CCA76291EF4B" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_D64E9D0AA4D2B65F5930CCA762900D94" xlink:to="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_D0FF02B2DFD84828A189CCA76291EF4B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ExcessTaxBenefitFromShareBasedCompensationOperatingActivities" xlink:label="loc_us-gaap_ExcessTaxBenefitFromShareBasedCompensationOperatingActivities_74C3E0299F0FE9E457F2CCA762911A6D" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_D64E9D0AA4D2B65F5930CCA762900D94" xlink:to="loc_us-gaap_ExcessTaxBenefitFromShareBasedCompensationOperatingActivities_74C3E0299F0FE9E457F2CCA762911A6D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IncomeLossFromEquityMethodInvestments" xlink:label="loc_us-gaap_IncomeLossFromEquityMethodInvestments_B011C8DCA83B27A59940CCA76291E4A7" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_D64E9D0AA4D2B65F5930CCA762900D94" xlink:to="loc_us-gaap_IncomeLossFromEquityMethodInvestments_B011C8DCA83B27A59940CCA76291E4A7" xlink:type="arc" />
    <link:loc xlink:href="eme-20190930.xsd#eme_NonCashIncomeFromContingentConsiderationArrangement" xlink:label="loc_eme_NonCashIncomeFromContingentConsiderationArrangement_FFDC9A35083BE81CD46ECCA762910EED" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_D64E9D0AA4D2B65F5930CCA762900D94" xlink:to="loc_eme_NonCashIncomeFromContingentConsiderationArrangement_FFDC9A35083BE81CD46ECCA762910EED" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ImpairmentOfIntangibleAssetsIndefinitelivedExcludingGoodwill" xlink:label="loc_us-gaap_ImpairmentOfIntangibleAssetsIndefinitelivedExcludingGoodwill_69EFF2AB90425A70E6C2CCA76291F1BF" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_D64E9D0AA4D2B65F5930CCA762900D94" xlink:to="loc_us-gaap_ImpairmentOfIntangibleAssetsIndefinitelivedExcludingGoodwill_69EFF2AB90425A70E6C2CCA76291F1BF" xlink:type="arc" />
    <link:loc xlink:href="eme-20190930.xsd#eme_Noncashsharebasedcompensationexpense" xlink:label="loc_eme_Noncashsharebasedcompensationexpense_72F731A0D1DA2906EF40CCA762910724" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_D64E9D0AA4D2B65F5930CCA762900D94" xlink:to="loc_eme_Noncashsharebasedcompensationexpense_72F731A0D1DA2906EF40CCA762910724" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_EquityMethodInvestmentDividendsOrDistributions" xlink:label="loc_us-gaap_EquityMethodInvestmentDividendsOrDistributions_3CFC5EB7B5DAD739B155CCA76291855F" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_D64E9D0AA4D2B65F5930CCA762900D94" xlink:to="loc_us-gaap_EquityMethodInvestmentDividendsOrDistributions_3CFC5EB7B5DAD739B155CCA76291855F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OtherNoncashIncomeExpense" xlink:label="loc_us-gaap_OtherNoncashIncomeExpense_24DE1A0DB2001D77B41DCCA76292FA26" xlink:type="locator" />
    <link:definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_D64E9D0AA4D2B65F5930CCA762900D94" xlink:to="loc_us-gaap_OtherNoncashIncomeExpense_24DE1A0DB2001D77B41DCCA76292FA26" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IncreaseDecreaseInOperatingCapital" xlink:label="loc_us-gaap_IncreaseDecreaseInOperatingCapital_F4CA610CDF2FFDED21BECCA762922BAA" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract_96B3DA866E4DB2CE8503CCA7628F4781" xlink:to="loc_us-gaap_IncreaseDecreaseInOperatingCapital_F4CA610CDF2FFDED21BECCA762922BAA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_C110BFBE3AA5D4C39312CCA76292C997" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract_96B3DA866E4DB2CE8503CCA7628F4781" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_C110BFBE3AA5D4C39312CCA76292C997" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_137F6511A25369F57EE4CCA76292FF42" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_EFD1DDA0D02690BEB27DCCA7628F2382" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_137F6511A25369F57EE4CCA76292FF42" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired" xlink:label="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_891C3D76910B47D3DF3DCCA762927D78" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_137F6511A25369F57EE4CCA76292FF42" xlink:to="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_891C3D76910B47D3DF3DCCA762927D78" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment" xlink:label="loc_us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment_3A1E9A8F965EF432E0ABCCA762921FCA" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_137F6511A25369F57EE4CCA76292FF42" xlink:to="loc_us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment_3A1E9A8F965EF432E0ABCCA762921FCA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PaymentsToAcquireProductiveAssets" xlink:label="loc_us-gaap_PaymentsToAcquireProductiveAssets_50FDCCE950E867C71F14CCA76293907F" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_137F6511A25369F57EE4CCA76292FF42" xlink:to="loc_us-gaap_PaymentsToAcquireProductiveAssets_50FDCCE950E867C71F14CCA76293907F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PaymentsToAcquireEquityMethodInvestments" xlink:label="loc_us-gaap_PaymentsToAcquireEquityMethodInvestments_04DE3004E95E0F708E17CCA76293D87E" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_137F6511A25369F57EE4CCA76292FF42" xlink:to="loc_us-gaap_PaymentsToAcquireEquityMethodInvestments_04DE3004E95E0F708E17CCA76293D87E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ProceedsFromEquityMethodInvestmentDividendsOrDistributionsReturnOfCapital" xlink:label="loc_us-gaap_ProceedsFromEquityMethodInvestmentDividendsOrDistributionsReturnOfCapital_2568C74CB3649940AE5CCCA76293A644" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_137F6511A25369F57EE4CCA76292FF42" xlink:to="loc_us-gaap_ProceedsFromEquityMethodInvestmentDividendsOrDistributionsReturnOfCapital_2568C74CB3649940AE5CCCA76293A644" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_857B3C4942DAF8F8D98ACCA7629330BE" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_137F6511A25369F57EE4CCA76292FF42" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_857B3C4942DAF8F8D98ACCA7629330BE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_AE26AA435D79AFF980F0CCA76293E600" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_EFD1DDA0D02690BEB27DCCA7628F2382" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_AE26AA435D79AFF980F0CCA76293E600" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RepaymentsOfLinesOfCredit" xlink:label="loc_us-gaap_RepaymentsOfLinesOfCredit_B9E2632E4FD3537E75C8CCA7629338C4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_AE26AA435D79AFF980F0CCA76293E600" xlink:to="loc_us-gaap_RepaymentsOfLinesOfCredit_B9E2632E4FD3537E75C8CCA7629338C4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RepaymentsOfLongTermDebt" xlink:label="loc_us-gaap_RepaymentsOfLongTermDebt_DFC18782E612A23606C9CCA76294906D" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_AE26AA435D79AFF980F0CCA76293E600" xlink:to="loc_us-gaap_RepaymentsOfLongTermDebt_DFC18782E612A23606C9CCA76294906D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RepaymentsOfLongTermCapitalLeaseObligations" xlink:label="loc_us-gaap_RepaymentsOfLongTermCapitalLeaseObligations_3B1852001C61DD614927CCA7629412DD" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_AE26AA435D79AFF980F0CCA76293E600" xlink:to="loc_us-gaap_RepaymentsOfLongTermCapitalLeaseObligations_3B1852001C61DD614927CCA7629412DD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PaymentsOfDividendsCommonStock" xlink:label="loc_us-gaap_PaymentsOfDividendsCommonStock_39B6DFEF2C600AB65392CCA76294AC85" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_AE26AA435D79AFF980F0CCA76293E600" xlink:to="loc_us-gaap_PaymentsOfDividendsCommonStock_39B6DFEF2C600AB65392CCA76294AC85" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PaymentsForRepurchaseOfCommonStock" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_B42947CC716648E41896CCA76294AC81" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_AE26AA435D79AFF980F0CCA76293E600" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_B42947CC716648E41896CCA76294AC81" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation" xlink:label="loc_us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation_C4D9B45BFC1DE7FC4231CCA762943766" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_AE26AA435D79AFF980F0CCA76293E600" xlink:to="loc_us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation_C4D9B45BFC1DE7FC4231CCA762943766" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ProceedsFromStockPlans" xlink:label="loc_us-gaap_ProceedsFromStockPlans_B4227295F977B28C659ECCA76294812E" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_AE26AA435D79AFF980F0CCA76293E600" xlink:to="loc_us-gaap_ProceedsFromStockPlans_B4227295F977B28C659ECCA76294812E" xlink:type="arc" />
    <link:loc xlink:href="eme-20190930.xsd#eme_PaymentsforContingentConsiderationArrangements" xlink:label="loc_eme_PaymentsforContingentConsiderationArrangements_2D28D5E5E598B7A58B68CCA76295FAB7" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_AE26AA435D79AFF980F0CCA76293E600" xlink:to="loc_eme_PaymentsforContingentConsiderationArrangements_2D28D5E5E598B7A58B68CCA76295FAB7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PaymentsOfDividendsMinorityInterest" xlink:label="loc_us-gaap_PaymentsOfDividendsMinorityInterest_C69A61649035FBE2D6FDCCA7629597D3" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_AE26AA435D79AFF980F0CCA76293E600" xlink:to="loc_us-gaap_PaymentsOfDividendsMinorityInterest_C69A61649035FBE2D6FDCCA7629597D3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_88E922A670AFA1A6AD07CCA76295E5A6" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_AE26AA435D79AFF980F0CCA76293E600" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_88E922A670AFA1A6AD07CCA76295E5A6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsIncludingDisposalGroupAndDiscontinuedOperations" xlink:label="loc_us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsIncludingDisposalGroupAndDiscontinuedOperations_8D4040590E672C1A5622CCA7629533DC" xlink:type="locator" />
    <link:definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_AE26AA435D79AFF980F0CCA76293E600" xlink:to="loc_us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsIncludingDisposalGroupAndDiscontinuedOperations_8D4040590E672C1A5622CCA7629533DC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_0B7C5841AAB037C6FF09CCA762959B99" xlink:type="locator" />
    <link:definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_AE26AA435D79AFF980F0CCA76293E600" xlink:to="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_0B7C5841AAB037C6FF09CCA762959B99" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsIncludingDisposalGroupAndDiscontinuedOperations" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsIncludingDisposalGroupAndDiscontinuedOperations_CD6F6C041AD682A19BD5CCA762967C98" xlink:type="locator" />
    <link:definitionArc order="13" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_AE26AA435D79AFF980F0CCA76293E600" xlink:to="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsIncludingDisposalGroupAndDiscontinuedOperations_CD6F6C041AD682A19BD5CCA762967C98" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SupplementalCashFlowInformationAbstract" xlink:label="loc_us-gaap_SupplementalCashFlowInformationAbstract_5171725DADEDD7DE3E9ECCA7629694C1" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_EFD1DDA0D02690BEB27DCCA7628F2382" xlink:to="loc_us-gaap_SupplementalCashFlowInformationAbstract_5171725DADEDD7DE3E9ECCA7629694C1" xlink:type="arc" />
    <link:loc xlink:href="eme-20190930.xsd#eme_CashPaidForAbstract" xlink:label="loc_eme_CashPaidForAbstract_41AF2CB3792EE8A1E10ECCA762961464" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SupplementalCashFlowInformationAbstract_5171725DADEDD7DE3E9ECCA7629694C1" xlink:to="loc_eme_CashPaidForAbstract_41AF2CB3792EE8A1E10ECCA762961464" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_InterestPaidNet" xlink:label="loc_us-gaap_InterestPaidNet_C05D1DDF23523EF471A1CCA7652B3115" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_eme_CashPaidForAbstract_41AF2CB3792EE8A1E10ECCA762961464" xlink:to="loc_us-gaap_InterestPaidNet_C05D1DDF23523EF471A1CCA7652B3115" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IncomeTaxesPaid" xlink:label="loc_us-gaap_IncomeTaxesPaid_E0E148A8C441CA7C360FCCA76297C61E" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_eme_CashPaidForAbstract_41AF2CB3792EE8A1E10ECCA762961464" xlink:to="loc_us-gaap_IncomeTaxesPaid_E0E148A8C441CA7C360FCCA76297C61E" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.emcorgroup.com/role/CondensedConsolidatedStatementsOfCashFlowsCondensedConsolidatedStatementsOfCashFlowsParenthetical" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.emcorgroup.com/role/CondensedConsolidatedStatementsOfComprehensiveIncome" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.emcorgroup.com/role/CondensedConsolidatedStatementsOfComprehensiveIncomeParenthetical" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.emcorgroup.com/role/CondensedConsolidatedStatementsOfEquity" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaap_StatementLineItems_41A2B3AB5ED5A878AD2DDA6885639771" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaap_StatementTable_0D1670A4B919A5BCC2F1DA688561AEEC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_41A2B3AB5ED5A878AD2DDA6885639771" xlink:to="loc_us-gaap_StatementTable_0D1670A4B919A5BCC2F1DA688561AEEC" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementEquityComponentsAxis" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_6011DE88AB1540CE3D7CDA688562CA46" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_0D1670A4B919A5BCC2F1DA688561AEEC" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_6011DE88AB1540CE3D7CDA688562CA46" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_BA48C2185FD4EC81DA8ADA688562EBD2_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_6011DE88AB1540CE3D7CDA688562CA46" xlink:to="loc_us-gaap_EquityComponentDomain_BA48C2185FD4EC81DA8ADA688562EBD2_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_BA48C2185FD4EC81DA8ADA688562EBD2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_6011DE88AB1540CE3D7CDA688562CA46" xlink:to="loc_us-gaap_EquityComponentDomain_BA48C2185FD4EC81DA8ADA688562EBD2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CommonStockMember" xlink:label="loc_us-gaap_CommonStockMember_C5859E7526BF9BDD3E17DA688562E3F7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_BA48C2185FD4EC81DA8ADA688562EBD2" xlink:to="loc_us-gaap_CommonStockMember_C5859E7526BF9BDD3E17DA688562E3F7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AdditionalPaidInCapitalMember" xlink:label="loc_us-gaap_AdditionalPaidInCapitalMember_62D017C97E90F9F1DEA8DA688562199A" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_BA48C2185FD4EC81DA8ADA688562EBD2" xlink:to="loc_us-gaap_AdditionalPaidInCapitalMember_62D017C97E90F9F1DEA8DA688562199A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeMember" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_DE9A5322EAE37BB9F241DA68856353EF" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_BA48C2185FD4EC81DA8ADA688562EBD2" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_DE9A5322EAE37BB9F241DA68856353EF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RetainedEarningsMember" xlink:label="loc_us-gaap_RetainedEarningsMember_D70D82914BA231EABE91DA68856361F2" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_BA48C2185FD4EC81DA8ADA688562EBD2" xlink:to="loc_us-gaap_RetainedEarningsMember_D70D82914BA231EABE91DA68856361F2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_TreasuryStockMember" xlink:label="loc_us-gaap_TreasuryStockMember_386ACC3AFC2E729FB421DA6885638996" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_BA48C2185FD4EC81DA8ADA688562EBD2" xlink:to="loc_us-gaap_TreasuryStockMember_386ACC3AFC2E729FB421DA6885638996" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_NoncontrollingInterestMember" xlink:label="loc_us-gaap_NoncontrollingInterestMember_3D348A47EBF25F473E12DA68856347C5" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_BA48C2185FD4EC81DA8ADA688562EBD2" xlink:to="loc_us-gaap_NoncontrollingInterestMember_3D348A47EBF25F473E12DA68856347C5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_AC58978CF71DCD7659C2DA688563FB0B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_41A2B3AB5ED5A878AD2DDA6885639771" xlink:to="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_AC58978CF71DCD7659C2DA688563FB0B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ProfitLoss" xlink:label="loc_us-gaap_ProfitLoss_64EC377DA687E75CA8E3DA688564D495" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_41A2B3AB5ED5A878AD2DDA6885639771" xlink:to="loc_us-gaap_ProfitLoss_64EC377DA687E75CA8E3DA688564D495" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_A29D9CA295C51F64565EDA688564DCD6" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_41A2B3AB5ED5A878AD2DDA6885639771" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_A29D9CA295C51F64565EDA688564DCD6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CumulativeEffectOnRetainedEarningsNetOfTax1" xlink:label="loc_us-gaap_CumulativeEffectOnRetainedEarningsNetOfTax1_FF0C6F0F3ABAC36E7A9ADA688564A76C" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_41A2B3AB5ED5A878AD2DDA6885639771" xlink:to="loc_us-gaap_CumulativeEffectOnRetainedEarningsNetOfTax1_FF0C6F0F3ABAC36E7A9ADA688564A76C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StockIssuedDuringPeriodValueShareBasedCompensation" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueShareBasedCompensation_5AD7945BDEEEFE168019DA6885647BF1" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_41A2B3AB5ED5A878AD2DDA6885639771" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueShareBasedCompensation_5AD7945BDEEEFE168019DA6885647BF1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AdjustmentsRelatedToTaxWithholdingForShareBasedCompensation" xlink:label="loc_us-gaap_AdjustmentsRelatedToTaxWithholdingForShareBasedCompensation_A137434E5D1218F905A0DA6885654F65" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_41A2B3AB5ED5A878AD2DDA6885639771" xlink:to="loc_us-gaap_AdjustmentsRelatedToTaxWithholdingForShareBasedCompensation_A137434E5D1218F905A0DA6885654F65" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StockIssuedDuringPeriodValueEmployeeStockPurchasePlan" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueEmployeeStockPurchasePlan_ED6D195326A81CED0983DA68856532B7" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_41A2B3AB5ED5A878AD2DDA6885639771" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueEmployeeStockPurchasePlan_ED6D195326A81CED0983DA68856532B7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DividendsCommonStock" xlink:label="loc_us-gaap_DividendsCommonStock_95EC3F676D8234656CDCDA688565CC8E" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_41A2B3AB5ED5A878AD2DDA6885639771" xlink:to="loc_us-gaap_DividendsCommonStock_95EC3F676D8234656CDCDA688565CC8E" xlink:type="arc" />
    <link:loc xlink:href="eme-20190930.xsd#eme_DividendsCommonStock1" xlink:label="loc_eme_DividendsCommonStock1_A43227D68831581B5072DA6885653BC7" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_41A2B3AB5ED5A878AD2DDA6885639771" xlink:to="loc_eme_DividendsCommonStock1_A43227D68831581B5072DA6885653BC7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StockRepurchasedDuringPeriodValue" xlink:label="loc_us-gaap_StockRepurchasedDuringPeriodValue_BD5D82B55F37CD034E26DA68856508FF" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_41A2B3AB5ED5A878AD2DDA6885639771" xlink:to="loc_us-gaap_StockRepurchasedDuringPeriodValue_BD5D82B55F37CD034E26DA68856508FF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders" xlink:label="loc_us-gaap_MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders_CD6DA57498C2789CC8C4DA6885654185" xlink:type="locator" />
    <link:definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_41A2B3AB5ED5A878AD2DDA6885639771" xlink:to="loc_us-gaap_MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders_CD6DA57498C2789CC8C4DA6885654185" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue" xlink:label="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_7078AC78749AF7AA553BDA6885659889" xlink:type="locator" />
    <link:definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_41A2B3AB5ED5A878AD2DDA6885639771" xlink:to="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_7078AC78749AF7AA553BDA6885659889" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.emcorgroup.com/role/CondensedConsolidatedStatementsOfOperations" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.emcorgroup.com/role/Debt" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.emcorgroup.com/role/DebtNarrativeDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LineOfCreditFacilityLineItems" xlink:label="loc_us-gaap_LineOfCreditFacilityLineItems_56DB855441B944BE97CECA9F03E1ED62" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LineOfCreditFacilityTable" xlink:label="loc_us-gaap_LineOfCreditFacilityTable_C860729C2D547F6C7F0ACA9F03E1E921" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_56DB855441B944BE97CECA9F03E1ED62" xlink:to="loc_us-gaap_LineOfCreditFacilityTable_C860729C2D547F6C7F0ACA9F03E1E921" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CreditFacilityAxis" xlink:label="loc_us-gaap_CreditFacilityAxis_615BB7334AE9C6D29176CA9F03E17CB0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LineOfCreditFacilityTable_C860729C2D547F6C7F0ACA9F03E1E921" xlink:to="loc_us-gaap_CreditFacilityAxis_615BB7334AE9C6D29176CA9F03E17CB0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CreditFacilityDomain" xlink:label="loc_us-gaap_CreditFacilityDomain_53E23A8C7BFA7925B6C0CA9F03E1ECC0_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_CreditFacilityAxis_615BB7334AE9C6D29176CA9F03E17CB0" xlink:to="loc_us-gaap_CreditFacilityDomain_53E23A8C7BFA7925B6C0CA9F03E1ECC0_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CreditFacilityDomain" xlink:label="loc_us-gaap_CreditFacilityDomain_53E23A8C7BFA7925B6C0CA9F03E1ECC0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_CreditFacilityAxis_615BB7334AE9C6D29176CA9F03E17CB0" xlink:to="loc_us-gaap_CreditFacilityDomain_53E23A8C7BFA7925B6C0CA9F03E1ECC0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RevolvingCreditFacilityMember" xlink:label="loc_us-gaap_RevolvingCreditFacilityMember_FD14CB6A9DEEF2D8412FCA9F03E1B517" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_53E23A8C7BFA7925B6C0CA9F03E1ECC0" xlink:to="loc_us-gaap_RevolvingCreditFacilityMember_FD14CB6A9DEEF2D8412FCA9F03E1B517" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_VariableRateAxis" xlink:label="loc_us-gaap_VariableRateAxis_C14A5822AD911E5AC4A4CA9F03E1EF9D" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LineOfCreditFacilityTable_C860729C2D547F6C7F0ACA9F03E1E921" xlink:to="loc_us-gaap_VariableRateAxis_C14A5822AD911E5AC4A4CA9F03E1EF9D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_VariableRateDomain" xlink:label="loc_us-gaap_VariableRateDomain_8954E938225DC742C8B8CA9F03E10465_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_VariableRateAxis_C14A5822AD911E5AC4A4CA9F03E1EF9D" xlink:to="loc_us-gaap_VariableRateDomain_8954E938225DC742C8B8CA9F03E10465_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_VariableRateDomain" xlink:label="loc_us-gaap_VariableRateDomain_8954E938225DC742C8B8CA9F03E10465" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_VariableRateAxis_C14A5822AD911E5AC4A4CA9F03E1EF9D" xlink:to="loc_us-gaap_VariableRateDomain_8954E938225DC742C8B8CA9F03E10465" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_BaseRateMember" xlink:label="loc_us-gaap_BaseRateMember_C7D57765017C2D748CFECA9F03E19DEE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableRateDomain_8954E938225DC742C8B8CA9F03E10465" xlink:to="loc_us-gaap_BaseRateMember_C7D57765017C2D748CFECA9F03E19DEE" xlink:type="arc" />
    <link:loc xlink:href="eme-20190930.xsd#eme_CreditAgreementBaseRateBankofMontrealPrimeRateMember" xlink:label="loc_eme_CreditAgreementBaseRateBankofMontrealPrimeRateMember_AA5DCDDB346796F88BBFCA9F03E1020C" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableRateDomain_8954E938225DC742C8B8CA9F03E10465" xlink:to="loc_eme_CreditAgreementBaseRateBankofMontrealPrimeRateMember_AA5DCDDB346796F88BBFCA9F03E1020C" xlink:type="arc" />
    <link:loc xlink:href="eme-20190930.xsd#eme_CreditAgreementBaseRateDailyOneMonthLIBORRateMember" xlink:label="loc_eme_CreditAgreementBaseRateDailyOneMonthLIBORRateMember_520E8DECC2C450D3562BCA9F03E17ADD" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableRateDomain_8954E938225DC742C8B8CA9F03E10465" xlink:to="loc_eme_CreditAgreementBaseRateDailyOneMonthLIBORRateMember_520E8DECC2C450D3562BCA9F03E17ADD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LondonInterbankOfferedRateLIBORMember" xlink:label="loc_us-gaap_LondonInterbankOfferedRateLIBORMember_B6F97F3A50DD0FD4DDAACA9F03E137D5" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableRateDomain_8954E938225DC742C8B8CA9F03E10465" xlink:to="loc_us-gaap_LondonInterbankOfferedRateLIBORMember_B6F97F3A50DD0FD4DDAACA9F03E137D5" xlink:type="arc" />
    <link:loc xlink:href="eme-20190930.xsd#eme_CreditAgreementBaseRateFederalFundsRateMember" xlink:label="loc_eme_CreditAgreementBaseRateFederalFundsRateMember_214D0C24D3544A8ED40ECA9F03E11850" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableRateDomain_8954E938225DC742C8B8CA9F03E10465" xlink:to="loc_eme_CreditAgreementBaseRateFederalFundsRateMember_214D0C24D3544A8ED40ECA9F03E11850" xlink:type="arc" />
    <link:loc xlink:href="eme-20190930.xsd#eme_CreditAgreement0BaseRateMember" xlink:label="loc_eme_CreditAgreement0BaseRateMember_C815AC0B31CAD798A0FBCA9F03E107AC" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableRateDomain_8954E938225DC742C8B8CA9F03E10465" xlink:to="loc_eme_CreditAgreement0BaseRateMember_C815AC0B31CAD798A0FBCA9F03E107AC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_RangeAxis" xlink:label="loc_srt_RangeAxis_68B7650D468190AC6878CA9F03E10741" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LineOfCreditFacilityTable_C860729C2D547F6C7F0ACA9F03E1E921" xlink:to="loc_srt_RangeAxis_68B7650D468190AC6878CA9F03E10741" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember_C7F181AF9C108ECD7636CA9F03E129BE_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_68B7650D468190AC6878CA9F03E10741" xlink:to="loc_srt_RangeMember_C7F181AF9C108ECD7636CA9F03E129BE_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember_C7F181AF9C108ECD7636CA9F03E129BE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_68B7650D468190AC6878CA9F03E10741" xlink:to="loc_srt_RangeMember_C7F181AF9C108ECD7636CA9F03E129BE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_MinimumMember" xlink:label="loc_srt_MinimumMember_9D8E43FC1065E6C01E72CA9F03E1A8C5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_C7F181AF9C108ECD7636CA9F03E129BE" xlink:to="loc_srt_MinimumMember_9D8E43FC1065E6C01E72CA9F03E1A8C5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_MaximumMember" xlink:label="loc_srt_MaximumMember_4B660C2E5D8FB0C1941ECA9F03E12907" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_C7F181AF9C108ECD7636CA9F03E129BE" xlink:to="loc_srt_MaximumMember_4B660C2E5D8FB0C1941ECA9F03E12907" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentAxis" xlink:label="loc_us-gaap_DebtInstrumentAxis_4B36CD42F2FB9B8A782DCA9F03E1204D" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LineOfCreditFacilityTable_C860729C2D547F6C7F0ACA9F03E1E921" xlink:to="loc_us-gaap_DebtInstrumentAxis_4B36CD42F2FB9B8A782DCA9F03E1204D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_EFE2B9403D7DC7FE9E1DCA9F03E1FBDB_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_4B36CD42F2FB9B8A782DCA9F03E1204D" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_EFE2B9403D7DC7FE9E1DCA9F03E1FBDB_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_EFE2B9403D7DC7FE9E1DCA9F03E1FBDB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_4B36CD42F2FB9B8A782DCA9F03E1204D" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_EFE2B9403D7DC7FE9E1DCA9F03E1FBDB" xlink:type="arc" />
    <link:loc xlink:href="eme-20190930.xsd#eme_CreditAgreement2016MemberMember" xlink:label="loc_eme_CreditAgreement2016MemberMember_790D0422E4F5280B95ECCA9F03E1A334" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_EFE2B9403D7DC7FE9E1DCA9F03E1FBDB" xlink:to="loc_eme_CreditAgreement2016MemberMember_790D0422E4F5280B95ECCA9F03E1A334" xlink:type="arc" />
    <link:loc xlink:href="eme-20190930.xsd#eme_RevolvingCreditFacility2016MemberMember" xlink:label="loc_eme_RevolvingCreditFacility2016MemberMember_6F95797F4624C849A8E9CA9F03E18904" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_EFE2B9403D7DC7FE9E1DCA9F03E1FBDB" xlink:to="loc_eme_RevolvingCreditFacility2016MemberMember_6F95797F4624C849A8E9CA9F03E18904" xlink:type="arc" />
    <link:loc xlink:href="eme-20190930.xsd#eme_TermLoan2016MemberMember" xlink:label="loc_eme_TermLoan2016MemberMember_439A0ED485DA7B26D01CCA9F03E1F059" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_EFE2B9403D7DC7FE9E1DCA9F03E1FBDB" xlink:to="loc_eme_TermLoan2016MemberMember_439A0ED485DA7B26D01CCA9F03E1F059" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity" xlink:label="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_C0E73DF86E52BEACD25FCA9F03E10E8A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_56DB855441B944BE97CECA9F03E1ED62" xlink:to="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_C0E73DF86E52BEACD25FCA9F03E10E8A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LongTermDebt" xlink:label="loc_us-gaap_LongTermDebt_FF036699225862CCEB47CA9F03E10BAB" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_56DB855441B944BE97CECA9F03E1ED62" xlink:to="loc_us-gaap_LongTermDebt_FF036699225862CCEB47CA9F03E10BAB" xlink:type="arc" />
    <link:loc xlink:href="eme-20190930.xsd#eme_CreditAgreementInitiationDate1" xlink:label="loc_eme_CreditAgreementInitiationDate1_A34B91C2B5C6648730D4CA9F03E1602A" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_56DB855441B944BE97CECA9F03E1ED62" xlink:to="loc_eme_CreditAgreementInitiationDate1_A34B91C2B5C6648730D4CA9F03E1602A" xlink:type="arc" />
    <link:loc xlink:href="eme-20190930.xsd#eme_CreditAgreementExpirationDate1" xlink:label="loc_eme_CreditAgreementExpirationDate1_B4F73876E5B7F4B22801CA9F03E10ADA" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_56DB855441B944BE97CECA9F03E1ED62" xlink:to="loc_eme_CreditAgreementExpirationDate1_B4F73876E5B7F4B22801CA9F03E10ADA" xlink:type="arc" />
    <link:loc xlink:href="eme-20190930.xsd#eme_IncreaseBorrowingCapacity" xlink:label="loc_eme_IncreaseBorrowingCapacity_9709CE3FAA293C71CA0ECA9F03E17D38" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_56DB855441B944BE97CECA9F03E1ED62" xlink:to="loc_eme_IncreaseBorrowingCapacity_9709CE3FAA293C71CA0ECA9F03E17D38" xlink:type="arc" />
    <link:loc xlink:href="eme-20190930.xsd#eme_LettersOfCreditMaximumBorrowingCapacity" xlink:label="loc_eme_LettersOfCreditMaximumBorrowingCapacity_C2557AEA3AB5BE309738CA9F03E1C426" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_56DB855441B944BE97CECA9F03E1ED62" xlink:to="loc_eme_LettersOfCreditMaximumBorrowingCapacity_C2557AEA3AB5BE309738CA9F03E1C426" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LineOfCreditFacilityUnusedCapacityCommitmentFeePercentage" xlink:label="loc_us-gaap_LineOfCreditFacilityUnusedCapacityCommitmentFeePercentage_4F8CA13864B6FC69812ACA9F03E19490" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_56DB855441B944BE97CECA9F03E1ED62" xlink:to="loc_us-gaap_LineOfCreditFacilityUnusedCapacityCommitmentFeePercentage_4F8CA13864B6FC69812ACA9F03E19490" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LineOfCreditFacilityInterestRateDescription" xlink:label="loc_us-gaap_LineOfCreditFacilityInterestRateDescription_D3E5C933A1A1F80A0546CA9F03E15B88" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_56DB855441B944BE97CECA9F03E1ED62" xlink:to="loc_us-gaap_LineOfCreditFacilityInterestRateDescription_D3E5C933A1A1F80A0546CA9F03E15B88" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LongTermDebtPercentageBearingVariableInterestRate" xlink:label="loc_us-gaap_LongTermDebtPercentageBearingVariableInterestRate_3DABC66320F590BBBBC9CA9F03E1D732" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_56DB855441B944BE97CECA9F03E1ED62" xlink:to="loc_us-gaap_LongTermDebtPercentageBearingVariableInterestRate_3DABC66320F590BBBBC9CA9F03E1D732" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentBasisSpreadOnVariableRate1" xlink:label="loc_us-gaap_DebtInstrumentBasisSpreadOnVariableRate1_EA20110127E7B9214A4ACA9F03E17E5F" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_56DB855441B944BE97CECA9F03E1ED62" xlink:to="loc_us-gaap_DebtInstrumentBasisSpreadOnVariableRate1_EA20110127E7B9214A4ACA9F03E17E5F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LineOfCreditFacilityInterestRateAtPeriodEnd" xlink:label="loc_us-gaap_LineOfCreditFacilityInterestRateAtPeriodEnd_DABC5F5E32434A693EC6CA9F03E1084D" xlink:type="locator" />
    <link:definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_56DB855441B944BE97CECA9F03E1ED62" xlink:to="loc_us-gaap_LineOfCreditFacilityInterestRateAtPeriodEnd_DABC5F5E32434A693EC6CA9F03E1084D" xlink:type="arc" />
    <link:loc xlink:href="eme-20190930.xsd#eme_RangeOfLetterOfCreditFees" xlink:label="loc_eme_RangeOfLetterOfCreditFees_D3710A51E18525C1C865CA9F03E1534A" xlink:type="locator" />
    <link:definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_56DB855441B944BE97CECA9F03E1ED62" xlink:to="loc_eme_RangeOfLetterOfCreditFees_D3710A51E18525C1C865CA9F03E1534A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentPeriodicPaymentPrincipal" xlink:label="loc_us-gaap_DebtInstrumentPeriodicPaymentPrincipal_D094850B8FD700C02D0BCA9F03E15F88" xlink:type="locator" />
    <link:definitionArc order="13" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_56DB855441B944BE97CECA9F03E1ED62" xlink:to="loc_us-gaap_DebtInstrumentPeriodicPaymentPrincipal_D094850B8FD700C02D0BCA9F03E15F88" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentAnnualPrincipalPayment" xlink:label="loc_us-gaap_DebtInstrumentAnnualPrincipalPayment_452339DBB070ECFBDF37CA9F03E1B0DE" xlink:type="locator" />
    <link:definitionArc order="14" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_56DB855441B944BE97CECA9F03E1ED62" xlink:to="loc_us-gaap_DebtInstrumentAnnualPrincipalPayment_452339DBB070ECFBDF37CA9F03E1B0DE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RepaymentsOfLongTermDebt" xlink:label="loc_us-gaap_RepaymentsOfLongTermDebt_C222C07037DC11DA053ACA9F03E182E0" xlink:type="locator" />
    <link:definitionArc order="15" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_56DB855441B944BE97CECA9F03E1ED62" xlink:to="loc_us-gaap_RepaymentsOfLongTermDebt_C222C07037DC11DA053ACA9F03E182E0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LettersOfCreditOutstandingAmount" xlink:label="loc_us-gaap_LettersOfCreditOutstandingAmount_056108950ECCF68F46E4CA9F03E120FE" xlink:type="locator" />
    <link:definitionArc order="16" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_56DB855441B944BE97CECA9F03E1ED62" xlink:to="loc_us-gaap_LettersOfCreditOutstandingAmount_056108950ECCF68F46E4CA9F03E120FE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LongTermLineOfCredit" xlink:label="loc_us-gaap_LongTermLineOfCredit_12947F2AA953CC6CA636CA9F03E1C8F4" xlink:type="locator" />
    <link:definitionArc order="17" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_56DB855441B944BE97CECA9F03E1ED62" xlink:to="loc_us-gaap_LongTermLineOfCredit_12947F2AA953CC6CA636CA9F03E1C8F4" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.emcorgroup.com/role/DebtScheduleOfDebtDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentLineItems" xlink:label="loc_us-gaap_DebtInstrumentLineItems_6D8F70589B2984F3DBF1271ABBC99F69" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentTable" xlink:label="loc_us-gaap_DebtInstrumentTable_773F88FC9B97667455B8271ABBC8BABB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_6D8F70589B2984F3DBF1271ABBC99F69" xlink:to="loc_us-gaap_DebtInstrumentTable_773F88FC9B97667455B8271ABBC8BABB" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentAxis" xlink:label="loc_us-gaap_DebtInstrumentAxis_116F0213691E3D65196A271ABBC81C3A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_773F88FC9B97667455B8271ABBC8BABB" xlink:to="loc_us-gaap_DebtInstrumentAxis_116F0213691E3D65196A271ABBC81C3A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_D06F0E46935C0AAD575B271ABBC8B24F_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_116F0213691E3D65196A271ABBC81C3A" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_D06F0E46935C0AAD575B271ABBC8B24F_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_D06F0E46935C0AAD575B271ABBC8B24F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_116F0213691E3D65196A271ABBC81C3A" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_D06F0E46935C0AAD575B271ABBC8B24F" xlink:type="arc" />
    <link:loc xlink:href="eme-20190930.xsd#eme_TermLoan2016MemberMember" xlink:label="loc_eme_TermLoan2016MemberMember_412B65B6DF648F3E8928271ABBC9B5C0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_D06F0E46935C0AAD575B271ABBC8B24F" xlink:to="loc_eme_TermLoan2016MemberMember_412B65B6DF648F3E8928271ABBC9B5C0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LongTermLineOfCredit" xlink:label="loc_us-gaap_LongTermLineOfCredit_48D80831E9C6F5616FD1271ABBC9C44E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_6D8F70589B2984F3DBF1271ABBC99F69" xlink:to="loc_us-gaap_LongTermLineOfCredit_48D80831E9C6F5616FD1271ABBC9C44E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LongTermDebt" xlink:label="loc_us-gaap_LongTermDebt_569641C8FD99912EB8BD271ABBC96EAB" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_6D8F70589B2984F3DBF1271ABBC99F69" xlink:to="loc_us-gaap_LongTermDebt_569641C8FD99912EB8BD271ABBC96EAB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DeferredFinanceCostsNet" xlink:label="loc_us-gaap_DeferredFinanceCostsNet_1784D1EDA08CB83D45BB271ABBCA4C67" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_6D8F70589B2984F3DBF1271ABBC99F69" xlink:to="loc_us-gaap_DeferredFinanceCostsNet_1784D1EDA08CB83D45BB271ABBCA4C67" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FinanceLeaseLiability" xlink:label="loc_us-gaap_FinanceLeaseLiability_78815470D68D7600D995271ABBCA0E93" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_6D8F70589B2984F3DBF1271ABBC99F69" xlink:to="loc_us-gaap_FinanceLeaseLiability_78815470D68D7600D995271ABBCA0E93" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OtherBorrowings" xlink:label="loc_us-gaap_OtherBorrowings_F3A65A40481E69DEC97B271ABBCA8361" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_6D8F70589B2984F3DBF1271ABBC99F69" xlink:to="loc_us-gaap_OtherBorrowings_F3A65A40481E69DEC97B271ABBCA8361" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtAndCapitalLeaseObligations" xlink:label="loc_us-gaap_DebtAndCapitalLeaseObligations_89BC729AEE3023CCB400271ABBCA79BB" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_6D8F70589B2984F3DBF1271ABBC99F69" xlink:to="loc_us-gaap_DebtAndCapitalLeaseObligations_89BC729AEE3023CCB400271ABBCA79BB" xlink:type="arc" />
    <link:loc xlink:href="eme-20190930.xsd#eme_CurrentMaturitiesOfLongTermDebtAndCapitalLeaseObligations" xlink:label="loc_eme_CurrentMaturitiesOfLongTermDebtAndCapitalLeaseObligations_65ABF434A798C375D5A5271ABBCAA4D2" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_6D8F70589B2984F3DBF1271ABBC99F69" xlink:to="loc_eme_CurrentMaturitiesOfLongTermDebtAndCapitalLeaseObligations_65ABF434A798C375D5A5271ABBCAA4D2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LongTermDebtAndCapitalLeaseObligations" xlink:label="loc_us-gaap_LongTermDebtAndCapitalLeaseObligations_D862028C28433F7DCBF5271ABBCAEE46" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_6D8F70589B2984F3DBF1271ABBC99F69" xlink:to="loc_us-gaap_LongTermDebtAndCapitalLeaseObligations_D862028C28433F7DCBF5271ABBCAEE46" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.emcorgroup.com/role/DebtTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.emcorgroup.com/role/DispositionOfAssets" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.emcorgroup.com/role/DispositionOfAssetsNarrativeDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsLineItems" xlink:label="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsLineItems_7F92FE0816EAAC5A6778271ABC2AA467" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsTable" xlink:label="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsTable_0F90094DA51D144B6223271ABC280EDB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsLineItems_7F92FE0816EAAC5A6778271ABC2AA467" xlink:to="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsTable_0F90094DA51D144B6223271ABC280EDB" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_StatementGeographicalAxis" xlink:label="loc_srt_StatementGeographicalAxis_BFBC2D97F42AFC645A07271ABC28DE38" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsTable_0F90094DA51D144B6223271ABC280EDB" xlink:to="loc_srt_StatementGeographicalAxis_BFBC2D97F42AFC645A07271ABC28DE38" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_SegmentGeographicalDomain" xlink:label="loc_srt_SegmentGeographicalDomain_E14A88D2AFBCB89DC713271ABC290D7C_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_StatementGeographicalAxis_BFBC2D97F42AFC645A07271ABC28DE38" xlink:to="loc_srt_SegmentGeographicalDomain_E14A88D2AFBCB89DC713271ABC290D7C_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_SegmentGeographicalDomain" xlink:label="loc_srt_SegmentGeographicalDomain_E14A88D2AFBCB89DC713271ABC290D7C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_StatementGeographicalAxis_BFBC2D97F42AFC645A07271ABC28DE38" xlink:to="loc_srt_SegmentGeographicalDomain_E14A88D2AFBCB89DC713271ABC290D7C" xlink:type="arc" />
    <link:loc xlink:href="https://xbrl.sec.gov/country/2017/country-2017-01-31.xsd#country_GB" xlink:label="loc_country_GB_F6F42EC21D07F7E74F81271ABC297ED0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_E14A88D2AFBCB89DC713271ABC290D7C" xlink:to="loc_country_GB_F6F42EC21D07F7E74F81271ABC297ED0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DisposalGroupClassificationAxis" xlink:label="loc_us-gaap_DisposalGroupClassificationAxis_FCF3BBA6B80E407366E2271ABC29CB54" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsTable_0F90094DA51D144B6223271ABC280EDB" xlink:to="loc_us-gaap_DisposalGroupClassificationAxis_FCF3BBA6B80E407366E2271ABC29CB54" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DisposalGroupClassificationDomain" xlink:label="loc_us-gaap_DisposalGroupClassificationDomain_087CEB4866818338B2C1271ABC29913B_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DisposalGroupClassificationAxis_FCF3BBA6B80E407366E2271ABC29CB54" xlink:to="loc_us-gaap_DisposalGroupClassificationDomain_087CEB4866818338B2C1271ABC29913B_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DisposalGroupClassificationDomain" xlink:label="loc_us-gaap_DisposalGroupClassificationDomain_087CEB4866818338B2C1271ABC29913B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DisposalGroupClassificationAxis_FCF3BBA6B80E407366E2271ABC29CB54" xlink:to="loc_us-gaap_DisposalGroupClassificationDomain_087CEB4866818338B2C1271ABC29913B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SegmentDiscontinuedOperationsMember" xlink:label="loc_us-gaap_SegmentDiscontinuedOperationsMember_7E4324E9140F127F2E4E271ABC2A42E5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisposalGroupClassificationDomain_087CEB4866818338B2C1271ABC29913B" xlink:to="loc_us-gaap_SegmentDiscontinuedOperationsMember_7E4324E9140F127F2E4E271ABC2A42E5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsAxis" xlink:label="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsAxis_B0A8E02E61EBB4297475271ABC2AA6F8" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsTable_0F90094DA51D144B6223271ABC280EDB" xlink:to="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsAxis_B0A8E02E61EBB4297475271ABC2AA6F8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DisposalGroupsIncludingDiscontinuedOperationsNameDomain" xlink:label="loc_us-gaap_DisposalGroupsIncludingDiscontinuedOperationsNameDomain_2C3BEFD16B7D4530BB89271ABC2AACDB_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsAxis_B0A8E02E61EBB4297475271ABC2AA6F8" xlink:to="loc_us-gaap_DisposalGroupsIncludingDiscontinuedOperationsNameDomain_2C3BEFD16B7D4530BB89271ABC2AACDB_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DisposalGroupsIncludingDiscontinuedOperationsNameDomain" xlink:label="loc_us-gaap_DisposalGroupsIncludingDiscontinuedOperationsNameDomain_2C3BEFD16B7D4530BB89271ABC2AACDB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsAxis_B0A8E02E61EBB4297475271ABC2AA6F8" xlink:to="loc_us-gaap_DisposalGroupsIncludingDiscontinuedOperationsNameDomain_2C3BEFD16B7D4530BB89271ABC2AACDB" xlink:type="arc" />
    <link:loc xlink:href="eme-20190930.xsd#eme_UnitedKingdomConstructionMember" xlink:label="loc_eme_UnitedKingdomConstructionMember_BEA744475206FBA7E4BA271ABC2A763C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisposalGroupsIncludingDiscontinuedOperationsNameDomain_2C3BEFD16B7D4530BB89271ABC2AACDB" xlink:to="loc_eme_UnitedKingdomConstructionMember_BEA744475206FBA7E4BA271ABC2A763C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IncomeStatementAbstract" xlink:label="loc_us-gaap_IncomeStatementAbstract_8A2A761A3365D319D506271ABC2B4A93" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsLineItems_7F92FE0816EAAC5A6778271ABC2AA467" xlink:to="loc_us-gaap_IncomeStatementAbstract_8A2A761A3365D319D506271ABC2B4A93" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationRevenue" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationRevenue_96EB669EAAB6B99BC11C271ABC2B0FE8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementAbstract_8A2A761A3365D319D506271ABC2B4A93" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationRevenue_96EB669EAAB6B99BC11C271ABC2B0FE8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTax" xlink:label="loc_us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTax_D99F08FA1E26EA879EC5271ABC2BACDD" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementAbstract_8A2A761A3365D319D506271ABC2B4A93" xlink:to="loc_us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTax_D99F08FA1E26EA879EC5271ABC2BACDD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxPerDilutedShare" xlink:label="loc_us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxPerDilutedShare_063DEA75FF9304F9F9B1271ABC2B57E8" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementAbstract_8A2A761A3365D319D506271ABC2B4A93" xlink:to="loc_us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxPerDilutedShare_063DEA75FF9304F9F9B1271ABC2B57E8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperationCurrent" xlink:label="loc_us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperationCurrent_60FC7265DF9F48E204F5271ABC2C7861" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementAbstract_8A2A761A3365D319D506271ABC2B4A93" xlink:to="loc_us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperationCurrent_60FC7265DF9F48E204F5271ABC2C7861" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.emcorgroup.com/role/DispositionOfAssetsTables" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsLineItems" xlink:label="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsLineItems_5EE9C763A1859A9FF653271ABC2FF9BC" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsTable" xlink:label="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsTable_03258E503A06DC98F998271ABC2E652C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsLineItems_5EE9C763A1859A9FF653271ABC2FF9BC" xlink:to="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsTable_03258E503A06DC98F998271ABC2E652C" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsAxis" xlink:label="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsAxis_42B2BD2003DBFA8A03F4271ABC2FA99F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsTable_03258E503A06DC98F998271ABC2E652C" xlink:to="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsAxis_42B2BD2003DBFA8A03F4271ABC2FA99F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DisposalGroupsIncludingDiscontinuedOperationsNameDomain" xlink:label="loc_us-gaap_DisposalGroupsIncludingDiscontinuedOperationsNameDomain_F0368D1BBBA59930858A271ABC2F21A7_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsAxis_42B2BD2003DBFA8A03F4271ABC2FA99F" xlink:to="loc_us-gaap_DisposalGroupsIncludingDiscontinuedOperationsNameDomain_F0368D1BBBA59930858A271ABC2F21A7_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DisposalGroupsIncludingDiscontinuedOperationsNameDomain" xlink:label="loc_us-gaap_DisposalGroupsIncludingDiscontinuedOperationsNameDomain_F0368D1BBBA59930858A271ABC2F21A7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsAxis_42B2BD2003DBFA8A03F4271ABC2FA99F" xlink:to="loc_us-gaap_DisposalGroupsIncludingDiscontinuedOperationsNameDomain_F0368D1BBBA59930858A271ABC2F21A7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ScheduleOfDisposalGroupsIncludingDiscontinuedOperationsIncomeStatementBalanceSheetAndAdditionalDisclosuresTextBlock" xlink:label="loc_us-gaap_ScheduleOfDisposalGroupsIncludingDiscontinuedOperationsIncomeStatementBalanceSheetAndAdditionalDisclosuresTextBlock_E324513F9E954FC637FE271ABC2FC2C4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsLineItems_5EE9C763A1859A9FF653271ABC2FF9BC" xlink:to="loc_us-gaap_ScheduleOfDisposalGroupsIncludingDiscontinuedOperationsIncomeStatementBalanceSheetAndAdditionalDisclosuresTextBlock_E324513F9E954FC637FE271ABC2FC2C4" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.emcorgroup.com/role/DocumentAndEntityInformation" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.emcorgroup.com/role/EarningsPerShare" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.emcorgroup.com/role/EarningsPerShareDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_61B98CBA5521D30283AFD67027E2D71A" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable" xlink:label="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_477BA8A381BF6D3124C0D67027E25AB5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_61B98CBA5521D30283AFD67027E2D71A" xlink:to="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_477BA8A381BF6D3124C0D67027E25AB5" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_56652CFBB75526B02FDFD67027E26CFC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_477BA8A381BF6D3124C0D67027E25AB5" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_56652CFBB75526B02FDFD67027E26CFC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AntidilutiveSecuritiesNameDomain" xlink:label="loc_us-gaap_AntidilutiveSecuritiesNameDomain_32ADEE38946E819635A5D67027E2D47C_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_56652CFBB75526B02FDFD67027E26CFC" xlink:to="loc_us-gaap_AntidilutiveSecuritiesNameDomain_32ADEE38946E819635A5D67027E2D47C_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AntidilutiveSecuritiesNameDomain" xlink:label="loc_us-gaap_AntidilutiveSecuritiesNameDomain_32ADEE38946E819635A5D67027E2D47C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_56652CFBB75526B02FDFD67027E26CFC" xlink:to="loc_us-gaap_AntidilutiveSecuritiesNameDomain_32ADEE38946E819635A5D67027E2D47C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_16C4F4484B4D3385C4A9D67027E26FCB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_61B98CBA5521D30283AFD67027E2D71A" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_16C4F4484B4D3385C4A9D67027E26FCB" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.emcorgroup.com/role/EarningsPerShareTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.emcorgroup.com/role/FairValueMeasurements" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.emcorgroup.com/role/FairValueMeasurementsPolicy" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.emcorgroup.com/role/FairValueMeasurementsScheduleOfAssetsAndLiabilitiesCarriedAtFairValueMeasuredOnRecurringBasisDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_284392C58F9EE6BE6C59271ABBA11816" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_5F4AC6CF5458FBE96576271ABB9D57AC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_284392C58F9EE6BE6C59271ABBA11816" xlink:to="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_5F4AC6CF5458FBE96576271ABB9D57AC" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CashAndCashEquivalentsAxis" xlink:label="loc_us-gaap_CashAndCashEquivalentsAxis_359DA7DAE31E392262EF271ABB9E62E7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_5F4AC6CF5458FBE96576271ABB9D57AC" xlink:to="loc_us-gaap_CashAndCashEquivalentsAxis_359DA7DAE31E392262EF271ABB9E62E7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember" xlink:label="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_757862E8F3FF7269A450271ABB9EC96F_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_CashAndCashEquivalentsAxis_359DA7DAE31E392262EF271ABB9E62E7" xlink:to="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_757862E8F3FF7269A450271ABB9EC96F_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember" xlink:label="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_757862E8F3FF7269A450271ABB9EC96F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_CashAndCashEquivalentsAxis_359DA7DAE31E392262EF271ABB9E62E7" xlink:to="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_757862E8F3FF7269A450271ABB9EC96F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_MoneyMarketFundsMember" xlink:label="loc_us-gaap_MoneyMarketFundsMember_E6E53E9DFC4D098F6770271ABB9E5548" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_757862E8F3FF7269A450271ABB9EC96F" xlink:to="loc_us-gaap_MoneyMarketFundsMember_E6E53E9DFC4D098F6770271ABB9E5548" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FairValueByMeasurementBasisAxis" xlink:label="loc_us-gaap_FairValueByMeasurementBasisAxis_31CFD48D54A699831838271ABB9EF5C9" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_5F4AC6CF5458FBE96576271ABB9D57AC" xlink:to="loc_us-gaap_FairValueByMeasurementBasisAxis_31CFD48D54A699831838271ABB9EF5C9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PortionAtFairValueFairValueDisclosureMember" xlink:label="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_6070D14955B71E418B23271ABB9FBF46_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByMeasurementBasisAxis_31CFD48D54A699831838271ABB9EF5C9" xlink:to="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_6070D14955B71E418B23271ABB9FBF46_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FairValueDisclosureItemAmountsDomain" xlink:label="loc_us-gaap_FairValueDisclosureItemAmountsDomain_C4E1ACBAB24914DD0208271ABB9F9640" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByMeasurementBasisAxis_31CFD48D54A699831838271ABB9EF5C9" xlink:to="loc_us-gaap_FairValueDisclosureItemAmountsDomain_C4E1ACBAB24914DD0208271ABB9F9640" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PortionAtFairValueFairValueDisclosureMember" xlink:label="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_6070D14955B71E418B23271ABB9FBF46" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueDisclosureItemAmountsDomain_C4E1ACBAB24914DD0208271ABB9F9640" xlink:to="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_6070D14955B71E418B23271ABB9FBF46" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FairValueByMeasurementFrequencyAxis" xlink:label="loc_us-gaap_FairValueByMeasurementFrequencyAxis_0361B26C3E8D14E4B7C9271ABB9F1DB3" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_5F4AC6CF5458FBE96576271ABB9D57AC" xlink:to="loc_us-gaap_FairValueByMeasurementFrequencyAxis_0361B26C3E8D14E4B7C9271ABB9F1DB3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_65E7E7474E9BF1E54DEB271ABB9F37B0_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_0361B26C3E8D14E4B7C9271ABB9F1DB3" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_65E7E7474E9BF1E54DEB271ABB9F37B0_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_65E7E7474E9BF1E54DEB271ABB9F37B0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_0361B26C3E8D14E4B7C9271ABB9F1DB3" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_65E7E7474E9BF1E54DEB271ABB9F37B0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FairValueMeasurementsRecurringMember" xlink:label="loc_us-gaap_FairValueMeasurementsRecurringMember_4F9FBE7E0E32D6178363271ABB9F0C25" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementFrequencyDomain_65E7E7474E9BF1E54DEB271ABB9F37B0" xlink:to="loc_us-gaap_FairValueMeasurementsRecurringMember_4F9FBE7E0E32D6178363271ABB9F0C25" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_311AB094BFFE5AA46DBE271ABBA0CA28" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_5F4AC6CF5458FBE96576271ABB9D57AC" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_311AB094BFFE5AA46DBE271ABBA0CA28" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_8688DB3C49EADAB471BC271ABBA0B17B_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_311AB094BFFE5AA46DBE271ABBA0CA28" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_8688DB3C49EADAB471BC271ABBA0B17B_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_8688DB3C49EADAB471BC271ABBA0B17B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_311AB094BFFE5AA46DBE271ABBA0CA28" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_8688DB3C49EADAB471BC271ABBA0B17B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FairValueInputsLevel1Member" xlink:label="loc_us-gaap_FairValueInputsLevel1Member_DA59CD1344FE8F9AB72E271ABBA0DD08" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_8688DB3C49EADAB471BC271ABBA0B17B" xlink:to="loc_us-gaap_FairValueInputsLevel1Member_DA59CD1344FE8F9AB72E271ABBA0DD08" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FairValueInputsLevel2Member" xlink:label="loc_us-gaap_FairValueInputsLevel2Member_1080409C12CF7E883590271ABBA1A614" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_8688DB3C49EADAB471BC271ABBA0B17B" xlink:to="loc_us-gaap_FairValueInputsLevel2Member_1080409C12CF7E883590271ABBA1A614" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FairValueInputsLevel3Member" xlink:label="loc_us-gaap_FairValueInputsLevel3Member_BC5495EA8F5CAD751690271ABBA1535B" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_8688DB3C49EADAB471BC271ABBA0B17B" xlink:to="loc_us-gaap_FairValueInputsLevel3Member_BC5495EA8F5CAD751690271ABBA1535B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CashAndCashEquivalentsFairValueDisclosure" xlink:label="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_9B205948A3BE6FC01444271ABBA6C28B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_284392C58F9EE6BE6C59271ABBA11816" xlink:to="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_9B205948A3BE6FC01444271ABBA6C28B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RestrictedCashAndCashEquivalentsAtCarryingValue" xlink:label="loc_us-gaap_RestrictedCashAndCashEquivalentsAtCarryingValue_9F88CD85CB6A6DAC07D0271ABBA686AF" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_284392C58F9EE6BE6C59271ABBA11816" xlink:to="loc_us-gaap_RestrictedCashAndCashEquivalentsAtCarryingValue_9F88CD85CB6A6DAC07D0271ABBA686AF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DeferredCompensationPlanAssets" xlink:label="loc_us-gaap_DeferredCompensationPlanAssets_4B43ECF4B44DF71F27B3271ABBA606BF" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_284392C58F9EE6BE6C59271ABBA11816" xlink:to="loc_us-gaap_DeferredCompensationPlanAssets_4B43ECF4B44DF71F27B3271ABBA606BF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AssetsFairValueDisclosure" xlink:label="loc_us-gaap_AssetsFairValueDisclosure_E9FAF776CC493C692F56271ABBA7E6F8" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_284392C58F9EE6BE6C59271ABBA11816" xlink:to="loc_us-gaap_AssetsFairValueDisclosure_E9FAF776CC493C692F56271ABBA7E6F8" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.emcorgroup.com/role/FairValueMeasurementsTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.emcorgroup.com/role/IncomeTaxes" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.emcorgroup.com/role/IncomeTaxesDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OperatingLossCarryforwardsLineItems" xlink:label="loc_us-gaap_OperatingLossCarryforwardsLineItems_982BC83329149694111E271ABB8693A6" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OperatingLossCarryforwardsTable" xlink:label="loc_us-gaap_OperatingLossCarryforwardsTable_3600F7913E2D0426893B271ABB85F2A6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_OperatingLossCarryforwardsLineItems_982BC83329149694111E271ABB8693A6" xlink:to="loc_us-gaap_OperatingLossCarryforwardsTable_3600F7913E2D0426893B271ABB85F2A6" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IncomeTaxAuthorityAxis" xlink:label="loc_us-gaap_IncomeTaxAuthorityAxis_CC1536964B5A98EE31BF271ABB857E3D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_OperatingLossCarryforwardsTable_3600F7913E2D0426893B271ABB85F2A6" xlink:to="loc_us-gaap_IncomeTaxAuthorityAxis_CC1536964B5A98EE31BF271ABB857E3D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IncomeTaxAuthorityDomain" xlink:label="loc_us-gaap_IncomeTaxAuthorityDomain_7BF2EB20C406C7153DAF271ABB864CB1_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeTaxAuthorityAxis_CC1536964B5A98EE31BF271ABB857E3D" xlink:to="loc_us-gaap_IncomeTaxAuthorityDomain_7BF2EB20C406C7153DAF271ABB864CB1_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IncomeTaxAuthorityDomain" xlink:label="loc_us-gaap_IncomeTaxAuthorityDomain_7BF2EB20C406C7153DAF271ABB864CB1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeTaxAuthorityAxis_CC1536964B5A98EE31BF271ABB857E3D" xlink:to="loc_us-gaap_IncomeTaxAuthorityDomain_7BF2EB20C406C7153DAF271ABB864CB1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_258E621B34CCF95E56A8271ABB86DAA8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingLossCarryforwardsLineItems_982BC83329149694111E271ABB8693A6" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_258E621B34CCF95E56A8271ABB86DAA8" xlink:type="arc" />
    <link:loc xlink:href="eme-20190930.xsd#eme_EffectiveIncomeTaxRateBeforeDiscreteItems" xlink:label="loc_eme_EffectiveIncomeTaxRateBeforeDiscreteItems_3C4560D96C1B0E5E4C7F271ABB860096" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingLossCarryforwardsLineItems_982BC83329149694111E271ABB8693A6" xlink:to="loc_eme_EffectiveIncomeTaxRateBeforeDiscreteItems_3C4560D96C1B0E5E4C7F271ABB860096" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_EffectiveIncomeTaxRateContinuingOperations" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_4DBCF814EED0DDDB6A29271ABB863EC5" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingLossCarryforwardsLineItems_982BC83329149694111E271ABB8693A6" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_4DBCF814EED0DDDB6A29271ABB863EC5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_UnrecognizedTaxBenefits" xlink:label="loc_us-gaap_UnrecognizedTaxBenefits_896491DD94BBFE12F0FE271ABB87D039" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingLossCarryforwardsLineItems_982BC83329149694111E271ABB8693A6" xlink:to="loc_us-gaap_UnrecognizedTaxBenefits_896491DD94BBFE12F0FE271ABB87D039" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.emcorgroup.com/role/Inventories" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.emcorgroup.com/role/InventoriesInventoriesDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.emcorgroup.com/role/InventoriesTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.emcorgroup.com/role/Leases" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.emcorgroup.com/role/LeasesPolicy" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.emcorgroup.com/role/LeasesScheduleOfLeaseAssetsAndLiabilitiesDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.emcorgroup.com/role/LeasesScheduleOfLeaseCostsDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.emcorgroup.com/role/LeasesScheduleOfLeaseTermAndDiscountRateDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.emcorgroup.com/role/LeasesScheduleOfMaturityOfLeaseLiabilitiesDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.emcorgroup.com/role/LeasesScheduleOfSupplementalCashFlowLeaseInformationDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.emcorgroup.com/role/LeasesTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.emcorgroup.com/role/NewAccountingPronouncements" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.emcorgroup.com/role/NewAccountingPronouncementsNewAccountingPronouncementsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaap_StatementLineItems_D2E4D8A6B046F01009EF271ABC6C93A6" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaap_StatementTable_7825E8D9DBC4F0D689C7271ABC6B4C32" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_D2E4D8A6B046F01009EF271ABC6C93A6" xlink:to="loc_us-gaap_StatementTable_7825E8D9DBC4F0D689C7271ABC6B4C32" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AdjustmentsForNewAccountingPronouncementsAxis" xlink:label="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_D1B2E9BF45CA00A6CB90271ABC6B82AA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_7825E8D9DBC4F0D689C7271ABC6B4C32" xlink:to="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_D1B2E9BF45CA00A6CB90271ABC6B82AA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_TypeOfAdoptionMember" xlink:label="loc_us-gaap_TypeOfAdoptionMember_B4D1AE22D014A239FFF7271ABC6B4B14_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_D1B2E9BF45CA00A6CB90271ABC6B82AA" xlink:to="loc_us-gaap_TypeOfAdoptionMember_B4D1AE22D014A239FFF7271ABC6B4B14_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_TypeOfAdoptionMember" xlink:label="loc_us-gaap_TypeOfAdoptionMember_B4D1AE22D014A239FFF7271ABC6B4B14" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_D1B2E9BF45CA00A6CB90271ABC6B82AA" xlink:to="loc_us-gaap_TypeOfAdoptionMember_B4D1AE22D014A239FFF7271ABC6B4B14" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AccountingStandardsUpdate201602Member" xlink:label="loc_us-gaap_AccountingStandardsUpdate201602Member_26AB88832F420D0DC8A8271ABC6C12CC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfAdoptionMember_B4D1AE22D014A239FFF7271ABC6B4B14" xlink:to="loc_us-gaap_AccountingStandardsUpdate201602Member_26AB88832F420D0DC8A8271ABC6C12CC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OperatingLeaseRightOfUseAsset" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_AB8CB21E81C482F5E880271ABC6C599B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_D2E4D8A6B046F01009EF271ABC6C93A6" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_AB8CB21E81C482F5E880271ABC6C599B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OperatingLeaseLiability" xlink:label="loc_us-gaap_OperatingLeaseLiability_F658A3DE32847707965F271ABC6C3C89" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_D2E4D8A6B046F01009EF271ABC6C93A6" xlink:to="loc_us-gaap_OperatingLeaseLiability_F658A3DE32847707965F271ABC6C3C89" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.emcorgroup.com/role/RetirementPlans" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.emcorgroup.com/role/RetirementPlansComponentsOfNetPeriodicPensionBenefitCostDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DefinedBenefitPlanDisclosureLineItems" xlink:label="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_45F03FCDC66F956461C6271ABB3DA677" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable" xlink:label="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_411926B629AEDC78A8D6271ABB3B42BE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_45F03FCDC66F956461C6271ABB3DA677" xlink:to="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_411926B629AEDC78A8D6271ABB3B42BE" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RetirementPlanSponsorLocationAxis" xlink:label="loc_us-gaap_RetirementPlanSponsorLocationAxis_F1D54E5D172724932CDA271ABB3BB3BD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_411926B629AEDC78A8D6271ABB3B42BE" xlink:to="loc_us-gaap_RetirementPlanSponsorLocationAxis_F1D54E5D172724932CDA271ABB3BB3BD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RetirementPlanSponsorLocationDomain" xlink:label="loc_us-gaap_RetirementPlanSponsorLocationDomain_C4D8596953F81D08C893271ABB3C2093_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RetirementPlanSponsorLocationAxis_F1D54E5D172724932CDA271ABB3BB3BD" xlink:to="loc_us-gaap_RetirementPlanSponsorLocationDomain_C4D8596953F81D08C893271ABB3C2093_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RetirementPlanSponsorLocationDomain" xlink:label="loc_us-gaap_RetirementPlanSponsorLocationDomain_C4D8596953F81D08C893271ABB3C2093" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RetirementPlanSponsorLocationAxis_F1D54E5D172724932CDA271ABB3BB3BD" xlink:to="loc_us-gaap_RetirementPlanSponsorLocationDomain_C4D8596953F81D08C893271ABB3C2093" xlink:type="arc" />
    <link:loc xlink:href="https://xbrl.sec.gov/country/2017/country-2017-01-31.xsd#country_US" xlink:label="loc_country_US_D1813D9084E9D7CF9694271ABB3C89CD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanSponsorLocationDomain_C4D8596953F81D08C893271ABB3C2093" xlink:to="loc_country_US_D1813D9084E9D7CF9694271ABB3C89CD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ForeignPlanMember" xlink:label="loc_us-gaap_ForeignPlanMember_858D6521C1086907721A271ABB3C11BA" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanSponsorLocationDomain_C4D8596953F81D08C893271ABB3C2093" xlink:to="loc_us-gaap_ForeignPlanMember_858D6521C1086907721A271ABB3C11BA" xlink:type="arc" />
    <link:loc xlink:href="https://xbrl.sec.gov/dei/2019/dei-2019-01-31.xsd#dei_LegalEntityAxis" xlink:label="loc_dei_LegalEntityAxis_97C5A619DF5E9716ECA6271ABB3CD919" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_411926B629AEDC78A8D6271ABB3B42BE" xlink:to="loc_dei_LegalEntityAxis_97C5A619DF5E9716ECA6271ABB3CD919" xlink:type="arc" />
    <link:loc xlink:href="https://xbrl.sec.gov/dei/2019/dei-2019-01-31.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_6DCA9B254D711EA1AB37271ABB3CE706_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_97C5A619DF5E9716ECA6271ABB3CD919" xlink:to="loc_dei_EntityDomain_6DCA9B254D711EA1AB37271ABB3CE706_default" xlink:type="arc" />
    <link:loc xlink:href="https://xbrl.sec.gov/dei/2019/dei-2019-01-31.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_6DCA9B254D711EA1AB37271ABB3CE706" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_97C5A619DF5E9716ECA6271ABB3CD919" xlink:to="loc_dei_EntityDomain_6DCA9B254D711EA1AB37271ABB3CE706" xlink:type="arc" />
    <link:loc xlink:href="eme-20190930.xsd#eme_UnitedKingdomSubsidiaryMember" xlink:label="loc_eme_UnitedKingdomSubsidiaryMember_3BFBB8B0A6B14B08FD96271ABB3D92FD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_6DCA9B254D711EA1AB37271ABB3CE706" xlink:to="loc_eme_UnitedKingdomSubsidiaryMember_3BFBB8B0A6B14B08FD96271ABB3D92FD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DefinedBenefitPlanInterestCost" xlink:label="loc_us-gaap_DefinedBenefitPlanInterestCost_5962B0A5D1EAC3832E20271ABB3D0C22" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_45F03FCDC66F956461C6271ABB3DA677" xlink:to="loc_us-gaap_DefinedBenefitPlanInterestCost_5962B0A5D1EAC3832E20271ABB3D0C22" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets" xlink:label="loc_us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets_E085D33308890D347E52271ABB3D74C5" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_45F03FCDC66F956461C6271ABB3DA677" xlink:to="loc_us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets_E085D33308890D347E52271ABB3D74C5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DefinedBenefitPlanAmortizationOfGainsLosses" xlink:label="loc_us-gaap_DefinedBenefitPlanAmortizationOfGainsLosses_DA99AD5197EBAFF3DEF9271ABB3D3F56" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_45F03FCDC66F956461C6271ABB3DA677" xlink:to="loc_us-gaap_DefinedBenefitPlanAmortizationOfGainsLosses_DA99AD5197EBAFF3DEF9271ABB3D3F56" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost" xlink:label="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_3C5DCA639F951846F534271ABB3ED936" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_45F03FCDC66F956461C6271ABB3DA677" xlink:to="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_3C5DCA639F951846F534271ABB3ED936" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.emcorgroup.com/role/RetirementPlansNarrativeDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DefinedBenefitPlanDisclosureLineItems" xlink:label="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_3D2DC85A2136278AA93F271ABB4EBED9" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable" xlink:label="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_AC3ECEB6421B3149F887271ABB4C0605" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_3D2DC85A2136278AA93F271ABB4EBED9" xlink:to="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_AC3ECEB6421B3149F887271ABB4C0605" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RetirementPlanSponsorLocationAxis" xlink:label="loc_us-gaap_RetirementPlanSponsorLocationAxis_D60BF5A1219C5E1E00E0271ABB4C2CB7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_AC3ECEB6421B3149F887271ABB4C0605" xlink:to="loc_us-gaap_RetirementPlanSponsorLocationAxis_D60BF5A1219C5E1E00E0271ABB4C2CB7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RetirementPlanSponsorLocationDomain" xlink:label="loc_us-gaap_RetirementPlanSponsorLocationDomain_7DD916E04DFFEEB88C53271ABB4D4013_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RetirementPlanSponsorLocationAxis_D60BF5A1219C5E1E00E0271ABB4C2CB7" xlink:to="loc_us-gaap_RetirementPlanSponsorLocationDomain_7DD916E04DFFEEB88C53271ABB4D4013_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RetirementPlanSponsorLocationDomain" xlink:label="loc_us-gaap_RetirementPlanSponsorLocationDomain_7DD916E04DFFEEB88C53271ABB4D4013" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RetirementPlanSponsorLocationAxis_D60BF5A1219C5E1E00E0271ABB4C2CB7" xlink:to="loc_us-gaap_RetirementPlanSponsorLocationDomain_7DD916E04DFFEEB88C53271ABB4D4013" xlink:type="arc" />
    <link:loc xlink:href="https://xbrl.sec.gov/country/2017/country-2017-01-31.xsd#country_US" xlink:label="loc_country_US_6E8F1EB0A4A1D28C1609271ABB4DB6DE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanSponsorLocationDomain_7DD916E04DFFEEB88C53271ABB4D4013" xlink:to="loc_country_US_6E8F1EB0A4A1D28C1609271ABB4DB6DE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ForeignPlanMember" xlink:label="loc_us-gaap_ForeignPlanMember_895B48FEE5637312B321271ABB4D5F66" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanSponsorLocationDomain_7DD916E04DFFEEB88C53271ABB4D4013" xlink:to="loc_us-gaap_ForeignPlanMember_895B48FEE5637312B321271ABB4D5F66" xlink:type="arc" />
    <link:loc xlink:href="https://xbrl.sec.gov/dei/2019/dei-2019-01-31.xsd#dei_LegalEntityAxis" xlink:label="loc_dei_LegalEntityAxis_E6565D941B600AAD8E06271ABB4D2233" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_AC3ECEB6421B3149F887271ABB4C0605" xlink:to="loc_dei_LegalEntityAxis_E6565D941B600AAD8E06271ABB4D2233" xlink:type="arc" />
    <link:loc xlink:href="https://xbrl.sec.gov/dei/2019/dei-2019-01-31.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_8BF5B46B63B02A2B5BA7271ABB4DAA99_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_E6565D941B600AAD8E06271ABB4D2233" xlink:to="loc_dei_EntityDomain_8BF5B46B63B02A2B5BA7271ABB4DAA99_default" xlink:type="arc" />
    <link:loc xlink:href="https://xbrl.sec.gov/dei/2019/dei-2019-01-31.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_8BF5B46B63B02A2B5BA7271ABB4DAA99" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_E6565D941B600AAD8E06271ABB4D2233" xlink:to="loc_dei_EntityDomain_8BF5B46B63B02A2B5BA7271ABB4DAA99" xlink:type="arc" />
    <link:loc xlink:href="eme-20190930.xsd#eme_UnitedKingdomSubsidiaryMember" xlink:label="loc_eme_UnitedKingdomSubsidiaryMember_A2C3077D954B7882F8CB271ABB4E28BA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_8BF5B46B63B02A2B5BA7271ABB4DAA99" xlink:to="loc_eme_UnitedKingdomSubsidiaryMember_A2C3077D954B7882F8CB271ABB4E28BA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost" xlink:label="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_FA2D81D9107A910BB7F0271ABB4E69FA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_3D2DC85A2136278AA93F271ABB4EBED9" xlink:to="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_FA2D81D9107A910BB7F0271ABB4E69FA" xlink:type="arc" />
    <link:loc xlink:href="eme-20190930.xsd#eme_DefinedBenefitPlanNumberOfPlans" xlink:label="loc_eme_DefinedBenefitPlanNumberOfPlans_254DC79FF2B2DB1E989E271ABB4E67A4" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_3D2DC85A2136278AA93F271ABB4EBED9" xlink:to="loc_eme_DefinedBenefitPlanNumberOfPlans_254DC79FF2B2DB1E989E271ABB4E67A4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DefinedBenefitPlanContributionsByEmployer" xlink:label="loc_us-gaap_DefinedBenefitPlanContributionsByEmployer_79C0DA021B09AC33A4A9271ABB4EFAE5" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_3D2DC85A2136278AA93F271ABB4EBED9" xlink:to="loc_us-gaap_DefinedBenefitPlanContributionsByEmployer_79C0DA021B09AC33A4A9271ABB4EFAE5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DefinedBenefitPlanExpectedFutureEmployerContributionsRemainderOfFiscalYear" xlink:label="loc_us-gaap_DefinedBenefitPlanExpectedFutureEmployerContributionsRemainderOfFiscalYear_EE4BAB83767C5B0858D8271ABB4F2D94" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_3D2DC85A2136278AA93F271ABB4EBED9" xlink:to="loc_us-gaap_DefinedBenefitPlanExpectedFutureEmployerContributionsRemainderOfFiscalYear_EE4BAB83767C5B0858D8271ABB4F2D94" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.emcorgroup.com/role/RetirementPlansTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.emcorgroup.com/role/RevenueFromContractsWithCustomers" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.emcorgroup.com/role/RevenueFromContractsWithCustomersDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_BusinessAcquisitionLineItems" xlink:label="loc_us-gaap_BusinessAcquisitionLineItems_F462D9CEBF35E7E32105D6741D462BB7" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_C7D1BED6490C478A671AD6741D4595E1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_F462D9CEBF35E7E32105D6741D462BB7" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_C7D1BED6490C478A671AD6741D4595E1" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_233960AEEB7E73BC06BCD6741D45F2EE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_C7D1BED6490C478A671AD6741D4595E1" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_233960AEEB7E73BC06BCD6741D45F2EE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_AAD7B1E41F1C15D6E2D9D6741D456C0F_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_233960AEEB7E73BC06BCD6741D45F2EE" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_AAD7B1E41F1C15D6E2D9D6741D456C0F_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_AAD7B1E41F1C15D6E2D9D6741D456C0F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_233960AEEB7E73BC06BCD6741D45F2EE" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_AAD7B1E41F1C15D6E2D9D6741D456C0F" xlink:type="arc" />
    <link:loc xlink:href="eme-20190930.xsd#eme_A2019AcquisitionsMember" xlink:label="loc_eme_A2019AcquisitionsMember_B31F31F43323981CCB95D6741D46B1F0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_AAD7B1E41F1C15D6E2D9D6741D456C0F" xlink:to="loc_eme_A2019AcquisitionsMember_B31F31F43323981CCB95D6741D46B1F0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ContractWithCustomerAssetIncreaseDecreaseForContractAcquiredInBusinessCombination" xlink:label="loc_us-gaap_ContractWithCustomerAssetIncreaseDecreaseForContractAcquiredInBusinessCombination_5074AE9A72C33F7F162BD6741D46B4A4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_F462D9CEBF35E7E32105D6741D462BB7" xlink:to="loc_us-gaap_ContractWithCustomerAssetIncreaseDecreaseForContractAcquiredInBusinessCombination_5074AE9A72C33F7F162BD6741D46B4A4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ContractWithCustomerLiabilityIncreaseDecreaseForContractAcquiredInBusinessCombination" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityIncreaseDecreaseForContractAcquiredInBusinessCombination_0773CDC3B7E9C35833CFD6741D469F1A" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_F462D9CEBF35E7E32105D6741D462BB7" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityIncreaseDecreaseForContractAcquiredInBusinessCombination_0773CDC3B7E9C35833CFD6741D469F1A" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.emcorgroup.com/role/RevenueFromContractsWithCustomersPolicy" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.emcorgroup.com/role/RevenueFromContractsWithCustomersScheduleOfContractWithCustomerAssetAndLiabilityDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.emcorgroup.com/role/RevenueFromContractsWithCustomersScheduleOfDisaggregationOfRevenuesDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DisaggregationOfRevenueLineItems" xlink:label="loc_us-gaap_DisaggregationOfRevenueLineItems_3A94963FDE94E07294AC271ABC56834D" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DisaggregationOfRevenueTable" xlink:label="loc_us-gaap_DisaggregationOfRevenueTable_46F7DFC390108524FA2A271ABC500F6E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_3A94963FDE94E07294AC271ABC56834D" xlink:to="loc_us-gaap_DisaggregationOfRevenueTable_46F7DFC390108524FA2A271ABC500F6E" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_ProductOrServiceAxis" xlink:label="loc_srt_ProductOrServiceAxis_5A0CADBD237B276CA99A271ABC50E5E6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_46F7DFC390108524FA2A271ABC500F6E" xlink:to="loc_srt_ProductOrServiceAxis_5A0CADBD237B276CA99A271ABC50E5E6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_ProductsAndServicesDomain" xlink:label="loc_srt_ProductsAndServicesDomain_A1DBE2254C75D228E705271ABC507FEE_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ProductOrServiceAxis_5A0CADBD237B276CA99A271ABC50E5E6" xlink:to="loc_srt_ProductsAndServicesDomain_A1DBE2254C75D228E705271ABC507FEE_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_ProductsAndServicesDomain" xlink:label="loc_srt_ProductsAndServicesDomain_A1DBE2254C75D228E705271ABC507FEE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ProductOrServiceAxis_5A0CADBD237B276CA99A271ABC50E5E6" xlink:to="loc_srt_ProductsAndServicesDomain_A1DBE2254C75D228E705271ABC507FEE" xlink:type="arc" />
    <link:loc xlink:href="eme-20190930.xsd#eme_CommercialMarketSectorMember" xlink:label="loc_eme_CommercialMarketSectorMember_6898BBAC36000E0466B5271ABC516886" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_A1DBE2254C75D228E705271ABC507FEE" xlink:to="loc_eme_CommercialMarketSectorMember_6898BBAC36000E0466B5271ABC516886" xlink:type="arc" />
    <link:loc xlink:href="eme-20190930.xsd#eme_InstitutionalMarketSectorMember" xlink:label="loc_eme_InstitutionalMarketSectorMember_072AE30BBDDB4F3E4551271ABC515053" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_A1DBE2254C75D228E705271ABC507FEE" xlink:to="loc_eme_InstitutionalMarketSectorMember_072AE30BBDDB4F3E4551271ABC515053" xlink:type="arc" />
    <link:loc xlink:href="eme-20190930.xsd#eme_HospitalityMarketSectorMember" xlink:label="loc_eme_HospitalityMarketSectorMember_3835E774C4ABD5734E97271ABC5165C5" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_A1DBE2254C75D228E705271ABC507FEE" xlink:to="loc_eme_HospitalityMarketSectorMember_3835E774C4ABD5734E97271ABC5165C5" xlink:type="arc" />
    <link:loc xlink:href="eme-20190930.xsd#eme_ManufacturingMarketSectorMember" xlink:label="loc_eme_ManufacturingMarketSectorMember_15548B94AA4A83F6B997271ABC51EFD7" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_A1DBE2254C75D228E705271ABC507FEE" xlink:to="loc_eme_ManufacturingMarketSectorMember_15548B94AA4A83F6B997271ABC51EFD7" xlink:type="arc" />
    <link:loc xlink:href="eme-20190930.xsd#eme_HealthcareMarketSectorMember" xlink:label="loc_eme_HealthcareMarketSectorMember_A55849909CC8F2AD62C3271ABC521F81" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_A1DBE2254C75D228E705271ABC507FEE" xlink:to="loc_eme_HealthcareMarketSectorMember_A55849909CC8F2AD62C3271ABC521F81" xlink:type="arc" />
    <link:loc xlink:href="eme-20190930.xsd#eme_TransportationMarketSectorMember" xlink:label="loc_eme_TransportationMarketSectorMember_BAE6D1416C9313A39CA8271ABC52B2A9" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_A1DBE2254C75D228E705271ABC507FEE" xlink:to="loc_eme_TransportationMarketSectorMember_BAE6D1416C9313A39CA8271ABC52B2A9" xlink:type="arc" />
    <link:loc xlink:href="eme-20190930.xsd#eme_WaterandWastewaterMarketSectorMember" xlink:label="loc_eme_WaterandWastewaterMarketSectorMember_D74E891B79857F320FA7271ABC524D88" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_A1DBE2254C75D228E705271ABC507FEE" xlink:to="loc_eme_WaterandWastewaterMarketSectorMember_D74E891B79857F320FA7271ABC524D88" xlink:type="arc" />
    <link:loc xlink:href="eme-20190930.xsd#eme_ShortDurationProjectsMember" xlink:label="loc_eme_ShortDurationProjectsMember_4750C600567FC71747E4271ABC52F95B" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_A1DBE2254C75D228E705271ABC507FEE" xlink:to="loc_eme_ShortDurationProjectsMember_4750C600567FC71747E4271ABC52F95B" xlink:type="arc" />
    <link:loc xlink:href="eme-20190930.xsd#eme_ServiceWorkMember" xlink:label="loc_eme_ServiceWorkMember_487ADFF2D8CB9D4DA56E271ABC524518" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_A1DBE2254C75D228E705271ABC507FEE" xlink:to="loc_eme_ServiceWorkMember_487ADFF2D8CB9D4DA56E271ABC524518" xlink:type="arc" />
    <link:loc xlink:href="eme-20190930.xsd#eme_CommercialSiteBasedServicesMember" xlink:label="loc_eme_CommercialSiteBasedServicesMember_2E1EC4B50B3A95012A51271ABC52BE15" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_A1DBE2254C75D228E705271ABC507FEE" xlink:to="loc_eme_CommercialSiteBasedServicesMember_2E1EC4B50B3A95012A51271ABC52BE15" xlink:type="arc" />
    <link:loc xlink:href="eme-20190930.xsd#eme_GovernmentSiteBasedServicesMember" xlink:label="loc_eme_GovernmentSiteBasedServicesMember_7B48911E12458CCD4FF6271ABC529E8D" xlink:type="locator" />
    <link:definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_A1DBE2254C75D228E705271ABC507FEE" xlink:to="loc_eme_GovernmentSiteBasedServicesMember_7B48911E12458CCD4FF6271ABC529E8D" xlink:type="arc" />
    <link:loc xlink:href="eme-20190930.xsd#eme_MechanicalServicesMember" xlink:label="loc_eme_MechanicalServicesMember_1B7DB0F18C823CD728EF271ABC53319B" xlink:type="locator" />
    <link:definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_A1DBE2254C75D228E705271ABC507FEE" xlink:to="loc_eme_MechanicalServicesMember_1B7DB0F18C823CD728EF271ABC53319B" xlink:type="arc" />
    <link:loc xlink:href="eme-20190930.xsd#eme_EnergyServicesMember" xlink:label="loc_eme_EnergyServicesMember_219CAE80B718ACE250C4271ABC530F37" xlink:type="locator" />
    <link:definitionArc order="13" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_A1DBE2254C75D228E705271ABC507FEE" xlink:to="loc_eme_EnergyServicesMember_219CAE80B718ACE250C4271ABC530F37" xlink:type="arc" />
    <link:loc xlink:href="eme-20190930.xsd#eme_FieldServicesMember" xlink:label="loc_eme_FieldServicesMember_056B4A9E32F1DBE462D5271ABC532830" xlink:type="locator" />
    <link:definitionArc order="14" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_A1DBE2254C75D228E705271ABC507FEE" xlink:to="loc_eme_FieldServicesMember_056B4A9E32F1DBE462D5271ABC532830" xlink:type="arc" />
    <link:loc xlink:href="eme-20190930.xsd#eme_ShopServicesMember" xlink:label="loc_eme_ShopServicesMember_31C13DC95E9495CA277F271ABC53E7BD" xlink:type="locator" />
    <link:definitionArc order="15" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_A1DBE2254C75D228E705271ABC507FEE" xlink:to="loc_eme_ShopServicesMember_31C13DC95E9495CA277F271ABC53E7BD" xlink:type="arc" />
    <link:loc xlink:href="eme-20190930.xsd#eme_ProjectsExtrasMember" xlink:label="loc_eme_ProjectsExtrasMember_4E8C5580D7309E1DD23D271ABC53BCE5" xlink:type="locator" />
    <link:definitionArc order="16" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_A1DBE2254C75D228E705271ABC507FEE" xlink:to="loc_eme_ProjectsExtrasMember_4E8C5580D7309E1DD23D271ABC53BCE5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_ConsolidationItemsAxis" xlink:label="loc_srt_ConsolidationItemsAxis_7DD62C44E09FB88B23DB271ABC5364F7" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_46F7DFC390108524FA2A271ABC500F6E" xlink:to="loc_srt_ConsolidationItemsAxis_7DD62C44E09FB88B23DB271ABC5364F7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_ConsolidationItemsDomain" xlink:label="loc_srt_ConsolidationItemsDomain_1D2233F926FE79208473271ABC5419AF_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ConsolidationItemsAxis_7DD62C44E09FB88B23DB271ABC5364F7" xlink:to="loc_srt_ConsolidationItemsDomain_1D2233F926FE79208473271ABC5419AF_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_ConsolidationItemsDomain" xlink:label="loc_srt_ConsolidationItemsDomain_1D2233F926FE79208473271ABC5419AF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ConsolidationItemsAxis_7DD62C44E09FB88B23DB271ABC5364F7" xlink:to="loc_srt_ConsolidationItemsDomain_1D2233F926FE79208473271ABC5419AF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OperatingSegmentsMember" xlink:label="loc_us-gaap_OperatingSegmentsMember_8E2E5668C99BF0FC6E2D271ABC54270F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidationItemsDomain_1D2233F926FE79208473271ABC5419AF" xlink:to="loc_us-gaap_OperatingSegmentsMember_8E2E5668C99BF0FC6E2D271ABC54270F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IntersegmentEliminationMember" xlink:label="loc_us-gaap_IntersegmentEliminationMember_E5239CC4554710EC0FEE271ABC54BD84" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidationItemsDomain_1D2233F926FE79208473271ABC5419AF" xlink:to="loc_us-gaap_IntersegmentEliminationMember_E5239CC4554710EC0FEE271ABC54BD84" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementBusinessSegmentsAxis" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_F31566A19AB9BC61466B271ABC542D61" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_46F7DFC390108524FA2A271ABC500F6E" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_F31566A19AB9BC61466B271ABC542D61" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_A88F9198D2A20478E2A4271ABC55FE01_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_F31566A19AB9BC61466B271ABC542D61" xlink:to="loc_us-gaap_SegmentDomain_A88F9198D2A20478E2A4271ABC55FE01_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_A88F9198D2A20478E2A4271ABC55FE01" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_F31566A19AB9BC61466B271ABC542D61" xlink:to="loc_us-gaap_SegmentDomain_A88F9198D2A20478E2A4271ABC55FE01" xlink:type="arc" />
    <link:loc xlink:href="eme-20190930.xsd#eme_UnitedStatesElectricalConstructionAndFacilitiesServicesMember" xlink:label="loc_eme_UnitedStatesElectricalConstructionAndFacilitiesServicesMember_A34BEA43B996CA34B8E1271ABC55871A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_A88F9198D2A20478E2A4271ABC55FE01" xlink:to="loc_eme_UnitedStatesElectricalConstructionAndFacilitiesServicesMember_A34BEA43B996CA34B8E1271ABC55871A" xlink:type="arc" />
    <link:loc xlink:href="eme-20190930.xsd#eme_UnitedStatesMechanicalConstructionAndFacilitiesServicesMember" xlink:label="loc_eme_UnitedStatesMechanicalConstructionAndFacilitiesServicesMember_695BC3FB63BC7C2D709F271ABC5564CA" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_A88F9198D2A20478E2A4271ABC55FE01" xlink:to="loc_eme_UnitedStatesMechanicalConstructionAndFacilitiesServicesMember_695BC3FB63BC7C2D709F271ABC5564CA" xlink:type="arc" />
    <link:loc xlink:href="eme-20190930.xsd#eme_UnitedStatesBuildingServicesMember" xlink:label="loc_eme_UnitedStatesBuildingServicesMember_1AE066443BB466E01876271ABC554F7E" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_A88F9198D2A20478E2A4271ABC55FE01" xlink:to="loc_eme_UnitedStatesBuildingServicesMember_1AE066443BB466E01876271ABC554F7E" xlink:type="arc" />
    <link:loc xlink:href="eme-20190930.xsd#eme_UnitedStatesIndustrialServicesMember" xlink:label="loc_eme_UnitedStatesIndustrialServicesMember_FE53F7C48658674ECFD1271ABC55AC42" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_A88F9198D2A20478E2A4271ABC55FE01" xlink:to="loc_eme_UnitedStatesIndustrialServicesMember_FE53F7C48658674ECFD1271ABC55AC42" xlink:type="arc" />
    <link:loc xlink:href="eme-20190930.xsd#eme_UnitedKingdomBuildingServicesMemberMember" xlink:label="loc_eme_UnitedKingdomBuildingServicesMemberMember_40E9B30C7AE74F80F153271ABC55D000" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_A88F9198D2A20478E2A4271ABC55FE01" xlink:to="loc_eme_UnitedKingdomBuildingServicesMemberMember_40E9B30C7AE74F80F153271ABC55D000" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_StatementGeographicalAxis" xlink:label="loc_srt_StatementGeographicalAxis_780D3CABF1411E5B4A18271ABC56B1D2" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_46F7DFC390108524FA2A271ABC500F6E" xlink:to="loc_srt_StatementGeographicalAxis_780D3CABF1411E5B4A18271ABC56B1D2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_SegmentGeographicalDomain" xlink:label="loc_srt_SegmentGeographicalDomain_E0D3F008932C4826AEAB271ABC567D5B_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_StatementGeographicalAxis_780D3CABF1411E5B4A18271ABC56B1D2" xlink:to="loc_srt_SegmentGeographicalDomain_E0D3F008932C4826AEAB271ABC567D5B_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_SegmentGeographicalDomain" xlink:label="loc_srt_SegmentGeographicalDomain_E0D3F008932C4826AEAB271ABC567D5B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_StatementGeographicalAxis_780D3CABF1411E5B4A18271ABC56B1D2" xlink:to="loc_srt_SegmentGeographicalDomain_E0D3F008932C4826AEAB271ABC567D5B" xlink:type="arc" />
    <link:loc xlink:href="https://xbrl.sec.gov/country/2017/country-2017-01-31.xsd#country_US" xlink:label="loc_country_US_7F4986288E3759F3528C271ABC5632F2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_E0D3F008932C4826AEAB271ABC567D5B" xlink:to="loc_country_US_7F4986288E3759F3528C271ABC5632F2" xlink:type="arc" />
    <link:loc xlink:href="https://xbrl.sec.gov/country/2017/country-2017-01-31.xsd#country_GB" xlink:label="loc_country_GB_37675E71CF70C1AFEF76271ABC56EF5F" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_E0D3F008932C4826AEAB271ABC567D5B" xlink:to="loc_country_GB_37675E71CF70C1AFEF76271ABC56EF5F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax_E74C373167DDA257513E271ABC572BB2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_3A94963FDE94E07294AC271ABC56834D" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax_E74C373167DDA257513E271ABC572BB2" xlink:type="arc" />
    <link:loc xlink:href="eme-20190930.xsd#eme_PercentageOfIndividualSegmentRevenues" xlink:label="loc_eme_PercentageOfIndividualSegmentRevenues_A5BE3D0A8D3B3FCB6E0A271ABC57AE93" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_3A94963FDE94E07294AC271ABC56834D" xlink:to="loc_eme_PercentageOfIndividualSegmentRevenues_A5BE3D0A8D3B3FCB6E0A271ABC57AE93" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.emcorgroup.com/role/RevenueFromContractsWithCustomersScheduleOfRevenueRemainingPerformanceObligationDetails" xlink:type="extended">
    <link:loc xlink:href="eme-20190930.xsd#eme_ScheduleofRemainingPerformanceObligationsLineItems" xlink:label="loc_eme_ScheduleofRemainingPerformanceObligationsLineItems_044B58F54FF6F5657535271ABC46FF08" xlink:type="locator" />
    <link:loc xlink:href="eme-20190930.xsd#eme_ScheduleofRemainingPerformanceObligationsTable" xlink:label="loc_eme_ScheduleofRemainingPerformanceObligationsTable_27A4A9AC1ADFE61422EC271ABC44DD9B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_eme_ScheduleofRemainingPerformanceObligationsLineItems_044B58F54FF6F5657535271ABC46FF08" xlink:to="loc_eme_ScheduleofRemainingPerformanceObligationsTable_27A4A9AC1ADFE61422EC271ABC44DD9B" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_StatementGeographicalAxis" xlink:label="loc_srt_StatementGeographicalAxis_4E570AE39F6C98E12E09271ABC449969" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_eme_ScheduleofRemainingPerformanceObligationsTable_27A4A9AC1ADFE61422EC271ABC44DD9B" xlink:to="loc_srt_StatementGeographicalAxis_4E570AE39F6C98E12E09271ABC449969" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_SegmentGeographicalDomain" xlink:label="loc_srt_SegmentGeographicalDomain_6A521AEE6E0A9B571EC3271ABC447C60_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_StatementGeographicalAxis_4E570AE39F6C98E12E09271ABC449969" xlink:to="loc_srt_SegmentGeographicalDomain_6A521AEE6E0A9B571EC3271ABC447C60_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_SegmentGeographicalDomain" xlink:label="loc_srt_SegmentGeographicalDomain_6A521AEE6E0A9B571EC3271ABC447C60" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_StatementGeographicalAxis_4E570AE39F6C98E12E09271ABC449969" xlink:to="loc_srt_SegmentGeographicalDomain_6A521AEE6E0A9B571EC3271ABC447C60" xlink:type="arc" />
    <link:loc xlink:href="https://xbrl.sec.gov/country/2017/country-2017-01-31.xsd#country_US" xlink:label="loc_country_US_118BBEB7B398EAF70524271ABC4532BF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_6A521AEE6E0A9B571EC3271ABC447C60" xlink:to="loc_country_US_118BBEB7B398EAF70524271ABC4532BF" xlink:type="arc" />
    <link:loc xlink:href="https://xbrl.sec.gov/country/2017/country-2017-01-31.xsd#country_GB" xlink:label="loc_country_GB_F93F8FC0668C0EA174E2271ABC45AE36" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_6A521AEE6E0A9B571EC3271ABC447C60" xlink:to="loc_country_GB_F93F8FC0668C0EA174E2271ABC45AE36" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementBusinessSegmentsAxis" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_A0487037A82EC06B0605271ABC45215D" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_eme_ScheduleofRemainingPerformanceObligationsTable_27A4A9AC1ADFE61422EC271ABC44DD9B" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_A0487037A82EC06B0605271ABC45215D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_409C7FFA321DD38ADE70271ABC4550D0_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_A0487037A82EC06B0605271ABC45215D" xlink:to="loc_us-gaap_SegmentDomain_409C7FFA321DD38ADE70271ABC4550D0_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_409C7FFA321DD38ADE70271ABC4550D0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_A0487037A82EC06B0605271ABC45215D" xlink:to="loc_us-gaap_SegmentDomain_409C7FFA321DD38ADE70271ABC4550D0" xlink:type="arc" />
    <link:loc xlink:href="eme-20190930.xsd#eme_UnitedStatesElectricalConstructionAndFacilitiesServicesMember" xlink:label="loc_eme_UnitedStatesElectricalConstructionAndFacilitiesServicesMember_4D7DA35F2ED3FC34EC8F271ABC459BB6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_409C7FFA321DD38ADE70271ABC4550D0" xlink:to="loc_eme_UnitedStatesElectricalConstructionAndFacilitiesServicesMember_4D7DA35F2ED3FC34EC8F271ABC459BB6" xlink:type="arc" />
    <link:loc xlink:href="eme-20190930.xsd#eme_UnitedStatesMechanicalConstructionAndFacilitiesServicesMember" xlink:label="loc_eme_UnitedStatesMechanicalConstructionAndFacilitiesServicesMember_3E576713DAA5F786D24C271ABC46CC29" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_409C7FFA321DD38ADE70271ABC4550D0" xlink:to="loc_eme_UnitedStatesMechanicalConstructionAndFacilitiesServicesMember_3E576713DAA5F786D24C271ABC46CC29" xlink:type="arc" />
    <link:loc xlink:href="eme-20190930.xsd#eme_UnitedStatesBuildingServicesMember" xlink:label="loc_eme_UnitedStatesBuildingServicesMember_E6E20F02278013FB1386271ABC464142" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_409C7FFA321DD38ADE70271ABC4550D0" xlink:to="loc_eme_UnitedStatesBuildingServicesMember_E6E20F02278013FB1386271ABC464142" xlink:type="arc" />
    <link:loc xlink:href="eme-20190930.xsd#eme_UnitedStatesIndustrialServicesMember" xlink:label="loc_eme_UnitedStatesIndustrialServicesMember_50019C818D34457DD7F0271ABC46C71B" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_409C7FFA321DD38ADE70271ABC4550D0" xlink:to="loc_eme_UnitedStatesIndustrialServicesMember_50019C818D34457DD7F0271ABC46C71B" xlink:type="arc" />
    <link:loc xlink:href="eme-20190930.xsd#eme_UnitedKingdomBuildingServicesMemberMember" xlink:label="loc_eme_UnitedKingdomBuildingServicesMemberMember_F5B017DA9170EEB6706D271ABC46333B" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_409C7FFA321DD38ADE70271ABC4550D0" xlink:to="loc_eme_UnitedKingdomBuildingServicesMemberMember_F5B017DA9170EEB6706D271ABC46333B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RevenueRemainingPerformanceObligation" xlink:label="loc_us-gaap_RevenueRemainingPerformanceObligation_F27D80815A75878D256C271ABC475DCD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_eme_ScheduleofRemainingPerformanceObligationsLineItems_044B58F54FF6F5657535271ABC46FF08" xlink:to="loc_us-gaap_RevenueRemainingPerformanceObligation_F27D80815A75878D256C271ABC475DCD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RevenueRemainingPerformanceObligationPercentage" xlink:label="loc_us-gaap_RevenueRemainingPerformanceObligationPercentage_F17C2E760B1F655B674D271ABC47E6E4" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_eme_ScheduleofRemainingPerformanceObligationsLineItems_044B58F54FF6F5657535271ABC46FF08" xlink:to="loc_us-gaap_RevenueRemainingPerformanceObligationPercentage_F17C2E760B1F655B674D271ABC47E6E4" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.emcorgroup.com/role/RevenueFromContractsWithCustomersScheduleOfRevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionLineItems" xlink:label="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionLineItems_95834D6F4AE48922F382271ABC4023BE" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionTable" xlink:label="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionTable_8D494B4CC4078C776E89271ABC3D8247" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionLineItems_95834D6F4AE48922F382271ABC4023BE" xlink:to="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionTable_8D494B4CC4078C776E89271ABC3D8247" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis" xlink:label="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis_8D6472852EE4083C4E0A271ABC3D51AE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionTable_8D494B4CC4078C776E89271ABC3D8247" xlink:to="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis_8D6472852EE4083C4E0A271ABC3D51AE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementBusinessSegmentsAxis" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_6F798E4DDF9CA1813CF5271ABC3E556B" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionTable_8D494B4CC4078C776E89271ABC3D8247" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_6F798E4DDF9CA1813CF5271ABC3E556B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_B37274DBC3BC872B3C56271ABC3E2ACE_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_6F798E4DDF9CA1813CF5271ABC3E556B" xlink:to="loc_us-gaap_SegmentDomain_B37274DBC3BC872B3C56271ABC3E2ACE_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_B37274DBC3BC872B3C56271ABC3E2ACE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_6F798E4DDF9CA1813CF5271ABC3E556B" xlink:to="loc_us-gaap_SegmentDomain_B37274DBC3BC872B3C56271ABC3E2ACE" xlink:type="arc" />
    <link:loc xlink:href="eme-20190930.xsd#eme_UnitedStatesElectricalConstructionAndFacilitiesServicesMember" xlink:label="loc_eme_UnitedStatesElectricalConstructionAndFacilitiesServicesMember_D2215E93E557724D2E7C271ABC3EBABB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_B37274DBC3BC872B3C56271ABC3E2ACE" xlink:to="loc_eme_UnitedStatesElectricalConstructionAndFacilitiesServicesMember_D2215E93E557724D2E7C271ABC3EBABB" xlink:type="arc" />
    <link:loc xlink:href="eme-20190930.xsd#eme_UnitedStatesMechanicalConstructionAndFacilitiesServicesMember" xlink:label="loc_eme_UnitedStatesMechanicalConstructionAndFacilitiesServicesMember_AFA54A27CB58EA878C8B271ABC3E7CA4" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_B37274DBC3BC872B3C56271ABC3E2ACE" xlink:to="loc_eme_UnitedStatesMechanicalConstructionAndFacilitiesServicesMember_AFA54A27CB58EA878C8B271ABC3E7CA4" xlink:type="arc" />
    <link:loc xlink:href="eme-20190930.xsd#eme_UnitedStatesBuildingServicesMember" xlink:label="loc_eme_UnitedStatesBuildingServicesMember_95ED00338084E25E9F14271ABC3FB09F" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_B37274DBC3BC872B3C56271ABC3E2ACE" xlink:to="loc_eme_UnitedStatesBuildingServicesMember_95ED00338084E25E9F14271ABC3FB09F" xlink:type="arc" />
    <link:loc xlink:href="eme-20190930.xsd#eme_UnitedStatesIndustrialServicesMember" xlink:label="loc_eme_UnitedStatesIndustrialServicesMember_FE8CBFDCF4E927B97826271ABC3F8FB2" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_B37274DBC3BC872B3C56271ABC3E2ACE" xlink:to="loc_eme_UnitedStatesIndustrialServicesMember_FE8CBFDCF4E927B97826271ABC3F8FB2" xlink:type="arc" />
    <link:loc xlink:href="eme-20190930.xsd#eme_UnitedKingdomBuildingServicesMemberMember" xlink:label="loc_eme_UnitedKingdomBuildingServicesMemberMember_48FA0BE40178C684F0C1271ABC3F4BB1" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_B37274DBC3BC872B3C56271ABC3E2ACE" xlink:to="loc_eme_UnitedKingdomBuildingServicesMemberMember_48FA0BE40178C684F0C1271ABC3F4BB1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_StatementGeographicalAxis" xlink:label="loc_srt_StatementGeographicalAxis_709CFE500FB28CA43A1D271ABC3FC47C" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionTable_8D494B4CC4078C776E89271ABC3D8247" xlink:to="loc_srt_StatementGeographicalAxis_709CFE500FB28CA43A1D271ABC3FC47C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_SegmentGeographicalDomain" xlink:label="loc_srt_SegmentGeographicalDomain_8DE54EB02782E3C1E42B271ABC3F9C64_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_StatementGeographicalAxis_709CFE500FB28CA43A1D271ABC3FC47C" xlink:to="loc_srt_SegmentGeographicalDomain_8DE54EB02782E3C1E42B271ABC3F9C64_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_SegmentGeographicalDomain" xlink:label="loc_srt_SegmentGeographicalDomain_8DE54EB02782E3C1E42B271ABC3F9C64" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_StatementGeographicalAxis_709CFE500FB28CA43A1D271ABC3FC47C" xlink:to="loc_srt_SegmentGeographicalDomain_8DE54EB02782E3C1E42B271ABC3F9C64" xlink:type="arc" />
    <link:loc xlink:href="https://xbrl.sec.gov/country/2017/country-2017-01-31.xsd#country_US" xlink:label="loc_country_US_B0401C66E60473EB21B5271ABC3F54C1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_8DE54EB02782E3C1E42B271ABC3F9C64" xlink:to="loc_country_US_B0401C66E60473EB21B5271ABC3F54C1" xlink:type="arc" />
    <link:loc xlink:href="https://xbrl.sec.gov/country/2017/country-2017-01-31.xsd#country_GB" xlink:label="loc_country_GB_31E1D258332916975B7C271ABC4067AD" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_8DE54EB02782E3C1E42B271ABC3F9C64" xlink:to="loc_country_GB_31E1D258332916975B7C271ABC4067AD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionPeriod1" xlink:label="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionPeriod1_43F1DF3A219A03654E8F271ABC40C702" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionLineItems_95834D6F4AE48922F382271ABC4023BE" xlink:to="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionPeriod1_43F1DF3A219A03654E8F271ABC40C702" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RevenueRemainingPerformanceObligation" xlink:label="loc_us-gaap_RevenueRemainingPerformanceObligation_AF512EE2146EDAC74924271ABC402D86" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionLineItems_95834D6F4AE48922F382271ABC4023BE" xlink:to="loc_us-gaap_RevenueRemainingPerformanceObligation_AF512EE2146EDAC74924271ABC402D86" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.emcorgroup.com/role/RevenueFromContractsWithCustomersTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.emcorgroup.com/role/ScheduleOfRestructuringActivitiesDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RestructuringCostAndReserveLineItems" xlink:label="loc_us-gaap_RestructuringCostAndReserveLineItems_DE048D02056A5D6DFFEB271ABB13E079" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ScheduleOfRestructuringAndRelatedCostsTable" xlink:label="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_86FF5472A4D3AEF1F158271ABB0F5C89" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_DE048D02056A5D6DFFEB271ABB13E079" xlink:to="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_86FF5472A4D3AEF1F158271ABB0F5C89" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_StatementGeographicalAxis" xlink:label="loc_srt_StatementGeographicalAxis_432A89C06B91256554D6271ABB104B32" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_86FF5472A4D3AEF1F158271ABB0F5C89" xlink:to="loc_srt_StatementGeographicalAxis_432A89C06B91256554D6271ABB104B32" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_SegmentGeographicalDomain" xlink:label="loc_srt_SegmentGeographicalDomain_8D8954CDEA0DB70EC9C8271ABB10B771_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_StatementGeographicalAxis_432A89C06B91256554D6271ABB104B32" xlink:to="loc_srt_SegmentGeographicalDomain_8D8954CDEA0DB70EC9C8271ABB10B771_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_SegmentGeographicalDomain" xlink:label="loc_srt_SegmentGeographicalDomain_8D8954CDEA0DB70EC9C8271ABB10B771" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_StatementGeographicalAxis_432A89C06B91256554D6271ABB104B32" xlink:to="loc_srt_SegmentGeographicalDomain_8D8954CDEA0DB70EC9C8271ABB10B771" xlink:type="arc" />
    <link:loc xlink:href="https://xbrl.sec.gov/country/2017/country-2017-01-31.xsd#country_US" xlink:label="loc_country_US_3CF12D773651B076B39C271ABB107511" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_8D8954CDEA0DB70EC9C8271ABB10B771" xlink:to="loc_country_US_3CF12D773651B076B39C271ABB107511" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_ConsolidationItemsAxis" xlink:label="loc_srt_ConsolidationItemsAxis_2D31FE55801F7C4E2EF9271ABB11ECE7" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_86FF5472A4D3AEF1F158271ABB0F5C89" xlink:to="loc_srt_ConsolidationItemsAxis_2D31FE55801F7C4E2EF9271ABB11ECE7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_ConsolidationItemsDomain" xlink:label="loc_srt_ConsolidationItemsDomain_684FD7D7274A36A7A93F271ABB11A7A1_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ConsolidationItemsAxis_2D31FE55801F7C4E2EF9271ABB11ECE7" xlink:to="loc_srt_ConsolidationItemsDomain_684FD7D7274A36A7A93F271ABB11A7A1_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_ConsolidationItemsDomain" xlink:label="loc_srt_ConsolidationItemsDomain_684FD7D7274A36A7A93F271ABB11A7A1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ConsolidationItemsAxis_2D31FE55801F7C4E2EF9271ABB11ECE7" xlink:to="loc_srt_ConsolidationItemsDomain_684FD7D7274A36A7A93F271ABB11A7A1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OperatingSegmentsMember" xlink:label="loc_us-gaap_OperatingSegmentsMember_233DFEAAB3F991422423271ABB11A1EB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidationItemsDomain_684FD7D7274A36A7A93F271ABB11A7A1" xlink:to="loc_us-gaap_OperatingSegmentsMember_233DFEAAB3F991422423271ABB11A1EB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RestructuringCostAndReserveAxis" xlink:label="loc_us-gaap_RestructuringCostAndReserveAxis_BF4EAD765127AB4A7173271ABB11DCA5" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_86FF5472A4D3AEF1F158271ABB0F5C89" xlink:to="loc_us-gaap_RestructuringCostAndReserveAxis_BF4EAD765127AB4A7173271ABB11DCA5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_TypeOfRestructuringDomain" xlink:label="loc_us-gaap_TypeOfRestructuringDomain_43DDD4714DCF11C39422271ABB115CE0_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RestructuringCostAndReserveAxis_BF4EAD765127AB4A7173271ABB11DCA5" xlink:to="loc_us-gaap_TypeOfRestructuringDomain_43DDD4714DCF11C39422271ABB115CE0_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_TypeOfRestructuringDomain" xlink:label="loc_us-gaap_TypeOfRestructuringDomain_43DDD4714DCF11C39422271ABB115CE0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RestructuringCostAndReserveAxis_BF4EAD765127AB4A7173271ABB11DCA5" xlink:to="loc_us-gaap_TypeOfRestructuringDomain_43DDD4714DCF11C39422271ABB115CE0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_EmployeeSeveranceMember" xlink:label="loc_us-gaap_EmployeeSeveranceMember_06877EFAAF40595EFDBB271ABB12B82B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfRestructuringDomain_43DDD4714DCF11C39422271ABB115CE0" xlink:to="loc_us-gaap_EmployeeSeveranceMember_06877EFAAF40595EFDBB271ABB12B82B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementBusinessSegmentsAxis" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_F0A13270DB148E5D80A5271ABB1271F8" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_86FF5472A4D3AEF1F158271ABB0F5C89" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_F0A13270DB148E5D80A5271ABB1271F8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_4012775D16FA91F5B406271ABB12C376_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_F0A13270DB148E5D80A5271ABB1271F8" xlink:to="loc_us-gaap_SegmentDomain_4012775D16FA91F5B406271ABB12C376_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_4012775D16FA91F5B406271ABB12C376" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_F0A13270DB148E5D80A5271ABB1271F8" xlink:to="loc_us-gaap_SegmentDomain_4012775D16FA91F5B406271ABB12C376" xlink:type="arc" />
    <link:loc xlink:href="eme-20190930.xsd#eme_UnitedStatesElectricalConstructionAndFacilitiesServicesMember" xlink:label="loc_eme_UnitedStatesElectricalConstructionAndFacilitiesServicesMember_4E958CE94FC11B59B61A271ABB123BEC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_4012775D16FA91F5B406271ABB12C376" xlink:to="loc_eme_UnitedStatesElectricalConstructionAndFacilitiesServicesMember_4E958CE94FC11B59B61A271ABB123BEC" xlink:type="arc" />
    <link:loc xlink:href="eme-20190930.xsd#eme_UnitedStatesBuildingServicesMember" xlink:label="loc_eme_UnitedStatesBuildingServicesMember_C73D8417DE33D024E631271ABB13FF9C" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_4012775D16FA91F5B406271ABB12C376" xlink:to="loc_eme_UnitedStatesBuildingServicesMember_C73D8417DE33D024E631271ABB13FF9C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CorporateNonSegmentMember" xlink:label="loc_us-gaap_CorporateNonSegmentMember_A438780B56D0FE564DDD271ABB130290" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_4012775D16FA91F5B406271ABB12C376" xlink:to="loc_us-gaap_CorporateNonSegmentMember_A438780B56D0FE564DDD271ABB130290" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RestructuringReserve" xlink:label="loc_us-gaap_RestructuringReserve_6571D114E1D760790977271ABB136BBF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_DE048D02056A5D6DFFEB271ABB13E079" xlink:to="loc_us-gaap_RestructuringReserve_6571D114E1D760790977271ABB136BBF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RestructuringCharges" xlink:label="loc_us-gaap_RestructuringCharges_CC95E5316839DF828782271ABB1394E3" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_DE048D02056A5D6DFFEB271ABB13E079" xlink:to="loc_us-gaap_RestructuringCharges_CC95E5316839DF828782271ABB1394E3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PaymentsForRestructuring" xlink:label="loc_us-gaap_PaymentsForRestructuring_15196DA24FF94F5966DB271ABB1441A8" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_DE048D02056A5D6DFFEB271ABB13E079" xlink:to="loc_us-gaap_PaymentsForRestructuring_15196DA24FF94F5966DB271ABB1441A8" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.emcorgroup.com/role/SegmentInformation" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.emcorgroup.com/role/SegmentInformationInformationAboutIndustrySegmentsAndGeographicAreasDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SegmentReportingInformationLineItems" xlink:label="loc_us-gaap_SegmentReportingInformationLineItems_D08C71B34D5701C6D5D2C5D8989F2DAE" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable" xlink:label="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_4E9B3CD69B44722EC61AC5D8988F616F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_D08C71B34D5701C6D5D2C5D8989F2DAE" xlink:to="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_4E9B3CD69B44722EC61AC5D8988F616F" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_StatementGeographicalAxis" xlink:label="loc_srt_StatementGeographicalAxis_A4E3FE766CA820E8C395C5D8988F64DE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_4E9B3CD69B44722EC61AC5D8988F616F" xlink:to="loc_srt_StatementGeographicalAxis_A4E3FE766CA820E8C395C5D8988F64DE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_SegmentGeographicalDomain" xlink:label="loc_srt_SegmentGeographicalDomain_63154635BC31CDEACA73C5D8988F59D1_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_StatementGeographicalAxis_A4E3FE766CA820E8C395C5D8988F64DE" xlink:to="loc_srt_SegmentGeographicalDomain_63154635BC31CDEACA73C5D8988F59D1_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_SegmentGeographicalDomain" xlink:label="loc_srt_SegmentGeographicalDomain_63154635BC31CDEACA73C5D8988F59D1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_StatementGeographicalAxis_A4E3FE766CA820E8C395C5D8988F64DE" xlink:to="loc_srt_SegmentGeographicalDomain_63154635BC31CDEACA73C5D8988F59D1" xlink:type="arc" />
    <link:loc xlink:href="https://xbrl.sec.gov/country/2017/country-2017-01-31.xsd#country_US" xlink:label="loc_country_US_ECEEA847736F7D8BD671C5D8988FBAE4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_63154635BC31CDEACA73C5D8988F59D1" xlink:to="loc_country_US_ECEEA847736F7D8BD671C5D8988FBAE4" xlink:type="arc" />
    <link:loc xlink:href="https://xbrl.sec.gov/country/2017/country-2017-01-31.xsd#country_GB" xlink:label="loc_country_GB_9B7070BC79BB6EE6F2C5C5D8988F0668" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_63154635BC31CDEACA73C5D8988F59D1" xlink:to="loc_country_GB_9B7070BC79BB6EE6F2C5C5D8988F0668" xlink:type="arc" />
    <link:loc xlink:href="eme-20190930.xsd#eme_UnitedKingdomBuildingServicesMemberMember" xlink:label="loc_eme_UnitedKingdomBuildingServicesMemberMember_000B3F2FF100124943CEC5D8988FD9EC" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_63154635BC31CDEACA73C5D8988F59D1" xlink:to="loc_eme_UnitedKingdomBuildingServicesMemberMember_000B3F2FF100124943CEC5D8988FD9EC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_ConsolidationItemsAxis" xlink:label="loc_srt_ConsolidationItemsAxis_43380CCAA236F1112BC3C5D8988F6F03" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_4E9B3CD69B44722EC61AC5D8988F616F" xlink:to="loc_srt_ConsolidationItemsAxis_43380CCAA236F1112BC3C5D8988F6F03" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_ConsolidationItemsDomain" xlink:label="loc_srt_ConsolidationItemsDomain_B40354CFA9BB8B3F086CC5D8988FF1AC_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ConsolidationItemsAxis_43380CCAA236F1112BC3C5D8988F6F03" xlink:to="loc_srt_ConsolidationItemsDomain_B40354CFA9BB8B3F086CC5D8988FF1AC_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_ConsolidationItemsDomain" xlink:label="loc_srt_ConsolidationItemsDomain_B40354CFA9BB8B3F086CC5D8988FF1AC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ConsolidationItemsAxis_43380CCAA236F1112BC3C5D8988F6F03" xlink:to="loc_srt_ConsolidationItemsDomain_B40354CFA9BB8B3F086CC5D8988FF1AC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OperatingSegmentsMember" xlink:label="loc_us-gaap_OperatingSegmentsMember_5E46361B029B00BD6778C5D8988FAE87" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidationItemsDomain_B40354CFA9BB8B3F086CC5D8988FF1AC" xlink:to="loc_us-gaap_OperatingSegmentsMember_5E46361B029B00BD6778C5D8988FAE87" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IntersegmentEliminationMember" xlink:label="loc_us-gaap_IntersegmentEliminationMember_53C8089C546284B421C6C5D8988FD4FB" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidationItemsDomain_B40354CFA9BB8B3F086CC5D8988FF1AC" xlink:to="loc_us-gaap_IntersegmentEliminationMember_53C8089C546284B421C6C5D8988FD4FB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CorporateNonSegmentMember" xlink:label="loc_us-gaap_CorporateNonSegmentMember_D27A1EBF79B85E0C9B29C5D8988F2E2E" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidationItemsDomain_B40354CFA9BB8B3F086CC5D8988FF1AC" xlink:to="loc_us-gaap_CorporateNonSegmentMember_D27A1EBF79B85E0C9B29C5D8988F2E2E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementBusinessSegmentsAxis" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_897B6A298E146EE66ECEC5D8988F4FE3" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_4E9B3CD69B44722EC61AC5D8988F616F" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_897B6A298E146EE66ECEC5D8988F4FE3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_263723FF9200E621D58AC5D8988FEE6E_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_897B6A298E146EE66ECEC5D8988F4FE3" xlink:to="loc_us-gaap_SegmentDomain_263723FF9200E621D58AC5D8988FEE6E_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_263723FF9200E621D58AC5D8988FEE6E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_897B6A298E146EE66ECEC5D8988F4FE3" xlink:to="loc_us-gaap_SegmentDomain_263723FF9200E621D58AC5D8988FEE6E" xlink:type="arc" />
    <link:loc xlink:href="eme-20190930.xsd#eme_UnitedStatesElectricalConstructionAndFacilitiesServicesMember" xlink:label="loc_eme_UnitedStatesElectricalConstructionAndFacilitiesServicesMember_ECC1C5EEA89C5821DC7FC5D8988F44E9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_263723FF9200E621D58AC5D8988FEE6E" xlink:to="loc_eme_UnitedStatesElectricalConstructionAndFacilitiesServicesMember_ECC1C5EEA89C5821DC7FC5D8988F44E9" xlink:type="arc" />
    <link:loc xlink:href="eme-20190930.xsd#eme_UnitedStatesMechanicalConstructionAndFacilitiesServicesMember" xlink:label="loc_eme_UnitedStatesMechanicalConstructionAndFacilitiesServicesMember_9DA8C1692C3135E22F72C5D8988F50FA" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_263723FF9200E621D58AC5D8988FEE6E" xlink:to="loc_eme_UnitedStatesMechanicalConstructionAndFacilitiesServicesMember_9DA8C1692C3135E22F72C5D8988F50FA" xlink:type="arc" />
    <link:loc xlink:href="eme-20190930.xsd#eme_UnitedStatesBuildingServicesMember" xlink:label="loc_eme_UnitedStatesBuildingServicesMember_F94023063285D071C6A8C5D8988FB9E1" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_263723FF9200E621D58AC5D8988FEE6E" xlink:to="loc_eme_UnitedStatesBuildingServicesMember_F94023063285D071C6A8C5D8988FB9E1" xlink:type="arc" />
    <link:loc xlink:href="eme-20190930.xsd#eme_UnitedStatesIndustrialServicesMember" xlink:label="loc_eme_UnitedStatesIndustrialServicesMember_1B8C0B211572862896A1C5D8988FE4EC" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_263723FF9200E621D58AC5D8988FEE6E" xlink:to="loc_eme_UnitedStatesIndustrialServicesMember_1B8C0B211572862896A1C5D8988FE4EC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CorporateNonSegmentMember" xlink:label="loc_us-gaap_CorporateNonSegmentMember_8E2A7586FFFB83425A44C5D8988FFD8D" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_263723FF9200E621D58AC5D8988FEE6E" xlink:to="loc_us-gaap_CorporateNonSegmentMember_8E2A7586FFFB83425A44C5D8988FFD8D" xlink:type="arc" />
    <link:loc xlink:href="eme-20190930.xsd#eme_UnitedKingdomBuildingServicesMemberMember" xlink:label="loc_eme_UnitedKingdomBuildingServicesMemberMember_1243DB29973D1BD3EA36C5D8989F0E29" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_263723FF9200E621D58AC5D8988FEE6E" xlink:to="loc_eme_UnitedKingdomBuildingServicesMemberMember_1243DB29973D1BD3EA36C5D8989F0E29" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax_AAEE69FD0F546D34FA3CC5D8989F6802" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_D08C71B34D5701C6D5D2C5D8989F2DAE" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax_AAEE69FD0F546D34FA3CC5D8989F6802" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_Revenues" xlink:label="loc_us-gaap_Revenues_5CE4ABCB6314167CF87EC5D8989F4C8D" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_D08C71B34D5701C6D5D2C5D8989F2DAE" xlink:to="loc_us-gaap_Revenues_5CE4ABCB6314167CF87EC5D8989F4C8D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OperatingIncomeLoss" xlink:label="loc_us-gaap_OperatingIncomeLoss_188078A17A75E036FCFBC5D8989F3546" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_D08C71B34D5701C6D5D2C5D8989F2DAE" xlink:to="loc_us-gaap_OperatingIncomeLoss_188078A17A75E036FCFBC5D8989F3546" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RestructuringCharges" xlink:label="loc_us-gaap_RestructuringCharges_583604DA6EE6FE9EF35FC5D8989F1866" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_D08C71B34D5701C6D5D2C5D8989F2DAE" xlink:to="loc_us-gaap_RestructuringCharges_583604DA6EE6FE9EF35FC5D8989F1866" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ImpairmentOfIntangibleAssetsIndefinitelivedExcludingGoodwill" xlink:label="loc_us-gaap_ImpairmentOfIntangibleAssetsIndefinitelivedExcludingGoodwill_F03D9AA4AEEB89DE006BC5D8989F3341" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_D08C71B34D5701C6D5D2C5D8989F2DAE" xlink:to="loc_us-gaap_ImpairmentOfIntangibleAssetsIndefinitelivedExcludingGoodwill_F03D9AA4AEEB89DE006BC5D8989F3341" xlink:type="arc" />
    <link:loc xlink:href="eme-20190930.xsd#eme_DefinedBenefitPlanNetPeriodicBenefitCostExcludingServiceCost" xlink:label="loc_eme_DefinedBenefitPlanNetPeriodicBenefitCostExcludingServiceCost_4DE7C18F395038AA2BA1C5D8989FF7CB" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_D08C71B34D5701C6D5D2C5D8989F2DAE" xlink:to="loc_eme_DefinedBenefitPlanNetPeriodicBenefitCostExcludingServiceCost_4DE7C18F395038AA2BA1C5D8989FF7CB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_InterestRevenueExpenseNet" xlink:label="loc_us-gaap_InterestRevenueExpenseNet_E2A523A04FA7E0009F6DC5D8989F79D9" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_D08C71B34D5701C6D5D2C5D8989F2DAE" xlink:to="loc_us-gaap_InterestRevenueExpenseNet_E2A523A04FA7E0009F6DC5D8989F79D9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_B8D3B5071BE9F3AD7F31C5D8989F91D0" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_D08C71B34D5701C6D5D2C5D8989F2DAE" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_B8D3B5071BE9F3AD7F31C5D8989F91D0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_Assets" xlink:label="loc_us-gaap_Assets_0F5FA4EF60121A6F3BDFC5D8989F8E2F" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_D08C71B34D5701C6D5D2C5D8989F2DAE" xlink:to="loc_us-gaap_Assets_0F5FA4EF60121A6F3BDFC5D8989F8E2F" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.emcorgroup.com/role/SegmentInformationTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.emcorgroup.com/role/SubsequentEventSubsequentEvent" xlink:type="extended" />
</link:linkbase>
