<?xml version="1.0" encoding="US-ASCII"?>
<!--XBRL Document Created with Wdesk from Workiva-->
<!-- -->
<linkbase xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd" xmlns="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">
  <roleRef roleURI="http://www.matrixservicecompany.com/role/AcquisitionsDetails" xlink:href="mtrx-20160331.xsd#AcquisitionsDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/AcquisitionsNarrativeDetails" xlink:href="mtrx-20160331.xsd#AcquisitionsNarrativeDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/AcquisitionsNotes" xlink:href="mtrx-20160331.xsd#AcquisitionsNotes" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/AcquisitionsTables" xlink:href="mtrx-20160331.xsd#AcquisitionsTables" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/BasisOfPresentationBasisOfPresentationNarrativeDetails" xlink:href="mtrx-20160331.xsd#BasisOfPresentationBasisOfPresentationNarrativeDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/BasisOfPresentationNotes" xlink:href="mtrx-20160331.xsd#BasisOfPresentationNotes" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/CommitmentsAndContingenciesAdditionalInformationDetail" xlink:href="mtrx-20160331.xsd#CommitmentsAndContingenciesAdditionalInformationDetail" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/CommitmentsAndContingenciesNotes" xlink:href="mtrx-20160331.xsd#CommitmentsAndContingenciesNotes" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/CondensedConsolidatedBalanceSheets" xlink:href="mtrx-20160331.xsd#CondensedConsolidatedBalanceSheets" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/CondensedConsolidatedBalanceSheetsParenthetical" xlink:href="mtrx-20160331.xsd#CondensedConsolidatedBalanceSheetsParenthetical" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/CondensedConsolidatedStatementsOfCashFlows" xlink:href="mtrx-20160331.xsd#CondensedConsolidatedStatementsOfCashFlows" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/CondensedConsolidatedStatementsOfChangesInStockholdersEquity" xlink:href="mtrx-20160331.xsd#CondensedConsolidatedStatementsOfChangesInStockholdersEquity" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/CondensedConsolidatedStatementsOfChangesInStockholdersEquityParenthetical" xlink:href="mtrx-20160331.xsd#CondensedConsolidatedStatementsOfChangesInStockholdersEquityParenthetical" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/CondensedConsolidatedStatementsOfComprehensiveIncome" xlink:href="mtrx-20160331.xsd#CondensedConsolidatedStatementsOfComprehensiveIncome" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/CondensedConsolidatedStatementsOfIncome" xlink:href="mtrx-20160331.xsd#CondensedConsolidatedStatementsOfIncome" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/DebtAdditionalInformationDetail" xlink:href="mtrx-20160331.xsd#DebtAdditionalInformationDetail" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/DebtAvailabilityUnderSeniorCreditFacilityDetails" xlink:href="mtrx-20160331.xsd#DebtAvailabilityUnderSeniorCreditFacilityDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/DebtNotes" xlink:href="mtrx-20160331.xsd#DebtNotes" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/DebtTables" xlink:href="mtrx-20160331.xsd#DebtTables" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/DocumentAndEntityInformation" xlink:href="mtrx-20160331.xsd#DocumentAndEntityInformation" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/EarningsPerCommonShareAntidilutiveSecuritiesExcludedFromCalculationOfDilutedEarningsPerShareDetails" xlink:href="mtrx-20160331.xsd#EarningsPerCommonShareAntidilutiveSecuritiesExcludedFromCalculationOfDilutedEarningsPerShareDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/EarningsPerCommonShareComputationOfBasicAndDilutedEarningsPerShareDetails" xlink:href="mtrx-20160331.xsd#EarningsPerCommonShareComputationOfBasicAndDilutedEarningsPerShareDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/EarningsPerCommonShareNotes" xlink:href="mtrx-20160331.xsd#EarningsPerCommonShareNotes" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/EarningsPerCommonShareTables" xlink:href="mtrx-20160331.xsd#EarningsPerCommonShareTables" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/IncomeTaxesIncomeTaxesDetails" xlink:href="mtrx-20160331.xsd#IncomeTaxesIncomeTaxesDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/IncomeTaxesNotes" xlink:href="mtrx-20160331.xsd#IncomeTaxesNotes" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/IntangibleAssetsIncludingGoodwillAdditionalInformationDetail" xlink:href="mtrx-20160331.xsd#IntangibleAssetsIncludingGoodwillAdditionalInformationDetail" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/IntangibleAssetsIncludingGoodwillCarryingValueOfGoodwillBySegmentDetails" xlink:href="mtrx-20160331.xsd#IntangibleAssetsIncludingGoodwillCarryingValueOfGoodwillBySegmentDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/IntangibleAssetsIncludingGoodwillCarryingValueOfOtherIntangibleAssetsDetails" xlink:href="mtrx-20160331.xsd#IntangibleAssetsIncludingGoodwillCarryingValueOfOtherIntangibleAssetsDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/IntangibleAssetsIncludingGoodwillFutureExpectedAmortizationExpenseDetails" xlink:href="mtrx-20160331.xsd#IntangibleAssetsIncludingGoodwillFutureExpectedAmortizationExpenseDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/IntangibleAssetsIncludingGoodwillNotes" xlink:href="mtrx-20160331.xsd#IntangibleAssetsIncludingGoodwillNotes" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/IntangibleAssetsIncludingGoodwillTables" xlink:href="mtrx-20160331.xsd#IntangibleAssetsIncludingGoodwillTables" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/SegmentInformationNotes" xlink:href="mtrx-20160331.xsd#SegmentInformationNotes" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/SegmentInformationResultsOfOperationsDetails" xlink:href="mtrx-20160331.xsd#SegmentInformationResultsOfOperationsDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/SegmentInformationTables" xlink:href="mtrx-20160331.xsd#SegmentInformationTables" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/UncompletedContractsAdditionalInformationDetail" xlink:href="mtrx-20160331.xsd#UncompletedContractsAdditionalInformationDetail" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/UncompletedContractsGrossAndNetAmountsOfUncompletedContractsDetails" xlink:href="mtrx-20160331.xsd#UncompletedContractsGrossAndNetAmountsOfUncompletedContractsDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/UncompletedContractsNotes" xlink:href="mtrx-20160331.xsd#UncompletedContractsNotes" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/UncompletedContractsTables" xlink:href="mtrx-20160331.xsd#UncompletedContractsTables" xlink:type="simple" />
  <arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/all" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#all" xlink:type="simple" />
  <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" />
  <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" />
  <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" />
  <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" />
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/AcquisitionsDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_BusinessAcquisitionLineItems" xlink:label="loc_us-gaap_BusinessAcquisitionLineItems_4FE10863D4A4BA3BD35A828B37A55072" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_D9B31E6CA9F7D39FDB0B828B37A55FC9" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_4FE10863D4A4BA3BD35A828B37A55072" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_D9B31E6CA9F7D39FDB0B828B37A55FC9" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_48FBCC0ADD4B54D2FE67828B37A547E2" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_D9B31E6CA9F7D39FDB0B828B37A55FC9" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_48FBCC0ADD4B54D2FE67828B37A547E2" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_B607F946EF9EB4430C0C828B37A51207_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_48FBCC0ADD4B54D2FE67828B37A547E2" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_B607F946EF9EB4430C0C828B37A51207_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_B607F946EF9EB4430C0C828B37A51207" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_48FBCC0ADD4B54D2FE67828B37A547E2" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_B607F946EF9EB4430C0C828B37A51207" xlink:type="arc" />
    <loc xlink:href="mtrx-20160331.xsd#mtrx_BaillieTankEquipmentLtd.Member" xlink:label="loc_mtrx_BaillieTankEquipmentLtd.Member_54F437FA9C1B05297DC6828B37A55168" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_B607F946EF9EB4430C0C828B37A51207" xlink:to="loc_mtrx_BaillieTankEquipmentLtd.Member_54F437FA9C1B05297DC6828B37A55168" xlink:type="arc" />
    <loc xlink:href="mtrx-20160331.xsd#mtrx_HDBInc.Member" xlink:label="loc_mtrx_HDBInc.Member_400F3738CC179C0F3682828B37A58665" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_B607F946EF9EB4430C0C828B37A51207" xlink:to="loc_mtrx_HDBInc.Member_400F3738CC179C0F3682828B37A58665" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssets" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssets_264CAE1E590A458772D5828B37A5D17B" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_4FE10863D4A4BA3BD35A828B37A55072" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssets_264CAE1E590A458772D5828B37A5D17B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment_06739318A8641BB4CE59828B37A51F9F" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_4FE10863D4A4BA3BD35A828B37A55072" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment_06739318A8641BB4CE59828B37A51F9F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_GoodwillAcquiredDuringPeriod" xlink:label="loc_us-gaap_GoodwillAcquiredDuringPeriod_EEF3B2C0226B330F836E828B37A55AE0" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_4FE10863D4A4BA3BD35A828B37A55072" xlink:to="loc_us-gaap_GoodwillAcquiredDuringPeriod_EEF3B2C0226B330F836E828B37A55AE0" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_Goodwill" xlink:label="loc_us-gaap_Goodwill_FA723FAD6D0AC04D5E73828B37A573AC" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_4FE10863D4A4BA3BD35A828B37A55072" xlink:to="loc_us-gaap_Goodwill_FA723FAD6D0AC04D5E73828B37A573AC" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_BusinessAcquisitionPurchasePriceAllocationGoodwillExpectedTaxDeductibleAmount" xlink:label="loc_us-gaap_BusinessAcquisitionPurchasePriceAllocationGoodwillExpectedTaxDeductibleAmount_0561834DD8CC75A7F857828B37A572A9" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_4FE10863D4A4BA3BD35A828B37A55072" xlink:to="loc_us-gaap_BusinessAcquisitionPurchasePriceAllocationGoodwillExpectedTaxDeductibleAmount_0561834DD8CC75A7F857828B37A572A9" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles_C78C3A950AB71CEBDDEC828B37A5576B" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_4FE10863D4A4BA3BD35A828B37A55072" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles_C78C3A950AB71CEBDDEC828B37A5576B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherNoncurrentAssets" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherNoncurrentAssets_C043A194291E3643F2EF828B37A57185" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_4FE10863D4A4BA3BD35A828B37A55072" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherNoncurrentAssets_C043A194291E3643F2EF828B37A57185" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets_F267BBCC959E0F3C5D57828B37A5B98E" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_4FE10863D4A4BA3BD35A828B37A55072" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets_F267BBCC959E0F3C5D57828B37A5B98E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilities" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilities_8B2D185EDDE39BBD63E2828B37A5502B" xlink:type="locator" />
    <definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_4FE10863D4A4BA3BD35A828B37A55072" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilities_8B2D185EDDE39BBD63E2828B37A5502B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilitiesNoncurrent" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilitiesNoncurrent_B5A827021EEE5C88CF21828B37A57252" xlink:type="locator" />
    <definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_4FE10863D4A4BA3BD35A828B37A55072" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilitiesNoncurrent_B5A827021EEE5C88CF21828B37A57252" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesLongTermDebt" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesLongTermDebt_6BB37F4C63B075837AF3828B37A5D383" xlink:type="locator" />
    <definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_4FE10863D4A4BA3BD35A828B37A55072" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesLongTermDebt_6BB37F4C63B075837AF3828B37A5D383" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesOther" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesOther_47604006F2152E4BF94F828B37A5FDDD" xlink:type="locator" />
    <definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_4FE10863D4A4BA3BD35A828B37A55072" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesOther_47604006F2152E4BF94F828B37A5FDDD" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_39F495CEF40BBD774655828B37A56BD6" xlink:type="locator" />
    <definitionArc order="13" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_4FE10863D4A4BA3BD35A828B37A55072" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_39F495CEF40BBD774655828B37A56BD6" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents_BD8E12532F660CF71685828B37A56577" xlink:type="locator" />
    <definitionArc order="14" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_4FE10863D4A4BA3BD35A828B37A55072" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents_BD8E12532F660CF71685828B37A56577" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_BusinessCombinationConsiderationTransferred1" xlink:label="loc_us-gaap_BusinessCombinationConsiderationTransferred1_4F37FFCCC4CC84F7FD69828B37A5DFA1" xlink:type="locator" />
    <definitionArc order="15" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_4FE10863D4A4BA3BD35A828B37A55072" xlink:to="loc_us-gaap_BusinessCombinationConsiderationTransferred1_4F37FFCCC4CC84F7FD69828B37A5DFA1" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/AcquisitionsNarrativeDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_BusinessAcquisitionLineItems" xlink:label="loc_us-gaap_BusinessAcquisitionLineItems_74B872306F8444AD0F67778C437C556E" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_B85A0BE81EA9EF5EE9FC778C437C8CA2" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_74B872306F8444AD0F67778C437C556E" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_B85A0BE81EA9EF5EE9FC778C437C8CA2" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_1D9E0DCF62A4ACDC3756778C437C9AB2" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_B85A0BE81EA9EF5EE9FC778C437C8CA2" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_1D9E0DCF62A4ACDC3756778C437C9AB2" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_D0234E6AEF66E9EA1257778C437C2A57_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_1D9E0DCF62A4ACDC3756778C437C9AB2" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_D0234E6AEF66E9EA1257778C437C2A57_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_D0234E6AEF66E9EA1257778C437C2A57" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_1D9E0DCF62A4ACDC3756778C437C9AB2" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_D0234E6AEF66E9EA1257778C437C2A57" xlink:type="arc" />
    <loc xlink:href="mtrx-20160331.xsd#mtrx_HDBInc.Member" xlink:label="loc_mtrx_HDBInc.Member_00A08DF1CA16580B5453778C437CFA2E" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_D0234E6AEF66E9EA1257778C437C2A57" xlink:to="loc_mtrx_HDBInc.Member_00A08DF1CA16580B5453778C437CFA2E" xlink:type="arc" />
    <loc xlink:href="mtrx-20160331.xsd#mtrx_BaillieTankEquipmentLtd.Member" xlink:label="loc_mtrx_BaillieTankEquipmentLtd.Member_5C9F3C6B429BD0F7EEA4778C437C4922" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_D0234E6AEF66E9EA1257778C437C2A57" xlink:to="loc_mtrx_BaillieTankEquipmentLtd.Member_5C9F3C6B429BD0F7EEA4778C437C4922" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_BusinessAcquisitionEffectiveDateOfAcquisition1" xlink:label="loc_us-gaap_BusinessAcquisitionEffectiveDateOfAcquisition1_03FB075590F0DF7F55FF778C437CA42C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_74B872306F8444AD0F67778C437C556E" xlink:to="loc_us-gaap_BusinessAcquisitionEffectiveDateOfAcquisition1_03FB075590F0DF7F55FF778C437CA42C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_BusinessAcquisitionNameOfAcquiredEntity" xlink:label="loc_us-gaap_BusinessAcquisitionNameOfAcquiredEntity_18883FABF68A1CE7F8B6778C437CEAC9" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_74B872306F8444AD0F67778C437C556E" xlink:to="loc_us-gaap_BusinessAcquisitionNameOfAcquiredEntity_18883FABF68A1CE7F8B6778C437CEAC9" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_BusinessCombinationConsiderationTransferred1" xlink:label="loc_us-gaap_BusinessCombinationConsiderationTransferred1_0B10BDA91EE021EA43F7778C437C3FB4" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_74B872306F8444AD0F67778C437C556E" xlink:to="loc_us-gaap_BusinessCombinationConsiderationTransferred1_0B10BDA91EE021EA43F7778C437C3FB4" xlink:type="arc" />
    <loc xlink:href="mtrx-20160331.xsd#mtrx_Economicpurchaseprice" xlink:label="loc_mtrx_Economicpurchaseprice_7EE94D9AD55EC802FE65778C437DEEA1" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_74B872306F8444AD0F67778C437C556E" xlink:to="loc_mtrx_Economicpurchaseprice_7EE94D9AD55EC802FE65778C437DEEA1" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_BusinessCombinationAcquisitionRelatedCosts" xlink:label="loc_us-gaap_BusinessCombinationAcquisitionRelatedCosts_B8A39B1B71B91CB57F07778C4382311E" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_74B872306F8444AD0F67778C437C556E" xlink:to="loc_us-gaap_BusinessCombinationAcquisitionRelatedCosts_B8A39B1B71B91CB57F07778C4382311E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_BusinessCombinationProFormaInformationRevenueOfAcquireeSinceAcquisitionDateActual" xlink:label="loc_us-gaap_BusinessCombinationProFormaInformationRevenueOfAcquireeSinceAcquisitionDateActual_C1686909C3CDA309D75C778C4382A9EB" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_74B872306F8444AD0F67778C437C556E" xlink:to="loc_us-gaap_BusinessCombinationProFormaInformationRevenueOfAcquireeSinceAcquisitionDateActual_C1686909C3CDA309D75C778C4382A9EB" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_BusinessCombinationProFormaInformationEarningsOrLossOfAcquireeSinceAcquisitionDateActual" xlink:label="loc_us-gaap_BusinessCombinationProFormaInformationEarningsOrLossOfAcquireeSinceAcquisitionDateActual_C81EF190412DD1C52256778C438201D2" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_74B872306F8444AD0F67778C437C556E" xlink:to="loc_us-gaap_BusinessCombinationProFormaInformationEarningsOrLossOfAcquireeSinceAcquisitionDateActual_C81EF190412DD1C52256778C438201D2" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/AcquisitionsNotes" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/AcquisitionsTables" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_BusinessAcquisitionProFormaInformationNonrecurringAdjustmentLineItems" xlink:label="loc_us-gaap_BusinessAcquisitionProFormaInformationNonrecurringAdjustmentLineItems_78D9C592ADF6F8A1F2A976BD934B1F95" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_BusinessAcquisitionProFormaInformationNonrecurringAdjustmentsTable" xlink:label="loc_us-gaap_BusinessAcquisitionProFormaInformationNonrecurringAdjustmentsTable_C5CB0D2975D3080ABF0576BD934B582A" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionProFormaInformationNonrecurringAdjustmentLineItems_78D9C592ADF6F8A1F2A976BD934B1F95" xlink:to="loc_us-gaap_BusinessAcquisitionProFormaInformationNonrecurringAdjustmentsTable_C5CB0D2975D3080ABF0576BD934B582A" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_8845EB39DD74FCCD2E7F76BD934B3E52" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_BusinessAcquisitionProFormaInformationNonrecurringAdjustmentsTable_C5CB0D2975D3080ABF0576BD934B582A" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_8845EB39DD74FCCD2E7F76BD934B3E52" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_FCB1D4E69926A878140A76BD934B8B8C_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_8845EB39DD74FCCD2E7F76BD934B3E52" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_FCB1D4E69926A878140A76BD934B8B8C_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_FCB1D4E69926A878140A76BD934B8B8C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_8845EB39DD74FCCD2E7F76BD934B3E52" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_FCB1D4E69926A878140A76BD934B8B8C" xlink:type="arc" />
    <loc xlink:href="mtrx-20160331.xsd#mtrx_HDBInc.Member" xlink:label="loc_mtrx_HDBInc.Member_C5C42CC7233C5533802676BD934BFDC0" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_FCB1D4E69926A878140A76BD934B8B8C" xlink:to="loc_mtrx_HDBInc.Member_C5C42CC7233C5533802676BD934BFDC0" xlink:type="arc" />
    <loc xlink:href="mtrx-20160331.xsd#mtrx_KvaernerNorthAmericanConstructionMember" xlink:label="loc_mtrx_KvaernerNorthAmericanConstructionMember_F477D646109E91E3161C76BD934BEA2B" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_FCB1D4E69926A878140A76BD934B8B8C" xlink:to="loc_mtrx_KvaernerNorthAmericanConstructionMember_F477D646109E91E3161C76BD934BEA2B" xlink:type="arc" />
    <loc xlink:href="mtrx-20160331.xsd#mtrx_PelichemIndustrialCleaningServicesLlcMember" xlink:label="loc_mtrx_PelichemIndustrialCleaningServicesLlcMember_5E447E9BF31F9D8689E776BD934B1D47" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_FCB1D4E69926A878140A76BD934B8B8C" xlink:to="loc_mtrx_PelichemIndustrialCleaningServicesLlcMember_5E447E9BF31F9D8689E776BD934B1D47" xlink:type="arc" />
    <loc xlink:href="mtrx-20160331.xsd#mtrx_BaillieTankEquipmentLtd.Member" xlink:label="loc_mtrx_BaillieTankEquipmentLtd.Member_7240504D697E1CCA6AF676BD934B136F" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_FCB1D4E69926A878140A76BD934B8B8C" xlink:to="loc_mtrx_BaillieTankEquipmentLtd.Member_7240504D697E1CCA6AF676BD934B136F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ScheduleOfRecognizedIdentifiedAssetsAcquiredAndLiabilitiesAssumedTableTextBlock" xlink:label="loc_us-gaap_ScheduleOfRecognizedIdentifiedAssetsAcquiredAndLiabilitiesAssumedTableTextBlock_32057A19F58537270B3C76BD934B3A07" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionProFormaInformationNonrecurringAdjustmentLineItems_78D9C592ADF6F8A1F2A976BD934B1F95" xlink:to="loc_us-gaap_ScheduleOfRecognizedIdentifiedAssetsAcquiredAndLiabilitiesAssumedTableTextBlock_32057A19F58537270B3C76BD934B3A07" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_BusinessAcquisitionProFormaInformationTextBlock" xlink:label="loc_us-gaap_BusinessAcquisitionProFormaInformationTextBlock_EDF2AD85EC7B7B7047C376BD934B842E" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionProFormaInformationNonrecurringAdjustmentLineItems_78D9C592ADF6F8A1F2A976BD934B1F95" xlink:to="loc_us-gaap_BusinessAcquisitionProFormaInformationTextBlock_EDF2AD85EC7B7B7047C376BD934B842E" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/BasisOfPresentationBasisOfPresentationNarrativeDetails" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/BasisOfPresentationNotes" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/CommitmentsAndContingenciesAdditionalInformationDetail" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/CommitmentsAndContingenciesNotes" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/CondensedConsolidatedBalanceSheets" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/CondensedConsolidatedBalanceSheetsParenthetical" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/CondensedConsolidatedStatementsOfCashFlows" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/CondensedConsolidatedStatementsOfChangesInStockholdersEquity" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaap_StatementLineItems_DC9ACE9FBF2D497698E5828B698E0BE8" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaap_StatementTable_1D49E98FE21F890AFEC1828B698E730C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_DC9ACE9FBF2D497698E5828B698E0BE8" xlink:to="loc_us-gaap_StatementTable_1D49E98FE21F890AFEC1828B698E730C" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StatementEquityComponentsAxis" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_3B525F87D5320BC964C3828B698E7336" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_1D49E98FE21F890AFEC1828B698E730C" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_3B525F87D5320BC964C3828B698E7336" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_63BF13C891FF5B3D4C95828B698EF61B_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_3B525F87D5320BC964C3828B698E7336" xlink:to="loc_us-gaap_EquityComponentDomain_63BF13C891FF5B3D4C95828B698EF61B_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_63BF13C891FF5B3D4C95828B698EF61B" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_3B525F87D5320BC964C3828B698E7336" xlink:to="loc_us-gaap_EquityComponentDomain_63BF13C891FF5B3D4C95828B698EF61B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_CommonStockMember" xlink:label="loc_us-gaap_CommonStockMember_6CBB4343AA528806FCBB828B698E1920" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_63BF13C891FF5B3D4C95828B698EF61B" xlink:to="loc_us-gaap_CommonStockMember_6CBB4343AA528806FCBB828B698E1920" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AdditionalPaidInCapitalMember" xlink:label="loc_us-gaap_AdditionalPaidInCapitalMember_4C2525B8368231F363AE828B698EF0FC" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_63BF13C891FF5B3D4C95828B698EF61B" xlink:to="loc_us-gaap_AdditionalPaidInCapitalMember_4C2525B8368231F363AE828B698EF0FC" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_RetainedEarningsMember" xlink:label="loc_us-gaap_RetainedEarningsMember_E163B212AFE66986D341828B698E0C34" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_63BF13C891FF5B3D4C95828B698EF61B" xlink:to="loc_us-gaap_RetainedEarningsMember_E163B212AFE66986D341828B698E0C34" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_TreasuryStockMember" xlink:label="loc_us-gaap_TreasuryStockMember_0E36DCC02263A6B55D9B828B698ED9AE" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_63BF13C891FF5B3D4C95828B698EF61B" xlink:to="loc_us-gaap_TreasuryStockMember_0E36DCC02263A6B55D9B828B698ED9AE" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeMember" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_FAE08F40BC43F5CB7E82828B698E0291" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_63BF13C891FF5B3D4C95828B698EF61B" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_FAE08F40BC43F5CB7E82828B698E0291" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_NoncontrollingInterestMember" xlink:label="loc_us-gaap_NoncontrollingInterestMember_E411F4A22003AA78BB7C828B698ECC15" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_63BF13C891FF5B3D4C95828B698EF61B" xlink:to="loc_us-gaap_NoncontrollingInterestMember_E411F4A22003AA78BB7C828B698ECC15" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_IncreaseDecreaseInStockholdersEquityRollForward" xlink:label="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_BF4AD6D0255E1652003E828B698EBE9D" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_DC9ACE9FBF2D497698E5828B698E0BE8" xlink:to="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_BF4AD6D0255E1652003E828B698EBE9D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_1B1A7857BF729EC93CE9828B698E671E" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_BF4AD6D0255E1652003E828B698EBE9D" xlink:to="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_1B1A7857BF729EC93CE9828B698E671E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_NoncontrollingInterestIncreaseFromSubsidiaryEquityIssuance" xlink:label="loc_us-gaap_NoncontrollingInterestIncreaseFromSubsidiaryEquityIssuance_2FA7713CE21A5586AFDF828B698EE0C3" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_BF4AD6D0255E1652003E828B698EBE9D" xlink:to="loc_us-gaap_NoncontrollingInterestIncreaseFromSubsidiaryEquityIssuance_2FA7713CE21A5586AFDF828B698EE0C3" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ProfitLoss" xlink:label="loc_us-gaap_ProfitLoss_932479A82E87C16025A0828B698EDCA4" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_BF4AD6D0255E1652003E828B698EBE9D" xlink:to="loc_us-gaap_ProfitLoss_932479A82E87C16025A0828B698EDCA4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_3221F7D3B919CBA7E880828B698ECC7E" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_BF4AD6D0255E1652003E828B698EBE9D" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_3221F7D3B919CBA7E880828B698ECC7E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_PaymentsToAcquireInterestInJointVenture" xlink:label="loc_us-gaap_PaymentsToAcquireInterestInJointVenture_39D081F7E12F29385EF5828B698E2D64" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_BF4AD6D0255E1652003E828B698EBE9D" xlink:to="loc_us-gaap_PaymentsToAcquireInterestInJointVenture_39D081F7E12F29385EF5828B698E2D64" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_NoncontrollingInterestIncreaseFromBusinessCombination" xlink:label="loc_us-gaap_NoncontrollingInterestIncreaseFromBusinessCombination_B575CD78A71EB1AC70D6828B698E5BB4" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_BF4AD6D0255E1652003E828B698EBE9D" xlink:to="loc_us-gaap_NoncontrollingInterestIncreaseFromBusinessCombination_B575CD78A71EB1AC70D6828B698E5BB4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised_1CE7B3D1694103C83261828B698ECD03" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_BF4AD6D0255E1652003E828B698EBE9D" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised_1CE7B3D1694103C83261828B698ECD03" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AdjustmentsToAdditionalPaidInCapitalTaxEffectFromShareBasedCompensation" xlink:label="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalTaxEffectFromShareBasedCompensation_EF73B91A9096C6036A65828B698E11B3" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_BF4AD6D0255E1652003E828B698EBE9D" xlink:to="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalTaxEffectFromShareBasedCompensation_EF73B91A9096C6036A65828B698E11B3" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AdjustmentsToAdditionalPaidInCapitalOther" xlink:label="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalOther_41887271A1BB2EBD061B828B698EA7F0" xlink:type="locator" />
    <definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_BF4AD6D0255E1652003E828B698EBE9D" xlink:to="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalOther_41887271A1BB2EBD061B828B698EA7F0" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StockIssuedDuringPeriodValueEmployeeStockPurchasePlan" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueEmployeeStockPurchasePlan_35E79DF59EBF730AE5CE828B698E5654" xlink:type="locator" />
    <definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_BF4AD6D0255E1652003E828B698EBE9D" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueEmployeeStockPurchasePlan_35E79DF59EBF730AE5CE828B698E5654" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_TreasuryStockValueAcquiredCostMethod" xlink:label="loc_us-gaap_TreasuryStockValueAcquiredCostMethod_1816B5E643D076E173F2828B698ECAA0" xlink:type="locator" />
    <definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_BF4AD6D0255E1652003E828B698EBE9D" xlink:to="loc_us-gaap_TreasuryStockValueAcquiredCostMethod_1816B5E643D076E173F2828B698ECAA0" xlink:type="arc" />
    <loc xlink:href="mtrx-20160331.xsd#mtrx_OtherTreasurySharePurchases" xlink:label="loc_mtrx_OtherTreasurySharePurchases_0970B969FA69ACC27290828B698EAE2C" xlink:type="locator" />
    <definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_BF4AD6D0255E1652003E828B698EBE9D" xlink:to="loc_mtrx_OtherTreasurySharePurchases_0970B969FA69ACC27290828B698EAE2C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue" xlink:label="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_A7E1F3852F4B5761904C828B698EBCF8" xlink:type="locator" />
    <definitionArc order="13" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_BF4AD6D0255E1652003E828B698EBE9D" xlink:to="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_A7E1F3852F4B5761904C828B698EBCF8" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/CondensedConsolidatedStatementsOfChangesInStockholdersEquityParenthetical" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaap_StatementLineItems_0D17A34610BF6B5D3F5E784281C82525" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaap_StatementTable_163786EC28E6CDAA57D7784281BE129E" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_0D17A34610BF6B5D3F5E784281C82525" xlink:to="loc_us-gaap_StatementTable_163786EC28E6CDAA57D7784281BE129E" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StatementEquityComponentsAxis" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_2D4B803F2B1AA70B087A784281BE168D" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_163786EC28E6CDAA57D7784281BE129E" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_2D4B803F2B1AA70B087A784281BE168D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_189E15D6764AF2191EDC784281BE9A46_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_2D4B803F2B1AA70B087A784281BE168D" xlink:to="loc_us-gaap_EquityComponentDomain_189E15D6764AF2191EDC784281BE9A46_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_189E15D6764AF2191EDC784281BE9A46" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_2D4B803F2B1AA70B087A784281BE168D" xlink:to="loc_us-gaap_EquityComponentDomain_189E15D6764AF2191EDC784281BE9A46" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AdditionalPaidInCapitalMember" xlink:label="loc_us-gaap_AdditionalPaidInCapitalMember_5C8B08C3FB7B0BD256D3784281BEE68F" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_189E15D6764AF2191EDC784281BE9A46" xlink:to="loc_us-gaap_AdditionalPaidInCapitalMember_5C8B08C3FB7B0BD256D3784281BEE68F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_TreasuryStockMember" xlink:label="loc_us-gaap_TreasuryStockMember_959D39B0DB1208952E95784281C8019C" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_189E15D6764AF2191EDC784281BE9A46" xlink:to="loc_us-gaap_TreasuryStockMember_959D39B0DB1208952E95784281C8019C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_8F078D21623A3FB57A02784281C8CC79" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_0D17A34610BF6B5D3F5E784281C82525" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_8F078D21623A3FB57A02784281C8CC79" xlink:type="arc" />
    <loc xlink:href="mtrx-20160331.xsd#mtrx_DeferredSharesIssued" xlink:label="loc_mtrx_DeferredSharesIssued_F167EBE190AEBA9052F3784281C8AC47" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_0D17A34610BF6B5D3F5E784281C82525" xlink:to="loc_mtrx_DeferredSharesIssued_F167EBE190AEBA9052F3784281C8AC47" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans_51E41F79A734E6BB30D0784281C8C710" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_0D17A34610BF6B5D3F5E784281C82525" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans_51E41F79A734E6BB30D0784281C8C710" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_TreasuryStockSharesAcquired" xlink:label="loc_us-gaap_TreasuryStockSharesAcquired_CD7624638664831925F1784281C813E1" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_0D17A34610BF6B5D3F5E784281C82525" xlink:to="loc_us-gaap_TreasuryStockSharesAcquired_CD7624638664831925F1784281C813E1" xlink:type="arc" />
    <loc xlink:href="mtrx-20160331.xsd#mtrx_OtherTreasurySharesAcquired" xlink:label="loc_mtrx_OtherTreasurySharesAcquired_7263096192AEF478E2A1784281C82F2B" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_0D17A34610BF6B5D3F5E784281C82525" xlink:to="loc_mtrx_OtherTreasurySharesAcquired_7263096192AEF478E2A1784281C82F2B" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/CondensedConsolidatedStatementsOfComprehensiveIncome" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/CondensedConsolidatedStatementsOfIncome" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/DebtAdditionalInformationDetail" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems" xlink:label="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_B5CD3A250BDE7ED41A637C261AE55B49" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ScheduleOfAcquiredIndefiniteLivedIntangibleAssetsByMajorClassTable" xlink:label="loc_us-gaap_ScheduleOfAcquiredIndefiniteLivedIntangibleAssetsByMajorClassTable_5FA981C355578B09EE717C261AE59C76" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_B5CD3A250BDE7ED41A637C261AE55B49" xlink:to="loc_us-gaap_ScheduleOfAcquiredIndefiniteLivedIntangibleAssetsByMajorClassTable_5FA981C355578B09EE717C261AE59C76" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_VariableRateAxis" xlink:label="loc_us-gaap_VariableRateAxis_E4260FB1FA0B111197F17C261AE5CC30" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAcquiredIndefiniteLivedIntangibleAssetsByMajorClassTable_5FA981C355578B09EE717C261AE59C76" xlink:to="loc_us-gaap_VariableRateAxis_E4260FB1FA0B111197F17C261AE5CC30" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_VariableRateDomain" xlink:label="loc_us-gaap_VariableRateDomain_11BD8DFEFA0A377BD4B07C261AE5F791_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_VariableRateAxis_E4260FB1FA0B111197F17C261AE5CC30" xlink:to="loc_us-gaap_VariableRateDomain_11BD8DFEFA0A377BD4B07C261AE5F791_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_VariableRateDomain" xlink:label="loc_us-gaap_VariableRateDomain_11BD8DFEFA0A377BD4B07C261AE5F791" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_VariableRateAxis_E4260FB1FA0B111197F17C261AE5CC30" xlink:to="loc_us-gaap_VariableRateDomain_11BD8DFEFA0A377BD4B07C261AE5F791" xlink:type="arc" />
    <loc xlink:href="mtrx-20160331.xsd#mtrx_CdorRateMember" xlink:label="loc_mtrx_CdorRateMember_B1D997A68720FFF4C5637C261AE5FEFB" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableRateDomain_11BD8DFEFA0A377BD4B07C261AE5F791" xlink:to="loc_mtrx_CdorRateMember_B1D997A68720FFF4C5637C261AE5FEFB" xlink:type="arc" />
    <loc xlink:href="mtrx-20160331.xsd#mtrx_CanadianPrimeRateMember" xlink:label="loc_mtrx_CanadianPrimeRateMember_639FE7D53117431319967C261AE5BDEA" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableRateDomain_11BD8DFEFA0A377BD4B07C261AE5F791" xlink:to="loc_mtrx_CanadianPrimeRateMember_639FE7D53117431319967C261AE5BDEA" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_RangeAxis" xlink:label="loc_us-gaap_RangeAxis_8FFA3A63BEDDF4B625277C261AE58753" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAcquiredIndefiniteLivedIntangibleAssetsByMajorClassTable_5FA981C355578B09EE717C261AE59C76" xlink:to="loc_us-gaap_RangeAxis_8FFA3A63BEDDF4B625277C261AE58753" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_411573CDC7D494A8B7497C261AE532FB_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RangeAxis_8FFA3A63BEDDF4B625277C261AE58753" xlink:to="loc_us-gaap_RangeMember_411573CDC7D494A8B7497C261AE532FB_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_411573CDC7D494A8B7497C261AE532FB" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RangeAxis_8FFA3A63BEDDF4B625277C261AE58753" xlink:to="loc_us-gaap_RangeMember_411573CDC7D494A8B7497C261AE532FB" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MinimumMember" xlink:label="loc_us-gaap_MinimumMember_1E016BD4623F8802F2AF7C261AE5DE28" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_411573CDC7D494A8B7497C261AE532FB" xlink:to="loc_us-gaap_MinimumMember_1E016BD4623F8802F2AF7C261AE5DE28" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MaximumMember" xlink:label="loc_us-gaap_MaximumMember_64276586AF20B48B3AE77C261AE57D57" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_411573CDC7D494A8B7497C261AE532FB" xlink:to="loc_us-gaap_MaximumMember_64276586AF20B48B3AE77C261AE57D57" xlink:type="arc" />
    <loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_DocumentPeriodEndDate" xlink:label="loc_dei_DocumentPeriodEndDate_8C24A72EE4FC2E74DEC17C261AE5FE96" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_B5CD3A250BDE7ED41A637C261AE55B49" xlink:to="loc_dei_DocumentPeriodEndDate_8C24A72EE4FC2E74DEC17C261AE5FE96" xlink:type="arc" />
    <loc xlink:href="mtrx-20160331.xsd#mtrx_CreditAgreementTerm" xlink:label="loc_mtrx_CreditAgreementTerm_ABF8894A641E9AE1C0D67C261AE50499" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_B5CD3A250BDE7ED41A637C261AE55B49" xlink:to="loc_mtrx_CreditAgreementTerm_ABF8894A641E9AE1C0D67C261AE50499" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity" xlink:label="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_C2DDA7DE45B415F91BA87C261AE5E7D9" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_B5CD3A250BDE7ED41A637C261AE55B49" xlink:to="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_C2DDA7DE45B415F91BA87C261AE5E7D9" xlink:type="arc" />
    <loc xlink:href="mtrx-20160331.xsd#mtrx_MtrxLineofcreditfacilityexpirationdate" xlink:label="loc_mtrx_MtrxLineofcreditfacilityexpirationdate_5143FF180BBF802283CD7C261AE51AF2" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_B5CD3A250BDE7ED41A637C261AE55B49" xlink:to="loc_mtrx_MtrxLineofcreditfacilityexpirationdate_5143FF180BBF802283CD7C261AE51AF2" xlink:type="arc" />
    <loc xlink:href="mtrx-20160331.xsd#mtrx_SeniorLeverageRatioMax" xlink:label="loc_mtrx_SeniorLeverageRatioMax_1EB9311EC2FFFA8DC7E27C261AE506DD" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_B5CD3A250BDE7ED41A637C261AE55B49" xlink:to="loc_mtrx_SeniorLeverageRatioMax_1EB9311EC2FFFA8DC7E27C261AE506DD" xlink:type="arc" />
    <loc xlink:href="mtrx-20160331.xsd#mtrx_SeniorLeverageRatioMin" xlink:label="loc_mtrx_SeniorLeverageRatioMin_6D0FBB143F4C053538E57C261AE5BB3D" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_B5CD3A250BDE7ED41A637C261AE55B49" xlink:to="loc_mtrx_SeniorLeverageRatioMin_6D0FBB143F4C053538E57C261AE5BB3D" xlink:type="arc" />
    <loc xlink:href="mtrx-20160331.xsd#mtrx_FixedChargeCoverageRatioMaximum" xlink:label="loc_mtrx_FixedChargeCoverageRatioMaximum_9B66A3DF868BE6C9DA327C261AE5166F" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_B5CD3A250BDE7ED41A637C261AE55B49" xlink:to="loc_mtrx_FixedChargeCoverageRatioMaximum_9B66A3DF868BE6C9DA327C261AE5166F" xlink:type="arc" />
    <loc xlink:href="mtrx-20160331.xsd#mtrx_FixedChargeCoverageRatioMinimum" xlink:label="loc_mtrx_FixedChargeCoverageRatioMinimum_44372500E58791018E407C261AE5DB20" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_B5CD3A250BDE7ED41A637C261AE55B49" xlink:to="loc_mtrx_FixedChargeCoverageRatioMinimum_44372500E58791018E407C261AE5DB20" xlink:type="arc" />
    <loc xlink:href="mtrx-20160331.xsd#mtrx_AmountofLimitonAssetDispositions" xlink:label="loc_mtrx_AmountofLimitonAssetDispositions_24F2DC80A2FAA68034377C28E72AB8E1" xlink:type="locator" />
    <definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_B5CD3A250BDE7ED41A637C261AE55B49" xlink:to="loc_mtrx_AmountofLimitonAssetDispositions_24F2DC80A2FAA68034377C28E72AB8E1" xlink:type="arc" />
    <loc xlink:href="mtrx-20160331.xsd#mtrx_LineOfCreditBasisSpreadOnAlternateBaseRateMinimum" xlink:label="loc_mtrx_LineOfCreditBasisSpreadOnAlternateBaseRateMinimum_BB5CF4EDB462FDBDA2DA7C261AE5C4F5" xlink:type="locator" />
    <definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_B5CD3A250BDE7ED41A637C261AE55B49" xlink:to="loc_mtrx_LineOfCreditBasisSpreadOnAlternateBaseRateMinimum_BB5CF4EDB462FDBDA2DA7C261AE5C4F5" xlink:type="arc" />
    <loc xlink:href="mtrx-20160331.xsd#mtrx_LineOfCreditBasisSpreadOnAlternateBaseRateMaximum" xlink:label="loc_mtrx_LineOfCreditBasisSpreadOnAlternateBaseRateMaximum_9B20770D4135A4F693A07C261AE5FC8A" xlink:type="locator" />
    <definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_B5CD3A250BDE7ED41A637C261AE55B49" xlink:to="loc_mtrx_LineOfCreditBasisSpreadOnAlternateBaseRateMaximum_9B20770D4135A4F693A07C261AE5FC8A" xlink:type="arc" />
    <loc xlink:href="mtrx-20160331.xsd#mtrx_LineOfCreditBasisSpreadOnLondonInterbankOfferedRateMinimum" xlink:label="loc_mtrx_LineOfCreditBasisSpreadOnLondonInterbankOfferedRateMinimum_ABF1E1C493A90B5180767C261AE506E1" xlink:type="locator" />
    <definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_B5CD3A250BDE7ED41A637C261AE55B49" xlink:to="loc_mtrx_LineOfCreditBasisSpreadOnLondonInterbankOfferedRateMinimum_ABF1E1C493A90B5180767C261AE506E1" xlink:type="arc" />
    <loc xlink:href="mtrx-20160331.xsd#mtrx_LineOfCreditBasisSpreadOnLondonInterbankOfferedRateMaximum" xlink:label="loc_mtrx_LineOfCreditBasisSpreadOnLondonInterbankOfferedRateMaximum_E7FB8AB704FD38D561007C261AE5DD1C" xlink:type="locator" />
    <definitionArc order="13" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_B5CD3A250BDE7ED41A637C261AE55B49" xlink:to="loc_mtrx_LineOfCreditBasisSpreadOnLondonInterbankOfferedRateMaximum_E7FB8AB704FD38D561007C261AE5DD1C" xlink:type="arc" />
    <loc xlink:href="mtrx-20160331.xsd#mtrx_AmountOfLimitOnCanadianDollarBorrowings" xlink:label="loc_mtrx_AmountOfLimitOnCanadianDollarBorrowings_B8B0DD096029F46C7A8E7C261AE549D9" xlink:type="locator" />
    <definitionArc order="14" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_B5CD3A250BDE7ED41A637C261AE55B49" xlink:to="loc_mtrx_AmountOfLimitOnCanadianDollarBorrowings_B8B0DD096029F46C7A8E7C261AE549D9" xlink:type="arc" />
    <loc xlink:href="mtrx-20160331.xsd#mtrx_LineOfCreditBasisSpreadOnCanadianDepositOfferedRateMinimum" xlink:label="loc_mtrx_LineOfCreditBasisSpreadOnCanadianDepositOfferedRateMinimum_2054F8B9F6A59EF299DC7C261AE58D93" xlink:type="locator" />
    <definitionArc order="15" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_B5CD3A250BDE7ED41A637C261AE55B49" xlink:to="loc_mtrx_LineOfCreditBasisSpreadOnCanadianDepositOfferedRateMinimum_2054F8B9F6A59EF299DC7C261AE58D93" xlink:type="arc" />
    <loc xlink:href="mtrx-20160331.xsd#mtrx_LineOfCreditBasisSpreadOnCanadianDepositOfferedRateMaximum" xlink:label="loc_mtrx_LineOfCreditBasisSpreadOnCanadianDepositOfferedRateMaximum_56A3C66C3F8A48ED47F67C261AE589E8" xlink:type="locator" />
    <definitionArc order="16" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_B5CD3A250BDE7ED41A637C261AE55B49" xlink:to="loc_mtrx_LineOfCreditBasisSpreadOnCanadianDepositOfferedRateMaximum_56A3C66C3F8A48ED47F67C261AE589E8" xlink:type="arc" />
    <loc xlink:href="mtrx-20160331.xsd#mtrx_LineOfCreditBasisSpreadOnCanadianPrimeRateMinimum" xlink:label="loc_mtrx_LineOfCreditBasisSpreadOnCanadianPrimeRateMinimum_4D6FC82E4883F0258F7F7C261AE5951F" xlink:type="locator" />
    <definitionArc order="17" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_B5CD3A250BDE7ED41A637C261AE55B49" xlink:to="loc_mtrx_LineOfCreditBasisSpreadOnCanadianPrimeRateMinimum_4D6FC82E4883F0258F7F7C261AE5951F" xlink:type="arc" />
    <loc xlink:href="mtrx-20160331.xsd#mtrx_LineOfCreditBasisSpreadOnCanadianPrimeRateMaximum" xlink:label="loc_mtrx_LineOfCreditBasisSpreadOnCanadianPrimeRateMaximum_3AD7D572848ECC8FB0497C261AE57D98" xlink:type="locator" />
    <definitionArc order="18" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_B5CD3A250BDE7ED41A637C261AE55B49" xlink:to="loc_mtrx_LineOfCreditBasisSpreadOnCanadianPrimeRateMaximum_3AD7D572848ECC8FB0497C261AE57D98" xlink:type="arc" />
    <loc xlink:href="mtrx-20160331.xsd#mtrx_LineOfCreditFacilityCanadianDepositOfferedRateDescription" xlink:label="loc_mtrx_LineOfCreditFacilityCanadianDepositOfferedRateDescription_C710FF7A00BB5623E2CF7C261AE5761E" xlink:type="locator" />
    <definitionArc order="19" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_B5CD3A250BDE7ED41A637C261AE55B49" xlink:to="loc_mtrx_LineOfCreditFacilityCanadianDepositOfferedRateDescription_C710FF7A00BB5623E2CF7C261AE5761E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DebtInstrumentDescriptionOfVariableRateBasis" xlink:label="loc_us-gaap_DebtInstrumentDescriptionOfVariableRateBasis_BEE532CD25B2147E93887C261AE562A9" xlink:type="locator" />
    <definitionArc order="20" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_B5CD3A250BDE7ED41A637C261AE55B49" xlink:to="loc_us-gaap_DebtInstrumentDescriptionOfVariableRateBasis_BEE532CD25B2147E93887C261AE562A9" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DebtInstrumentBasisSpreadOnVariableRate1" xlink:label="loc_us-gaap_DebtInstrumentBasisSpreadOnVariableRate1_A24A4CECC38D3BF814457C261AE5DD5D" xlink:type="locator" />
    <definitionArc order="21" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_B5CD3A250BDE7ED41A637C261AE55B49" xlink:to="loc_us-gaap_DebtInstrumentBasisSpreadOnVariableRate1_A24A4CECC38D3BF814457C261AE5DD5D" xlink:type="arc" />
    <loc xlink:href="mtrx-20160331.xsd#mtrx_LineOfCreditFacilityCanadianPrimeRateDescription" xlink:label="loc_mtrx_LineOfCreditFacilityCanadianPrimeRateDescription_1E53C5C9157F2345F3147C261AE5FDBE" xlink:type="locator" />
    <definitionArc order="22" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_B5CD3A250BDE7ED41A637C261AE55B49" xlink:to="loc_mtrx_LineOfCreditFacilityCanadianPrimeRateDescription_1E53C5C9157F2345F3147C261AE5FDBE" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_LineOfCreditFacilityUnusedCapacityCommitmentFeePercentage" xlink:label="loc_us-gaap_LineOfCreditFacilityUnusedCapacityCommitmentFeePercentage_21F1C15482EEBD56A0957C261AE58260" xlink:type="locator" />
    <definitionArc order="23" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_B5CD3A250BDE7ED41A637C261AE55B49" xlink:to="loc_us-gaap_LineOfCreditFacilityUnusedCapacityCommitmentFeePercentage_21F1C15482EEBD56A0957C261AE58260" xlink:type="arc" />
    <loc xlink:href="mtrx-20160331.xsd#mtrx_MaximumLimitOfConsolidatedFundedIndebtedness" xlink:label="loc_mtrx_MaximumLimitOfConsolidatedFundedIndebtedness_8A214E203EA97E14CA637C261AE56552" xlink:type="locator" />
    <definitionArc order="24" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_B5CD3A250BDE7ED41A637C261AE55B49" xlink:to="loc_mtrx_MaximumLimitOfConsolidatedFundedIndebtedness_8A214E203EA97E14CA637C261AE56552" xlink:type="arc" />
    <loc xlink:href="mtrx-20160331.xsd#mtrx_ConsolidatedEarningsBeforeInterestTaxesDepreciationAndAmortizationPerCreditAgreement" xlink:label="loc_mtrx_ConsolidatedEarningsBeforeInterestTaxesDepreciationAndAmortizationPerCreditAgreement_8DD65F948C23A5C4B93F7C261AE5989B" xlink:type="locator" />
    <definitionArc order="25" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_B5CD3A250BDE7ED41A637C261AE55B49" xlink:to="loc_mtrx_ConsolidatedEarningsBeforeInterestTaxesDepreciationAndAmortizationPerCreditAgreement_8DD65F948C23A5C4B93F7C261AE5989B" xlink:type="arc" />
    <loc xlink:href="mtrx-20160331.xsd#mtrx_ConsolidatedFundedIndebtedness" xlink:label="loc_mtrx_ConsolidatedFundedIndebtedness_757F6A6452E60CC9ADE57C261AE53861" xlink:type="locator" />
    <definitionArc order="26" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_B5CD3A250BDE7ED41A637C261AE55B49" xlink:to="loc_mtrx_ConsolidatedFundedIndebtedness_757F6A6452E60CC9ADE57C261AE53861" xlink:type="arc" />
    <loc xlink:href="mtrx-20160331.xsd#mtrx_Acquiredlongtermdebt" xlink:label="loc_mtrx_Acquiredlongtermdebt_870192FF1819724BE88E7C261AE5013F" xlink:type="locator" />
    <definitionArc order="27" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_B5CD3A250BDE7ED41A637C261AE55B49" xlink:to="loc_mtrx_Acquiredlongtermdebt_870192FF1819724BE88E7C261AE5013F" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/DebtAvailabilityUnderSeniorCreditFacilityDetails" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/DebtNotes" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/DebtTables" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/DocumentAndEntityInformation" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/EarningsPerCommonShareAntidilutiveSecuritiesExcludedFromCalculationOfDilutedEarningsPerShareDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_9E4CCA844CF956C89CDADA001C979CAA" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable" xlink:label="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_13B24376A9015C45B7E94E30D7A3179E" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_9E4CCA844CF956C89CDADA001C979CAA" xlink:to="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_13B24376A9015C45B7E94E30D7A3179E" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_5BFF3BF36B4D5C82BEC447DFBE0ABA5E" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_13B24376A9015C45B7E94E30D7A3179E" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_5BFF3BF36B4D5C82BEC447DFBE0ABA5E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AntidilutiveSecuritiesNameDomain" xlink:label="loc_us-gaap_AntidilutiveSecuritiesNameDomain_499CA39BC4032B4E3E4815FD3635A4EF_F5679B465A995406985016DF6746B37A" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_5BFF3BF36B4D5C82BEC447DFBE0ABA5E" xlink:to="loc_us-gaap_AntidilutiveSecuritiesNameDomain_499CA39BC4032B4E3E4815FD3635A4EF_F5679B465A995406985016DF6746B37A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AntidilutiveSecuritiesNameDomain" xlink:label="loc_us-gaap_AntidilutiveSecuritiesNameDomain_DDF56D1F31FF58228B71AE294233C666" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_5BFF3BF36B4D5C82BEC447DFBE0ABA5E" xlink:to="loc_us-gaap_AntidilutiveSecuritiesNameDomain_DDF56D1F31FF58228B71AE294233C666" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_EmployeeStockOptionMember" xlink:label="loc_us-gaap_EmployeeStockOptionMember_E9E5BBB7108051FE80DC000EA58A4736" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_DDF56D1F31FF58228B71AE294233C666" xlink:to="loc_us-gaap_EmployeeStockOptionMember_E9E5BBB7108051FE80DC000EA58A4736" xlink:type="arc" />
    <loc xlink:href="mtrx-20160331.xsd#mtrx_NonvestedDeferredSharesMember" xlink:label="loc_mtrx_NonvestedDeferredSharesMember_A1990A2A52DB5445827AB92AA3341169" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_DDF56D1F31FF58228B71AE294233C666" xlink:to="loc_mtrx_NonvestedDeferredSharesMember_A1990A2A52DB5445827AB92AA3341169" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_3AFBDE2AE4FA523287032C1B86CAA276" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_9E4CCA844CF956C89CDADA001C979CAA" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_3AFBDE2AE4FA523287032C1B86CAA276" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/EarningsPerCommonShareComputationOfBasicAndDilutedEarningsPerShareDetails" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/EarningsPerCommonShareNotes" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/EarningsPerCommonShareTables" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/IncomeTaxesIncomeTaxesDetails" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/IncomeTaxesNotes" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/IntangibleAssetsIncludingGoodwillAdditionalInformationDetail" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsLineItems" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_148CE3A08303AF83AAC877ACF824F7F6" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable" xlink:label="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_D8AC2C112C1E76F6A7BD77ACF8229BA0" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_148CE3A08303AF83AAC877ACF824F7F6" xlink:to="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_D8AC2C112C1E76F6A7BD77ACF8229BA0" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_CD85517FCAC433BB0F3077ACF82264BF" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_D8AC2C112C1E76F6A7BD77ACF8229BA0" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_CD85517FCAC433BB0F3077ACF82264BF" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_9BF4894EF0FB4A2391D577ACF823D069_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_CD85517FCAC433BB0F3077ACF82264BF" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_9BF4894EF0FB4A2391D577ACF823D069_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_9BF4894EF0FB4A2391D577ACF823D069" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_CD85517FCAC433BB0F3077ACF82264BF" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_9BF4894EF0FB4A2391D577ACF823D069" xlink:type="arc" />
    <loc xlink:href="mtrx-20160331.xsd#mtrx_BaillieTankEquipmentLtd.Member" xlink:label="loc_mtrx_BaillieTankEquipmentLtd.Member_2442EA72FCD0D2AA788277ACF8230C2F" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_9BF4894EF0FB4A2391D577ACF823D069" xlink:to="loc_mtrx_BaillieTankEquipmentLtd.Member_2442EA72FCD0D2AA788277ACF8230C2F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StatementBusinessSegmentsAxis" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_AB3C5730477BD3E01EF277ACF823EF9A" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_D8AC2C112C1E76F6A7BD77ACF8229BA0" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_AB3C5730477BD3E01EF277ACF823EF9A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_51CD60FE5CF56EFA071177ACF823EC6D_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_AB3C5730477BD3E01EF277ACF823EF9A" xlink:to="loc_us-gaap_SegmentDomain_51CD60FE5CF56EFA071177ACF823EC6D_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_51CD60FE5CF56EFA071177ACF823EC6D" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_AB3C5730477BD3E01EF277ACF823EF9A" xlink:to="loc_us-gaap_SegmentDomain_51CD60FE5CF56EFA071177ACF823EC6D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_RangeAxis" xlink:label="loc_us-gaap_RangeAxis_2FCCFC0DEB06DA6164F577ACF8239F59" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_D8AC2C112C1E76F6A7BD77ACF8229BA0" xlink:to="loc_us-gaap_RangeAxis_2FCCFC0DEB06DA6164F577ACF8239F59" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_916F43651B53F1950A5D77ACF8239808_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RangeAxis_2FCCFC0DEB06DA6164F577ACF8239F59" xlink:to="loc_us-gaap_RangeMember_916F43651B53F1950A5D77ACF8239808_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_916F43651B53F1950A5D77ACF8239808" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RangeAxis_2FCCFC0DEB06DA6164F577ACF8239F59" xlink:to="loc_us-gaap_RangeMember_916F43651B53F1950A5D77ACF8239808" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MinimumMember" xlink:label="loc_us-gaap_MinimumMember_7434C559A820E03503D777ACF823EB2F" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_916F43651B53F1950A5D77ACF8239808" xlink:to="loc_us-gaap_MinimumMember_7434C559A820E03503D777ACF823EB2F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MaximumMember" xlink:label="loc_us-gaap_MaximumMember_7AF89C9A14FA088B380477ACF82388D0" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_916F43651B53F1950A5D77ACF8239808" xlink:to="loc_us-gaap_MaximumMember_7AF89C9A14FA088B380477ACF82388D0" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_FA8818FB80CB3C6D82E677ACF823C6D6" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_D8AC2C112C1E76F6A7BD77ACF8229BA0" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_FA8818FB80CB3C6D82E677ACF823C6D6" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_C9C056883112554ECB2977ACF823D677_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_FA8818FB80CB3C6D82E677ACF823C6D6" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_C9C056883112554ECB2977ACF823D677_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_C9C056883112554ECB2977ACF823D677" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_FA8818FB80CB3C6D82E677ACF823C6D6" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_C9C056883112554ECB2977ACF823D677" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_IntellectualPropertyMember" xlink:label="loc_us-gaap_IntellectualPropertyMember_45B86590A5D9F26D98A477ACF823878F" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_C9C056883112554ECB2977ACF823D677" xlink:to="loc_us-gaap_IntellectualPropertyMember_45B86590A5D9F26D98A477ACF823878F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_CustomerRelationshipsMember" xlink:label="loc_us-gaap_CustomerRelationshipsMember_6E61BD6FA0B6DF31825777ACF823AF15" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_C9C056883112554ECB2977ACF823D677" xlink:to="loc_us-gaap_CustomerRelationshipsMember_6E61BD6FA0B6DF31825777ACF823AF15" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_NoncompeteAgreementsMember" xlink:label="loc_us-gaap_NoncompeteAgreementsMember_849B50DDCD0F62BD4D0077ACF823E09B" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_C9C056883112554ECB2977ACF823D677" xlink:to="loc_us-gaap_NoncompeteAgreementsMember_849B50DDCD0F62BD4D0077ACF823E09B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_TradeNamesMember" xlink:label="loc_us-gaap_TradeNamesMember_7EA22C16B331F9968CC277ACF8232515" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_C9C056883112554ECB2977ACF823D677" xlink:to="loc_us-gaap_TradeNamesMember_7EA22C16B331F9968CC277ACF8232515" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_OtherIntangibleAssetsMember" xlink:label="loc_us-gaap_OtherIntangibleAssetsMember_E175889F2C40A6B46F0977ACF82306B5" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_C9C056883112554ECB2977ACF823D677" xlink:to="loc_us-gaap_OtherIntangibleAssetsMember_E175889F2C40A6B46F0977ACF82306B5" xlink:type="arc" />
    <loc xlink:href="mtrx-20160331.xsd#mtrx_SMElectricTradeNameMember" xlink:label="loc_mtrx_SMElectricTradeNameMember_959EE87C45366D68A31C77ACF824C619" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_C9C056883112554ECB2977ACF823D677" xlink:to="loc_mtrx_SMElectricTradeNameMember_959EE87C45366D68A31C77ACF824C619" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsGross" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsGross_9411623B5B1C309194F377ACF8247009" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_148CE3A08303AF83AAC877ACF824F7F6" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsGross_9411623B5B1C309194F377ACF8247009" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetUsefulLife" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetUsefulLife_2EDDAFA6440BC00E514477ACF8241A96" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_148CE3A08303AF83AAC877ACF824F7F6" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetUsefulLife_2EDDAFA6440BC00E514477ACF8241A96" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife" xlink:label="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife_228D4EADBE0ABFDCC2A577ACF82491DB" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_148CE3A08303AF83AAC877ACF824F7F6" xlink:to="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife_228D4EADBE0ABFDCC2A577ACF82491DB" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsFairValueDisclosure" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsFairValueDisclosure_1ECE60520B877C26088F77ACF829F12C" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_148CE3A08303AF83AAC877ACF824F7F6" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsFairValueDisclosure_1ECE60520B877C26088F77ACF829F12C" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/IntangibleAssetsIncludingGoodwillCarryingValueOfGoodwillBySegmentDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_GoodwillLineItems" xlink:label="loc_us-gaap_GoodwillLineItems_27B44C28848B0EC48E9A790033A22FAC" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ScheduleOfGoodwillTable" xlink:label="loc_us-gaap_ScheduleOfGoodwillTable_A943EF778D4B8F198F7A790033983E01" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_GoodwillLineItems_27B44C28848B0EC48E9A790033A22FAC" xlink:to="loc_us-gaap_ScheduleOfGoodwillTable_A943EF778D4B8F198F7A790033983E01" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_D12E0C7A8A127CA138CA790033983CA6" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfGoodwillTable_A943EF778D4B8F198F7A790033983E01" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_D12E0C7A8A127CA138CA790033983CA6" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_85B968A2B9421EC535017900339809ED_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_D12E0C7A8A127CA138CA790033983CA6" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_85B968A2B9421EC535017900339809ED_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_85B968A2B9421EC535017900339809ED" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_D12E0C7A8A127CA138CA790033983CA6" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_85B968A2B9421EC535017900339809ED" xlink:type="arc" />
    <loc xlink:href="mtrx-20160331.xsd#mtrx_BaillieTankEquipmentLtd.Member" xlink:label="loc_mtrx_BaillieTankEquipmentLtd.Member_9129A450281864CECCC779003398117F" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_85B968A2B9421EC535017900339809ED" xlink:to="loc_mtrx_BaillieTankEquipmentLtd.Member_9129A450281864CECCC779003398117F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StatementBusinessSegmentsAxis" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_A992BCD647541F4A36C1790033981535" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfGoodwillTable_A943EF778D4B8F198F7A790033983E01" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_A992BCD647541F4A36C1790033981535" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_73FC05FE42C78E386332790033983021_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_A992BCD647541F4A36C1790033981535" xlink:to="loc_us-gaap_SegmentDomain_73FC05FE42C78E386332790033983021_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_73FC05FE42C78E386332790033983021" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_A992BCD647541F4A36C1790033981535" xlink:to="loc_us-gaap_SegmentDomain_73FC05FE42C78E386332790033983021" xlink:type="arc" />
    <loc xlink:href="mtrx-20160331.xsd#mtrx_ElectricalInfrastructureMember" xlink:label="loc_mtrx_ElectricalInfrastructureMember_48CF669602BA25C4ACEC790033A2A5F2" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_73FC05FE42C78E386332790033983021" xlink:to="loc_mtrx_ElectricalInfrastructureMember_48CF669602BA25C4ACEC790033A2A5F2" xlink:type="arc" />
    <loc xlink:href="mtrx-20160331.xsd#mtrx_OilGasAndChemicalMember" xlink:label="loc_mtrx_OilGasAndChemicalMember_341068752469C5BF6326790033A26BEF" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_73FC05FE42C78E386332790033983021" xlink:to="loc_mtrx_OilGasAndChemicalMember_341068752469C5BF6326790033A26BEF" xlink:type="arc" />
    <loc xlink:href="mtrx-20160331.xsd#mtrx_StorageSolutionsMember" xlink:label="loc_mtrx_StorageSolutionsMember_64A7CEABD7F1567F67AF790033A20B69" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_73FC05FE42C78E386332790033983021" xlink:to="loc_mtrx_StorageSolutionsMember_64A7CEABD7F1567F67AF790033A20B69" xlink:type="arc" />
    <loc xlink:href="mtrx-20160331.xsd#mtrx_IndustrialMember" xlink:label="loc_mtrx_IndustrialMember_01E79FA1917E3D4CC170790033A273E2" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_73FC05FE42C78E386332790033983021" xlink:to="loc_mtrx_IndustrialMember_01E79FA1917E3D4CC170790033A273E2" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AllOtherSegmentsMember" xlink:label="loc_us-gaap_AllOtherSegmentsMember_D073A6DBF286F219CF2D790033A2A105" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_73FC05FE42C78E386332790033983021" xlink:to="loc_us-gaap_AllOtherSegmentsMember_D073A6DBF286F219CF2D790033A2A105" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_GoodwillPurchaseAccountingAdjustments" xlink:label="loc_us-gaap_GoodwillPurchaseAccountingAdjustments_A4F524302B981E4D600C790033A2580F" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillLineItems_27B44C28848B0EC48E9A790033A22FAC" xlink:to="loc_us-gaap_GoodwillPurchaseAccountingAdjustments_A4F524302B981E4D600C790033A2580F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_GoodwillGross" xlink:label="loc_us-gaap_GoodwillGross_7B6FAFCB84B19A4B22A8790033A2FF09" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillLineItems_27B44C28848B0EC48E9A790033A22FAC" xlink:to="loc_us-gaap_GoodwillGross_7B6FAFCB84B19A4B22A8790033A2FF09" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_GoodwillImpairedAccumulatedImpairmentLoss" xlink:label="loc_us-gaap_GoodwillImpairedAccumulatedImpairmentLoss_2B0DEA9801D2C2360C9F790033A28E4B" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillLineItems_27B44C28848B0EC48E9A790033A22FAC" xlink:to="loc_us-gaap_GoodwillImpairedAccumulatedImpairmentLoss_2B0DEA9801D2C2360C9F790033A28E4B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_Goodwill" xlink:label="loc_us-gaap_Goodwill_8C5F791AD94B7F3EB589790033A2391B" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillLineItems_27B44C28848B0EC48E9A790033A22FAC" xlink:to="loc_us-gaap_Goodwill_8C5F791AD94B7F3EB589790033A2391B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_GoodwillRollForward" xlink:label="loc_us-gaap_GoodwillRollForward_626363D94CA5701B8E5E790033A25CCC" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillLineItems_27B44C28848B0EC48E9A790033A22FAC" xlink:to="loc_us-gaap_GoodwillRollForward_626363D94CA5701B8E5E790033A25CCC" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_GoodwillAcquiredDuringPeriod" xlink:label="loc_us-gaap_GoodwillAcquiredDuringPeriod_0175143223A85314F2F3790033A24A77" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillRollForward_626363D94CA5701B8E5E790033A25CCC" xlink:to="loc_us-gaap_GoodwillAcquiredDuringPeriod_0175143223A85314F2F3790033A24A77" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_GoodwillTranslationAdjustments" xlink:label="loc_us-gaap_GoodwillTranslationAdjustments_4C5DE3E25EFD97AAC3C1790033A29980" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillRollForward_626363D94CA5701B8E5E790033A25CCC" xlink:to="loc_us-gaap_GoodwillTranslationAdjustments_4C5DE3E25EFD97AAC3C1790033A29980" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/IntangibleAssetsIncludingGoodwillCarryingValueOfOtherIntangibleAssetsDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsLineItems" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_31F484E4538E33D8A6497C0248AF5700" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable" xlink:label="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_4D32BA45CB718F0A36D57C0248AF1286" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_31F484E4538E33D8A6497C0248AF5700" xlink:to="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_4D32BA45CB718F0A36D57C0248AF1286" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_86C92FCEE31E3B1C37B87C0248AF5C03" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_4D32BA45CB718F0A36D57C0248AF1286" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_86C92FCEE31E3B1C37B87C0248AF5C03" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_5D66206D102FB3CC8B767C0248AF1086_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_86C92FCEE31E3B1C37B87C0248AF5C03" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_5D66206D102FB3CC8B767C0248AF1086_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_5D66206D102FB3CC8B767C0248AF1086" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_86C92FCEE31E3B1C37B87C0248AF5C03" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_5D66206D102FB3CC8B767C0248AF1086" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_EDA0C4152C7BCBC09A2A7C0248AFC0E4" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_4D32BA45CB718F0A36D57C0248AF1286" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_EDA0C4152C7BCBC09A2A7C0248AFC0E4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_88F49B2C50CC1603ED7F7C0248AF2696_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_EDA0C4152C7BCBC09A2A7C0248AFC0E4" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_88F49B2C50CC1603ED7F7C0248AF2696_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_88F49B2C50CC1603ED7F7C0248AF2696" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_EDA0C4152C7BCBC09A2A7C0248AFC0E4" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_88F49B2C50CC1603ED7F7C0248AF2696" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_IntellectualPropertyMember" xlink:label="loc_us-gaap_IntellectualPropertyMember_370710089C0BE2797AF47C0248AFB205" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_88F49B2C50CC1603ED7F7C0248AF2696" xlink:to="loc_us-gaap_IntellectualPropertyMember_370710089C0BE2797AF47C0248AFB205" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_CustomerRelationshipsMember" xlink:label="loc_us-gaap_CustomerRelationshipsMember_4AF4A8739291D239F82F7C0248AF06ED" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_88F49B2C50CC1603ED7F7C0248AF2696" xlink:to="loc_us-gaap_CustomerRelationshipsMember_4AF4A8739291D239F82F7C0248AF06ED" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_NoncompeteAgreementsMember" xlink:label="loc_us-gaap_NoncompeteAgreementsMember_EF4293CE1558EAAA05507C0248AF3045" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_88F49B2C50CC1603ED7F7C0248AF2696" xlink:to="loc_us-gaap_NoncompeteAgreementsMember_EF4293CE1558EAAA05507C0248AF3045" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_TradeNamesMember" xlink:label="loc_us-gaap_TradeNamesMember_16DF67C4C1E698BA94817C0248AFD74D" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_88F49B2C50CC1603ED7F7C0248AF2696" xlink:to="loc_us-gaap_TradeNamesMember_16DF67C4C1E698BA94817C0248AFD74D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_RangeAxis" xlink:label="loc_us-gaap_RangeAxis_B9FE9C3C1D6C53545ADB7C0248AF77AF" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_4D32BA45CB718F0A36D57C0248AF1286" xlink:to="loc_us-gaap_RangeAxis_B9FE9C3C1D6C53545ADB7C0248AF77AF" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_82E29E4B045A690E59B67C0248AF6342_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RangeAxis_B9FE9C3C1D6C53545ADB7C0248AF77AF" xlink:to="loc_us-gaap_RangeMember_82E29E4B045A690E59B67C0248AF6342_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_82E29E4B045A690E59B67C0248AF6342" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RangeAxis_B9FE9C3C1D6C53545ADB7C0248AF77AF" xlink:to="loc_us-gaap_RangeMember_82E29E4B045A690E59B67C0248AF6342" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MinimumMember" xlink:label="loc_us-gaap_MinimumMember_62C408D83F8B4B23A9D27C0248AF1EFD" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_82E29E4B045A690E59B67C0248AF6342" xlink:to="loc_us-gaap_MinimumMember_62C408D83F8B4B23A9D27C0248AF1EFD" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MaximumMember" xlink:label="loc_us-gaap_MaximumMember_54DFA1F1F02D6B5B9B0F7C0248AFD2E2" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_82E29E4B045A690E59B67C0248AF6342" xlink:to="loc_us-gaap_MaximumMember_54DFA1F1F02D6B5B9B0F7C0248AFD2E2" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsGross" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsGross_0C9073525B8A41536BF27C0248AFDF9C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_31F484E4538E33D8A6497C0248AF5700" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsGross_0C9073525B8A41536BF27C0248AFDF9C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetUsefulLife" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetUsefulLife_902E0B6DA0DB83C8BF1A7C0248AFAB04" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_31F484E4538E33D8A6497C0248AF5700" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetUsefulLife_902E0B6DA0DB83C8BF1A7C0248AFAB04" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_02E959DF3ED042204A567C0248AFFC84" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_31F484E4538E33D8A6497C0248AF5700" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_02E959DF3ED042204A567C0248AFFC84" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsNet" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_4E27C5201B7472620AF07C0248AF8A80" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_31F484E4538E33D8A6497C0248AF5700" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsNet_4E27C5201B7472620AF07C0248AF8A80" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_IndefiniteLivedTradeNames" xlink:label="loc_us-gaap_IndefiniteLivedTradeNames_F5555CF0FE277F4BF01A7C0248AF2D71" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_31F484E4538E33D8A6497C0248AF5700" xlink:to="loc_us-gaap_IndefiniteLivedTradeNames_F5555CF0FE277F4BF01A7C0248AF2D71" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_F3E239E981E45E633B027C0248AF49C1" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_31F484E4538E33D8A6497C0248AF5700" xlink:to="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_F3E239E981E45E633B027C0248AF49C1" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/IntangibleAssetsIncludingGoodwillFutureExpectedAmortizationExpenseDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsLineItems" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_56D072BA2E67A3E02D9E77ACF812C439" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable" xlink:label="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_4487CC35C9B48571D54B77ACF811749D" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_56D072BA2E67A3E02D9E77ACF812C439" xlink:to="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_4487CC35C9B48571D54B77ACF811749D" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_EA7526765296744CE26A77ACF8116BFF" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_4487CC35C9B48571D54B77ACF811749D" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_EA7526765296744CE26A77ACF8116BFF" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_69DD9CE53328B336335377ACF811EB25_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_EA7526765296744CE26A77ACF8116BFF" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_69DD9CE53328B336335377ACF811EB25_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_69DD9CE53328B336335377ACF811EB25" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_EA7526765296744CE26A77ACF8116BFF" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_69DD9CE53328B336335377ACF811EB25" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ConsolidationItemsAxis" xlink:label="loc_us-gaap_ConsolidationItemsAxis_83A7721B20F65E72199A77ACF81191A6" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_4487CC35C9B48571D54B77ACF811749D" xlink:to="loc_us-gaap_ConsolidationItemsAxis_83A7721B20F65E72199A77ACF81191A6" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ConsolidationItemsDomain" xlink:label="loc_us-gaap_ConsolidationItemsDomain_DE69288708F0898988BC77ACF811A33C_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConsolidationItemsAxis_83A7721B20F65E72199A77ACF81191A6" xlink:to="loc_us-gaap_ConsolidationItemsDomain_DE69288708F0898988BC77ACF811A33C_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ConsolidationItemsDomain" xlink:label="loc_us-gaap_ConsolidationItemsDomain_DE69288708F0898988BC77ACF811A33C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConsolidationItemsAxis_83A7721B20F65E72199A77ACF81191A6" xlink:to="loc_us-gaap_ConsolidationItemsDomain_DE69288708F0898988BC77ACF811A33C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StatementBusinessSegmentsAxis" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_A3F9A354FEFDDD74167C77ACF811A228" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_4487CC35C9B48571D54B77ACF811749D" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_A3F9A354FEFDDD74167C77ACF811A228" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_76DBF01BD42E18D9C6B177ACF81222D6_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_A3F9A354FEFDDD74167C77ACF811A228" xlink:to="loc_us-gaap_SegmentDomain_76DBF01BD42E18D9C6B177ACF81222D6_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_76DBF01BD42E18D9C6B177ACF81222D6" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_A3F9A354FEFDDD74167C77ACF811A228" xlink:to="loc_us-gaap_SegmentDomain_76DBF01BD42E18D9C6B177ACF81222D6" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_RangeAxis" xlink:label="loc_us-gaap_RangeAxis_C9E8EBD73FFC31B0CEFB77ACF812D296" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_4487CC35C9B48571D54B77ACF811749D" xlink:to="loc_us-gaap_RangeAxis_C9E8EBD73FFC31B0CEFB77ACF812D296" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_13080F0F51EBD0D25B2777ACF8122FCE_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RangeAxis_C9E8EBD73FFC31B0CEFB77ACF812D296" xlink:to="loc_us-gaap_RangeMember_13080F0F51EBD0D25B2777ACF8122FCE_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_13080F0F51EBD0D25B2777ACF8122FCE" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RangeAxis_C9E8EBD73FFC31B0CEFB77ACF812D296" xlink:to="loc_us-gaap_RangeMember_13080F0F51EBD0D25B2777ACF8122FCE" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/IntangibleAssetsIncludingGoodwillNotes" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/IntangibleAssetsIncludingGoodwillTables" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsLineItems" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_01A2DF9F8BDD0BABDCC178568AB231C7" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable" xlink:label="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_9E3A046F2AD844EF99A378568AB215E6" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_01A2DF9F8BDD0BABDCC178568AB231C7" xlink:to="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_9E3A046F2AD844EF99A378568AB215E6" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_00461CEDC8B379280A6778568AB2EAAC" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_9E3A046F2AD844EF99A378568AB215E6" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_00461CEDC8B379280A6778568AB2EAAC" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_874256C9E8B564051B5378568AB2A720_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_00461CEDC8B379280A6778568AB2EAAC" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_874256C9E8B564051B5378568AB2A720_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_874256C9E8B564051B5378568AB2A720" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_00461CEDC8B379280A6778568AB2EAAC" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_874256C9E8B564051B5378568AB2A720" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ConsolidationItemsAxis" xlink:label="loc_us-gaap_ConsolidationItemsAxis_7ECDBBB41A297E00B3AC78568AB21448" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_9E3A046F2AD844EF99A378568AB215E6" xlink:to="loc_us-gaap_ConsolidationItemsAxis_7ECDBBB41A297E00B3AC78568AB21448" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ConsolidationItemsDomain" xlink:label="loc_us-gaap_ConsolidationItemsDomain_934A074010D345BC07E078568AB2B73B_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConsolidationItemsAxis_7ECDBBB41A297E00B3AC78568AB21448" xlink:to="loc_us-gaap_ConsolidationItemsDomain_934A074010D345BC07E078568AB2B73B_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ConsolidationItemsDomain" xlink:label="loc_us-gaap_ConsolidationItemsDomain_934A074010D345BC07E078568AB2B73B" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConsolidationItemsAxis_7ECDBBB41A297E00B3AC78568AB21448" xlink:to="loc_us-gaap_ConsolidationItemsDomain_934A074010D345BC07E078568AB2B73B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StatementBusinessSegmentsAxis" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_10EA275FC03C71BF88FD78568AB2EC89" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_9E3A046F2AD844EF99A378568AB215E6" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_10EA275FC03C71BF88FD78568AB2EC89" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_ECEDD0AC54E231CA3A6878568AB2E5A4_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_10EA275FC03C71BF88FD78568AB2EC89" xlink:to="loc_us-gaap_SegmentDomain_ECEDD0AC54E231CA3A6878568AB2E5A4_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_ECEDD0AC54E231CA3A6878568AB2E5A4" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_10EA275FC03C71BF88FD78568AB2EC89" xlink:to="loc_us-gaap_SegmentDomain_ECEDD0AC54E231CA3A6878568AB2E5A4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_RangeAxis" xlink:label="loc_us-gaap_RangeAxis_D905A9540A37984AC8BB78568AB2ABFA" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_9E3A046F2AD844EF99A378568AB215E6" xlink:to="loc_us-gaap_RangeAxis_D905A9540A37984AC8BB78568AB2ABFA" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_C8857A9A3969DAB1B3EF78568AB21338_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RangeAxis_D905A9540A37984AC8BB78568AB2ABFA" xlink:to="loc_us-gaap_RangeMember_C8857A9A3969DAB1B3EF78568AB21338_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_C8857A9A3969DAB1B3EF78568AB21338" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RangeAxis_D905A9540A37984AC8BB78568AB2ABFA" xlink:to="loc_us-gaap_RangeMember_C8857A9A3969DAB1B3EF78568AB21338" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/SegmentInformationNotes" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/SegmentInformationResultsOfOperationsDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SegmentReportingInformationLineItems" xlink:label="loc_us-gaap_SegmentReportingInformationLineItems_A8721A17B9CD3A50CEF27C00E3885004" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable" xlink:label="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_AA67E8EF868911112AD97C00E388795F" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_A8721A17B9CD3A50CEF27C00E3885004" xlink:to="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_AA67E8EF868911112AD97C00E388795F" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_4805B86FD8C0E56D598E7C00E388F4C2" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_AA67E8EF868911112AD97C00E388795F" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_4805B86FD8C0E56D598E7C00E388F4C2" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_81AD27723BE8083382CB7C00E38892DF_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_4805B86FD8C0E56D598E7C00E388F4C2" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_81AD27723BE8083382CB7C00E38892DF_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_81AD27723BE8083382CB7C00E38892DF" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_4805B86FD8C0E56D598E7C00E388F4C2" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_81AD27723BE8083382CB7C00E38892DF" xlink:type="arc" />
    <loc xlink:href="mtrx-20160331.xsd#mtrx_KvaernerNorthAmericanConstructionMember" xlink:label="loc_mtrx_KvaernerNorthAmericanConstructionMember_014859586432D7B9B0157C00E388883E" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_81AD27723BE8083382CB7C00E38892DF" xlink:to="loc_mtrx_KvaernerNorthAmericanConstructionMember_014859586432D7B9B0157C00E388883E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ConsolidationItemsAxis" xlink:label="loc_us-gaap_ConsolidationItemsAxis_A1EBF87EEF3DDBD5503C7C00E388BF63" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_AA67E8EF868911112AD97C00E388795F" xlink:to="loc_us-gaap_ConsolidationItemsAxis_A1EBF87EEF3DDBD5503C7C00E388BF63" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ConsolidationItemsDomain" xlink:label="loc_us-gaap_ConsolidationItemsDomain_AA88FA73F950400B98887C00E38825CE_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConsolidationItemsAxis_A1EBF87EEF3DDBD5503C7C00E388BF63" xlink:to="loc_us-gaap_ConsolidationItemsDomain_AA88FA73F950400B98887C00E38825CE_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ConsolidationItemsDomain" xlink:label="loc_us-gaap_ConsolidationItemsDomain_AA88FA73F950400B98887C00E38825CE" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConsolidationItemsAxis_A1EBF87EEF3DDBD5503C7C00E388BF63" xlink:to="loc_us-gaap_ConsolidationItemsDomain_AA88FA73F950400B98887C00E38825CE" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_IntersegmentEliminationMember" xlink:label="loc_us-gaap_IntersegmentEliminationMember_311D05DADDDC0C6EB06B7C00E388D9EF" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConsolidationItemsDomain_AA88FA73F950400B98887C00E38825CE" xlink:to="loc_us-gaap_IntersegmentEliminationMember_311D05DADDDC0C6EB06B7C00E388D9EF" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StatementBusinessSegmentsAxis" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_3F969C69F5DAF470AF477C00E388EC0F" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_AA67E8EF868911112AD97C00E388795F" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_3F969C69F5DAF470AF477C00E388EC0F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_B75B524CA63085DDFE2D7C00E388239F_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_3F969C69F5DAF470AF477C00E388EC0F" xlink:to="loc_us-gaap_SegmentDomain_B75B524CA63085DDFE2D7C00E388239F_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_B75B524CA63085DDFE2D7C00E388239F" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_3F969C69F5DAF470AF477C00E388EC0F" xlink:to="loc_us-gaap_SegmentDomain_B75B524CA63085DDFE2D7C00E388239F" xlink:type="arc" />
    <loc xlink:href="mtrx-20160331.xsd#mtrx_ElectricalInfrastructureMember" xlink:label="loc_mtrx_ElectricalInfrastructureMember_9E68AB06120CCA08DB817C00E3885332" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_B75B524CA63085DDFE2D7C00E388239F" xlink:to="loc_mtrx_ElectricalInfrastructureMember_9E68AB06120CCA08DB817C00E3885332" xlink:type="arc" />
    <loc xlink:href="mtrx-20160331.xsd#mtrx_OilGasAndChemicalMember" xlink:label="loc_mtrx_OilGasAndChemicalMember_10699381FDD1B0C972E27C00E3881294" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_B75B524CA63085DDFE2D7C00E388239F" xlink:to="loc_mtrx_OilGasAndChemicalMember_10699381FDD1B0C972E27C00E3881294" xlink:type="arc" />
    <loc xlink:href="mtrx-20160331.xsd#mtrx_StorageSolutionsMember" xlink:label="loc_mtrx_StorageSolutionsMember_EA8530342DB01C600B797C00E388698B" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_B75B524CA63085DDFE2D7C00E388239F" xlink:to="loc_mtrx_StorageSolutionsMember_EA8530342DB01C600B797C00E388698B" xlink:type="arc" />
    <loc xlink:href="mtrx-20160331.xsd#mtrx_IndustrialMember" xlink:label="loc_mtrx_IndustrialMember_68B40E4571915E688C927C00E3882049" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_B75B524CA63085DDFE2D7C00E388239F" xlink:to="loc_mtrx_IndustrialMember_68B40E4571915E688C927C00E3882049" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AllOtherSegmentsMember" xlink:label="loc_us-gaap_AllOtherSegmentsMember_0A3D4AC5FA841C63D7317C00E3889CBD" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_B75B524CA63085DDFE2D7C00E388239F" xlink:to="loc_us-gaap_AllOtherSegmentsMember_0A3D4AC5FA841C63D7317C00E3889CBD" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_Revenues" xlink:label="loc_us-gaap_Revenues_4C77B54C1D49FA02B3EF7C00E3883152" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_A8721A17B9CD3A50CEF27C00E3885004" xlink:to="loc_us-gaap_Revenues_4C77B54C1D49FA02B3EF7C00E3883152" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SalesRevenueServicesNet" xlink:label="loc_us-gaap_SalesRevenueServicesNet_F87778192660896541B77C00E38869C0" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_A8721A17B9CD3A50CEF27C00E3885004" xlink:to="loc_us-gaap_SalesRevenueServicesNet_F87778192660896541B77C00E38869C0" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_GrossProfit" xlink:label="loc_us-gaap_GrossProfit_C84EC947EA16C580AADA7C00E388D87C" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_A8721A17B9CD3A50CEF27C00E3885004" xlink:to="loc_us-gaap_GrossProfit_C84EC947EA16C580AADA7C00E388D87C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_OperatingIncomeLoss" xlink:label="loc_us-gaap_OperatingIncomeLoss_90C06E6EFCFC1BBB1C807C00E388137E" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_A8721A17B9CD3A50CEF27C00E3885004" xlink:to="loc_us-gaap_OperatingIncomeLoss_90C06E6EFCFC1BBB1C807C00E388137E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_Assets" xlink:label="loc_us-gaap_Assets_53E4B019B3C05E82F2517C00E38825A8" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_A8721A17B9CD3A50CEF27C00E3885004" xlink:to="loc_us-gaap_Assets_53E4B019B3C05E82F2517C00E38825A8" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_Goodwill" xlink:label="loc_us-gaap_Goodwill_277B033A49493E56EACE7C00E3889974" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_A8721A17B9CD3A50CEF27C00E3885004" xlink:to="loc_us-gaap_Goodwill_277B033A49493E56EACE7C00E3889974" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/SegmentInformationTables" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/UncompletedContractsAdditionalInformationDetail" xlink:type="extended">
    <loc xlink:href="mtrx-20160331.xsd#mtrx_CustomerContractsLineItems" xlink:label="loc_mtrx_CustomerContractsLineItems_E158227080E541EC95D3778A9A975A03" xlink:type="locator" />
    <loc xlink:href="mtrx-20160331.xsd#mtrx_CustomerContractsTable" xlink:label="loc_mtrx_CustomerContractsTable_CD932E5C8C801EA02AB6778A9A977ACC" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_mtrx_CustomerContractsLineItems_E158227080E541EC95D3778A9A975A03" xlink:to="loc_mtrx_CustomerContractsTable_CD932E5C8C801EA02AB6778A9A977ACC" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MajorCustomersAxis" xlink:label="loc_us-gaap_MajorCustomersAxis_990E2BA6FC3A84FF851B778A9A979E26" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_mtrx_CustomerContractsTable_CD932E5C8C801EA02AB6778A9A977ACC" xlink:to="loc_us-gaap_MajorCustomersAxis_990E2BA6FC3A84FF851B778A9A979E26" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_NameOfMajorCustomerDomain" xlink:label="loc_us-gaap_NameOfMajorCustomerDomain_0C79529437006268B87B778A9A975593_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_MajorCustomersAxis_990E2BA6FC3A84FF851B778A9A979E26" xlink:to="loc_us-gaap_NameOfMajorCustomerDomain_0C79529437006268B87B778A9A975593_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_NameOfMajorCustomerDomain" xlink:label="loc_us-gaap_NameOfMajorCustomerDomain_0C79529437006268B87B778A9A975593" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_MajorCustomersAxis_990E2BA6FC3A84FF851B778A9A979E26" xlink:to="loc_us-gaap_NameOfMajorCustomerDomain_0C79529437006268B87B778A9A975593" xlink:type="arc" />
    <loc xlink:href="mtrx-20160331.xsd#mtrx_SMElectricCompanyMember" xlink:label="loc_mtrx_SMElectricCompanyMember_23B411D02F84A2D39498778A9A97C08C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NameOfMajorCustomerDomain_0C79529437006268B87B778A9A975593" xlink:to="loc_mtrx_SMElectricCompanyMember_23B411D02F84A2D39498778A9A97C08C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ContractReceivableRetainageDueOneYearOrLess" xlink:label="loc_us-gaap_ContractReceivableRetainageDueOneYearOrLess_C419F70FE6355F793B7C778A9A97D91B" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_CustomerContractsLineItems_E158227080E541EC95D3778A9A975A03" xlink:to="loc_us-gaap_ContractReceivableRetainageDueOneYearOrLess_C419F70FE6355F793B7C778A9A97D91B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ContractReceivableRetainageDueAfterOneYear" xlink:label="loc_us-gaap_ContractReceivableRetainageDueAfterOneYear_87996CF0F52B9F8B72F4778A9A97C8C2" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_CustomerContractsLineItems_E158227080E541EC95D3778A9A975A03" xlink:to="loc_us-gaap_ContractReceivableRetainageDueAfterOneYear_87996CF0F52B9F8B72F4778A9A97C8C2" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ContractsReceivableClaimsAndUncertainAmounts" xlink:label="loc_us-gaap_ContractsReceivableClaimsAndUncertainAmounts_CE34E4039C065E9D1A2E778A9A972A4D" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_CustomerContractsLineItems_E158227080E541EC95D3778A9A975A03" xlink:to="loc_us-gaap_ContractsReceivableClaimsAndUncertainAmounts_CE34E4039C065E9D1A2E778A9A972A4D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AccountsReceivableBilledForLongTermContractsOrPrograms" xlink:label="loc_us-gaap_AccountsReceivableBilledForLongTermContractsOrPrograms_E4E67EB80E4FC8FB3716778A9A9894DE" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_CustomerContractsLineItems_E158227080E541EC95D3778A9A975A03" xlink:to="loc_us-gaap_AccountsReceivableBilledForLongTermContractsOrPrograms_E4E67EB80E4FC8FB3716778A9A9894DE" xlink:type="arc" />
    <loc xlink:href="mtrx-20160331.xsd#mtrx_ChangeInAccountingEstimateFinancialEffectOperatingIncome" xlink:label="loc_mtrx_ChangeInAccountingEstimateFinancialEffectOperatingIncome_C204F5B13D71EF933E78778A9A98D1A1" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_CustomerContractsLineItems_E158227080E541EC95D3778A9A975A03" xlink:to="loc_mtrx_ChangeInAccountingEstimateFinancialEffectOperatingIncome_C204F5B13D71EF933E78778A9A98D1A1" xlink:type="arc" />
    <loc xlink:href="mtrx-20160331.xsd#mtrx_ChangeinAccountingEstimateFinancialEffectNetIncome" xlink:label="loc_mtrx_ChangeinAccountingEstimateFinancialEffectNetIncome_92E6E3C3D1FF0D81B949778A9A986337" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_CustomerContractsLineItems_E158227080E541EC95D3778A9A975A03" xlink:to="loc_mtrx_ChangeinAccountingEstimateFinancialEffectNetIncome_92E6E3C3D1FF0D81B949778A9A986337" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/UncompletedContractsGrossAndNetAmountsOfUncompletedContractsDetails" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/UncompletedContractsNotes" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/UncompletedContractsTables" xlink:type="extended" />
</linkbase>
