<?xml version="1.0" encoding="US-ASCII"?>
<!--XBRL Document Created with Wdesk from Workiva, formerly WebFilings-->
<!-- -->
<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-20150331.xsd#AcquisitionsDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/AcquisitionsNarrativeDetails" xlink:href="mtrx-20150331.xsd#AcquisitionsNarrativeDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/AcquisitionsNotes" xlink:href="mtrx-20150331.xsd#AcquisitionsNotes" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/AcquisitionsProFormaInformationDetails" xlink:href="mtrx-20150331.xsd#AcquisitionsProFormaInformationDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/AcquisitionsTables" xlink:href="mtrx-20150331.xsd#AcquisitionsTables" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/BasisOfPresentationNotes" xlink:href="mtrx-20150331.xsd#BasisOfPresentationNotes" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/CommitmentsAndContingenciesAdditionalInformationDetail" xlink:href="mtrx-20150331.xsd#CommitmentsAndContingenciesAdditionalInformationDetail" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/CommitmentsAndContingenciesNotes" xlink:href="mtrx-20150331.xsd#CommitmentsAndContingenciesNotes" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/CondensedConsolidatedBalanceSheets" xlink:href="mtrx-20150331.xsd#CondensedConsolidatedBalanceSheets" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/CondensedConsolidatedBalanceSheetsParenthetical" xlink:href="mtrx-20150331.xsd#CondensedConsolidatedBalanceSheetsParenthetical" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/CondensedConsolidatedStatementsOfCashFlows" xlink:href="mtrx-20150331.xsd#CondensedConsolidatedStatementsOfCashFlows" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/CondensedConsolidatedStatementsOfChangesInStockholdersEquity" xlink:href="mtrx-20150331.xsd#CondensedConsolidatedStatementsOfChangesInStockholdersEquity" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/CondensedConsolidatedStatementsOfChangesInStockholdersEquityParenthetical" xlink:href="mtrx-20150331.xsd#CondensedConsolidatedStatementsOfChangesInStockholdersEquityParenthetical" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/CondensedConsolidatedStatementsOfComprehensiveIncome" xlink:href="mtrx-20150331.xsd#CondensedConsolidatedStatementsOfComprehensiveIncome" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/CondensedConsolidatedStatementsOfIncome" xlink:href="mtrx-20150331.xsd#CondensedConsolidatedStatementsOfIncome" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/DebtAdditionalInformationDetail" xlink:href="mtrx-20150331.xsd#DebtAdditionalInformationDetail" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/DebtAvailabilityUnderSeniorCreditFacilityDetails" xlink:href="mtrx-20150331.xsd#DebtAvailabilityUnderSeniorCreditFacilityDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/DebtNotes" xlink:href="mtrx-20150331.xsd#DebtNotes" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/DebtTables" xlink:href="mtrx-20150331.xsd#DebtTables" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/DocumentAndEntityInformation" xlink:href="mtrx-20150331.xsd#DocumentAndEntityInformation" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/EarningsPerCommonShareAntidilutiveSecuritiesExcludedFromCalculationOfDilutedEarningsPerShareDetails" xlink:href="mtrx-20150331.xsd#EarningsPerCommonShareAntidilutiveSecuritiesExcludedFromCalculationOfDilutedEarningsPerShareDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/EarningsPerCommonShareComputationOfBasicAndDilutedEarningsPerShareDetails" xlink:href="mtrx-20150331.xsd#EarningsPerCommonShareComputationOfBasicAndDilutedEarningsPerShareDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/EarningsPerCommonShareNotes" xlink:href="mtrx-20150331.xsd#EarningsPerCommonShareNotes" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/EarningsPerCommonShareTables" xlink:href="mtrx-20150331.xsd#EarningsPerCommonShareTables" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/IncomeTaxesIncomeTaxesDetails" xlink:href="mtrx-20150331.xsd#IncomeTaxesIncomeTaxesDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/IncomeTaxesNotes" xlink:href="mtrx-20150331.xsd#IncomeTaxesNotes" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/IncomeTaxesPolicies" xlink:href="mtrx-20150331.xsd#IncomeTaxesPolicies" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/IntangibleAssetsIncludingGoodwillAdditionalInformationDetail" xlink:href="mtrx-20150331.xsd#IntangibleAssetsIncludingGoodwillAdditionalInformationDetail" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/IntangibleAssetsIncludingGoodwillCarryingValueOfGoodwillBySegmentDetails" xlink:href="mtrx-20150331.xsd#IntangibleAssetsIncludingGoodwillCarryingValueOfGoodwillBySegmentDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/IntangibleAssetsIncludingGoodwillCarryingValueOfOtherIntangibleAssetsDetails" xlink:href="mtrx-20150331.xsd#IntangibleAssetsIncludingGoodwillCarryingValueOfOtherIntangibleAssetsDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/IntangibleAssetsIncludingGoodwillFutureExpectedAmortizationExpenseDetails" xlink:href="mtrx-20150331.xsd#IntangibleAssetsIncludingGoodwillFutureExpectedAmortizationExpenseDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/IntangibleAssetsIncludingGoodwillNotes" xlink:href="mtrx-20150331.xsd#IntangibleAssetsIncludingGoodwillNotes" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/IntangibleAssetsIncludingGoodwillTables" xlink:href="mtrx-20150331.xsd#IntangibleAssetsIncludingGoodwillTables" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/SegmentInformationNotes" xlink:href="mtrx-20150331.xsd#SegmentInformationNotes" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/SegmentInformationResultsOfOperationsDetails" xlink:href="mtrx-20150331.xsd#SegmentInformationResultsOfOperationsDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/SegmentInformationTables" xlink:href="mtrx-20150331.xsd#SegmentInformationTables" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/UncompletedContractsAdditionalInformationDetail" xlink:href="mtrx-20150331.xsd#UncompletedContractsAdditionalInformationDetail" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/UncompletedContractsGrossAndNetAmountsOfUncompletedContractsDetails" xlink:href="mtrx-20150331.xsd#UncompletedContractsGrossAndNetAmountsOfUncompletedContractsDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/UncompletedContractsNotes" xlink:href="mtrx-20150331.xsd#UncompletedContractsNotes" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/UncompletedContractsTables" xlink:href="mtrx-20150331.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/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_BusinessAcquisitionLineItems" xlink:label="loc_us-gaap_BusinessAcquisitionLineItems_C961FAC5D53B63DA924D2F636AAC8641" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_8E852382D1FEE2F7FB342F636AAB4691" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_C961FAC5D53B63DA924D2F636AAC8641" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_8E852382D1FEE2F7FB342F636AAB4691" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_17BECA29F05F61C8A6A52F636AAB3D9F" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_8E852382D1FEE2F7FB342F636AAB4691" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_17BECA29F05F61C8A6A52F636AAB3D9F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_A05764935A85804A76672F636AAC37F2_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_17BECA29F05F61C8A6A52F636AAB3D9F" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_A05764935A85804A76672F636AAC37F2_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_A05764935A85804A76672F636AAC37F2" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_17BECA29F05F61C8A6A52F636AAB3D9F" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_A05764935A85804A76672F636AAC37F2" xlink:type="arc" />
    <loc xlink:href="mtrx-20150331.xsd#mtrx_HDBInc.Member" xlink:label="loc_mtrx_HDBInc.Member_3FC65D1E288BD7C223B32F636AACD3D8" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_A05764935A85804A76672F636AAC37F2" xlink:to="loc_mtrx_HDBInc.Member_3FC65D1E288BD7C223B32F636AACD3D8" xlink:type="arc" />
    <loc xlink:href="mtrx-20150331.xsd#mtrx_KvaernerNorthAmericanConstructionMember" xlink:label="loc_mtrx_KvaernerNorthAmericanConstructionMember_1CA27E80B446F9545D7F2F636AAC894B" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_A05764935A85804A76672F636AAC37F2" xlink:to="loc_mtrx_KvaernerNorthAmericanConstructionMember_1CA27E80B446F9545D7F2F636AAC894B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_BusinessAcquisitionNameOfAcquiredEntity" xlink:label="loc_us-gaap_BusinessAcquisitionNameOfAcquiredEntity_15E041D8F45DDF5ACCF32F636AACE285" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_C961FAC5D53B63DA924D2F636AAC8641" xlink:to="loc_us-gaap_BusinessAcquisitionNameOfAcquiredEntity_15E041D8F45DDF5ACCF32F636AACE285" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssets" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssets_297404531D97498BC3212F636AAC3B19" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_C961FAC5D53B63DA924D2F636AAC8641" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssets_297404531D97498BC3212F636AAC3B19" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment_90E5F5655F0AD0784E9C2F636AACA764" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_C961FAC5D53B63DA924D2F636AAC8641" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment_90E5F5655F0AD0784E9C2F636AACA764" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_Goodwill" xlink:label="loc_us-gaap_Goodwill_7895A23F54A774B4C9352F636AACC81F" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_C961FAC5D53B63DA924D2F636AAC8641" xlink:to="loc_us-gaap_Goodwill_7895A23F54A774B4C9352F636AACC81F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles_E341E98C49E4ABC1387A2F636AACD377" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_C961FAC5D53B63DA924D2F636AAC8641" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles_E341E98C49E4ABC1387A2F636AACD377" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets_AFD9F1A4918DA492B3A22F636AAC57FA" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_C961FAC5D53B63DA924D2F636AAC8641" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets_AFD9F1A4918DA492B3A22F636AAC57FA" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilities" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilities_A06B51A258D4DA2000102F636AAC43E5" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_C961FAC5D53B63DA924D2F636AAC8641" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilities_A06B51A258D4DA2000102F636AAC43E5" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilitiesNoncurrent" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilitiesNoncurrent_E02C8932769DB08324A02F636AAC54D6" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_C961FAC5D53B63DA924D2F636AAC8641" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilitiesNoncurrent_E02C8932769DB08324A02F636AAC54D6" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_MinorityInterestInJointVentures" xlink:label="loc_us-gaap_MinorityInterestInJointVentures_D3F6DB4C402929425EE52F636AACC9B9" xlink:type="locator" />
    <definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_C961FAC5D53B63DA924D2F636AAC8641" xlink:to="loc_us-gaap_MinorityInterestInJointVentures_D3F6DB4C402929425EE52F636AACC9B9" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_3C6229022F495B06D5082F636AAC3FB0" xlink:type="locator" />
    <definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_C961FAC5D53B63DA924D2F636AAC8641" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_3C6229022F495B06D5082F636AAC3FB0" xlink:type="arc" />
    <loc xlink:href="mtrx-20150331.xsd#mtrx_Mtrx_BusinessAcquisitionPurchasePriceAllocationCurrentAssetsCash" xlink:label="loc_mtrx_Mtrx_BusinessAcquisitionPurchasePriceAllocationCurrentAssetsCash_225C2F10FCFC8A3331C82F636AAC0D96" xlink:type="locator" />
    <definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_C961FAC5D53B63DA924D2F636AAC8641" xlink:to="loc_mtrx_Mtrx_BusinessAcquisitionPurchasePriceAllocationCurrentAssetsCash_225C2F10FCFC8A3331C82F636AAC0D96" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired" xlink:label="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_8A95370EA222222601EC2F636AAD8FC4" xlink:type="locator" />
    <definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_C961FAC5D53B63DA924D2F636AAC8641" xlink:to="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_8A95370EA222222601EC2F636AAD8FC4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_BusinessAcquisitionPurchasePriceAllocationGoodwillExpectedTaxDeductibleAmount" xlink:label="loc_us-gaap_BusinessAcquisitionPurchasePriceAllocationGoodwillExpectedTaxDeductibleAmount_0C2B57C9C1716235D30D2F636AAD362C" xlink:type="locator" />
    <definitionArc order="13" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_C961FAC5D53B63DA924D2F636AAC8641" xlink:to="loc_us-gaap_BusinessAcquisitionPurchasePriceAllocationGoodwillExpectedTaxDeductibleAmount_0C2B57C9C1716235D30D2F636AAD362C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_BusinessCombinationConsiderationTransferred1" xlink:label="loc_us-gaap_BusinessCombinationConsiderationTransferred1_50C12B6D48B7418013A02F636AAD5E68" xlink:type="locator" />
    <definitionArc order="14" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_C961FAC5D53B63DA924D2F636AAC8641" xlink:to="loc_us-gaap_BusinessCombinationConsiderationTransferred1_50C12B6D48B7418013A02F636AAD5E68" 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/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_BusinessAcquisitionLineItems" xlink:label="loc_us-gaap_BusinessAcquisitionLineItems_0EC0A2C6805A689F94A0713DB99E7B8F" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_BFAC3CB78DDC812C866E713DB99EDA26" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_0EC0A2C6805A689F94A0713DB99E7B8F" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_BFAC3CB78DDC812C866E713DB99EDA26" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_56F10ED82994C74B1D31713DB99E5627" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_BFAC3CB78DDC812C866E713DB99EDA26" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_56F10ED82994C74B1D31713DB99E5627" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_655E39F501FB50071CE0713DB99EF25A_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_56F10ED82994C74B1D31713DB99E5627" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_655E39F501FB50071CE0713DB99EF25A_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_655E39F501FB50071CE0713DB99EF25A" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_56F10ED82994C74B1D31713DB99E5627" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_655E39F501FB50071CE0713DB99EF25A" xlink:type="arc" />
    <loc xlink:href="mtrx-20150331.xsd#mtrx_SMElectricTradeNameMember" xlink:label="loc_mtrx_SMElectricTradeNameMember_7046A6F21306526DDF2C713DB99ECBBF" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_655E39F501FB50071CE0713DB99EF25A" xlink:to="loc_mtrx_SMElectricTradeNameMember_7046A6F21306526DDF2C713DB99ECBBF" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_E7D13D88AB9CEC990606713DB99EBBF5" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_BFAC3CB78DDC812C866E713DB99EDA26" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_E7D13D88AB9CEC990606713DB99EBBF5" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_77FF447FC4C9A3395E55713DB99E3B4D_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_E7D13D88AB9CEC990606713DB99EBBF5" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_77FF447FC4C9A3395E55713DB99E3B4D_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_77FF447FC4C9A3395E55713DB99E3B4D" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_E7D13D88AB9CEC990606713DB99EBBF5" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_77FF447FC4C9A3395E55713DB99E3B4D" xlink:type="arc" />
    <loc xlink:href="mtrx-20150331.xsd#mtrx_HDBInc.Member" xlink:label="loc_mtrx_HDBInc.Member_82A57E7DB5055A55D61C713DB99EBDD2" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_77FF447FC4C9A3395E55713DB99E3B4D" xlink:to="loc_mtrx_HDBInc.Member_82A57E7DB5055A55D61C713DB99EBDD2" xlink:type="arc" />
    <loc xlink:href="mtrx-20150331.xsd#mtrx_KvaernerNorthAmericanConstructionMember" xlink:label="loc_mtrx_KvaernerNorthAmericanConstructionMember_B57283E3A9BA50D895C0713DB99EECBA" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_77FF447FC4C9A3395E55713DB99E3B4D" xlink:to="loc_mtrx_KvaernerNorthAmericanConstructionMember_B57283E3A9BA50D895C0713DB99EECBA" xlink:type="arc" />
    <loc xlink:href="mtrx-20150331.xsd#mtrx_MatrixNACMember" xlink:label="loc_mtrx_MatrixNACMember_709378B0B8649F390ECA713DB99EF115" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_77FF447FC4C9A3395E55713DB99E3B4D" xlink:to="loc_mtrx_MatrixNACMember_709378B0B8649F390ECA713DB99EF115" xlink:type="arc" />
    <loc xlink:href="mtrx-20150331.xsd#mtrx_PelichemIndustrialCleaningServicesLlcMember" xlink:label="loc_mtrx_PelichemIndustrialCleaningServicesLlcMember_C8E783644C133D21111C713DB99E8150" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_77FF447FC4C9A3395E55713DB99E3B4D" xlink:to="loc_mtrx_PelichemIndustrialCleaningServicesLlcMember_C8E783644C133D21111C713DB99E8150" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_FiniteLivedTradeNamesGross" xlink:label="loc_us-gaap_FiniteLivedTradeNamesGross_032CF4D055AD7AF1141B713DB99E596F" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_0EC0A2C6805A689F94A0713DB99E7B8F" xlink:to="loc_us-gaap_FiniteLivedTradeNamesGross_032CF4D055AD7AF1141B713DB99E596F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_BusinessAcquisitionEffectiveDateOfAcquisition1" xlink:label="loc_us-gaap_BusinessAcquisitionEffectiveDateOfAcquisition1_E5B8334F49064AEEEF5D713DB99EC7D3" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_0EC0A2C6805A689F94A0713DB99E7B8F" xlink:to="loc_us-gaap_BusinessAcquisitionEffectiveDateOfAcquisition1_E5B8334F49064AEEEF5D713DB99EC7D3" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_BusinessAcquisitionPercentageOfVotingInterestsAcquired" xlink:label="loc_us-gaap_BusinessAcquisitionPercentageOfVotingInterestsAcquired_6B52FC636E71BD24D677713DB99E5411" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_0EC0A2C6805A689F94A0713DB99E7B8F" xlink:to="loc_us-gaap_BusinessAcquisitionPercentageOfVotingInterestsAcquired_6B52FC636E71BD24D677713DB99E5411" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_BusinessAcquisitionNameOfAcquiredEntity" xlink:label="loc_us-gaap_BusinessAcquisitionNameOfAcquiredEntity_D69D6CF11675B624B6D6713DB99EA09C" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_0EC0A2C6805A689F94A0713DB99E7B8F" xlink:to="loc_us-gaap_BusinessAcquisitionNameOfAcquiredEntity_D69D6CF11675B624B6D6713DB99EA09C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_BusinessCombinationConsiderationTransferred1" xlink:label="loc_us-gaap_BusinessCombinationConsiderationTransferred1_B670EFC11381CA1A6BD4713DB99E0215" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_0EC0A2C6805A689F94A0713DB99E7B8F" xlink:to="loc_us-gaap_BusinessCombinationConsiderationTransferred1_B670EFC11381CA1A6BD4713DB99E0215" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_Goodwill" xlink:label="loc_us-gaap_Goodwill_CA47A44DE63F7F264773713DB99EA8EF" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_0EC0A2C6805A689F94A0713DB99E7B8F" xlink:to="loc_us-gaap_Goodwill_CA47A44DE63F7F264773713DB99EA8EF" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_BusinessAcquisitionPurchasePriceAllocationGoodwillExpectedTaxDeductibleAmount" xlink:label="loc_us-gaap_BusinessAcquisitionPurchasePriceAllocationGoodwillExpectedTaxDeductibleAmount_A50596E360679787189C713DB99E1DE3" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_0EC0A2C6805A689F94A0713DB99E7B8F" xlink:to="loc_us-gaap_BusinessAcquisitionPurchasePriceAllocationGoodwillExpectedTaxDeductibleAmount_A50596E360679787189C713DB99E1DE3" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_MinorityInterestDescription" xlink:label="loc_us-gaap_MinorityInterestDescription_DF1A96A1505CDA6EAD0A713DB99E4B54" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_0EC0A2C6805A689F94A0713DB99E7B8F" xlink:to="loc_us-gaap_MinorityInterestDescription_DF1A96A1505CDA6EAD0A713DB99E4B54" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_MinorityInterestOwnershipPercentageByParent" xlink:label="loc_us-gaap_MinorityInterestOwnershipPercentageByParent_C4B3DDCD534CA4E1BFCA713DB99E0A2C" xlink:type="locator" />
    <definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_0EC0A2C6805A689F94A0713DB99E7B8F" xlink:to="loc_us-gaap_MinorityInterestOwnershipPercentageByParent_C4B3DDCD534CA4E1BFCA713DB99E0A2C" xlink:type="arc" />
    <loc xlink:href="mtrx-20150331.xsd#mtrx_Mtrx_JointVentureValue" xlink:label="loc_mtrx_Mtrx_JointVentureValue_20870F0E9DF734272AD6713DB99E1048" xlink:type="locator" />
    <definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_0EC0A2C6805A689F94A0713DB99E7B8F" xlink:to="loc_mtrx_Mtrx_JointVentureValue_20870F0E9DF734272AD6713DB99E1048" xlink:type="arc" />
    <loc xlink:href="mtrx-20150331.xsd#mtrx_Mtrx_ControllingInterestOfJointVentureValue" xlink:label="loc_mtrx_Mtrx_ControllingInterestOfJointVentureValue_992B6E37D07B18154E50713DB99EC571" xlink:type="locator" />
    <definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_0EC0A2C6805A689F94A0713DB99E7B8F" xlink:to="loc_mtrx_Mtrx_ControllingInterestOfJointVentureValue_992B6E37D07B18154E50713DB99EC571" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_MinorityInterestInJointVentures" xlink:label="loc_us-gaap_MinorityInterestInJointVentures_1D4AC5E72A7DF8AF314D713DB99E8D73" xlink:type="locator" />
    <definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_0EC0A2C6805A689F94A0713DB99E7B8F" xlink:to="loc_us-gaap_MinorityInterestInJointVentures_1D4AC5E72A7DF8AF314D713DB99E8D73" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_SalesRevenueServicesNet" xlink:label="loc_us-gaap_SalesRevenueServicesNet_8389DDDF0896DC08CCF6713DB99E5B34" xlink:type="locator" />
    <definitionArc order="13" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_0EC0A2C6805A689F94A0713DB99E7B8F" xlink:to="loc_us-gaap_SalesRevenueServicesNet_8389DDDF0896DC08CCF6713DB99E5B34" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_OperatingIncomeLoss" xlink:label="loc_us-gaap_OperatingIncomeLoss_E4F82BF214483685E149713DB99E994F" xlink:type="locator" />
    <definitionArc order="14" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_0EC0A2C6805A689F94A0713DB99E7B8F" xlink:to="loc_us-gaap_OperatingIncomeLoss_E4F82BF214483685E149713DB99E994F" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/AcquisitionsNotes" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/AcquisitionsProFormaInformationDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_BusinessAcquisitionLineItems" xlink:label="loc_us-gaap_BusinessAcquisitionLineItems_91FF4278A8A3FDD9B0FB713DBA16BC37" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_24E9E2551D1B83C59736713DBA167075" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_91FF4278A8A3FDD9B0FB713DBA16BC37" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_24E9E2551D1B83C59736713DBA167075" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_NonrecurringAdjustmentAxis" xlink:label="loc_us-gaap_NonrecurringAdjustmentAxis_62F58FBBF5DA3223FEB9713DBA16ACCC" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_24E9E2551D1B83C59736713DBA167075" xlink:to="loc_us-gaap_NonrecurringAdjustmentAxis_62F58FBBF5DA3223FEB9713DBA16ACCC" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_NonrecurringAdjustmentDomain" xlink:label="loc_us-gaap_NonrecurringAdjustmentDomain_C82F0357E3B29973316A713DBA164C26_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_NonrecurringAdjustmentAxis_62F58FBBF5DA3223FEB9713DBA16ACCC" xlink:to="loc_us-gaap_NonrecurringAdjustmentDomain_C82F0357E3B29973316A713DBA164C26_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_NonrecurringAdjustmentDomain" xlink:label="loc_us-gaap_NonrecurringAdjustmentDomain_C82F0357E3B29973316A713DBA164C26" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_NonrecurringAdjustmentAxis_62F58FBBF5DA3223FEB9713DBA16ACCC" xlink:to="loc_us-gaap_NonrecurringAdjustmentDomain_C82F0357E3B29973316A713DBA164C26" xlink:type="arc" />
    <loc xlink:href="mtrx-20150331.xsd#mtrx_AdjustmentforAmortizationExpenseMember" xlink:label="loc_mtrx_AdjustmentforAmortizationExpenseMember_686ECC3286D7398694F9713DBA166468" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NonrecurringAdjustmentDomain_C82F0357E3B29973316A713DBA164C26" xlink:to="loc_mtrx_AdjustmentforAmortizationExpenseMember_686ECC3286D7398694F9713DBA166468" xlink:type="arc" />
    <loc xlink:href="mtrx-20150331.xsd#mtrx_AdjustmentforDepreciationExpenseMember" xlink:label="loc_mtrx_AdjustmentforDepreciationExpenseMember_BAD07A179250631C7ABC713DBA163C14" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NonrecurringAdjustmentDomain_C82F0357E3B29973316A713DBA164C26" xlink:to="loc_mtrx_AdjustmentforDepreciationExpenseMember_BAD07A179250631C7ABC713DBA163C14" xlink:type="arc" />
    <loc xlink:href="mtrx-20150331.xsd#mtrx_AdjustmentforIncrementalIntangibleAmortizationExpenseMember" xlink:label="loc_mtrx_AdjustmentforIncrementalIntangibleAmortizationExpenseMember_00B33C338B66143351DA713DBA1660D9" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NonrecurringAdjustmentDomain_C82F0357E3B29973316A713DBA164C26" xlink:to="loc_mtrx_AdjustmentforIncrementalIntangibleAmortizationExpenseMember_00B33C338B66143351DA713DBA1660D9" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_AcquisitionRelatedCostsMember" xlink:label="loc_us-gaap_AcquisitionRelatedCostsMember_70CBF877E11FF95823CB713DBA160665" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NonrecurringAdjustmentDomain_C82F0357E3B29973316A713DBA164C26" xlink:to="loc_us-gaap_AcquisitionRelatedCostsMember_70CBF877E11FF95823CB713DBA160665" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_D890F0195345AB61737C713DBA162BF7" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_24E9E2551D1B83C59736713DBA167075" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_D890F0195345AB61737C713DBA162BF7" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_E9CAF51EE589F5FAD94C713DBA16C119_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_D890F0195345AB61737C713DBA162BF7" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_E9CAF51EE589F5FAD94C713DBA16C119_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_E9CAF51EE589F5FAD94C713DBA16C119" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_D890F0195345AB61737C713DBA162BF7" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_E9CAF51EE589F5FAD94C713DBA16C119" xlink:type="arc" />
    <loc xlink:href="mtrx-20150331.xsd#mtrx_KvaernerNorthAmericanConstructionMember" xlink:label="loc_mtrx_KvaernerNorthAmericanConstructionMember_CE8A3D9053F540456F78713DBA16908C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_E9CAF51EE589F5FAD94C713DBA16C119" xlink:to="loc_mtrx_KvaernerNorthAmericanConstructionMember_CE8A3D9053F540456F78713DBA16908C" xlink:type="arc" />
    <loc xlink:href="mtrx-20150331.xsd#mtrx_MatrixNACMember" xlink:label="loc_mtrx_MatrixNACMember_8DBFFE452FD245649739713DBA16ECD3" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_E9CAF51EE589F5FAD94C713DBA16C119" xlink:to="loc_mtrx_MatrixNACMember_8DBFFE452FD245649739713DBA16ECD3" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_BusinessAcquisitionsProFormaRevenue" xlink:label="loc_us-gaap_BusinessAcquisitionsProFormaRevenue_B99049AC11671F1F7CC2713DBA163881" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_91FF4278A8A3FDD9B0FB713DBA16BC37" xlink:to="loc_us-gaap_BusinessAcquisitionsProFormaRevenue_B99049AC11671F1F7CC2713DBA163881" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_BusinessAcquisitionsProFormaNetIncomeLoss" xlink:label="loc_us-gaap_BusinessAcquisitionsProFormaNetIncomeLoss_366C9653BE8385B3E678713DBA16A687" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_91FF4278A8A3FDD9B0FB713DBA16BC37" xlink:to="loc_us-gaap_BusinessAcquisitionsProFormaNetIncomeLoss_366C9653BE8385B3E678713DBA16A687" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_BusinessAcquisitionProFormaEarningsPerShareBasic" xlink:label="loc_us-gaap_BusinessAcquisitionProFormaEarningsPerShareBasic_D95432D4B230CFF12EF3713DBA16DE00" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_91FF4278A8A3FDD9B0FB713DBA16BC37" xlink:to="loc_us-gaap_BusinessAcquisitionProFormaEarningsPerShareBasic_D95432D4B230CFF12EF3713DBA16DE00" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_BusinessAcquisitionProFormaEarningsPerShareDiluted" xlink:label="loc_us-gaap_BusinessAcquisitionProFormaEarningsPerShareDiluted_A693DFD47B5B46389D3A713DBA16A36E" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_91FF4278A8A3FDD9B0FB713DBA16BC37" xlink:to="loc_us-gaap_BusinessAcquisitionProFormaEarningsPerShareDiluted_A693DFD47B5B46389D3A713DBA16A36E" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/AcquisitionsTables" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_BusinessAcquisitionProFormaInformationNonrecurringAdjustmentLineItems" xlink:label="loc_us-gaap_BusinessAcquisitionProFormaInformationNonrecurringAdjustmentLineItems_CEE7728DD2A3ADF5D42D713DBA20F4D9" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_BusinessAcquisitionProFormaInformationNonrecurringAdjustmentsTable" xlink:label="loc_us-gaap_BusinessAcquisitionProFormaInformationNonrecurringAdjustmentsTable_FC0CC46A22FBBDD9ACDA713DBA206DF0" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionProFormaInformationNonrecurringAdjustmentLineItems_CEE7728DD2A3ADF5D42D713DBA20F4D9" xlink:to="loc_us-gaap_BusinessAcquisitionProFormaInformationNonrecurringAdjustmentsTable_FC0CC46A22FBBDD9ACDA713DBA206DF0" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_7C609A449C0BE4646AE9713DBA200FE8" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_BusinessAcquisitionProFormaInformationNonrecurringAdjustmentsTable_FC0CC46A22FBBDD9ACDA713DBA206DF0" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_7C609A449C0BE4646AE9713DBA200FE8" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_45AB0340FAA068056836713DBA200191_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_7C609A449C0BE4646AE9713DBA200FE8" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_45AB0340FAA068056836713DBA200191_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_45AB0340FAA068056836713DBA200191" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_7C609A449C0BE4646AE9713DBA200FE8" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_45AB0340FAA068056836713DBA200191" xlink:type="arc" />
    <loc xlink:href="mtrx-20150331.xsd#mtrx_HDBInc.Member" xlink:label="loc_mtrx_HDBInc.Member_B44860BC4BF87A3B9266713DBA201E21" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_45AB0340FAA068056836713DBA200191" xlink:to="loc_mtrx_HDBInc.Member_B44860BC4BF87A3B9266713DBA201E21" xlink:type="arc" />
    <loc xlink:href="mtrx-20150331.xsd#mtrx_KvaernerNorthAmericanConstructionMember" xlink:label="loc_mtrx_KvaernerNorthAmericanConstructionMember_E733881CD228D2177E24713DBA208A24" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_45AB0340FAA068056836713DBA200191" xlink:to="loc_mtrx_KvaernerNorthAmericanConstructionMember_E733881CD228D2177E24713DBA208A24" xlink:type="arc" />
    <loc xlink:href="mtrx-20150331.xsd#mtrx_PelichemIndustrialCleaningServicesLlcMember" xlink:label="loc_mtrx_PelichemIndustrialCleaningServicesLlcMember_28675C5D3F0A750DE734713DBA20405F" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_45AB0340FAA068056836713DBA200191" xlink:to="loc_mtrx_PelichemIndustrialCleaningServicesLlcMember_28675C5D3F0A750DE734713DBA20405F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ScheduleOfRecognizedIdentifiedAssetsAcquiredAndLiabilitiesAssumedTableTextBlock" xlink:label="loc_us-gaap_ScheduleOfRecognizedIdentifiedAssetsAcquiredAndLiabilitiesAssumedTableTextBlock_0310FBF8266B0F03B63F713DBA20ECE5" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionProFormaInformationNonrecurringAdjustmentLineItems_CEE7728DD2A3ADF5D42D713DBA20F4D9" xlink:to="loc_us-gaap_ScheduleOfRecognizedIdentifiedAssetsAcquiredAndLiabilitiesAssumedTableTextBlock_0310FBF8266B0F03B63F713DBA20ECE5" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_BusinessAcquisitionProFormaInformationTextBlock" xlink:label="loc_us-gaap_BusinessAcquisitionProFormaInformationTextBlock_1E27FF83C2E1A9E21D16713DBA209EDB" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionProFormaInformationNonrecurringAdjustmentLineItems_CEE7728DD2A3ADF5D42D713DBA20F4D9" xlink:to="loc_us-gaap_BusinessAcquisitionProFormaInformationTextBlock_1E27FF83C2E1A9E21D16713DBA209EDB" xlink:type="arc" />
  </definitionLink>
  <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/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaap_StatementLineItems_A017C3C39AD1437F77DC26146FA7E397" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaap_StatementTable_0519674590B4EAD8288826146FA73111" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_A017C3C39AD1437F77DC26146FA7E397" xlink:to="loc_us-gaap_StatementTable_0519674590B4EAD8288826146FA73111" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_StatementEquityComponentsAxis" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_09060AFE136416C1496826146FA7C90D" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_0519674590B4EAD8288826146FA73111" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_09060AFE136416C1496826146FA7C90D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_D538F55C2663B31E607A26146FA78CBD_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_09060AFE136416C1496826146FA7C90D" xlink:to="loc_us-gaap_EquityComponentDomain_D538F55C2663B31E607A26146FA78CBD_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_D538F55C2663B31E607A26146FA78CBD" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_09060AFE136416C1496826146FA7C90D" xlink:to="loc_us-gaap_EquityComponentDomain_D538F55C2663B31E607A26146FA78CBD" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_CommonStockMember" xlink:label="loc_us-gaap_CommonStockMember_386DBAD8C385A601F02D26146FA7185E" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_D538F55C2663B31E607A26146FA78CBD" xlink:to="loc_us-gaap_CommonStockMember_386DBAD8C385A601F02D26146FA7185E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_AdditionalPaidInCapitalMember" xlink:label="loc_us-gaap_AdditionalPaidInCapitalMember_64AC0426EA436319BED726146FA776BF" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_D538F55C2663B31E607A26146FA78CBD" xlink:to="loc_us-gaap_AdditionalPaidInCapitalMember_64AC0426EA436319BED726146FA776BF" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_RetainedEarningsMember" xlink:label="loc_us-gaap_RetainedEarningsMember_EFECC8FDF2436479838826146FA76AD0" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_D538F55C2663B31E607A26146FA78CBD" xlink:to="loc_us-gaap_RetainedEarningsMember_EFECC8FDF2436479838826146FA76AD0" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_TreasuryStockMember" xlink:label="loc_us-gaap_TreasuryStockMember_CCA81541F14A5908EB0726146FA7187C" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_D538F55C2663B31E607A26146FA78CBD" xlink:to="loc_us-gaap_TreasuryStockMember_CCA81541F14A5908EB0726146FA7187C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeMember" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_592E10C19D9C6875C31B26146FA7BF3F" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_D538F55C2663B31E607A26146FA78CBD" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_592E10C19D9C6875C31B26146FA7BF3F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_NoncontrollingInterestMember" xlink:label="loc_us-gaap_NoncontrollingInterestMember_2C5EB02DEC14E8C4A45326146FA74C3E" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_D538F55C2663B31E607A26146FA78CBD" xlink:to="loc_us-gaap_NoncontrollingInterestMember_2C5EB02DEC14E8C4A45326146FA74C3E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_IncreaseDecreaseInStockholdersEquityRollForward" xlink:label="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_AA3C4BBBE03E9254EE0326146FA764E1" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_A017C3C39AD1437F77DC26146FA7E397" xlink:to="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_AA3C4BBBE03E9254EE0326146FA764E1" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_DE317D65F6B4E350B94C26146FA7D528" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_AA3C4BBBE03E9254EE0326146FA764E1" xlink:to="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_DE317D65F6B4E350B94C26146FA7D528" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ProfitLoss" xlink:label="loc_us-gaap_ProfitLoss_F46B1096EBF4629344C626146FA703FE" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_AA3C4BBBE03E9254EE0326146FA764E1" xlink:to="loc_us-gaap_ProfitLoss_F46B1096EBF4629344C626146FA703FE" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_DB192CA955E644D8E7B026146FA7ED74" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_AA3C4BBBE03E9254EE0326146FA764E1" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_DB192CA955E644D8E7B026146FA7ED74" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_PaymentsToAcquireInterestInJointVenture" xlink:label="loc_us-gaap_PaymentsToAcquireInterestInJointVenture_541363B9102168CBB4EE26146FA7F336" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_AA3C4BBBE03E9254EE0326146FA764E1" xlink:to="loc_us-gaap_PaymentsToAcquireInterestInJointVenture_541363B9102168CBB4EE26146FA7F336" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_NoncontrollingInterestIncreaseFromBusinessCombination" xlink:label="loc_us-gaap_NoncontrollingInterestIncreaseFromBusinessCombination_1F28CC7794EDCC426F8626146FA72AA1" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_AA3C4BBBE03E9254EE0326146FA764E1" xlink:to="loc_us-gaap_NoncontrollingInterestIncreaseFromBusinessCombination_1F28CC7794EDCC426F8626146FA72AA1" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised_4BC9C2DFE8A289BAA7A526146FA7ECEC" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_AA3C4BBBE03E9254EE0326146FA764E1" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised_4BC9C2DFE8A289BAA7A526146FA7ECEC" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_AdjustmentsToAdditionalPaidInCapitalTaxEffectFromShareBasedCompensation" xlink:label="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalTaxEffectFromShareBasedCompensation_FCE5A92BB5EBA3E7A3C826146FA71DFA" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_AA3C4BBBE03E9254EE0326146FA764E1" xlink:to="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalTaxEffectFromShareBasedCompensation_FCE5A92BB5EBA3E7A3C826146FA71DFA" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_AdjustmentsToAdditionalPaidInCapitalOther" xlink:label="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalOther_22753F2EB153A0BC134926146FA78B4F" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_AA3C4BBBE03E9254EE0326146FA764E1" xlink:to="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalOther_22753F2EB153A0BC134926146FA78B4F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_StockIssuedDuringPeriodValueEmployeeStockPurchasePlan" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueEmployeeStockPurchasePlan_F336714768712682809226146FA73AC1" xlink:type="locator" />
    <definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_AA3C4BBBE03E9254EE0326146FA764E1" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueEmployeeStockPurchasePlan_F336714768712682809226146FA73AC1" xlink:type="arc" />
    <loc xlink:href="mtrx-20150331.xsd#mtrx_OtherTreasurySharePurchases" xlink:label="loc_mtrx_OtherTreasurySharePurchases_823E8CAA42DCC43E74E726146FA7ACED" xlink:type="locator" />
    <definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_AA3C4BBBE03E9254EE0326146FA764E1" xlink:to="loc_mtrx_OtherTreasurySharePurchases_823E8CAA42DCC43E74E726146FA7ACED" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue" xlink:label="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_A654FBBC5ABFE2BB06C026146FA73C30" xlink:type="locator" />
    <definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_AA3C4BBBE03E9254EE0326146FA764E1" xlink:to="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_A654FBBC5ABFE2BB06C026146FA73C30" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_NoncontrollingInterestIncreaseFromSubsidiaryEquityIssuance" xlink:label="loc_us-gaap_NoncontrollingInterestIncreaseFromSubsidiaryEquityIssuance_79D981EC8ABC6226647A26153508E45D" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_A017C3C39AD1437F77DC26146FA7E397" xlink:to="loc_us-gaap_NoncontrollingInterestIncreaseFromSubsidiaryEquityIssuance_79D981EC8ABC6226647A26153508E45D" 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/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaap_StatementLineItems_6EB82735351960A80C79713DB9BC004A" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaap_StatementTable_7BC6E569BDE0111C8364713DB9BC7B2B" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_6EB82735351960A80C79713DB9BC004A" xlink:to="loc_us-gaap_StatementTable_7BC6E569BDE0111C8364713DB9BC7B2B" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_StatementEquityComponentsAxis" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_CBF4D9F3035BE953991E713DB9BC4F37" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_7BC6E569BDE0111C8364713DB9BC7B2B" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_CBF4D9F3035BE953991E713DB9BC4F37" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_8F4AB1967B985206D0D1713DB9BC5D81_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_CBF4D9F3035BE953991E713DB9BC4F37" xlink:to="loc_us-gaap_EquityComponentDomain_8F4AB1967B985206D0D1713DB9BC5D81_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_8F4AB1967B985206D0D1713DB9BC5D81" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_CBF4D9F3035BE953991E713DB9BC4F37" xlink:to="loc_us-gaap_EquityComponentDomain_8F4AB1967B985206D0D1713DB9BC5D81" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_AdditionalPaidInCapitalMember" xlink:label="loc_us-gaap_AdditionalPaidInCapitalMember_7C5A55FFF31BF9C6579B713DB9BC98DD" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_8F4AB1967B985206D0D1713DB9BC5D81" xlink:to="loc_us-gaap_AdditionalPaidInCapitalMember_7C5A55FFF31BF9C6579B713DB9BC98DD" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_TreasuryStockMember" xlink:label="loc_us-gaap_TreasuryStockMember_A8384584BCE33124B76E713DB9BC72A7" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_8F4AB1967B985206D0D1713DB9BC5D81" xlink:to="loc_us-gaap_TreasuryStockMember_A8384584BCE33124B76E713DB9BC72A7" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_6438209B128FB040974B713DB9BCF7E7" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_6EB82735351960A80C79713DB9BC004A" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_6438209B128FB040974B713DB9BCF7E7" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans_52B750C8E1AF66B1302B713DB9BC11D3" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_6EB82735351960A80C79713DB9BC004A" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans_52B750C8E1AF66B1302B713DB9BC11D3" xlink:type="arc" />
    <loc xlink:href="mtrx-20150331.xsd#mtrx_DeferredSharesIssued" xlink:label="loc_mtrx_DeferredSharesIssued_0407A36D6A26DB666B1B713DB9BC815E" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_6EB82735351960A80C79713DB9BC004A" xlink:to="loc_mtrx_DeferredSharesIssued_0407A36D6A26DB666B1B713DB9BC815E" xlink:type="arc" />
    <loc xlink:href="mtrx-20150331.xsd#mtrx_OtherTreasurySharesAcquired" xlink:label="loc_mtrx_OtherTreasurySharesAcquired_E81400612916F0F26596713DB9BC82D4" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_6EB82735351960A80C79713DB9BC004A" xlink:to="loc_mtrx_OtherTreasurySharesAcquired_E81400612916F0F26596713DB9BC82D4" 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/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems" xlink:label="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_740575EDA8B3F76BED75713DB9B2DE37" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ScheduleOfAcquiredIndefiniteLivedIntangibleAssetsByMajorClassTable" xlink:label="loc_us-gaap_ScheduleOfAcquiredIndefiniteLivedIntangibleAssetsByMajorClassTable_3CD7B27058EA2AE24C73713DB9B20414" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_740575EDA8B3F76BED75713DB9B2DE37" xlink:to="loc_us-gaap_ScheduleOfAcquiredIndefiniteLivedIntangibleAssetsByMajorClassTable_3CD7B27058EA2AE24C73713DB9B20414" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_VariableRateAxis" xlink:label="loc_us-gaap_VariableRateAxis_8D9851751E994B033B2C713DB9B2F2EF" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAcquiredIndefiniteLivedIntangibleAssetsByMajorClassTable_3CD7B27058EA2AE24C73713DB9B20414" xlink:to="loc_us-gaap_VariableRateAxis_8D9851751E994B033B2C713DB9B2F2EF" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_VariableRateDomain" xlink:label="loc_us-gaap_VariableRateDomain_1A853A41DFDD7801ECD1713DB9B2F43C_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_VariableRateAxis_8D9851751E994B033B2C713DB9B2F2EF" xlink:to="loc_us-gaap_VariableRateDomain_1A853A41DFDD7801ECD1713DB9B2F43C_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_VariableRateDomain" xlink:label="loc_us-gaap_VariableRateDomain_1A853A41DFDD7801ECD1713DB9B2F43C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_VariableRateAxis_8D9851751E994B033B2C713DB9B2F2EF" xlink:to="loc_us-gaap_VariableRateDomain_1A853A41DFDD7801ECD1713DB9B2F43C" xlink:type="arc" />
    <loc xlink:href="mtrx-20150331.xsd#mtrx_CdorRateMember" xlink:label="loc_mtrx_CdorRateMember_423420B80502E23A196D713DB9B26584" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableRateDomain_1A853A41DFDD7801ECD1713DB9B2F43C" xlink:to="loc_mtrx_CdorRateMember_423420B80502E23A196D713DB9B26584" xlink:type="arc" />
    <loc xlink:href="mtrx-20150331.xsd#mtrx_CanadianPrimeRateMember" xlink:label="loc_mtrx_CanadianPrimeRateMember_3280154A4D97CC4D8765713DB9B2AD6E" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableRateDomain_1A853A41DFDD7801ECD1713DB9B2F43C" xlink:to="loc_mtrx_CanadianPrimeRateMember_3280154A4D97CC4D8765713DB9B2AD6E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_RangeAxis" xlink:label="loc_us-gaap_RangeAxis_096DBD747F89661A98CC713DB9B2F73C" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAcquiredIndefiniteLivedIntangibleAssetsByMajorClassTable_3CD7B27058EA2AE24C73713DB9B20414" xlink:to="loc_us-gaap_RangeAxis_096DBD747F89661A98CC713DB9B2F73C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_F45390317A0375402C2F713DB9B2DC05_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RangeAxis_096DBD747F89661A98CC713DB9B2F73C" xlink:to="loc_us-gaap_RangeMember_F45390317A0375402C2F713DB9B2DC05_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_F45390317A0375402C2F713DB9B2DC05" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RangeAxis_096DBD747F89661A98CC713DB9B2F73C" xlink:to="loc_us-gaap_RangeMember_F45390317A0375402C2F713DB9B2DC05" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_MinimumMember" xlink:label="loc_us-gaap_MinimumMember_A0C3F5A85AB70600DC8D713DB9B21046" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_F45390317A0375402C2F713DB9B2DC05" xlink:to="loc_us-gaap_MinimumMember_A0C3F5A85AB70600DC8D713DB9B21046" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_MaximumMember" xlink:label="loc_us-gaap_MaximumMember_F5796690FEAC5A36A121713DB9B2D08B" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_F45390317A0375402C2F713DB9B2DC05" xlink:to="loc_us-gaap_MaximumMember_F5796690FEAC5A36A121713DB9B2D08B" xlink:type="arc" />
    <loc xlink:href="mtrx-20150331.xsd#mtrx_CreditAgreementTerm" xlink:label="loc_mtrx_CreditAgreementTerm_034CE5491791F67A65B0713DB9B2F215" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_740575EDA8B3F76BED75713DB9B2DE37" xlink:to="loc_mtrx_CreditAgreementTerm_034CE5491791F67A65B0713DB9B2F215" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity" xlink:label="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_AE1EAB1A5076EFE33785713DB9B20403" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_740575EDA8B3F76BED75713DB9B2DE37" xlink:to="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_AE1EAB1A5076EFE33785713DB9B20403" xlink:type="arc" />
    <loc xlink:href="mtrx-20150331.xsd#mtrx_MtrxLineofcreditfacilityexpirationdate" xlink:label="loc_mtrx_MtrxLineofcreditfacilityexpirationdate_0B67C9F1ED0AC977831D713DB9B2A2C3" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_740575EDA8B3F76BED75713DB9B2DE37" xlink:to="loc_mtrx_MtrxLineofcreditfacilityexpirationdate_0B67C9F1ED0AC977831D713DB9B2A2C3" xlink:type="arc" />
    <loc xlink:href="mtrx-20150331.xsd#mtrx_SeniorLeverageRatioMax" xlink:label="loc_mtrx_SeniorLeverageRatioMax_AE6E4B2285BCBE667073713DB9B24512" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_740575EDA8B3F76BED75713DB9B2DE37" xlink:to="loc_mtrx_SeniorLeverageRatioMax_AE6E4B2285BCBE667073713DB9B24512" xlink:type="arc" />
    <loc xlink:href="mtrx-20150331.xsd#mtrx_SeniorLeverageRatioMin" xlink:label="loc_mtrx_SeniorLeverageRatioMin_485BFF971EDD00A6CF10713DB9B2708A" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_740575EDA8B3F76BED75713DB9B2DE37" xlink:to="loc_mtrx_SeniorLeverageRatioMin_485BFF971EDD00A6CF10713DB9B2708A" xlink:type="arc" />
    <loc xlink:href="mtrx-20150331.xsd#mtrx_FixedChargeCoverageRatioMaximum" xlink:label="loc_mtrx_FixedChargeCoverageRatioMaximum_D6CBB77A48620C5C42AC713DB9B2FAAE" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_740575EDA8B3F76BED75713DB9B2DE37" xlink:to="loc_mtrx_FixedChargeCoverageRatioMaximum_D6CBB77A48620C5C42AC713DB9B2FAAE" xlink:type="arc" />
    <loc xlink:href="mtrx-20150331.xsd#mtrx_FixedChargeCoverageRatioMinimum" xlink:label="loc_mtrx_FixedChargeCoverageRatioMinimum_147DE19FDB3637121FF1713DB9B2753C" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_740575EDA8B3F76BED75713DB9B2DE37" xlink:to="loc_mtrx_FixedChargeCoverageRatioMinimum_147DE19FDB3637121FF1713DB9B2753C" xlink:type="arc" />
    <loc xlink:href="mtrx-20150331.xsd#mtrx_MtrxAmountOfLimitOnAssetDispositions" xlink:label="loc_mtrx_MtrxAmountOfLimitOnAssetDispositions_3E81EB296BB43747CF1A713DB9B268FF" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_740575EDA8B3F76BED75713DB9B2DE37" xlink:to="loc_mtrx_MtrxAmountOfLimitOnAssetDispositions_3E81EB296BB43747CF1A713DB9B268FF" xlink:type="arc" />
    <loc xlink:href="mtrx-20150331.xsd#mtrx_LineOfCreditBasisSpreadOnAlternateBaseRateMinimum" xlink:label="loc_mtrx_LineOfCreditBasisSpreadOnAlternateBaseRateMinimum_C63AC8B0AB750F048ADA713DB9B2C83B" xlink:type="locator" />
    <definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_740575EDA8B3F76BED75713DB9B2DE37" xlink:to="loc_mtrx_LineOfCreditBasisSpreadOnAlternateBaseRateMinimum_C63AC8B0AB750F048ADA713DB9B2C83B" xlink:type="arc" />
    <loc xlink:href="mtrx-20150331.xsd#mtrx_LineOfCreditBasisSpreadOnAlternateBaseRateMaximum" xlink:label="loc_mtrx_LineOfCreditBasisSpreadOnAlternateBaseRateMaximum_1DB940B6D37EDAB3B006713DB9B2E0B7" xlink:type="locator" />
    <definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_740575EDA8B3F76BED75713DB9B2DE37" xlink:to="loc_mtrx_LineOfCreditBasisSpreadOnAlternateBaseRateMaximum_1DB940B6D37EDAB3B006713DB9B2E0B7" xlink:type="arc" />
    <loc xlink:href="mtrx-20150331.xsd#mtrx_LineOfCreditBasisSpreadOnLondonInterbankOfferedRateMinimum" xlink:label="loc_mtrx_LineOfCreditBasisSpreadOnLondonInterbankOfferedRateMinimum_883A091C5D058A113DE0713DB9B2469B" xlink:type="locator" />
    <definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_740575EDA8B3F76BED75713DB9B2DE37" xlink:to="loc_mtrx_LineOfCreditBasisSpreadOnLondonInterbankOfferedRateMinimum_883A091C5D058A113DE0713DB9B2469B" xlink:type="arc" />
    <loc xlink:href="mtrx-20150331.xsd#mtrx_LineOfCreditBasisSpreadOnLondonInterbankOfferedRateMaximum" xlink:label="loc_mtrx_LineOfCreditBasisSpreadOnLondonInterbankOfferedRateMaximum_EE62904D1FA7E107E777713DB9B298B5" xlink:type="locator" />
    <definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_740575EDA8B3F76BED75713DB9B2DE37" xlink:to="loc_mtrx_LineOfCreditBasisSpreadOnLondonInterbankOfferedRateMaximum_EE62904D1FA7E107E777713DB9B298B5" xlink:type="arc" />
    <loc xlink:href="mtrx-20150331.xsd#mtrx_AmountOfLimitOnCanadianDollarBorrowings" xlink:label="loc_mtrx_AmountOfLimitOnCanadianDollarBorrowings_6D36BBE698D4877E12BF713DB9B27E62" xlink:type="locator" />
    <definitionArc order="13" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_740575EDA8B3F76BED75713DB9B2DE37" xlink:to="loc_mtrx_AmountOfLimitOnCanadianDollarBorrowings_6D36BBE698D4877E12BF713DB9B27E62" xlink:type="arc" />
    <loc xlink:href="mtrx-20150331.xsd#mtrx_LineOfCreditBasisSpreadOnCanadianDepositOfferedRateMinimum" xlink:label="loc_mtrx_LineOfCreditBasisSpreadOnCanadianDepositOfferedRateMinimum_6568C003A779FE77F94E713DB9B22B38" xlink:type="locator" />
    <definitionArc order="14" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_740575EDA8B3F76BED75713DB9B2DE37" xlink:to="loc_mtrx_LineOfCreditBasisSpreadOnCanadianDepositOfferedRateMinimum_6568C003A779FE77F94E713DB9B22B38" xlink:type="arc" />
    <loc xlink:href="mtrx-20150331.xsd#mtrx_LineOfCreditBasisSpreadOnCanadianDepositOfferedRateMaximum" xlink:label="loc_mtrx_LineOfCreditBasisSpreadOnCanadianDepositOfferedRateMaximum_841CC78AFA76C493E1AA713DB9B26DF7" xlink:type="locator" />
    <definitionArc order="15" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_740575EDA8B3F76BED75713DB9B2DE37" xlink:to="loc_mtrx_LineOfCreditBasisSpreadOnCanadianDepositOfferedRateMaximum_841CC78AFA76C493E1AA713DB9B26DF7" xlink:type="arc" />
    <loc xlink:href="mtrx-20150331.xsd#mtrx_LineOfCreditBasisSpreadOnCanadianPrimeRateMinimum" xlink:label="loc_mtrx_LineOfCreditBasisSpreadOnCanadianPrimeRateMinimum_A5D6D92A30D355BE7CA6713DB9B206F0" xlink:type="locator" />
    <definitionArc order="16" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_740575EDA8B3F76BED75713DB9B2DE37" xlink:to="loc_mtrx_LineOfCreditBasisSpreadOnCanadianPrimeRateMinimum_A5D6D92A30D355BE7CA6713DB9B206F0" xlink:type="arc" />
    <loc xlink:href="mtrx-20150331.xsd#mtrx_LineOfCreditBasisSpreadOnCanadianPrimeRateMaximum" xlink:label="loc_mtrx_LineOfCreditBasisSpreadOnCanadianPrimeRateMaximum_AADBA5B1553730E56700713DB9B2EAE0" xlink:type="locator" />
    <definitionArc order="17" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_740575EDA8B3F76BED75713DB9B2DE37" xlink:to="loc_mtrx_LineOfCreditBasisSpreadOnCanadianPrimeRateMaximum_AADBA5B1553730E56700713DB9B2EAE0" xlink:type="arc" />
    <loc xlink:href="mtrx-20150331.xsd#mtrx_LineOfCreditFacilityCanadianDepositOfferedRateDescription" xlink:label="loc_mtrx_LineOfCreditFacilityCanadianDepositOfferedRateDescription_1C9ADB7F748955E5FB03713DB9B2D07A" xlink:type="locator" />
    <definitionArc order="18" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_740575EDA8B3F76BED75713DB9B2DE37" xlink:to="loc_mtrx_LineOfCreditFacilityCanadianDepositOfferedRateDescription_1C9ADB7F748955E5FB03713DB9B2D07A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DebtInstrumentDescriptionOfVariableRateBasis" xlink:label="loc_us-gaap_DebtInstrumentDescriptionOfVariableRateBasis_1E66CD7F0A57BF9D9B04713DB9B2BA99" xlink:type="locator" />
    <definitionArc order="19" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_740575EDA8B3F76BED75713DB9B2DE37" xlink:to="loc_us-gaap_DebtInstrumentDescriptionOfVariableRateBasis_1E66CD7F0A57BF9D9B04713DB9B2BA99" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DebtInstrumentBasisSpreadOnVariableRate1" xlink:label="loc_us-gaap_DebtInstrumentBasisSpreadOnVariableRate1_3144F0F601E5C4F8CC43713DB9B21BF2" xlink:type="locator" />
    <definitionArc order="20" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_740575EDA8B3F76BED75713DB9B2DE37" xlink:to="loc_us-gaap_DebtInstrumentBasisSpreadOnVariableRate1_3144F0F601E5C4F8CC43713DB9B21BF2" xlink:type="arc" />
    <loc xlink:href="mtrx-20150331.xsd#mtrx_LineOfCreditFacilityCanadianPrimeRateDescription" xlink:label="loc_mtrx_LineOfCreditFacilityCanadianPrimeRateDescription_6D6CED3FBCF07A2232C8713DB9B25FA5" xlink:type="locator" />
    <definitionArc order="21" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_740575EDA8B3F76BED75713DB9B2DE37" xlink:to="loc_mtrx_LineOfCreditFacilityCanadianPrimeRateDescription_6D6CED3FBCF07A2232C8713DB9B25FA5" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_LineOfCreditFacilityUnusedCapacityCommitmentFeePercentage" xlink:label="loc_us-gaap_LineOfCreditFacilityUnusedCapacityCommitmentFeePercentage_9DBD50367FDC3F11D9BB713DB9B2B714" xlink:type="locator" />
    <definitionArc order="22" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_740575EDA8B3F76BED75713DB9B2DE37" xlink:to="loc_us-gaap_LineOfCreditFacilityUnusedCapacityCommitmentFeePercentage_9DBD50367FDC3F11D9BB713DB9B2B714" xlink:type="arc" />
    <loc xlink:href="mtrx-20150331.xsd#mtrx_MaximumLimitOfConsolidatedFundedIndebtedness" xlink:label="loc_mtrx_MaximumLimitOfConsolidatedFundedIndebtedness_BBAE132E5884EEA48966713DB9B2979F" xlink:type="locator" />
    <definitionArc order="23" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_740575EDA8B3F76BED75713DB9B2DE37" xlink:to="loc_mtrx_MaximumLimitOfConsolidatedFundedIndebtedness_BBAE132E5884EEA48966713DB9B2979F" xlink:type="arc" />
    <loc xlink:href="mtrx-20150331.xsd#mtrx_ConsolidatedEarningsBeforeInterestTaxesDepreciationAndAmortizationPerCreditAgreement" xlink:label="loc_mtrx_ConsolidatedEarningsBeforeInterestTaxesDepreciationAndAmortizationPerCreditAgreement_43893DD72BF23B621CF1713DB9B24987" xlink:type="locator" />
    <definitionArc order="24" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_740575EDA8B3F76BED75713DB9B2DE37" xlink:to="loc_mtrx_ConsolidatedEarningsBeforeInterestTaxesDepreciationAndAmortizationPerCreditAgreement_43893DD72BF23B621CF1713DB9B24987" xlink:type="arc" />
    <loc xlink:href="mtrx-20150331.xsd#mtrx_ConsolidatedFundedIndebtedness" xlink:label="loc_mtrx_ConsolidatedFundedIndebtedness_08A564149D3984775F89713DB9B2B973" xlink:type="locator" />
    <definitionArc order="25" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_740575EDA8B3F76BED75713DB9B2DE37" xlink:to="loc_mtrx_ConsolidatedFundedIndebtedness_08A564149D3984775F89713DB9B2B973" 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/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_0C421D12EBA01121519B713DBA167F20" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable" xlink:label="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_F2CCE4DF94D0C7B9E71F713DBA16A571" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_0C421D12EBA01121519B713DBA167F20" xlink:to="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_F2CCE4DF94D0C7B9E71F713DBA16A571" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_DAF347E8A06151E08A57713DBA169D8D" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_F2CCE4DF94D0C7B9E71F713DBA16A571" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_DAF347E8A06151E08A57713DBA169D8D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_AntidilutiveSecuritiesNameDomain" xlink:label="loc_us-gaap_AntidilutiveSecuritiesNameDomain_7B546AB9ACB4CD22EBF7713DBA169662_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_DAF347E8A06151E08A57713DBA169D8D" xlink:to="loc_us-gaap_AntidilutiveSecuritiesNameDomain_7B546AB9ACB4CD22EBF7713DBA169662_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_AntidilutiveSecuritiesNameDomain" xlink:label="loc_us-gaap_AntidilutiveSecuritiesNameDomain_7B546AB9ACB4CD22EBF7713DBA169662" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_DAF347E8A06151E08A57713DBA169D8D" xlink:to="loc_us-gaap_AntidilutiveSecuritiesNameDomain_7B546AB9ACB4CD22EBF7713DBA169662" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_EmployeeStockOptionMember" xlink:label="loc_us-gaap_EmployeeStockOptionMember_BD93AC873968C029C9DA713DBA1685D8" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_7B546AB9ACB4CD22EBF7713DBA169662" xlink:to="loc_us-gaap_EmployeeStockOptionMember_BD93AC873968C029C9DA713DBA1685D8" xlink:type="arc" />
    <loc xlink:href="mtrx-20150331.xsd#mtrx_NonvestedDeferredSharesMember" xlink:label="loc_mtrx_NonvestedDeferredSharesMember_7EEF03C782341A0E9ED3713DBA16A9E2" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_7B546AB9ACB4CD22EBF7713DBA169662" xlink:to="loc_mtrx_NonvestedDeferredSharesMember_7EEF03C782341A0E9ED3713DBA16A9E2" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_971908CF74D405A2DAA5713DBA16BDE7" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_0C421D12EBA01121519B713DBA167F20" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_971908CF74D405A2DAA5713DBA16BDE7" 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/IncomeTaxesPolicies" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/IntangibleAssetsIncludingGoodwillAdditionalInformationDetail" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsLineItems" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_3E21E929BE8AA5F86BB12A4894EA37BA" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable" xlink:label="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_560D98BD587BB658B0E82A4894EAAE7A" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_3E21E929BE8AA5F86BB12A4894EA37BA" xlink:to="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_560D98BD587BB658B0E82A4894EAAE7A" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_RangeAxis" xlink:label="loc_us-gaap_RangeAxis_54F0191A3BEC327645E42A4894EAA146" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_560D98BD587BB658B0E82A4894EAAE7A" xlink:to="loc_us-gaap_RangeAxis_54F0191A3BEC327645E42A4894EAA146" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_81818D5EB59C9499A4CE2A4894EA88D5_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RangeAxis_54F0191A3BEC327645E42A4894EAA146" xlink:to="loc_us-gaap_RangeMember_81818D5EB59C9499A4CE2A4894EA88D5_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_81818D5EB59C9499A4CE2A4894EA88D5" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RangeAxis_54F0191A3BEC327645E42A4894EAA146" xlink:to="loc_us-gaap_RangeMember_81818D5EB59C9499A4CE2A4894EA88D5" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_MinimumMember" xlink:label="loc_us-gaap_MinimumMember_D05B0F9FCDED5C26808C2A4894EA808A" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_81818D5EB59C9499A4CE2A4894EA88D5" xlink:to="loc_us-gaap_MinimumMember_D05B0F9FCDED5C26808C2A4894EA808A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_MaximumMember" xlink:label="loc_us-gaap_MaximumMember_F2CE0A315BE4DC8932B52A4894EAB941" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_81818D5EB59C9499A4CE2A4894EA88D5" xlink:to="loc_us-gaap_MaximumMember_F2CE0A315BE4DC8932B52A4894EAB941" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_TradeNamesMember" xlink:label="loc_us-gaap_TradeNamesMember_FC0FDC62D5809C96EF142A4894EA064B" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_81818D5EB59C9499A4CE2A4894EA88D5" xlink:to="loc_us-gaap_TradeNamesMember_FC0FDC62D5809C96EF142A4894EA064B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_EE53182E99A02EB026682A4894EA7520" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_560D98BD587BB658B0E82A4894EAAE7A" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_EE53182E99A02EB026682A4894EA7520" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_6DAD09A3BEE46C4911622A4894EAD3DB_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_EE53182E99A02EB026682A4894EA7520" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_6DAD09A3BEE46C4911622A4894EAD3DB_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_6DAD09A3BEE46C4911622A4894EAD3DB" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_EE53182E99A02EB026682A4894EA7520" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_6DAD09A3BEE46C4911622A4894EAD3DB" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_IntellectualPropertyMember" xlink:label="loc_us-gaap_IntellectualPropertyMember_A32F3D0E11D6C47D2D1A2A4894EA25B0" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_6DAD09A3BEE46C4911622A4894EAD3DB" xlink:to="loc_us-gaap_IntellectualPropertyMember_A32F3D0E11D6C47D2D1A2A4894EA25B0" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_CustomerRelationshipsMember" xlink:label="loc_us-gaap_CustomerRelationshipsMember_AC0CF9EFEECC3E7E29682A4894EA8A75" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_6DAD09A3BEE46C4911622A4894EAD3DB" xlink:to="loc_us-gaap_CustomerRelationshipsMember_AC0CF9EFEECC3E7E29682A4894EA8A75" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_NoncompeteAgreementsMember" xlink:label="loc_us-gaap_NoncompeteAgreementsMember_520CAFB519C2196BBBB32A4894EA09EA" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_6DAD09A3BEE46C4911622A4894EAD3DB" xlink:to="loc_us-gaap_NoncompeteAgreementsMember_520CAFB519C2196BBBB32A4894EA09EA" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_TradeNamesMember" xlink:label="loc_us-gaap_TradeNamesMember_0459119CD38436EE9B162A4894EA5227" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_6DAD09A3BEE46C4911622A4894EAD3DB" xlink:to="loc_us-gaap_TradeNamesMember_0459119CD38436EE9B162A4894EA5227" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_OtherIntangibleAssetsMember" xlink:label="loc_us-gaap_OtherIntangibleAssetsMember_F0626AE8AE9BDFE4897C2A4894EA2A4F" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_6DAD09A3BEE46C4911622A4894EAD3DB" xlink:to="loc_us-gaap_OtherIntangibleAssetsMember_F0626AE8AE9BDFE4897C2A4894EA2A4F" xlink:type="arc" />
    <loc xlink:href="mtrx-20150331.xsd#mtrx_SMElectricTradeNameMember" xlink:label="loc_mtrx_SMElectricTradeNameMember_AF83D26BB551A689872F2A4894EA49C5" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_6DAD09A3BEE46C4911622A4894EAD3DB" xlink:to="loc_mtrx_SMElectricTradeNameMember_AF83D26BB551A689872F2A4894EA49C5" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetUsefulLife" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetUsefulLife_AEB08817469D550A63A72A4894EA770B" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_3E21E929BE8AA5F86BB12A4894EA37BA" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetUsefulLife_AEB08817469D550A63A72A4894EA770B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife" xlink:label="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife_FD3FAF1E64E26E1F2C032A4894EA3578" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_3E21E929BE8AA5F86BB12A4894EA37BA" xlink:to="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife_FD3FAF1E64E26E1F2C032A4894EA3578" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsFairValueDisclosure" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsFairValueDisclosure_EE7C0005E063851D039D2A4894EAA08F" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_3E21E929BE8AA5F86BB12A4894EA37BA" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsFairValueDisclosure_EE7C0005E063851D039D2A4894EAA08F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFive" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFive_54B63E5E5C17CED9D8162A4894EA36F4" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_3E21E929BE8AA5F86BB12A4894EA37BA" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFive_54B63E5E5C17CED9D8162A4894EA36F4" 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/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_GoodwillLineItems" xlink:label="loc_us-gaap_GoodwillLineItems_42BDA93942048BA99D0B2488BF602513" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ScheduleOfGoodwillTable" xlink:label="loc_us-gaap_ScheduleOfGoodwillTable_FBDE8F12869F87EEB6BF2488BF608636" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_GoodwillLineItems_42BDA93942048BA99D0B2488BF602513" xlink:to="loc_us-gaap_ScheduleOfGoodwillTable_FBDE8F12869F87EEB6BF2488BF608636" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_StatementBusinessSegmentsAxis" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_CAD629E027812A08C8B52488BF608179" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfGoodwillTable_FBDE8F12869F87EEB6BF2488BF608636" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_CAD629E027812A08C8B52488BF608179" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_A5FD83D7AAAF9F7D3C552488BF607D72_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_CAD629E027812A08C8B52488BF608179" xlink:to="loc_us-gaap_SegmentDomain_A5FD83D7AAAF9F7D3C552488BF607D72_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_A5FD83D7AAAF9F7D3C552488BF607D72" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_CAD629E027812A08C8B52488BF608179" xlink:to="loc_us-gaap_SegmentDomain_A5FD83D7AAAF9F7D3C552488BF607D72" xlink:type="arc" />
    <loc xlink:href="mtrx-20150331.xsd#mtrx_ElectricalInfrastructureMember" xlink:label="loc_mtrx_ElectricalInfrastructureMember_8D839E96F1920638A5DF2488BF601390" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_A5FD83D7AAAF9F7D3C552488BF607D72" xlink:to="loc_mtrx_ElectricalInfrastructureMember_8D839E96F1920638A5DF2488BF601390" xlink:type="arc" />
    <loc xlink:href="mtrx-20150331.xsd#mtrx_OilGasAndChemicalMember" xlink:label="loc_mtrx_OilGasAndChemicalMember_2A6EAF0FA1AA3C76E45E2488BF60AABE" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_A5FD83D7AAAF9F7D3C552488BF607D72" xlink:to="loc_mtrx_OilGasAndChemicalMember_2A6EAF0FA1AA3C76E45E2488BF60AABE" xlink:type="arc" />
    <loc xlink:href="mtrx-20150331.xsd#mtrx_StorageSolutionsMember" xlink:label="loc_mtrx_StorageSolutionsMember_65BB658ED10AEB45F3002488BF60DA43" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_A5FD83D7AAAF9F7D3C552488BF607D72" xlink:to="loc_mtrx_StorageSolutionsMember_65BB658ED10AEB45F3002488BF60DA43" xlink:type="arc" />
    <loc xlink:href="mtrx-20150331.xsd#mtrx_IndustrialMember" xlink:label="loc_mtrx_IndustrialMember_D5BA5B498C8B33D5E8E72488BF60E35C" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_A5FD83D7AAAF9F7D3C552488BF607D72" xlink:to="loc_mtrx_IndustrialMember_D5BA5B498C8B33D5E8E72488BF60E35C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_AllOtherSegmentsMember" xlink:label="loc_us-gaap_AllOtherSegmentsMember_BC82A94210C032A99F342488BF604C47" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_A5FD83D7AAAF9F7D3C552488BF607D72" xlink:to="loc_us-gaap_AllOtherSegmentsMember_BC82A94210C032A99F342488BF604C47" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_GoodwillPurchaseAccountingAdjustments" xlink:label="loc_us-gaap_GoodwillPurchaseAccountingAdjustments_A8E4CC9E21FD855F356E2488BF601C9C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillLineItems_42BDA93942048BA99D0B2488BF602513" xlink:to="loc_us-gaap_GoodwillPurchaseAccountingAdjustments_A8E4CC9E21FD855F356E2488BF601C9C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_GoodwillAcquiredDuringPeriod" xlink:label="loc_us-gaap_GoodwillAcquiredDuringPeriod_794A1223D271BCFA94422488BF60DF67" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillLineItems_42BDA93942048BA99D0B2488BF602513" xlink:to="loc_us-gaap_GoodwillAcquiredDuringPeriod_794A1223D271BCFA94422488BF60DF67" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_GoodwillGross" xlink:label="loc_us-gaap_GoodwillGross_34EE88D60102C54171C82488BF607764" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillLineItems_42BDA93942048BA99D0B2488BF602513" xlink:to="loc_us-gaap_GoodwillGross_34EE88D60102C54171C82488BF607764" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_GoodwillImpairedAccumulatedImpairmentLoss" xlink:label="loc_us-gaap_GoodwillImpairedAccumulatedImpairmentLoss_960D072A35CDBDA20D0D2488BF606E2B" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillLineItems_42BDA93942048BA99D0B2488BF602513" xlink:to="loc_us-gaap_GoodwillImpairedAccumulatedImpairmentLoss_960D072A35CDBDA20D0D2488BF606E2B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_Goodwill" xlink:label="loc_us-gaap_Goodwill_93F6DBCBDC827131E34A2488BF601AEF" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillLineItems_42BDA93942048BA99D0B2488BF602513" xlink:to="loc_us-gaap_Goodwill_93F6DBCBDC827131E34A2488BF601AEF" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_GoodwillRollForward" xlink:label="loc_us-gaap_GoodwillRollForward_D7F4C130B3BAA6F096C02488BF60C986" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillLineItems_42BDA93942048BA99D0B2488BF602513" xlink:to="loc_us-gaap_GoodwillRollForward_D7F4C130B3BAA6F096C02488BF60C986" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_GoodwillTranslationAdjustments" xlink:label="loc_us-gaap_GoodwillTranslationAdjustments_9EAA42C1CF362EA32B022488BF60EB82" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillRollForward_D7F4C130B3BAA6F096C02488BF60C986" xlink:to="loc_us-gaap_GoodwillTranslationAdjustments_9EAA42C1CF362EA32B022488BF60EB82" 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/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsLineItems" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_C26C0E312952CBA3B47E713DB9F879FF" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable" xlink:label="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_48BA6BACC2D4C9210175713DB9F8B426" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_C26C0E312952CBA3B47E713DB9F879FF" xlink:to="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_48BA6BACC2D4C9210175713DB9F8B426" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_14B708319FDD77102C6B713DB9F8C4F6" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_48BA6BACC2D4C9210175713DB9F8B426" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_14B708319FDD77102C6B713DB9F8C4F6" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_7A0394206724CC0D4FFC713DB9F8384E_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_14B708319FDD77102C6B713DB9F8C4F6" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_7A0394206724CC0D4FFC713DB9F8384E_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_7A0394206724CC0D4FFC713DB9F8384E" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_14B708319FDD77102C6B713DB9F8C4F6" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_7A0394206724CC0D4FFC713DB9F8384E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_IntellectualPropertyMember" xlink:label="loc_us-gaap_IntellectualPropertyMember_48DA0E065268B7003A94713DB9F89AAB" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_7A0394206724CC0D4FFC713DB9F8384E" xlink:to="loc_us-gaap_IntellectualPropertyMember_48DA0E065268B7003A94713DB9F89AAB" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_CustomerRelationshipsMember" xlink:label="loc_us-gaap_CustomerRelationshipsMember_3167357722E3C0F0485B713DB9F8E5C0" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_7A0394206724CC0D4FFC713DB9F8384E" xlink:to="loc_us-gaap_CustomerRelationshipsMember_3167357722E3C0F0485B713DB9F8E5C0" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_NoncompeteAgreementsMember" xlink:label="loc_us-gaap_NoncompeteAgreementsMember_FFCA9F76BA953650369D713DB9F820BA" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_7A0394206724CC0D4FFC713DB9F8384E" xlink:to="loc_us-gaap_NoncompeteAgreementsMember_FFCA9F76BA953650369D713DB9F820BA" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_TradeNamesMember" xlink:label="loc_us-gaap_TradeNamesMember_3565E46C131EB3D209EF713DB9F80576" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_7A0394206724CC0D4FFC713DB9F8384E" xlink:to="loc_us-gaap_TradeNamesMember_3565E46C131EB3D209EF713DB9F80576" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_RangeAxis" xlink:label="loc_us-gaap_RangeAxis_22E386884D0510D1BF23713DB9F88DFE" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_48BA6BACC2D4C9210175713DB9F8B426" xlink:to="loc_us-gaap_RangeAxis_22E386884D0510D1BF23713DB9F88DFE" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_5690D59DE1230D1E63C6713DB9F84548_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RangeAxis_22E386884D0510D1BF23713DB9F88DFE" xlink:to="loc_us-gaap_RangeMember_5690D59DE1230D1E63C6713DB9F84548_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_5690D59DE1230D1E63C6713DB9F84548" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RangeAxis_22E386884D0510D1BF23713DB9F88DFE" xlink:to="loc_us-gaap_RangeMember_5690D59DE1230D1E63C6713DB9F84548" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_MinimumMember" xlink:label="loc_us-gaap_MinimumMember_FBEF08904C94A66994E7713DB9F8EA79" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_5690D59DE1230D1E63C6713DB9F84548" xlink:to="loc_us-gaap_MinimumMember_FBEF08904C94A66994E7713DB9F8EA79" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_MaximumMember" xlink:label="loc_us-gaap_MaximumMember_E088DBAE8318D6D9B177713DB9F8BA92" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_5690D59DE1230D1E63C6713DB9F84548" xlink:to="loc_us-gaap_MaximumMember_E088DBAE8318D6D9B177713DB9F8BA92" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsGross" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsGross_826D85E8EA0D5D629618713DB9F8379B" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_C26C0E312952CBA3B47E713DB9F879FF" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsGross_826D85E8EA0D5D629618713DB9F8379B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetUsefulLife" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetUsefulLife_2CD64E40C8436AB51714713DB9F84448" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_C26C0E312952CBA3B47E713DB9F879FF" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetUsefulLife_2CD64E40C8436AB51714713DB9F84448" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_CCA62DD4B3D306D5C960713DB9F8650B" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_C26C0E312952CBA3B47E713DB9F879FF" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_CCA62DD4B3D306D5C960713DB9F8650B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsNet" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_2A0C312B5A3CDF80428D713DB9F80680" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_C26C0E312952CBA3B47E713DB9F879FF" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsNet_2A0C312B5A3CDF80428D713DB9F80680" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_IndefiniteLivedTradeNames" xlink:label="loc_us-gaap_IndefiniteLivedTradeNames_0504F29926802603F2EF713DB9F84079" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_C26C0E312952CBA3B47E713DB9F879FF" xlink:to="loc_us-gaap_IndefiniteLivedTradeNames_0504F29926802603F2EF713DB9F84079" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_IntangibleAssetsGrossExcludingGoodwill" xlink:label="loc_us-gaap_IntangibleAssetsGrossExcludingGoodwill_7D1AFD789A910E792524713DB9F8C3B7" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_C26C0E312952CBA3B47E713DB9F879FF" xlink:to="loc_us-gaap_IntangibleAssetsGrossExcludingGoodwill_7D1AFD789A910E792524713DB9F8C3B7" xlink:type="arc" />
    <loc xlink:href="mtrx-20150331.xsd#mtrx_IntangibleAssetsAccumulatedAmortizationExcludingGoodwill" xlink:label="loc_mtrx_IntangibleAssetsAccumulatedAmortizationExcludingGoodwill_67064529703FAB4FE1DA713DB9F8EAED" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_C26C0E312952CBA3B47E713DB9F879FF" xlink:to="loc_mtrx_IntangibleAssetsAccumulatedAmortizationExcludingGoodwill_67064529703FAB4FE1DA713DB9F8EAED" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_F27DE03EC437433F834F713DB9F84698" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_C26C0E312952CBA3B47E713DB9F879FF" xlink:to="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_F27DE03EC437433F834F713DB9F84698" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/IntangibleAssetsIncludingGoodwillFutureExpectedAmortizationExpenseDetails" xlink:type="extended" />
  <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/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsLineItems" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_3F9DD19E1030FE33B4BB713DB97642AC" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable" xlink:label="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_0BC48399D3D15FBBE5EE713DB976EFE0" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_3F9DD19E1030FE33B4BB713DB97642AC" xlink:to="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_0BC48399D3D15FBBE5EE713DB976EFE0" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_E974B4BA1D11BB83F011713DB976EE1C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_0BC48399D3D15FBBE5EE713DB976EFE0" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_E974B4BA1D11BB83F011713DB976EE1C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_33798DF01FE2328CE81E713DB97670F1_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_E974B4BA1D11BB83F011713DB976EE1C" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_33798DF01FE2328CE81E713DB97670F1_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_33798DF01FE2328CE81E713DB97670F1" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_E974B4BA1D11BB83F011713DB976EE1C" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_33798DF01FE2328CE81E713DB97670F1" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ConsolidationItemsAxis" xlink:label="loc_us-gaap_ConsolidationItemsAxis_01353E409712A7EF2443713DB9767CDD" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_0BC48399D3D15FBBE5EE713DB976EFE0" xlink:to="loc_us-gaap_ConsolidationItemsAxis_01353E409712A7EF2443713DB9767CDD" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ConsolidationItemsDomain" xlink:label="loc_us-gaap_ConsolidationItemsDomain_B840C3BF4A8BF9BD9E16713DB976A924_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConsolidationItemsAxis_01353E409712A7EF2443713DB9767CDD" xlink:to="loc_us-gaap_ConsolidationItemsDomain_B840C3BF4A8BF9BD9E16713DB976A924_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ConsolidationItemsDomain" xlink:label="loc_us-gaap_ConsolidationItemsDomain_B840C3BF4A8BF9BD9E16713DB976A924" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConsolidationItemsAxis_01353E409712A7EF2443713DB9767CDD" xlink:to="loc_us-gaap_ConsolidationItemsDomain_B840C3BF4A8BF9BD9E16713DB976A924" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_StatementBusinessSegmentsAxis" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_8083C8C004CDC35A47EE713DB976AE0E" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_0BC48399D3D15FBBE5EE713DB976EFE0" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_8083C8C004CDC35A47EE713DB976AE0E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_B5197B8099ECFB496BB5713DB976F3DD_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_8083C8C004CDC35A47EE713DB976AE0E" xlink:to="loc_us-gaap_SegmentDomain_B5197B8099ECFB496BB5713DB976F3DD_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_B5197B8099ECFB496BB5713DB976F3DD" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_8083C8C004CDC35A47EE713DB976AE0E" xlink:to="loc_us-gaap_SegmentDomain_B5197B8099ECFB496BB5713DB976F3DD" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_RangeAxis" xlink:label="loc_us-gaap_RangeAxis_DEE5C1D90A056AE24C97713DB976E021" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_0BC48399D3D15FBBE5EE713DB976EFE0" xlink:to="loc_us-gaap_RangeAxis_DEE5C1D90A056AE24C97713DB976E021" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_6C73E1A98670CB308411713DB97687DD_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RangeAxis_DEE5C1D90A056AE24C97713DB976E021" xlink:to="loc_us-gaap_RangeMember_6C73E1A98670CB308411713DB97687DD_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_6C73E1A98670CB308411713DB97687DD" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RangeAxis_DEE5C1D90A056AE24C97713DB976E021" xlink:to="loc_us-gaap_RangeMember_6C73E1A98670CB308411713DB97687DD" 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/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_SegmentReportingInformationLineItems" xlink:label="loc_us-gaap_SegmentReportingInformationLineItems_0F6D8BF84E3F36FFF0AA713DB9769090" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable" xlink:label="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_7DB580C66C690974E1A5713DB9762549" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_0F6D8BF84E3F36FFF0AA713DB9769090" xlink:to="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_7DB580C66C690974E1A5713DB9762549" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_BBE92DFACEA7FCD2A3F8713DB976AB5F" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_7DB580C66C690974E1A5713DB9762549" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_BBE92DFACEA7FCD2A3F8713DB976AB5F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_04151595A6E988C1EF97713DB976B913_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_BBE92DFACEA7FCD2A3F8713DB976AB5F" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_04151595A6E988C1EF97713DB976B913_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_04151595A6E988C1EF97713DB976B913" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_BBE92DFACEA7FCD2A3F8713DB976AB5F" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_04151595A6E988C1EF97713DB976B913" xlink:type="arc" />
    <loc xlink:href="mtrx-20150331.xsd#mtrx_KvaernerNorthAmericanConstructionMember" xlink:label="loc_mtrx_KvaernerNorthAmericanConstructionMember_FB18969BAD7ED5007D7B713DB976D1D6" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_04151595A6E988C1EF97713DB976B913" xlink:to="loc_mtrx_KvaernerNorthAmericanConstructionMember_FB18969BAD7ED5007D7B713DB976D1D6" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ConsolidationItemsAxis" xlink:label="loc_us-gaap_ConsolidationItemsAxis_4B0B00BCBB0962D411F2713DB976F59B" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_7DB580C66C690974E1A5713DB9762549" xlink:to="loc_us-gaap_ConsolidationItemsAxis_4B0B00BCBB0962D411F2713DB976F59B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ConsolidationItemsDomain" xlink:label="loc_us-gaap_ConsolidationItemsDomain_BCF17C2E2141C350A416713DB9768D0E_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConsolidationItemsAxis_4B0B00BCBB0962D411F2713DB976F59B" xlink:to="loc_us-gaap_ConsolidationItemsDomain_BCF17C2E2141C350A416713DB9768D0E_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ConsolidationItemsDomain" xlink:label="loc_us-gaap_ConsolidationItemsDomain_BCF17C2E2141C350A416713DB9768D0E" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConsolidationItemsAxis_4B0B00BCBB0962D411F2713DB976F59B" xlink:to="loc_us-gaap_ConsolidationItemsDomain_BCF17C2E2141C350A416713DB9768D0E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_IntersegmentEliminationMember" xlink:label="loc_us-gaap_IntersegmentEliminationMember_958A01035E64CAB3AD6C713DB976BE34" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConsolidationItemsDomain_BCF17C2E2141C350A416713DB9768D0E" xlink:to="loc_us-gaap_IntersegmentEliminationMember_958A01035E64CAB3AD6C713DB976BE34" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_StatementBusinessSegmentsAxis" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_71D5A66C29C221F42818713DB97638EB" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_7DB580C66C690974E1A5713DB9762549" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_71D5A66C29C221F42818713DB97638EB" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_DBA6BBBCEF107EC0D6CC713DB9764AB1_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_71D5A66C29C221F42818713DB97638EB" xlink:to="loc_us-gaap_SegmentDomain_DBA6BBBCEF107EC0D6CC713DB9764AB1_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_DBA6BBBCEF107EC0D6CC713DB9764AB1" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_71D5A66C29C221F42818713DB97638EB" xlink:to="loc_us-gaap_SegmentDomain_DBA6BBBCEF107EC0D6CC713DB9764AB1" xlink:type="arc" />
    <loc xlink:href="mtrx-20150331.xsd#mtrx_ElectricalInfrastructureMember" xlink:label="loc_mtrx_ElectricalInfrastructureMember_10714EABCE3C717D7D83713DB976FF65" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_DBA6BBBCEF107EC0D6CC713DB9764AB1" xlink:to="loc_mtrx_ElectricalInfrastructureMember_10714EABCE3C717D7D83713DB976FF65" xlink:type="arc" />
    <loc xlink:href="mtrx-20150331.xsd#mtrx_OilGasAndChemicalMember" xlink:label="loc_mtrx_OilGasAndChemicalMember_6D6DF05AA5058DBFE1B1713DB97633E0" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_DBA6BBBCEF107EC0D6CC713DB9764AB1" xlink:to="loc_mtrx_OilGasAndChemicalMember_6D6DF05AA5058DBFE1B1713DB97633E0" xlink:type="arc" />
    <loc xlink:href="mtrx-20150331.xsd#mtrx_StorageSolutionsMember" xlink:label="loc_mtrx_StorageSolutionsMember_D84E131E885F4FBC532E713DB976FA2E" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_DBA6BBBCEF107EC0D6CC713DB9764AB1" xlink:to="loc_mtrx_StorageSolutionsMember_D84E131E885F4FBC532E713DB976FA2E" xlink:type="arc" />
    <loc xlink:href="mtrx-20150331.xsd#mtrx_IndustrialMember" xlink:label="loc_mtrx_IndustrialMember_356FE33ED25CF4FFF183713DB97694C8" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_DBA6BBBCEF107EC0D6CC713DB9764AB1" xlink:to="loc_mtrx_IndustrialMember_356FE33ED25CF4FFF183713DB97694C8" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_AllOtherSegmentsMember" xlink:label="loc_us-gaap_AllOtherSegmentsMember_E2E71A3697A927FDED08713DB976ADF9" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_DBA6BBBCEF107EC0D6CC713DB9764AB1" xlink:to="loc_us-gaap_AllOtherSegmentsMember_E2E71A3697A927FDED08713DB976ADF9" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_Revenues" xlink:label="loc_us-gaap_Revenues_7031F79E3A421DF02F0B713DB9765D8D" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_0F6D8BF84E3F36FFF0AA713DB9769090" xlink:to="loc_us-gaap_Revenues_7031F79E3A421DF02F0B713DB9765D8D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_SalesRevenueServicesNet" xlink:label="loc_us-gaap_SalesRevenueServicesNet_995EC645276880EA9260713DB976E578" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_0F6D8BF84E3F36FFF0AA713DB9769090" xlink:to="loc_us-gaap_SalesRevenueServicesNet_995EC645276880EA9260713DB976E578" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_GrossProfit" xlink:label="loc_us-gaap_GrossProfit_18A008815A4ED00B2149713DB9767276" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_0F6D8BF84E3F36FFF0AA713DB9769090" xlink:to="loc_us-gaap_GrossProfit_18A008815A4ED00B2149713DB9767276" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_OperatingIncomeLoss" xlink:label="loc_us-gaap_OperatingIncomeLoss_75BD6032FC58449FF172713DB976FCC7" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_0F6D8BF84E3F36FFF0AA713DB9769090" xlink:to="loc_us-gaap_OperatingIncomeLoss_75BD6032FC58449FF172713DB976FCC7" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_Assets" xlink:label="loc_us-gaap_Assets_531B31AFFF9F8CD29406713DB9766D79" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_0F6D8BF84E3F36FFF0AA713DB9769090" xlink:to="loc_us-gaap_Assets_531B31AFFF9F8CD29406713DB9766D79" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_Goodwill" xlink:label="loc_us-gaap_Goodwill_72CABDF650611D999DC4713DB97630EA" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_0F6D8BF84E3F36FFF0AA713DB9769090" xlink:to="loc_us-gaap_Goodwill_72CABDF650611D999DC4713DB97630EA" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/SegmentInformationTables" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/UncompletedContractsAdditionalInformationDetail" xlink:type="extended">
    <loc xlink:href="mtrx-20150331.xsd#mtrx_CustomerContractsLineItems" xlink:label="loc_mtrx_CustomerContractsLineItems_A3C350AEA27CBEF6B829713DB9E48A3B" xlink:type="locator" />
    <loc xlink:href="mtrx-20150331.xsd#mtrx_CustomerContractsTable" xlink:label="loc_mtrx_CustomerContractsTable_3BAC376E92381A587295713DB9E4B16B" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_mtrx_CustomerContractsLineItems_A3C350AEA27CBEF6B829713DB9E48A3B" xlink:to="loc_mtrx_CustomerContractsTable_3BAC376E92381A587295713DB9E4B16B" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_MajorCustomersAxis" xlink:label="loc_us-gaap_MajorCustomersAxis_4CA4F0E854CFBBFD4A07713DB9E4A937" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_mtrx_CustomerContractsTable_3BAC376E92381A587295713DB9E4B16B" xlink:to="loc_us-gaap_MajorCustomersAxis_4CA4F0E854CFBBFD4A07713DB9E4A937" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_NameOfMajorCustomerDomain" xlink:label="loc_us-gaap_NameOfMajorCustomerDomain_7356695A4288BDB26157713DB9E46E1F_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_MajorCustomersAxis_4CA4F0E854CFBBFD4A07713DB9E4A937" xlink:to="loc_us-gaap_NameOfMajorCustomerDomain_7356695A4288BDB26157713DB9E46E1F_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_NameOfMajorCustomerDomain" xlink:label="loc_us-gaap_NameOfMajorCustomerDomain_7356695A4288BDB26157713DB9E46E1F" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_MajorCustomersAxis_4CA4F0E854CFBBFD4A07713DB9E4A937" xlink:to="loc_us-gaap_NameOfMajorCustomerDomain_7356695A4288BDB26157713DB9E46E1F" xlink:type="arc" />
    <loc xlink:href="mtrx-20150331.xsd#mtrx_SMElectricCompanyMember" xlink:label="loc_mtrx_SMElectricCompanyMember_B67BD6F332F39A9D71E1713DB9E46F58" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NameOfMajorCustomerDomain_7356695A4288BDB26157713DB9E46E1F" xlink:to="loc_mtrx_SMElectricCompanyMember_B67BD6F332F39A9D71E1713DB9E46F58" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ContractReceivableRetainageDueOneYearOrLess" xlink:label="loc_us-gaap_ContractReceivableRetainageDueOneYearOrLess_D72FE01306412FDC272F713DB9E438B5" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_CustomerContractsLineItems_A3C350AEA27CBEF6B829713DB9E48A3B" xlink:to="loc_us-gaap_ContractReceivableRetainageDueOneYearOrLess_D72FE01306412FDC272F713DB9E438B5" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ContractReceivableRetainageDueAfterOneYear" xlink:label="loc_us-gaap_ContractReceivableRetainageDueAfterOneYear_EF9ED5B0D1A8B0879ADB713DB9E47FED" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_CustomerContractsLineItems_A3C350AEA27CBEF6B829713DB9E48A3B" xlink:to="loc_us-gaap_ContractReceivableRetainageDueAfterOneYear_EF9ED5B0D1A8B0879ADB713DB9E47FED" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ContractsReceivableClaimsAndUncertainAmounts" xlink:label="loc_us-gaap_ContractsReceivableClaimsAndUncertainAmounts_BF77FF1ECB479A236867713DB9E40D06" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_CustomerContractsLineItems_A3C350AEA27CBEF6B829713DB9E48A3B" xlink:to="loc_us-gaap_ContractsReceivableClaimsAndUncertainAmounts_BF77FF1ECB479A236867713DB9E40D06" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_AccountsReceivableBilledForLongTermContractsOrPrograms" xlink:label="loc_us-gaap_AccountsReceivableBilledForLongTermContractsOrPrograms_C75D41D787006522A4F9713DB9E43FDA" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_CustomerContractsLineItems_A3C350AEA27CBEF6B829713DB9E48A3B" xlink:to="loc_us-gaap_AccountsReceivableBilledForLongTermContractsOrPrograms_C75D41D787006522A4F9713DB9E43FDA" xlink:type="arc" />
    <loc xlink:href="mtrx-20150331.xsd#mtrx_ChangeInAccountingEstimateFinancialEffectOperatingIncome" xlink:label="loc_mtrx_ChangeInAccountingEstimateFinancialEffectOperatingIncome_115DF19FE77E6396E6A3713DB9E49106" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_CustomerContractsLineItems_A3C350AEA27CBEF6B829713DB9E48A3B" xlink:to="loc_mtrx_ChangeInAccountingEstimateFinancialEffectOperatingIncome_115DF19FE77E6396E6A3713DB9E49106" xlink:type="arc" />
    <loc xlink:href="mtrx-20150331.xsd#mtrx_ChangeinAccountingEstimateFinancialEffectNetIncome" xlink:label="loc_mtrx_ChangeinAccountingEstimateFinancialEffectNetIncome_7E4053CD78CF47A32229713DB9E4598D" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_CustomerContractsLineItems_A3C350AEA27CBEF6B829713DB9E48A3B" xlink:to="loc_mtrx_ChangeinAccountingEstimateFinancialEffectNetIncome_7E4053CD78CF47A32229713DB9E4598D" 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>
