<?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-20151231.xsd#AcquisitionsDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/AcquisitionsNarrativeDetails" xlink:href="mtrx-20151231.xsd#AcquisitionsNarrativeDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/AcquisitionsNotes" xlink:href="mtrx-20151231.xsd#AcquisitionsNotes" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/AcquisitionsTables" xlink:href="mtrx-20151231.xsd#AcquisitionsTables" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/BasisOfPresentationBasisOfPresentationNarrativeDetails" xlink:href="mtrx-20151231.xsd#BasisOfPresentationBasisOfPresentationNarrativeDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/BasisOfPresentationNotes" xlink:href="mtrx-20151231.xsd#BasisOfPresentationNotes" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/CommitmentsAndContingenciesAdditionalInformationDetail" xlink:href="mtrx-20151231.xsd#CommitmentsAndContingenciesAdditionalInformationDetail" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/CommitmentsAndContingenciesNotes" xlink:href="mtrx-20151231.xsd#CommitmentsAndContingenciesNotes" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/CondensedConsolidatedBalanceSheets" xlink:href="mtrx-20151231.xsd#CondensedConsolidatedBalanceSheets" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/CondensedConsolidatedBalanceSheetsParenthetical" xlink:href="mtrx-20151231.xsd#CondensedConsolidatedBalanceSheetsParenthetical" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/CondensedConsolidatedStatementsOfCashFlows" xlink:href="mtrx-20151231.xsd#CondensedConsolidatedStatementsOfCashFlows" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/CondensedConsolidatedStatementsOfChangesInStockholdersEquity" xlink:href="mtrx-20151231.xsd#CondensedConsolidatedStatementsOfChangesInStockholdersEquity" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/CondensedConsolidatedStatementsOfChangesInStockholdersEquityParenthetical" xlink:href="mtrx-20151231.xsd#CondensedConsolidatedStatementsOfChangesInStockholdersEquityParenthetical" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/CondensedConsolidatedStatementsOfComprehensiveIncome" xlink:href="mtrx-20151231.xsd#CondensedConsolidatedStatementsOfComprehensiveIncome" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/CondensedConsolidatedStatementsOfIncome" xlink:href="mtrx-20151231.xsd#CondensedConsolidatedStatementsOfIncome" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/DebtAdditionalInformationDetail" xlink:href="mtrx-20151231.xsd#DebtAdditionalInformationDetail" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/DebtAvailabilityUnderSeniorCreditFacilityDetails" xlink:href="mtrx-20151231.xsd#DebtAvailabilityUnderSeniorCreditFacilityDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/DebtNotes" xlink:href="mtrx-20151231.xsd#DebtNotes" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/DebtTables" xlink:href="mtrx-20151231.xsd#DebtTables" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/DocumentAndEntityInformation" xlink:href="mtrx-20151231.xsd#DocumentAndEntityInformation" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/EarningsPerCommonShareAntidilutiveSecuritiesExcludedFromCalculationOfDilutedEarningsPerShareDetails" xlink:href="mtrx-20151231.xsd#EarningsPerCommonShareAntidilutiveSecuritiesExcludedFromCalculationOfDilutedEarningsPerShareDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/EarningsPerCommonShareComputationOfBasicAndDilutedEarningsPerShareDetails" xlink:href="mtrx-20151231.xsd#EarningsPerCommonShareComputationOfBasicAndDilutedEarningsPerShareDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/EarningsPerCommonShareNotes" xlink:href="mtrx-20151231.xsd#EarningsPerCommonShareNotes" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/EarningsPerCommonShareTables" xlink:href="mtrx-20151231.xsd#EarningsPerCommonShareTables" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/IncomeTaxesIncomeTaxesDetails" xlink:href="mtrx-20151231.xsd#IncomeTaxesIncomeTaxesDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/IncomeTaxesNotes" xlink:href="mtrx-20151231.xsd#IncomeTaxesNotes" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/IntangibleAssetsIncludingGoodwillAdditionalInformationDetail" xlink:href="mtrx-20151231.xsd#IntangibleAssetsIncludingGoodwillAdditionalInformationDetail" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/IntangibleAssetsIncludingGoodwillCarryingValueOfGoodwillBySegmentDetails" xlink:href="mtrx-20151231.xsd#IntangibleAssetsIncludingGoodwillCarryingValueOfGoodwillBySegmentDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/IntangibleAssetsIncludingGoodwillCarryingValueOfOtherIntangibleAssetsDetails" xlink:href="mtrx-20151231.xsd#IntangibleAssetsIncludingGoodwillCarryingValueOfOtherIntangibleAssetsDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/IntangibleAssetsIncludingGoodwillFutureExpectedAmortizationExpenseDetails" xlink:href="mtrx-20151231.xsd#IntangibleAssetsIncludingGoodwillFutureExpectedAmortizationExpenseDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/IntangibleAssetsIncludingGoodwillNotes" xlink:href="mtrx-20151231.xsd#IntangibleAssetsIncludingGoodwillNotes" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/IntangibleAssetsIncludingGoodwillTables" xlink:href="mtrx-20151231.xsd#IntangibleAssetsIncludingGoodwillTables" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/SegmentInformationNotes" xlink:href="mtrx-20151231.xsd#SegmentInformationNotes" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/SegmentInformationResultsOfOperationsDetails" xlink:href="mtrx-20151231.xsd#SegmentInformationResultsOfOperationsDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/SegmentInformationTables" xlink:href="mtrx-20151231.xsd#SegmentInformationTables" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/SubsequentEventDetails" xlink:href="mtrx-20151231.xsd#SubsequentEventDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/SubsequentEventNotes" xlink:href="mtrx-20151231.xsd#SubsequentEventNotes" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/SubsequentEventTables" xlink:href="mtrx-20151231.xsd#SubsequentEventTables" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/UncompletedContractsAdditionalInformationDetail" xlink:href="mtrx-20151231.xsd#UncompletedContractsAdditionalInformationDetail" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/UncompletedContractsGrossAndNetAmountsOfUncompletedContractsDetails" xlink:href="mtrx-20151231.xsd#UncompletedContractsGrossAndNetAmountsOfUncompletedContractsDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/UncompletedContractsNotes" xlink:href="mtrx-20151231.xsd#UncompletedContractsNotes" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/UncompletedContractsTables" xlink:href="mtrx-20151231.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_4FD64AE6B5BCFBDC749B15FD3676EF5D" 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_2156B8AB82D6A3B4F09315FD3676E1FA" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_4FD64AE6B5BCFBDC749B15FD3676EF5D" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_2156B8AB82D6A3B4F09315FD3676E1FA" 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_677C6D180402DCB2280D15FD36767B5D" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_2156B8AB82D6A3B4F09315FD3676E1FA" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_677C6D180402DCB2280D15FD36767B5D" 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_2F7CF0082B414EBD2F2F15FD367619C7_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_677C6D180402DCB2280D15FD36767B5D" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_2F7CF0082B414EBD2F2F15FD367619C7_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_2F7CF0082B414EBD2F2F15FD367619C7" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_677C6D180402DCB2280D15FD36767B5D" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_2F7CF0082B414EBD2F2F15FD367619C7" xlink:type="arc" />
    <loc xlink:href="mtrx-20151231.xsd#mtrx_HDBInc.Member" xlink:label="loc_mtrx_HDBInc.Member_74C20F97E6FE273BC5C615FD3676B0DA" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_2F7CF0082B414EBD2F2F15FD367619C7" xlink:to="loc_mtrx_HDBInc.Member_74C20F97E6FE273BC5C615FD3676B0DA" 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_2F9C5EC133A0838466B515FD3676F53E" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_4FD64AE6B5BCFBDC749B15FD3676EF5D" xlink:to="loc_us-gaap_BusinessAcquisitionNameOfAcquiredEntity_2F9C5EC133A0838466B515FD3676F53E" 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_C2E347EB6F4C8C60B13915FD36769C6A" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_4FD64AE6B5BCFBDC749B15FD3676EF5D" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssets_C2E347EB6F4C8C60B13915FD36769C6A" 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_68C23872C6059C61237215FD36763085" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_4FD64AE6B5BCFBDC749B15FD3676EF5D" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment_68C23872C6059C61237215FD36763085" 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_A852D9605E0B96A4237915FD367643EB" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_4FD64AE6B5BCFBDC749B15FD3676EF5D" xlink:to="loc_us-gaap_BusinessAcquisitionPurchasePriceAllocationGoodwillExpectedTaxDeductibleAmount_A852D9605E0B96A4237915FD367643EB" 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_CBB0F3EAD754187A594D15FD3676A7FF" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_4FD64AE6B5BCFBDC749B15FD3676EF5D" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles_CBB0F3EAD754187A594D15FD3676A7FF" 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_5E493A1E770E22979C0B15FD3676846E" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_4FD64AE6B5BCFBDC749B15FD3676EF5D" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets_5E493A1E770E22979C0B15FD3676846E" 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_D2A5BB37C0257ED6A45A15FD36761C6A" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_4FD64AE6B5BCFBDC749B15FD3676EF5D" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilities_D2A5BB37C0257ED6A45A15FD36761C6A" 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_F365B6309E22E927AB9015FD36777D6B" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_4FD64AE6B5BCFBDC749B15FD3676EF5D" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_F365B6309E22E927AB9015FD36777D6B" 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_680A807C9DF6F03C31C215FD367795A5" xlink:type="locator" />
    <definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_4FD64AE6B5BCFBDC749B15FD3676EF5D" xlink:to="loc_us-gaap_BusinessCombinationConsiderationTransferred1_680A807C9DF6F03C31C215FD367795A5" 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_66B09C7EDBC9FC081E5615FD367FC6BB" 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_FCCB824AD1BAF99FFD7F15FD367F07EA" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_66B09C7EDBC9FC081E5615FD367FC6BB" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_FCCB824AD1BAF99FFD7F15FD367F07EA" 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_ADFD8E50DD7B4E1F5A9A15FD367FFC38" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_FCCB824AD1BAF99FFD7F15FD367F07EA" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_ADFD8E50DD7B4E1F5A9A15FD367FFC38" 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_AE90114D383463988D4415FD367F5F2A_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_ADFD8E50DD7B4E1F5A9A15FD367FFC38" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_AE90114D383463988D4415FD367F5F2A_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_AE90114D383463988D4415FD367F5F2A" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_ADFD8E50DD7B4E1F5A9A15FD367FFC38" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_AE90114D383463988D4415FD367F5F2A" xlink:type="arc" />
    <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_E5A2870B2F2882DD3E1F15FD367FC0ED" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_FCCB824AD1BAF99FFD7F15FD367F07EA" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_E5A2870B2F2882DD3E1F15FD367FC0ED" 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_2AB11E83389F73B9638515FD367F994B_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_E5A2870B2F2882DD3E1F15FD367FC0ED" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_2AB11E83389F73B9638515FD367F994B_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_2AB11E83389F73B9638515FD367F994B" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_E5A2870B2F2882DD3E1F15FD367FC0ED" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_2AB11E83389F73B9638515FD367F994B" xlink:type="arc" />
    <loc xlink:href="mtrx-20151231.xsd#mtrx_HDBInc.Member" xlink:label="loc_mtrx_HDBInc.Member_ECA7040D3985C1DCA6FF15FD367F6528" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_2AB11E83389F73B9638515FD367F994B" xlink:to="loc_mtrx_HDBInc.Member_ECA7040D3985C1DCA6FF15FD367F6528" 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_889928EED46A55712D0715FD367F7E9C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_66B09C7EDBC9FC081E5615FD367FC6BB" xlink:to="loc_us-gaap_BusinessAcquisitionEffectiveDateOfAcquisition1_889928EED46A55712D0715FD367F7E9C" 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_03980E0F1868C8F5631B15FD367F1CB5" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_66B09C7EDBC9FC081E5615FD367FC6BB" xlink:to="loc_us-gaap_BusinessAcquisitionNameOfAcquiredEntity_03980E0F1868C8F5631B15FD367F1CB5" 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_E084DE3897DDD31D07BE15FD36809E16" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_66B09C7EDBC9FC081E5615FD367FC6BB" xlink:to="loc_us-gaap_BusinessCombinationConsiderationTransferred1_E084DE3897DDD31D07BE15FD36809E16" 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_548E3E7D6B8B32F6E90F15FD3680AECC" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_66B09C7EDBC9FC081E5615FD367FC6BB" xlink:to="loc_us-gaap_BusinessAcquisitionPurchasePriceAllocationGoodwillExpectedTaxDeductibleAmount_548E3E7D6B8B32F6E90F15FD3680AECC" 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_087BA6E5A900542BC64815FD362413EB" 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_FC2940599EC26A04DDF315FD36233D19" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionProFormaInformationNonrecurringAdjustmentLineItems_087BA6E5A900542BC64815FD362413EB" xlink:to="loc_us-gaap_BusinessAcquisitionProFormaInformationNonrecurringAdjustmentsTable_FC2940599EC26A04DDF315FD36233D19" 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_CCBB7BB21FAAE9B87CA515FD36232FD0" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_BusinessAcquisitionProFormaInformationNonrecurringAdjustmentsTable_FC2940599EC26A04DDF315FD36233D19" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_CCBB7BB21FAAE9B87CA515FD36232FD0" 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_E34A6546C5BE12B341C915FD3623F310_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_CCBB7BB21FAAE9B87CA515FD36232FD0" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_E34A6546C5BE12B341C915FD3623F310_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_E34A6546C5BE12B341C915FD3623F310" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_CCBB7BB21FAAE9B87CA515FD36232FD0" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_E34A6546C5BE12B341C915FD3623F310" xlink:type="arc" />
    <loc xlink:href="mtrx-20151231.xsd#mtrx_HDBInc.Member" xlink:label="loc_mtrx_HDBInc.Member_6C053B71F5161DAF904115FD3624E7C0" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_E34A6546C5BE12B341C915FD3623F310" xlink:to="loc_mtrx_HDBInc.Member_6C053B71F5161DAF904115FD3624E7C0" xlink:type="arc" />
    <loc xlink:href="mtrx-20151231.xsd#mtrx_KvaernerNorthAmericanConstructionMember" xlink:label="loc_mtrx_KvaernerNorthAmericanConstructionMember_A0AE981C8A4CDFAB71F015FD362487F3" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_E34A6546C5BE12B341C915FD3623F310" xlink:to="loc_mtrx_KvaernerNorthAmericanConstructionMember_A0AE981C8A4CDFAB71F015FD362487F3" xlink:type="arc" />
    <loc xlink:href="mtrx-20151231.xsd#mtrx_PelichemIndustrialCleaningServicesLlcMember" xlink:label="loc_mtrx_PelichemIndustrialCleaningServicesLlcMember_B8DB926A62C01BAAC41A15FD36248403" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_E34A6546C5BE12B341C915FD3623F310" xlink:to="loc_mtrx_PelichemIndustrialCleaningServicesLlcMember_B8DB926A62C01BAAC41A15FD36248403" 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_B7CE4A07405D6E8BDACD15FD3624CFF8" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionProFormaInformationNonrecurringAdjustmentLineItems_087BA6E5A900542BC64815FD362413EB" xlink:to="loc_us-gaap_ScheduleOfRecognizedIdentifiedAssetsAcquiredAndLiabilitiesAssumedTableTextBlock_B7CE4A07405D6E8BDACD15FD3624CFF8" 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_5667DCF622C254FFFE4915FD3624E981" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionProFormaInformationNonrecurringAdjustmentLineItems_087BA6E5A900542BC64815FD362413EB" xlink:to="loc_us-gaap_BusinessAcquisitionProFormaInformationTextBlock_5667DCF622C254FFFE4915FD3624E981" 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_684CD630AB38C47A71799D0CFFCD7C27" 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_61CE2107342684BD0F899D0CFFCD864B" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_684CD630AB38C47A71799D0CFFCD7C27" xlink:to="loc_us-gaap_StatementTable_61CE2107342684BD0F899D0CFFCD864B" 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_291B2675332E228B8B319D0CFFCDDF9F" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_61CE2107342684BD0F899D0CFFCD864B" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_291B2675332E228B8B319D0CFFCDDF9F" 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_DCBEF74FFC384C7990859D0CFFCDD576_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_291B2675332E228B8B319D0CFFCDDF9F" xlink:to="loc_us-gaap_EquityComponentDomain_DCBEF74FFC384C7990859D0CFFCDD576_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_DCBEF74FFC384C7990859D0CFFCDD576" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_291B2675332E228B8B319D0CFFCDDF9F" xlink:to="loc_us-gaap_EquityComponentDomain_DCBEF74FFC384C7990859D0CFFCDD576" 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_95BA0ACBD88B8C6D77A69D0CFFCD6311" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_DCBEF74FFC384C7990859D0CFFCDD576" xlink:to="loc_us-gaap_CommonStockMember_95BA0ACBD88B8C6D77A69D0CFFCD6311" 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_AF696DBC6CF57C355D819D0CFFCDD5D5" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_DCBEF74FFC384C7990859D0CFFCDD576" xlink:to="loc_us-gaap_AdditionalPaidInCapitalMember_AF696DBC6CF57C355D819D0CFFCDD5D5" 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_080B70A719D626714A1E9D0CFFCDA450" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_DCBEF74FFC384C7990859D0CFFCDD576" xlink:to="loc_us-gaap_RetainedEarningsMember_080B70A719D626714A1E9D0CFFCDA450" 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_39E628E7485B3844D93B9D0CFFCDA98B" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_DCBEF74FFC384C7990859D0CFFCDD576" xlink:to="loc_us-gaap_TreasuryStockMember_39E628E7485B3844D93B9D0CFFCDA98B" 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_F08502D90CAF14C564089D0CFFCD6D8C" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_DCBEF74FFC384C7990859D0CFFCDD576" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_F08502D90CAF14C564089D0CFFCD6D8C" 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_978D64A3AB70A72C82BA9D0CFFCDD7EE" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_DCBEF74FFC384C7990859D0CFFCDD576" xlink:to="loc_us-gaap_NoncontrollingInterestMember_978D64A3AB70A72C82BA9D0CFFCDD7EE" 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_D8E1B08C365BF9CB04219D0CFFCD8794" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_684CD630AB38C47A71799D0CFFCD7C27" xlink:to="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_D8E1B08C365BF9CB04219D0CFFCD8794" 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_46CBF7C64B6514B12BD49D0CFFCD4389" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_D8E1B08C365BF9CB04219D0CFFCD8794" xlink:to="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_46CBF7C64B6514B12BD49D0CFFCD4389" 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_63039D4F8A34C38277A19D0CFFCD412D" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_D8E1B08C365BF9CB04219D0CFFCD8794" xlink:to="loc_us-gaap_ProfitLoss_63039D4F8A34C38277A19D0CFFCD412D" 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_A435170FF8A1CFD243189D0CFFCD5472" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_D8E1B08C365BF9CB04219D0CFFCD8794" xlink:to="loc_us-gaap_NoncontrollingInterestIncreaseFromSubsidiaryEquityIssuance_A435170FF8A1CFD243189D0CFFCD5472" 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_72AD51B8BDE052DA4FE59D0CFFCDCF6F" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_D8E1B08C365BF9CB04219D0CFFCD8794" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_72AD51B8BDE052DA4FE59D0CFFCDCF6F" 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_74D2B01F1BFFD1DFD0C09D0CFFCDD49F" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_D8E1B08C365BF9CB04219D0CFFCD8794" xlink:to="loc_us-gaap_PaymentsToAcquireInterestInJointVenture_74D2B01F1BFFD1DFD0C09D0CFFCDD49F" 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_1FD2F655A80000C991E89D0CFFCD8FCF" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_D8E1B08C365BF9CB04219D0CFFCD8794" xlink:to="loc_us-gaap_NoncontrollingInterestIncreaseFromBusinessCombination_1FD2F655A80000C991E89D0CFFCD8FCF" 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_305A834F565EA22C292B9D0CFFCDD26B" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_D8E1B08C365BF9CB04219D0CFFCD8794" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised_305A834F565EA22C292B9D0CFFCDD26B" 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_88916F354EAAC1C05C9C9D0CFFCD3F39" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_D8E1B08C365BF9CB04219D0CFFCD8794" xlink:to="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalTaxEffectFromShareBasedCompensation_88916F354EAAC1C05C9C9D0CFFCD3F39" 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_4ACF551FCAB69843D1959D0CFFCD633A" xlink:type="locator" />
    <definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_D8E1B08C365BF9CB04219D0CFFCD8794" xlink:to="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalOther_4ACF551FCAB69843D1959D0CFFCD633A" 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_D1DFCA4412BBB0ECCE1C9D0CFFCD1846" xlink:type="locator" />
    <definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_D8E1B08C365BF9CB04219D0CFFCD8794" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueEmployeeStockPurchasePlan_D1DFCA4412BBB0ECCE1C9D0CFFCD1846" xlink:type="arc" />
    <loc xlink:href="mtrx-20151231.xsd#mtrx_OtherTreasurySharePurchases" xlink:label="loc_mtrx_OtherTreasurySharePurchases_C45C215D7E0E479C3AB59D0CFFCD6187" xlink:type="locator" />
    <definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_D8E1B08C365BF9CB04219D0CFFCD8794" xlink:to="loc_mtrx_OtherTreasurySharePurchases_C45C215D7E0E479C3AB59D0CFFCD6187" 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_C98825566502E53B04CB9D0CFFCDA5BC" xlink:type="locator" />
    <definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_D8E1B08C365BF9CB04219D0CFFCD8794" xlink:to="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_C98825566502E53B04CB9D0CFFCDA5BC" 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_919F6D1E0C4918263F8415FD363060AB" 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_46B72C67C5F1CC839BAD15FD363084CA" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_919F6D1E0C4918263F8415FD363060AB" xlink:to="loc_us-gaap_StatementTable_46B72C67C5F1CC839BAD15FD363084CA" 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_17AF1E463A20876DFC9415FD3630FDE2" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_46B72C67C5F1CC839BAD15FD363084CA" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_17AF1E463A20876DFC9415FD3630FDE2" 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_EBD1563924ABED05B78615FD3630B08D_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_17AF1E463A20876DFC9415FD3630FDE2" xlink:to="loc_us-gaap_EquityComponentDomain_EBD1563924ABED05B78615FD3630B08D_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_EBD1563924ABED05B78615FD3630B08D" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_17AF1E463A20876DFC9415FD3630FDE2" xlink:to="loc_us-gaap_EquityComponentDomain_EBD1563924ABED05B78615FD3630B08D" 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_ACDA20DEB4FF76C5507915FD36301373" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_EBD1563924ABED05B78615FD3630B08D" xlink:to="loc_us-gaap_AdditionalPaidInCapitalMember_ACDA20DEB4FF76C5507915FD36301373" 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_DAA11168D77071387B8C15FD36308E6F" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_EBD1563924ABED05B78615FD3630B08D" xlink:to="loc_us-gaap_TreasuryStockMember_DAA11168D77071387B8C15FD36308E6F" 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_DE16B029A774AF066A6915FD363073A9" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_919F6D1E0C4918263F8415FD363060AB" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_DE16B029A774AF066A6915FD363073A9" 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_6BAB26C756CE4762807C15FD3630C35A" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_919F6D1E0C4918263F8415FD363060AB" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans_6BAB26C756CE4762807C15FD3630C35A" xlink:type="arc" />
    <loc xlink:href="mtrx-20151231.xsd#mtrx_DeferredSharesIssued" xlink:label="loc_mtrx_DeferredSharesIssued_C060E5AE91DB6B2C04F315FD363059EF" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_919F6D1E0C4918263F8415FD363060AB" xlink:to="loc_mtrx_DeferredSharesIssued_C060E5AE91DB6B2C04F315FD363059EF" xlink:type="arc" />
    <loc xlink:href="mtrx-20151231.xsd#mtrx_OtherTreasurySharesAcquired" xlink:label="loc_mtrx_OtherTreasurySharesAcquired_3539E215E1ECC1F5AEE815FD36314A5F" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_919F6D1E0C4918263F8415FD363060AB" xlink:to="loc_mtrx_OtherTreasurySharesAcquired_3539E215E1ECC1F5AEE815FD36314A5F" 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_9599E76480171767FAA715FD361EEB90" 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_64739AE45D15F3733A3415FD361E3A5C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_9599E76480171767FAA715FD361EEB90" xlink:to="loc_us-gaap_ScheduleOfAcquiredIndefiniteLivedIntangibleAssetsByMajorClassTable_64739AE45D15F3733A3415FD361E3A5C" 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_C2E1D45CE7B958B8F61415FD361E4976" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAcquiredIndefiniteLivedIntangibleAssetsByMajorClassTable_64739AE45D15F3733A3415FD361E3A5C" xlink:to="loc_us-gaap_VariableRateAxis_C2E1D45CE7B958B8F61415FD361E4976" 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_5FB7C3C6666B4EC8931A15FD361E0547_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_VariableRateAxis_C2E1D45CE7B958B8F61415FD361E4976" xlink:to="loc_us-gaap_VariableRateDomain_5FB7C3C6666B4EC8931A15FD361E0547_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_5FB7C3C6666B4EC8931A15FD361E0547" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_VariableRateAxis_C2E1D45CE7B958B8F61415FD361E4976" xlink:to="loc_us-gaap_VariableRateDomain_5FB7C3C6666B4EC8931A15FD361E0547" xlink:type="arc" />
    <loc xlink:href="mtrx-20151231.xsd#mtrx_CdorRateMember" xlink:label="loc_mtrx_CdorRateMember_E2641811D51B94CB794A15FD361EC8B8" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableRateDomain_5FB7C3C6666B4EC8931A15FD361E0547" xlink:to="loc_mtrx_CdorRateMember_E2641811D51B94CB794A15FD361EC8B8" xlink:type="arc" />
    <loc xlink:href="mtrx-20151231.xsd#mtrx_CanadianPrimeRateMember" xlink:label="loc_mtrx_CanadianPrimeRateMember_D2EE1F258A436FC1741E15FD361E74DF" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableRateDomain_5FB7C3C6666B4EC8931A15FD361E0547" xlink:to="loc_mtrx_CanadianPrimeRateMember_D2EE1F258A436FC1741E15FD361E74DF" 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_B7A507663C2C15F6748A15FD361E1851" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAcquiredIndefiniteLivedIntangibleAssetsByMajorClassTable_64739AE45D15F3733A3415FD361E3A5C" xlink:to="loc_us-gaap_RangeAxis_B7A507663C2C15F6748A15FD361E1851" 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_A314479856F17E41BE5E15FD361E8ACF_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RangeAxis_B7A507663C2C15F6748A15FD361E1851" xlink:to="loc_us-gaap_RangeMember_A314479856F17E41BE5E15FD361E8ACF_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_A314479856F17E41BE5E15FD361E8ACF" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RangeAxis_B7A507663C2C15F6748A15FD361E1851" xlink:to="loc_us-gaap_RangeMember_A314479856F17E41BE5E15FD361E8ACF" 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_76F8195A469CF2FCD8CD15FD361E42E3" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_A314479856F17E41BE5E15FD361E8ACF" xlink:to="loc_us-gaap_MinimumMember_76F8195A469CF2FCD8CD15FD361E42E3" 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_AFC8D9DA66E12B21892F15FD361E3F25" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_A314479856F17E41BE5E15FD361E8ACF" xlink:to="loc_us-gaap_MaximumMember_AFC8D9DA66E12B21892F15FD361E3F25" xlink:type="arc" />
    <loc xlink:href="mtrx-20151231.xsd#mtrx_CreditAgreementTerm" xlink:label="loc_mtrx_CreditAgreementTerm_A7A7E16BC93CDC1C9B1C15FD361EAF85" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_9599E76480171767FAA715FD361EEB90" xlink:to="loc_mtrx_CreditAgreementTerm_A7A7E16BC93CDC1C9B1C15FD361EAF85" 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_0AD091AE57B894D1FFC915FD361E50AC" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_9599E76480171767FAA715FD361EEB90" xlink:to="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_0AD091AE57B894D1FFC915FD361E50AC" xlink:type="arc" />
    <loc xlink:href="mtrx-20151231.xsd#mtrx_MtrxLineofcreditfacilityexpirationdate" xlink:label="loc_mtrx_MtrxLineofcreditfacilityexpirationdate_94D45AEB201951F21BF515FD361EDE79" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_9599E76480171767FAA715FD361EEB90" xlink:to="loc_mtrx_MtrxLineofcreditfacilityexpirationdate_94D45AEB201951F21BF515FD361EDE79" xlink:type="arc" />
    <loc xlink:href="mtrx-20151231.xsd#mtrx_SeniorLeverageRatioMax" xlink:label="loc_mtrx_SeniorLeverageRatioMax_7B8C9837A844C99B4C2E15FD361EB37E" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_9599E76480171767FAA715FD361EEB90" xlink:to="loc_mtrx_SeniorLeverageRatioMax_7B8C9837A844C99B4C2E15FD361EB37E" xlink:type="arc" />
    <loc xlink:href="mtrx-20151231.xsd#mtrx_SeniorLeverageRatioMin" xlink:label="loc_mtrx_SeniorLeverageRatioMin_BB449A05BE6082F9C2C715FD361EFAAB" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_9599E76480171767FAA715FD361EEB90" xlink:to="loc_mtrx_SeniorLeverageRatioMin_BB449A05BE6082F9C2C715FD361EFAAB" xlink:type="arc" />
    <loc xlink:href="mtrx-20151231.xsd#mtrx_FixedChargeCoverageRatioMaximum" xlink:label="loc_mtrx_FixedChargeCoverageRatioMaximum_6CEA33D86A708EBE4D8B15FD361FF15F" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_9599E76480171767FAA715FD361EEB90" xlink:to="loc_mtrx_FixedChargeCoverageRatioMaximum_6CEA33D86A708EBE4D8B15FD361FF15F" xlink:type="arc" />
    <loc xlink:href="mtrx-20151231.xsd#mtrx_FixedChargeCoverageRatioMinimum" xlink:label="loc_mtrx_FixedChargeCoverageRatioMinimum_2798B25144F98C730AF315FD361FF6C2" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_9599E76480171767FAA715FD361EEB90" xlink:to="loc_mtrx_FixedChargeCoverageRatioMinimum_2798B25144F98C730AF315FD361FF6C2" xlink:type="arc" />
    <loc xlink:href="mtrx-20151231.xsd#mtrx_MtrxAmountOfLimitOnAssetDispositions" xlink:label="loc_mtrx_MtrxAmountOfLimitOnAssetDispositions_711FD40AF63F3E0E8BB215FD361F586C" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_9599E76480171767FAA715FD361EEB90" xlink:to="loc_mtrx_MtrxAmountOfLimitOnAssetDispositions_711FD40AF63F3E0E8BB215FD361F586C" xlink:type="arc" />
    <loc xlink:href="mtrx-20151231.xsd#mtrx_LineOfCreditBasisSpreadOnAlternateBaseRateMinimum" xlink:label="loc_mtrx_LineOfCreditBasisSpreadOnAlternateBaseRateMinimum_B989D25733B22D018A8615FD361F3167" xlink:type="locator" />
    <definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_9599E76480171767FAA715FD361EEB90" xlink:to="loc_mtrx_LineOfCreditBasisSpreadOnAlternateBaseRateMinimum_B989D25733B22D018A8615FD361F3167" xlink:type="arc" />
    <loc xlink:href="mtrx-20151231.xsd#mtrx_LineOfCreditBasisSpreadOnAlternateBaseRateMaximum" xlink:label="loc_mtrx_LineOfCreditBasisSpreadOnAlternateBaseRateMaximum_A1D8D56382CD24FDFB1715FD361F2DB9" xlink:type="locator" />
    <definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_9599E76480171767FAA715FD361EEB90" xlink:to="loc_mtrx_LineOfCreditBasisSpreadOnAlternateBaseRateMaximum_A1D8D56382CD24FDFB1715FD361F2DB9" xlink:type="arc" />
    <loc xlink:href="mtrx-20151231.xsd#mtrx_LineOfCreditBasisSpreadOnLondonInterbankOfferedRateMinimum" xlink:label="loc_mtrx_LineOfCreditBasisSpreadOnLondonInterbankOfferedRateMinimum_2A555AC3F21F5126AC9615FD361F10EC" xlink:type="locator" />
    <definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_9599E76480171767FAA715FD361EEB90" xlink:to="loc_mtrx_LineOfCreditBasisSpreadOnLondonInterbankOfferedRateMinimum_2A555AC3F21F5126AC9615FD361F10EC" xlink:type="arc" />
    <loc xlink:href="mtrx-20151231.xsd#mtrx_LineOfCreditBasisSpreadOnLondonInterbankOfferedRateMaximum" xlink:label="loc_mtrx_LineOfCreditBasisSpreadOnLondonInterbankOfferedRateMaximum_12C1767ECFA67FDB48E215FD361FC389" xlink:type="locator" />
    <definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_9599E76480171767FAA715FD361EEB90" xlink:to="loc_mtrx_LineOfCreditBasisSpreadOnLondonInterbankOfferedRateMaximum_12C1767ECFA67FDB48E215FD361FC389" xlink:type="arc" />
    <loc xlink:href="mtrx-20151231.xsd#mtrx_AmountOfLimitOnCanadianDollarBorrowings" xlink:label="loc_mtrx_AmountOfLimitOnCanadianDollarBorrowings_FB44BEEFC0E853A9516C15FD361F90EC" xlink:type="locator" />
    <definitionArc order="13" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_9599E76480171767FAA715FD361EEB90" xlink:to="loc_mtrx_AmountOfLimitOnCanadianDollarBorrowings_FB44BEEFC0E853A9516C15FD361F90EC" xlink:type="arc" />
    <loc xlink:href="mtrx-20151231.xsd#mtrx_LineOfCreditBasisSpreadOnCanadianDepositOfferedRateMinimum" xlink:label="loc_mtrx_LineOfCreditBasisSpreadOnCanadianDepositOfferedRateMinimum_58CE5D1B39E6C7F0B7A615FD361FF1E3" xlink:type="locator" />
    <definitionArc order="14" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_9599E76480171767FAA715FD361EEB90" xlink:to="loc_mtrx_LineOfCreditBasisSpreadOnCanadianDepositOfferedRateMinimum_58CE5D1B39E6C7F0B7A615FD361FF1E3" xlink:type="arc" />
    <loc xlink:href="mtrx-20151231.xsd#mtrx_LineOfCreditBasisSpreadOnCanadianDepositOfferedRateMaximum" xlink:label="loc_mtrx_LineOfCreditBasisSpreadOnCanadianDepositOfferedRateMaximum_8B99777E4333D75556DA15FD361FEE03" xlink:type="locator" />
    <definitionArc order="15" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_9599E76480171767FAA715FD361EEB90" xlink:to="loc_mtrx_LineOfCreditBasisSpreadOnCanadianDepositOfferedRateMaximum_8B99777E4333D75556DA15FD361FEE03" xlink:type="arc" />
    <loc xlink:href="mtrx-20151231.xsd#mtrx_LineOfCreditBasisSpreadOnCanadianPrimeRateMinimum" xlink:label="loc_mtrx_LineOfCreditBasisSpreadOnCanadianPrimeRateMinimum_727C2C75CA247AB0F22615FD361F71A2" xlink:type="locator" />
    <definitionArc order="16" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_9599E76480171767FAA715FD361EEB90" xlink:to="loc_mtrx_LineOfCreditBasisSpreadOnCanadianPrimeRateMinimum_727C2C75CA247AB0F22615FD361F71A2" xlink:type="arc" />
    <loc xlink:href="mtrx-20151231.xsd#mtrx_LineOfCreditBasisSpreadOnCanadianPrimeRateMaximum" xlink:label="loc_mtrx_LineOfCreditBasisSpreadOnCanadianPrimeRateMaximum_62CB69A7472EEF9B460515FD361FA942" xlink:type="locator" />
    <definitionArc order="17" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_9599E76480171767FAA715FD361EEB90" xlink:to="loc_mtrx_LineOfCreditBasisSpreadOnCanadianPrimeRateMaximum_62CB69A7472EEF9B460515FD361FA942" xlink:type="arc" />
    <loc xlink:href="mtrx-20151231.xsd#mtrx_LineOfCreditFacilityCanadianDepositOfferedRateDescription" xlink:label="loc_mtrx_LineOfCreditFacilityCanadianDepositOfferedRateDescription_D0529BA01BC6796BDC8D15FD361FDE5D" xlink:type="locator" />
    <definitionArc order="18" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_9599E76480171767FAA715FD361EEB90" xlink:to="loc_mtrx_LineOfCreditFacilityCanadianDepositOfferedRateDescription_D0529BA01BC6796BDC8D15FD361FDE5D" 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_D3217E391FB5F1B4C6AF15FD361FE112" xlink:type="locator" />
    <definitionArc order="19" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_9599E76480171767FAA715FD361EEB90" xlink:to="loc_us-gaap_DebtInstrumentDescriptionOfVariableRateBasis_D3217E391FB5F1B4C6AF15FD361FE112" 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_8C3D439A9731036245E015FD361FED1D" xlink:type="locator" />
    <definitionArc order="20" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_9599E76480171767FAA715FD361EEB90" xlink:to="loc_us-gaap_DebtInstrumentBasisSpreadOnVariableRate1_8C3D439A9731036245E015FD361FED1D" xlink:type="arc" />
    <loc xlink:href="mtrx-20151231.xsd#mtrx_LineOfCreditFacilityCanadianPrimeRateDescription" xlink:label="loc_mtrx_LineOfCreditFacilityCanadianPrimeRateDescription_90596C0ADA7A418773E515FD361FA7DD" xlink:type="locator" />
    <definitionArc order="21" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_9599E76480171767FAA715FD361EEB90" xlink:to="loc_mtrx_LineOfCreditFacilityCanadianPrimeRateDescription_90596C0ADA7A418773E515FD361FA7DD" 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_60CB84ABEA0F163A20A715FD361F9DCB" xlink:type="locator" />
    <definitionArc order="22" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_9599E76480171767FAA715FD361EEB90" xlink:to="loc_us-gaap_LineOfCreditFacilityUnusedCapacityCommitmentFeePercentage_60CB84ABEA0F163A20A715FD361F9DCB" xlink:type="arc" />
    <loc xlink:href="mtrx-20151231.xsd#mtrx_MaximumLimitOfConsolidatedFundedIndebtedness" xlink:label="loc_mtrx_MaximumLimitOfConsolidatedFundedIndebtedness_311E01C8C07DE5CF76D915FD3620B236" xlink:type="locator" />
    <definitionArc order="23" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_9599E76480171767FAA715FD361EEB90" xlink:to="loc_mtrx_MaximumLimitOfConsolidatedFundedIndebtedness_311E01C8C07DE5CF76D915FD3620B236" xlink:type="arc" />
    <loc xlink:href="mtrx-20151231.xsd#mtrx_ConsolidatedEarningsBeforeInterestTaxesDepreciationAndAmortizationPerCreditAgreement" xlink:label="loc_mtrx_ConsolidatedEarningsBeforeInterestTaxesDepreciationAndAmortizationPerCreditAgreement_99ACEDE91E815EE6BE0F15FD36207FD0" xlink:type="locator" />
    <definitionArc order="24" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_9599E76480171767FAA715FD361EEB90" xlink:to="loc_mtrx_ConsolidatedEarningsBeforeInterestTaxesDepreciationAndAmortizationPerCreditAgreement_99ACEDE91E815EE6BE0F15FD36207FD0" xlink:type="arc" />
    <loc xlink:href="mtrx-20151231.xsd#mtrx_ConsolidatedFundedIndebtedness" xlink:label="loc_mtrx_ConsolidatedFundedIndebtedness_3B4B5C66147CA3E2F46A15FD3620D64A" xlink:type="locator" />
    <definitionArc order="25" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_9599E76480171767FAA715FD361EEB90" xlink:to="loc_mtrx_ConsolidatedFundedIndebtedness_3B4B5C66147CA3E2F46A15FD3620D64A" 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_62B0CB1A5EDFD091532915FD363528AD" 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_EBCC352E41B6E306AAF315FD36346C4D" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_62B0CB1A5EDFD091532915FD363528AD" xlink:to="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_EBCC352E41B6E306AAF315FD36346C4D" 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_835225D5C1C8C28F464315FD36343C55" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_EBCC352E41B6E306AAF315FD36346C4D" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_835225D5C1C8C28F464315FD36343C55" 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_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_835225D5C1C8C28F464315FD36343C55" xlink:to="loc_us-gaap_AntidilutiveSecuritiesNameDomain_499CA39BC4032B4E3E4815FD3635A4EF_default" 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" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_835225D5C1C8C28F464315FD36343C55" xlink:to="loc_us-gaap_AntidilutiveSecuritiesNameDomain_499CA39BC4032B4E3E4815FD3635A4EF" 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_50224DE77690B0A48DDF15FD3635F20C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_499CA39BC4032B4E3E4815FD3635A4EF" xlink:to="loc_us-gaap_EmployeeStockOptionMember_50224DE77690B0A48DDF15FD3635F20C" xlink:type="arc" />
    <loc xlink:href="mtrx-20151231.xsd#mtrx_NonvestedDeferredSharesMember" xlink:label="loc_mtrx_NonvestedDeferredSharesMember_E88D0187007ECB7C296B15FD3635E628" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_499CA39BC4032B4E3E4815FD3635A4EF" xlink:to="loc_mtrx_NonvestedDeferredSharesMember_E88D0187007ECB7C296B15FD3635E628" 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_3DCD3E1D74432E4BE0A815FD3635D874" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_62B0CB1A5EDFD091532915FD363528AD" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_3DCD3E1D74432E4BE0A815FD3635D874" 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_98DA8B84B77EC6947B7315FD3687CAF7" 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_95F891A407243930A88315FD3686B2A6" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_98DA8B84B77EC6947B7315FD3687CAF7" xlink:to="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_95F891A407243930A88315FD3686B2A6" 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_RangeAxis" xlink:label="loc_us-gaap_RangeAxis_B58A84EDD0DD471274C315FD36861A19" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_95F891A407243930A88315FD3686B2A6" xlink:to="loc_us-gaap_RangeAxis_B58A84EDD0DD471274C315FD36861A19" 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_58EA51D426D52ECADFA015FD3686CCB0_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RangeAxis_B58A84EDD0DD471274C315FD36861A19" xlink:to="loc_us-gaap_RangeMember_58EA51D426D52ECADFA015FD3686CCB0_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_58EA51D426D52ECADFA015FD3686CCB0" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RangeAxis_B58A84EDD0DD471274C315FD36861A19" xlink:to="loc_us-gaap_RangeMember_58EA51D426D52ECADFA015FD3686CCB0" 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_7DD8A3553693CAEC843515FD368691BB" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_58EA51D426D52ECADFA015FD3686CCB0" xlink:to="loc_us-gaap_MinimumMember_7DD8A3553693CAEC843515FD368691BB" 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_F8316A922A42322683F115FD368739CF" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_58EA51D426D52ECADFA015FD3686CCB0" xlink:to="loc_us-gaap_MaximumMember_F8316A922A42322683F115FD368739CF" 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_D3A3C41116ED0524B26915FD3687B6B8" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_95F891A407243930A88315FD3686B2A6" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_D3A3C41116ED0524B26915FD3687B6B8" 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_7536793D30040BA47F6015FD3687AFE6_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_D3A3C41116ED0524B26915FD3687B6B8" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_7536793D30040BA47F6015FD3687AFE6_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_7536793D30040BA47F6015FD3687AFE6" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_D3A3C41116ED0524B26915FD3687B6B8" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_7536793D30040BA47F6015FD3687AFE6" 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_9417A8E694BED002243C15FD36879C12" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_7536793D30040BA47F6015FD3687AFE6" xlink:to="loc_us-gaap_IntellectualPropertyMember_9417A8E694BED002243C15FD36879C12" 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_DAB7D3E637268602968B15FD368799D3" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_7536793D30040BA47F6015FD3687AFE6" xlink:to="loc_us-gaap_CustomerRelationshipsMember_DAB7D3E637268602968B15FD368799D3" 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_50B4B4041BD649EFC6FB15FD3687A346" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_7536793D30040BA47F6015FD3687AFE6" xlink:to="loc_us-gaap_NoncompeteAgreementsMember_50B4B4041BD649EFC6FB15FD3687A346" 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_D0CED2A4771A57870EE915FD36873AA8" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_7536793D30040BA47F6015FD3687AFE6" xlink:to="loc_us-gaap_TradeNamesMember_D0CED2A4771A57870EE915FD36873AA8" 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_53444B84AA2A6A0EC2EB15FD36878FDC" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_7536793D30040BA47F6015FD3687AFE6" xlink:to="loc_us-gaap_OtherIntangibleAssetsMember_53444B84AA2A6A0EC2EB15FD36878FDC" xlink:type="arc" />
    <loc xlink:href="mtrx-20151231.xsd#mtrx_SMElectricTradeNameMember" xlink:label="loc_mtrx_SMElectricTradeNameMember_F6C83CE8D63E167D3C7215FD36873112" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_7536793D30040BA47F6015FD3687AFE6" xlink:to="loc_mtrx_SMElectricTradeNameMember_F6C83CE8D63E167D3C7215FD36873112" 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_6C233ACA417B6AC7858215FD36878B61" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_98DA8B84B77EC6947B7315FD3687CAF7" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetUsefulLife_6C233ACA417B6AC7858215FD36878B61" 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_B422E7A75479832B9F6A15FD3687C6C0" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_98DA8B84B77EC6947B7315FD3687CAF7" xlink:to="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife_B422E7A75479832B9F6A15FD3687C6C0" 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_7D0730B2AB5CD29BFB9815FD3687EDC5" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_98DA8B84B77EC6947B7315FD3687CAF7" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsFairValueDisclosure_7D0730B2AB5CD29BFB9815FD3687EDC5" 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_76286B2C2C9CED9DA8C99D0CFF60B9B8" 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_3D73A68954D5535FD08D9D0CFF60CE18" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_GoodwillLineItems_76286B2C2C9CED9DA8C99D0CFF60B9B8" xlink:to="loc_us-gaap_ScheduleOfGoodwillTable_3D73A68954D5535FD08D9D0CFF60CE18" 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_StatementBusinessSegmentsAxis" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_D885C91F223BBA37176E9D0CFF60E57E" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfGoodwillTable_3D73A68954D5535FD08D9D0CFF60CE18" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_D885C91F223BBA37176E9D0CFF60E57E" 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_F2E2F9F9BB7D008962369D0CFF600E8E_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_D885C91F223BBA37176E9D0CFF60E57E" xlink:to="loc_us-gaap_SegmentDomain_F2E2F9F9BB7D008962369D0CFF600E8E_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_F2E2F9F9BB7D008962369D0CFF600E8E" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_D885C91F223BBA37176E9D0CFF60E57E" xlink:to="loc_us-gaap_SegmentDomain_F2E2F9F9BB7D008962369D0CFF600E8E" xlink:type="arc" />
    <loc xlink:href="mtrx-20151231.xsd#mtrx_ElectricalInfrastructureMember" xlink:label="loc_mtrx_ElectricalInfrastructureMember_E7729F670B3D675E710D9D0CFF60690E" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_F2E2F9F9BB7D008962369D0CFF600E8E" xlink:to="loc_mtrx_ElectricalInfrastructureMember_E7729F670B3D675E710D9D0CFF60690E" xlink:type="arc" />
    <loc xlink:href="mtrx-20151231.xsd#mtrx_OilGasAndChemicalMember" xlink:label="loc_mtrx_OilGasAndChemicalMember_3DF6B421C6B74BB6FFAC9D0CFF60E06B" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_F2E2F9F9BB7D008962369D0CFF600E8E" xlink:to="loc_mtrx_OilGasAndChemicalMember_3DF6B421C6B74BB6FFAC9D0CFF60E06B" xlink:type="arc" />
    <loc xlink:href="mtrx-20151231.xsd#mtrx_StorageSolutionsMember" xlink:label="loc_mtrx_StorageSolutionsMember_56F809C2C98BA92B2FFD9D0CFF6020B1" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_F2E2F9F9BB7D008962369D0CFF600E8E" xlink:to="loc_mtrx_StorageSolutionsMember_56F809C2C98BA92B2FFD9D0CFF6020B1" xlink:type="arc" />
    <loc xlink:href="mtrx-20151231.xsd#mtrx_IndustrialMember" xlink:label="loc_mtrx_IndustrialMember_2F01E42DD0309EABE4CF9D0CFF600A7C" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_F2E2F9F9BB7D008962369D0CFF600E8E" xlink:to="loc_mtrx_IndustrialMember_2F01E42DD0309EABE4CF9D0CFF600A7C" 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_1EEFEAC24C1E4C3900FE9D0CFF60FBA4" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_F2E2F9F9BB7D008962369D0CFF600E8E" xlink:to="loc_us-gaap_AllOtherSegmentsMember_1EEFEAC24C1E4C3900FE9D0CFF60FBA4" 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_B58148A3284025980FFE9D0CFF6097DA" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillLineItems_76286B2C2C9CED9DA8C99D0CFF60B9B8" xlink:to="loc_us-gaap_GoodwillPurchaseAccountingAdjustments_B58148A3284025980FFE9D0CFF6097DA" 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_98B0089FFE523B7A7B299D0CFF603938" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillLineItems_76286B2C2C9CED9DA8C99D0CFF60B9B8" xlink:to="loc_us-gaap_GoodwillAcquiredDuringPeriod_98B0089FFE523B7A7B299D0CFF603938" 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_09E9825290AB45E27EDD9D0CFF60917F" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillLineItems_76286B2C2C9CED9DA8C99D0CFF60B9B8" xlink:to="loc_us-gaap_GoodwillGross_09E9825290AB45E27EDD9D0CFF60917F" 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_7A98239AE4DECE3BEFE09D0CFF602293" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillLineItems_76286B2C2C9CED9DA8C99D0CFF60B9B8" xlink:to="loc_us-gaap_GoodwillImpairedAccumulatedImpairmentLoss_7A98239AE4DECE3BEFE09D0CFF602293" 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_DE1D4881A630ABE21DE79D0CFF606747" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillLineItems_76286B2C2C9CED9DA8C99D0CFF60B9B8" xlink:to="loc_us-gaap_Goodwill_DE1D4881A630ABE21DE79D0CFF606747" 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_8B4323D82AA7D15676319D0CFF6007B8" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillLineItems_76286B2C2C9CED9DA8C99D0CFF60B9B8" xlink:to="loc_us-gaap_GoodwillRollForward_8B4323D82AA7D15676319D0CFF6007B8" 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_DF379122D49092E001399D0CFF60E404" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillRollForward_8B4323D82AA7D15676319D0CFF6007B8" xlink:to="loc_us-gaap_GoodwillTranslationAdjustments_DF379122D49092E001399D0CFF60E404" 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_1C1577A371CB01E0FB3F15FD3657742B" 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_181D43B9302C9DA1276715FD36561449" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_1C1577A371CB01E0FB3F15FD3657742B" xlink:to="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_181D43B9302C9DA1276715FD36561449" 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_5BE612B34E207264D8CB15FD36564A7B" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_181D43B9302C9DA1276715FD36561449" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_5BE612B34E207264D8CB15FD36564A7B" 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_995B3C0A8F3BFF86209115FD3656F5C1_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_5BE612B34E207264D8CB15FD36564A7B" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_995B3C0A8F3BFF86209115FD3656F5C1_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_995B3C0A8F3BFF86209115FD3656F5C1" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_5BE612B34E207264D8CB15FD36564A7B" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_995B3C0A8F3BFF86209115FD3656F5C1" 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_7968E2594D6B5118C1B815FD3656459A" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_995B3C0A8F3BFF86209115FD3656F5C1" xlink:to="loc_us-gaap_IntellectualPropertyMember_7968E2594D6B5118C1B815FD3656459A" 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_846E8C1F629FE102975015FD3656A845" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_995B3C0A8F3BFF86209115FD3656F5C1" xlink:to="loc_us-gaap_CustomerRelationshipsMember_846E8C1F629FE102975015FD3656A845" 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_3C276EE4CEE3F98B115F15FD365671C7" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_995B3C0A8F3BFF86209115FD3656F5C1" xlink:to="loc_us-gaap_NoncompeteAgreementsMember_3C276EE4CEE3F98B115F15FD365671C7" 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_31E086E029479608A1DD15FD3657BBA6" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_995B3C0A8F3BFF86209115FD3656F5C1" xlink:to="loc_us-gaap_TradeNamesMember_31E086E029479608A1DD15FD3657BBA6" 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_5BD2E8804A4885B9211215FD365723D0" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_181D43B9302C9DA1276715FD36561449" xlink:to="loc_us-gaap_RangeAxis_5BD2E8804A4885B9211215FD365723D0" 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_8B06D1C7ED4613A119AE15FD36573EBB_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RangeAxis_5BD2E8804A4885B9211215FD365723D0" xlink:to="loc_us-gaap_RangeMember_8B06D1C7ED4613A119AE15FD36573EBB_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_8B06D1C7ED4613A119AE15FD36573EBB" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RangeAxis_5BD2E8804A4885B9211215FD365723D0" xlink:to="loc_us-gaap_RangeMember_8B06D1C7ED4613A119AE15FD36573EBB" 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_4C7D21D1650FAB01602E15FD365700D8" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_8B06D1C7ED4613A119AE15FD36573EBB" xlink:to="loc_us-gaap_MinimumMember_4C7D21D1650FAB01602E15FD365700D8" 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_6343B87B993DB23FD16715FD3657AA9C" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_8B06D1C7ED4613A119AE15FD36573EBB" xlink:to="loc_us-gaap_MaximumMember_6343B87B993DB23FD16715FD3657AA9C" 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_8971414CF7BC804908A015FD36572491" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_1C1577A371CB01E0FB3F15FD3657742B" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsGross_8971414CF7BC804908A015FD36572491" 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_49713BBBF14990E3CE3815FD3657320E" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_1C1577A371CB01E0FB3F15FD3657742B" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetUsefulLife_49713BBBF14990E3CE3815FD3657320E" 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_3F251B6404202C3F446515FD36578AF5" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_1C1577A371CB01E0FB3F15FD3657742B" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_3F251B6404202C3F446515FD36578AF5" 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_B0D16D38BC8C5FF323C715FD36578365" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_1C1577A371CB01E0FB3F15FD3657742B" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsNet_B0D16D38BC8C5FF323C715FD36578365" 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_DA9BDAEF3CC615406A1815FD36579D1E" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_1C1577A371CB01E0FB3F15FD3657742B" xlink:to="loc_us-gaap_IndefiniteLivedTradeNames_DA9BDAEF3CC615406A1815FD36579D1E" 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_08CA873CE9F367516DA815FD365711A1" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_1C1577A371CB01E0FB3F15FD3657742B" xlink:to="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_08CA873CE9F367516DA815FD365711A1" 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_30F3015E366774CD986815FD364DF8F1" 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_D893B2969AF0D8E0498C15FD364DFD02" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_30F3015E366774CD986815FD364DF8F1" xlink:to="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_D893B2969AF0D8E0498C15FD364DFD02" 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_CE4CB1AF98441F514BB515FD364DB92C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_D893B2969AF0D8E0498C15FD364DFD02" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_CE4CB1AF98441F514BB515FD364DB92C" 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_372D26D68EB150B32EDD15FD364DACAE_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_CE4CB1AF98441F514BB515FD364DB92C" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_372D26D68EB150B32EDD15FD364DACAE_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_372D26D68EB150B32EDD15FD364DACAE" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_CE4CB1AF98441F514BB515FD364DB92C" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_372D26D68EB150B32EDD15FD364DACAE" 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_222DDC1727DEF73D73E615FD364DD5FE" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_D893B2969AF0D8E0498C15FD364DFD02" xlink:to="loc_us-gaap_ConsolidationItemsAxis_222DDC1727DEF73D73E615FD364DD5FE" 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_9671F77EA018BAECCD0315FD364D4C51_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConsolidationItemsAxis_222DDC1727DEF73D73E615FD364DD5FE" xlink:to="loc_us-gaap_ConsolidationItemsDomain_9671F77EA018BAECCD0315FD364D4C51_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_9671F77EA018BAECCD0315FD364D4C51" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConsolidationItemsAxis_222DDC1727DEF73D73E615FD364DD5FE" xlink:to="loc_us-gaap_ConsolidationItemsDomain_9671F77EA018BAECCD0315FD364D4C51" 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_7A7F2D9D0E079B7DED8D15FD364D8473" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_D893B2969AF0D8E0498C15FD364DFD02" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_7A7F2D9D0E079B7DED8D15FD364D8473" 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_FAE37BAB5D87AB23DA2015FD364D00C1_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_7A7F2D9D0E079B7DED8D15FD364D8473" xlink:to="loc_us-gaap_SegmentDomain_FAE37BAB5D87AB23DA2015FD364D00C1_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_FAE37BAB5D87AB23DA2015FD364D00C1" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_7A7F2D9D0E079B7DED8D15FD364D8473" xlink:to="loc_us-gaap_SegmentDomain_FAE37BAB5D87AB23DA2015FD364D00C1" 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_733A6E59AE497804F42915FD364D11D3" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_D893B2969AF0D8E0498C15FD364DFD02" xlink:to="loc_us-gaap_RangeAxis_733A6E59AE497804F42915FD364D11D3" 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_936A9BDAF092726BD47515FD364D9B0F_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RangeAxis_733A6E59AE497804F42915FD364D11D3" xlink:to="loc_us-gaap_RangeMember_936A9BDAF092726BD47515FD364D9B0F_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_936A9BDAF092726BD47515FD364D9B0F" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RangeAxis_733A6E59AE497804F42915FD364D11D3" xlink:to="loc_us-gaap_RangeMember_936A9BDAF092726BD47515FD364D9B0F" 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_58EDAC4C3E5AA55D71F315FD3671795A" 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_4AA19179703CAEA8CB3015FD36708039" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_58EDAC4C3E5AA55D71F315FD3671795A" xlink:to="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_4AA19179703CAEA8CB3015FD36708039" 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_823C1151DC47C0E5E0AA15FD36703E62" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_4AA19179703CAEA8CB3015FD36708039" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_823C1151DC47C0E5E0AA15FD36703E62" 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_AA482C44D342F5D2E91315FD36714F58_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_823C1151DC47C0E5E0AA15FD36703E62" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_AA482C44D342F5D2E91315FD36714F58_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_AA482C44D342F5D2E91315FD36714F58" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_823C1151DC47C0E5E0AA15FD36703E62" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_AA482C44D342F5D2E91315FD36714F58" 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_864581DA266E67486BE215FD367168F2" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_4AA19179703CAEA8CB3015FD36708039" xlink:to="loc_us-gaap_ConsolidationItemsAxis_864581DA266E67486BE215FD367168F2" 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_9DDE377222DBDA52D08A15FD3671D8AC_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConsolidationItemsAxis_864581DA266E67486BE215FD367168F2" xlink:to="loc_us-gaap_ConsolidationItemsDomain_9DDE377222DBDA52D08A15FD3671D8AC_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_9DDE377222DBDA52D08A15FD3671D8AC" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConsolidationItemsAxis_864581DA266E67486BE215FD367168F2" xlink:to="loc_us-gaap_ConsolidationItemsDomain_9DDE377222DBDA52D08A15FD3671D8AC" 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_BC3FAD2E51D03C4864B915FD36715B93" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_4AA19179703CAEA8CB3015FD36708039" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_BC3FAD2E51D03C4864B915FD36715B93" 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_DCF69FEC86A1CBD6804115FD3671A5BD_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_BC3FAD2E51D03C4864B915FD36715B93" xlink:to="loc_us-gaap_SegmentDomain_DCF69FEC86A1CBD6804115FD3671A5BD_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_DCF69FEC86A1CBD6804115FD3671A5BD" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_BC3FAD2E51D03C4864B915FD36715B93" xlink:to="loc_us-gaap_SegmentDomain_DCF69FEC86A1CBD6804115FD3671A5BD" 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_FD4E0CCEFB5C856510F515FD3671323F" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_4AA19179703CAEA8CB3015FD36708039" xlink:to="loc_us-gaap_RangeAxis_FD4E0CCEFB5C856510F515FD3671323F" 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_E90BD0C1EE59FF189F3915FD36713941_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RangeAxis_FD4E0CCEFB5C856510F515FD3671323F" xlink:to="loc_us-gaap_RangeMember_E90BD0C1EE59FF189F3915FD36713941_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_E90BD0C1EE59FF189F3915FD36713941" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RangeAxis_FD4E0CCEFB5C856510F515FD3671323F" xlink:to="loc_us-gaap_RangeMember_E90BD0C1EE59FF189F3915FD36713941" 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_C6FE1A283FBEB5201F7515FD362D93BC" 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_598116A10929A70B175615FD362BE45F" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_C6FE1A283FBEB5201F7515FD362D93BC" xlink:to="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_598116A10929A70B175615FD362BE45F" 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_100802EDE9CA4042BACE15FD362B6F0B" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_598116A10929A70B175615FD362BE45F" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_100802EDE9CA4042BACE15FD362B6F0B" 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_9B4CEB1C39369C867FD215FD362BA6ED_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_100802EDE9CA4042BACE15FD362B6F0B" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_9B4CEB1C39369C867FD215FD362BA6ED_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_9B4CEB1C39369C867FD215FD362BA6ED" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_100802EDE9CA4042BACE15FD362B6F0B" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_9B4CEB1C39369C867FD215FD362BA6ED" xlink:type="arc" />
    <loc xlink:href="mtrx-20151231.xsd#mtrx_KvaernerNorthAmericanConstructionMember" xlink:label="loc_mtrx_KvaernerNorthAmericanConstructionMember_4EDD204F173773579FDB15FD362B5E9F" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_9B4CEB1C39369C867FD215FD362BA6ED" xlink:to="loc_mtrx_KvaernerNorthAmericanConstructionMember_4EDD204F173773579FDB15FD362B5E9F" 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_F9822AC7664966C20C2E15FD362B3042" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_598116A10929A70B175615FD362BE45F" xlink:to="loc_us-gaap_ConsolidationItemsAxis_F9822AC7664966C20C2E15FD362B3042" 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_C082B362C9A2D580AD6315FD362B3F29_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConsolidationItemsAxis_F9822AC7664966C20C2E15FD362B3042" xlink:to="loc_us-gaap_ConsolidationItemsDomain_C082B362C9A2D580AD6315FD362B3F29_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_C082B362C9A2D580AD6315FD362B3F29" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConsolidationItemsAxis_F9822AC7664966C20C2E15FD362B3042" xlink:to="loc_us-gaap_ConsolidationItemsDomain_C082B362C9A2D580AD6315FD362B3F29" 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_4B086389DEB129F714E415FD362C5DEC" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConsolidationItemsDomain_C082B362C9A2D580AD6315FD362B3F29" xlink:to="loc_us-gaap_IntersegmentEliminationMember_4B086389DEB129F714E415FD362C5DEC" 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_D39A2CA1A82AC71FB95B15FD362CAD0F" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_598116A10929A70B175615FD362BE45F" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_D39A2CA1A82AC71FB95B15FD362CAD0F" 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_0553D3AABF6C3F1408F615FD362C408F_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_D39A2CA1A82AC71FB95B15FD362CAD0F" xlink:to="loc_us-gaap_SegmentDomain_0553D3AABF6C3F1408F615FD362C408F_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_0553D3AABF6C3F1408F615FD362C408F" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_D39A2CA1A82AC71FB95B15FD362CAD0F" xlink:to="loc_us-gaap_SegmentDomain_0553D3AABF6C3F1408F615FD362C408F" xlink:type="arc" />
    <loc xlink:href="mtrx-20151231.xsd#mtrx_ElectricalInfrastructureMember" xlink:label="loc_mtrx_ElectricalInfrastructureMember_AB1015DBFA0E499A402715FD362C0806" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_0553D3AABF6C3F1408F615FD362C408F" xlink:to="loc_mtrx_ElectricalInfrastructureMember_AB1015DBFA0E499A402715FD362C0806" xlink:type="arc" />
    <loc xlink:href="mtrx-20151231.xsd#mtrx_OilGasAndChemicalMember" xlink:label="loc_mtrx_OilGasAndChemicalMember_E048ECFFF56C2A61F45A15FD362C7BBF" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_0553D3AABF6C3F1408F615FD362C408F" xlink:to="loc_mtrx_OilGasAndChemicalMember_E048ECFFF56C2A61F45A15FD362C7BBF" xlink:type="arc" />
    <loc xlink:href="mtrx-20151231.xsd#mtrx_StorageSolutionsMember" xlink:label="loc_mtrx_StorageSolutionsMember_5F0D99C447053FEAF46915FD362CDE49" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_0553D3AABF6C3F1408F615FD362C408F" xlink:to="loc_mtrx_StorageSolutionsMember_5F0D99C447053FEAF46915FD362CDE49" xlink:type="arc" />
    <loc xlink:href="mtrx-20151231.xsd#mtrx_IndustrialMember" xlink:label="loc_mtrx_IndustrialMember_1E28ABB0AF1492E35FB915FD362C1D3D" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_0553D3AABF6C3F1408F615FD362C408F" xlink:to="loc_mtrx_IndustrialMember_1E28ABB0AF1492E35FB915FD362C1D3D" 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_64B3A3CCE5F38056670915FD362D2B69" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_0553D3AABF6C3F1408F615FD362C408F" xlink:to="loc_us-gaap_AllOtherSegmentsMember_64B3A3CCE5F38056670915FD362D2B69" 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_6A9D63F456AB3BE2384615FD362D743E" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_C6FE1A283FBEB5201F7515FD362D93BC" xlink:to="loc_us-gaap_Revenues_6A9D63F456AB3BE2384615FD362D743E" 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_40D00ADB8CC56E56027415FD362D8D9A" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_C6FE1A283FBEB5201F7515FD362D93BC" xlink:to="loc_us-gaap_SalesRevenueServicesNet_40D00ADB8CC56E56027415FD362D8D9A" 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_A31D67DE5BACC277CA5E15FD362D1EE4" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_C6FE1A283FBEB5201F7515FD362D93BC" xlink:to="loc_us-gaap_GrossProfit_A31D67DE5BACC277CA5E15FD362D1EE4" 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_43471AF16C33DA4C81B015FD362D7488" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_C6FE1A283FBEB5201F7515FD362D93BC" xlink:to="loc_us-gaap_OperatingIncomeLoss_43471AF16C33DA4C81B015FD362D7488" 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_B86B4CEBD66B0094A8BF15FD362D8B8D" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_C6FE1A283FBEB5201F7515FD362D93BC" xlink:to="loc_us-gaap_Assets_B86B4CEBD66B0094A8BF15FD362D8B8D" 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_A04FD1CC1A77A516962015FD362D9027" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_C6FE1A283FBEB5201F7515FD362D93BC" xlink:to="loc_us-gaap_Goodwill_A04FD1CC1A77A516962015FD362D9027" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/SegmentInformationTables" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/SubsequentEventDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SubsequentEventLineItems" xlink:label="loc_us-gaap_SubsequentEventLineItems_3AD4E07E1EE3B154EE8BA37E7B029FC5" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SubsequentEventTable" xlink:label="loc_us-gaap_SubsequentEventTable_FAFA20042D4C7838815DA37E7B02F0DD" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_SubsequentEventLineItems_3AD4E07E1EE3B154EE8BA37E7B029FC5" xlink:to="loc_us-gaap_SubsequentEventTable_FAFA20042D4C7838815DA37E7B02F0DD" 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_SubsequentEventTypeAxis" xlink:label="loc_us-gaap_SubsequentEventTypeAxis_BD1E92D317666FFC6C26A37E7B027BEA" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_SubsequentEventTable_FAFA20042D4C7838815DA37E7B02F0DD" xlink:to="loc_us-gaap_SubsequentEventTypeAxis_BD1E92D317666FFC6C26A37E7B027BEA" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SubsequentEventTypeDomain" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_CD4B0B2E66A51A27C6E6A37E7B02E38D_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_BD1E92D317666FFC6C26A37E7B027BEA" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_CD4B0B2E66A51A27C6E6A37E7B02E38D_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SubsequentEventTypeDomain" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_CD4B0B2E66A51A27C6E6A37E7B02E38D" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_BD1E92D317666FFC6C26A37E7B027BEA" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_CD4B0B2E66A51A27C6E6A37E7B02E38D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SubsequentEventAmountInestimable" xlink:label="loc_us-gaap_SubsequentEventAmountInestimable_3D393D47020FFB728AC6A380201514E8" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventLineItems_3AD4E07E1EE3B154EE8BA37E7B029FC5" xlink:to="loc_us-gaap_SubsequentEventAmountInestimable_3D393D47020FFB728AC6A380201514E8" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/SubsequentEventNotes" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SubsequentEventLineItems" xlink:label="loc_us-gaap_SubsequentEventLineItems_1CEE3D0A3F0B64650797A37D3FCB31AF" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SubsequentEventTable" xlink:label="loc_us-gaap_SubsequentEventTable_4F317CC296C058D6489DA37D3FC3D07D" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_SubsequentEventLineItems_1CEE3D0A3F0B64650797A37D3FCB31AF" xlink:to="loc_us-gaap_SubsequentEventTable_4F317CC296C058D6489DA37D3FC3D07D" 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_SubsequentEventTypeAxis" xlink:label="loc_us-gaap_SubsequentEventTypeAxis_937EC8541A65F3B39262A37D3FC4DE15" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_SubsequentEventTable_4F317CC296C058D6489DA37D3FC3D07D" xlink:to="loc_us-gaap_SubsequentEventTypeAxis_937EC8541A65F3B39262A37D3FC4DE15" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SubsequentEventTypeDomain" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_E56C124E2CE820199F6BA37D3FCAAC5B_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_937EC8541A65F3B39262A37D3FC4DE15" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_E56C124E2CE820199F6BA37D3FCAAC5B_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SubsequentEventTypeDomain" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_E56C124E2CE820199F6BA37D3FCAAC5B" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_937EC8541A65F3B39262A37D3FC4DE15" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_E56C124E2CE820199F6BA37D3FCAAC5B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SubsequentEventsTextBlock" xlink:label="loc_us-gaap_SubsequentEventsTextBlock_D1B872A43E8C64E330A5A37D847F299D" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventLineItems_1CEE3D0A3F0B64650797A37D3FCB31AF" xlink:to="loc_us-gaap_SubsequentEventsTextBlock_D1B872A43E8C64E330A5A37D847F299D" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/SubsequentEventTables" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/UncompletedContractsAdditionalInformationDetail" xlink:type="extended">
    <loc xlink:href="mtrx-20151231.xsd#mtrx_CustomerContractsLineItems" xlink:label="loc_mtrx_CustomerContractsLineItems_FE28FCCB6166B9D0CFB49DDF58316641" xlink:type="locator" />
    <loc xlink:href="mtrx-20151231.xsd#mtrx_CustomerContractsTable" xlink:label="loc_mtrx_CustomerContractsTable_473C5EB00962D247D6359DDF5831F197" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_mtrx_CustomerContractsLineItems_FE28FCCB6166B9D0CFB49DDF58316641" xlink:to="loc_mtrx_CustomerContractsTable_473C5EB00962D247D6359DDF5831F197" 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_4ADB9D69CB5F12DA24B89DDF583120E8" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_mtrx_CustomerContractsTable_473C5EB00962D247D6359DDF5831F197" xlink:to="loc_us-gaap_MajorCustomersAxis_4ADB9D69CB5F12DA24B89DDF583120E8" 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_5C19DAE4106E263DEB429DDF58313C10_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_MajorCustomersAxis_4ADB9D69CB5F12DA24B89DDF583120E8" xlink:to="loc_us-gaap_NameOfMajorCustomerDomain_5C19DAE4106E263DEB429DDF58313C10_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_5C19DAE4106E263DEB429DDF58313C10" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_MajorCustomersAxis_4ADB9D69CB5F12DA24B89DDF583120E8" xlink:to="loc_us-gaap_NameOfMajorCustomerDomain_5C19DAE4106E263DEB429DDF58313C10" xlink:type="arc" />
    <loc xlink:href="mtrx-20151231.xsd#mtrx_SMElectricCompanyMember" xlink:label="loc_mtrx_SMElectricCompanyMember_402A2F7722CF4CBB3A8E9DDF58315365" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NameOfMajorCustomerDomain_5C19DAE4106E263DEB429DDF58313C10" xlink:to="loc_mtrx_SMElectricCompanyMember_402A2F7722CF4CBB3A8E9DDF58315365" 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_9A94C2ACFC6F9E9E03AA9DDF5831D2A5" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_CustomerContractsLineItems_FE28FCCB6166B9D0CFB49DDF58316641" xlink:to="loc_us-gaap_ContractReceivableRetainageDueOneYearOrLess_9A94C2ACFC6F9E9E03AA9DDF5831D2A5" 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_5257BE574ADA23E58FF89DDF5831CF46" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_CustomerContractsLineItems_FE28FCCB6166B9D0CFB49DDF58316641" xlink:to="loc_us-gaap_ContractReceivableRetainageDueAfterOneYear_5257BE574ADA23E58FF89DDF5831CF46" 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_7978474BF2F50C9020939DDF58325983" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_CustomerContractsLineItems_FE28FCCB6166B9D0CFB49DDF58316641" xlink:to="loc_us-gaap_ContractsReceivableClaimsAndUncertainAmounts_7978474BF2F50C9020939DDF58325983" 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_473BE19D602BEFE3F03B9DDF5832A3F1" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_CustomerContractsLineItems_FE28FCCB6166B9D0CFB49DDF58316641" xlink:to="loc_us-gaap_AccountsReceivableBilledForLongTermContractsOrPrograms_473BE19D602BEFE3F03B9DDF5832A3F1" xlink:type="arc" />
    <loc xlink:href="mtrx-20151231.xsd#mtrx_ChangeInAccountingEstimateFinancialEffectOperatingIncome" xlink:label="loc_mtrx_ChangeInAccountingEstimateFinancialEffectOperatingIncome_57B1C7E2FEEC70CCE9319DDF583281CD" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_CustomerContractsLineItems_FE28FCCB6166B9D0CFB49DDF58316641" xlink:to="loc_mtrx_ChangeInAccountingEstimateFinancialEffectOperatingIncome_57B1C7E2FEEC70CCE9319DDF583281CD" xlink:type="arc" />
    <loc xlink:href="mtrx-20151231.xsd#mtrx_ChangeinAccountingEstimateFinancialEffectNetIncome" xlink:label="loc_mtrx_ChangeinAccountingEstimateFinancialEffectNetIncome_172A3BF6C54FE93901089DDF5832607F" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_CustomerContractsLineItems_FE28FCCB6166B9D0CFB49DDF58316641" xlink:to="loc_mtrx_ChangeinAccountingEstimateFinancialEffectNetIncome_172A3BF6C54FE93901089DDF5832607F" 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>
