<?xml version="1.0" encoding="US-ASCII"?>
<!--XBRL Document Created with 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.matrixservice.com/role/AcquisitionsDetails" xlink:href="mtrx-20130331.xsd#AcquisitionsDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/BasisOfPresentationNotes" xlink:href="mtrx-20130331.xsd#BasisOfPresentationNotes" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/CondensedConsolidatedBalanceSheets" xlink:href="mtrx-20130331.xsd#CondensedConsolidatedBalanceSheets" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/CondensedConsolidatedBalanceSheetsParenthetical" xlink:href="mtrx-20130331.xsd#CondensedConsolidatedBalanceSheetsParenthetical" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/CondensedConsolidatedStatementsOfCashFlows" xlink:href="mtrx-20130331.xsd#CondensedConsolidatedStatementsOfCashFlows" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/CondensedConsolidatedStatementsOfChangesInStockholdersEquity" xlink:href="mtrx-20130331.xsd#CondensedConsolidatedStatementsOfChangesInStockholdersEquity" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/CondensedConsolidatedStatementsOfChangesInStockholdersEquityParenthetical" xlink:href="mtrx-20130331.xsd#CondensedConsolidatedStatementsOfChangesInStockholdersEquityParenthetical" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/CondensedConsolidatedStatementsOfComprehensiveIncome" xlink:href="mtrx-20130331.xsd#CondensedConsolidatedStatementsOfComprehensiveIncome" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/DebtAdditionalInformationDetail" xlink:href="mtrx-20130331.xsd#DebtAdditionalInformationDetail" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/DebtAvailabilityUnderSeniorCreditFacilityDetails" xlink:href="mtrx-20130331.xsd#DebtAvailabilityUnderSeniorCreditFacilityDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/EarningsPerCommonShareAntidilutiveSecuritiesExcludedFromCalculationOfDilutedEarningsPerShareDetails" xlink:href="mtrx-20130331.xsd#EarningsPerCommonShareAntidilutiveSecuritiesExcludedFromCalculationOfDilutedEarningsPerShareDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/IntangibleAssetsIncludingGoodwillAdditionalInformationDetail" xlink:href="mtrx-20130331.xsd#IntangibleAssetsIncludingGoodwillAdditionalInformationDetail" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/IntangibleAssetsIncludingGoodwillCarryingValueOfGoodwillBySegmentDetails" xlink:href="mtrx-20130331.xsd#IntangibleAssetsIncludingGoodwillCarryingValueOfGoodwillBySegmentDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/IntangibleAssetsIncludingGoodwillCarryingValueOfOtherIntangibleAssetsDetails" xlink:href="mtrx-20130331.xsd#IntangibleAssetsIncludingGoodwillCarryingValueOfOtherIntangibleAssetsDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/SegmentInformationResultsOfOperationsDetails" xlink:href="mtrx-20130331.xsd#SegmentInformationResultsOfOperationsDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/UncompletedContractsAdditionalInformationDetail" xlink:href="mtrx-20130331.xsd#UncompletedContractsAdditionalInformationDetail" 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.matrixservice.com/role/AcquisitionsDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_BusinessAcquisitionLineItems" xlink:label="loc_us-gaap_BusinessAcquisitionLineItems_D1697A45FE9B2516C7F9F8903556A35B" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_0C4463801822049C683DF89035555383" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_D1697A45FE9B2516C7F9F8903556A35B" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_0C4463801822049C683DF89035555383" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_ED6A05F3E82DC7E9AA0DF8903556F81D" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_0C4463801822049C683DF89035555383" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_ED6A05F3E82DC7E9AA0DF8903556F81D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_D430E7BF9FA5E7C3A750F8903556C316_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_ED6A05F3E82DC7E9AA0DF8903556F81D" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_D430E7BF9FA5E7C3A750F8903556C316_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_D430E7BF9FA5E7C3A750F8903556C316" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_ED6A05F3E82DC7E9AA0DF8903556F81D" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_D430E7BF9FA5E7C3A750F8903556C316" xlink:type="arc" />
    <loc xlink:href="mtrx-20130331.xsd#mtrx_PelichemIndustrialCleaningServicesLlcMember" xlink:label="loc_mtrx_PelichemIndustrialCleaningServicesLlcMember_657CC4D567305604DDF6F89035567447" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_D430E7BF9FA5E7C3A750F8903556C316" xlink:to="loc_mtrx_PelichemIndustrialCleaningServicesLlcMember_657CC4D567305604DDF6F89035567447" xlink:type="arc" />
    <loc xlink:href="mtrx-20130331.xsd#mtrx_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssets" xlink:label="loc_mtrx_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssets_B44BA71A265F3E4A1065F89035564643" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_D1697A45FE9B2516C7F9F8903556A35B" xlink:to="loc_mtrx_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssets_B44BA71A265F3E4A1065F89035564643" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment_FF6D72339C2B1EBB56CAF890355639D3" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_D1697A45FE9B2516C7F9F8903556A35B" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment_FF6D72339C2B1EBB56CAF890355639D3" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_Goodwill" xlink:label="loc_us-gaap_Goodwill_D896B5063CAB882E8EBDF8903557879B" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_D1697A45FE9B2516C7F9F8903556A35B" xlink:to="loc_us-gaap_Goodwill_D896B5063CAB882E8EBDF8903557879B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles_723958AA94CDCEECF0F7F8903557D323" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_D1697A45FE9B2516C7F9F8903556A35B" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles_723958AA94CDCEECF0F7F8903557D323" xlink:type="arc" />
    <loc xlink:href="mtrx-20130331.xsd#mtrx_BusinessCombinationsRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets" xlink:label="loc_mtrx_BusinessCombinationsRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets_974689127302A93DB32EF8903557ABE0" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_D1697A45FE9B2516C7F9F8903556A35B" xlink:to="loc_mtrx_BusinessCombinationsRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets_974689127302A93DB32EF8903557ABE0" xlink:type="arc" />
    <loc xlink:href="mtrx-20130331.xsd#mtrx_BusinessCombinationRecognizedIdentifableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilities" xlink:label="loc_mtrx_BusinessCombinationRecognizedIdentifableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilities_8B6103F21FC3C9AF8608F890355722A8" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_D1697A45FE9B2516C7F9F8903556A35B" xlink:to="loc_mtrx_BusinessCombinationRecognizedIdentifableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilities_8B6103F21FC3C9AF8608F890355722A8" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_478C58D5D7BE2F4A3A6FF8903557A2FA" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_D1697A45FE9B2516C7F9F8903556A35B" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_478C58D5D7BE2F4A3A6FF8903557A2FA" xlink:type="arc" />
    <loc xlink:href="mtrx-20130331.xsd#mtrx_BusinessCombinationProvisionalInformationInitialAccountingIncompleteWorkingCapitalAdjustment" xlink:label="loc_mtrx_BusinessCombinationProvisionalInformationInitialAccountingIncompleteWorkingCapitalAdjustment_D1FC3B66AF1AB1A4B8A2F89035573C62" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_D1697A45FE9B2516C7F9F8903556A35B" xlink:to="loc_mtrx_BusinessCombinationProvisionalInformationInitialAccountingIncompleteWorkingCapitalAdjustment_D1FC3B66AF1AB1A4B8A2F89035573C62" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_BusinessCombinationConsiderationTransferred" xlink:label="loc_us-gaap_BusinessCombinationConsiderationTransferred_52CE4DC6A918B15C2DACF8903557ED16" xlink:type="locator" />
    <definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_D1697A45FE9B2516C7F9F8903556A35B" xlink:to="loc_us-gaap_BusinessCombinationConsiderationTransferred_52CE4DC6A918B15C2DACF8903557ED16" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.matrixservice.com/role/BasisOfPresentationNotes" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservice.com/role/CondensedConsolidatedBalanceSheets" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservice.com/role/CondensedConsolidatedBalanceSheetsParenthetical" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaap_StatementLineItems_2057E4626F465A8E22A2F890353C0C14" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaap_StatementTable_1AB3ABA8E805154BF93FF890353C444C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_2057E4626F465A8E22A2F890353C0C14" xlink:to="loc_us-gaap_StatementTable_1AB3ABA8E805154BF93FF890353C444C" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="loc_dei_LegalEntityAxis_12A326CC6CF1E1D0B03CF890353CB9EE" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_1AB3ABA8E805154BF93FF890353C444C" xlink:to="loc_dei_LegalEntityAxis_12A326CC6CF1E1D0B03CF890353CB9EE" xlink:type="arc" />
    <loc xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_DC124E7694AE52DDD649F890353CD4D0_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_12A326CC6CF1E1D0B03CF890353CB9EE" xlink:to="loc_dei_EntityDomain_DC124E7694AE52DDD649F890353CD4D0_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_DC124E7694AE52DDD649F890353CD4D0" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_12A326CC6CF1E1D0B03CF890353CB9EE" xlink:to="loc_dei_EntityDomain_DC124E7694AE52DDD649F890353CD4D0" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_AllowanceForDoubtfulAccountsReceivableCurrent" xlink:label="loc_us-gaap_AllowanceForDoubtfulAccountsReceivableCurrent_671EE65A16ED594D58ACF890353CF3BD" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_2057E4626F465A8E22A2F890353C0C14" xlink:to="loc_us-gaap_AllowanceForDoubtfulAccountsReceivableCurrent_671EE65A16ED594D58ACF890353CF3BD" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_CommonStockParOrStatedValuePerShare" xlink:label="loc_us-gaap_CommonStockParOrStatedValuePerShare_333A8220DA2ED507BB02F890353CBCA1" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_2057E4626F465A8E22A2F890353C0C14" xlink:to="loc_us-gaap_CommonStockParOrStatedValuePerShare_333A8220DA2ED507BB02F890353CBCA1" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_CommonStockSharesAuthorized" xlink:label="loc_us-gaap_CommonStockSharesAuthorized_551392C5BFA7693BCDD8F890353C7044" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_2057E4626F465A8E22A2F890353C0C14" xlink:to="loc_us-gaap_CommonStockSharesAuthorized_551392C5BFA7693BCDD8F890353C7044" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_CommonStockSharesIssued" xlink:label="loc_us-gaap_CommonStockSharesIssued_3B8CBEC6218018EDB955F890353C2683" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_2057E4626F465A8E22A2F890353C0C14" xlink:to="loc_us-gaap_CommonStockSharesIssued_3B8CBEC6218018EDB955F890353C2683" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_TreasuryStockShares" xlink:label="loc_us-gaap_TreasuryStockShares_1CA5F9F04E8D209F27C5F890353C9023" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_2057E4626F465A8E22A2F890353C0C14" xlink:to="loc_us-gaap_TreasuryStockShares_1CA5F9F04E8D209F27C5F890353C9023" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.matrixservice.com/role/CondensedConsolidatedStatementsOfCashFlows" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservice.com/role/CondensedConsolidatedStatementsOfChangesInStockholdersEquity" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaap_StatementLineItems_B84624DF08B129F710E28630C56D4831" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaap_StatementTable_3177C2470CC71877BA3B8630C56C0919" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_B84624DF08B129F710E28630C56D4831" xlink:to="loc_us-gaap_StatementTable_3177C2470CC71877BA3B8630C56C0919" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_StatementEquityComponentsAxis" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_73244F645917D98166178630C56C9F64" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_3177C2470CC71877BA3B8630C56C0919" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_73244F645917D98166178630C56C9F64" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_8677F49548CE49C140CA8630C56C9FC5_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_73244F645917D98166178630C56C9F64" xlink:to="loc_us-gaap_EquityComponentDomain_8677F49548CE49C140CA8630C56C9FC5_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_8677F49548CE49C140CA8630C56C9FC5" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_73244F645917D98166178630C56C9F64" xlink:to="loc_us-gaap_EquityComponentDomain_8677F49548CE49C140CA8630C56C9FC5" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_CommonStockMember" xlink:label="loc_us-gaap_CommonStockMember_5426F5BF8ED9D22E8FE08630C56C7121" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_8677F49548CE49C140CA8630C56C9FC5" xlink:to="loc_us-gaap_CommonStockMember_5426F5BF8ED9D22E8FE08630C56C7121" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_AdditionalPaidInCapitalMember" xlink:label="loc_us-gaap_AdditionalPaidInCapitalMember_10D62A2B66404ED5B1DE8630C56D0044" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_8677F49548CE49C140CA8630C56C9FC5" xlink:to="loc_us-gaap_AdditionalPaidInCapitalMember_10D62A2B66404ED5B1DE8630C56D0044" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_RetainedEarningsMember" xlink:label="loc_us-gaap_RetainedEarningsMember_1C439F428C5743AAB88A8630C56D5DE4" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_8677F49548CE49C140CA8630C56C9FC5" xlink:to="loc_us-gaap_RetainedEarningsMember_1C439F428C5743AAB88A8630C56D5DE4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_TreasuryStockMember" xlink:label="loc_us-gaap_TreasuryStockMember_57ACF670256D77151BF48630C56D47BA" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_8677F49548CE49C140CA8630C56C9FC5" xlink:to="loc_us-gaap_TreasuryStockMember_57ACF670256D77151BF48630C56D47BA" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeMember" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_93A63FC3B724C70E2F2B8630C56D1FC6" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_8677F49548CE49C140CA8630C56C9FC5" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_93A63FC3B724C70E2F2B8630C56D1FC6" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_StockholdersEquity" xlink:label="loc_us-gaap_StockholdersEquity_474F3F9E1F17353B93468630C56D3490" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_B84624DF08B129F710E28630C56D4831" xlink:to="loc_us-gaap_StockholdersEquity_474F3F9E1F17353B93468630C56D3490" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_96891E60ACC51CAC42228630C56E3724" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_B84624DF08B129F710E28630C56D4831" xlink:to="loc_us-gaap_NetIncomeLoss_96891E60ACC51CAC42228630C56E3724" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_3868C7C5047D33132ADC86367626F40F" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_B84624DF08B129F710E28630C56D4831" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_3868C7C5047D33132ADC86367626F40F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised_44020EE40A03D721BBF88630C56E6A1B" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_B84624DF08B129F710E28630C56D4831" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised_44020EE40A03D721BBF88630C56E6A1B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_AdjustmentsToAdditionalPaidInCapitalTaxEffectFromShareBasedCompensation" xlink:label="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalTaxEffectFromShareBasedCompensation_80BE43A360202543BB1D8630C56E1691" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_B84624DF08B129F710E28630C56D4831" xlink:to="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalTaxEffectFromShareBasedCompensation_80BE43A360202543BB1D8630C56E1691" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_AdjustmentsToAdditionalPaidInCapitalOther" xlink:label="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalOther_A90E311BF7C9CAD54E2F8630C56E62A3" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_B84624DF08B129F710E28630C56D4831" xlink:to="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalOther_A90E311BF7C9CAD54E2F8630C56E62A3" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_StockIssuedDuringPeriodValueEmployeeStockPurchasePlan" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueEmployeeStockPurchasePlan_2E451CE32BAAFACE4B788630C56EC6FA" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_B84624DF08B129F710E28630C56D4831" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueEmployeeStockPurchasePlan_2E451CE32BAAFACE4B788630C56EC6FA" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_TreasuryStockValueAcquiredCostMethod" xlink:label="loc_us-gaap_TreasuryStockValueAcquiredCostMethod_454D860B8F93506C2B958630C56E255D" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_B84624DF08B129F710E28630C56D4831" xlink:to="loc_us-gaap_TreasuryStockValueAcquiredCostMethod_454D860B8F93506C2B958630C56E255D" xlink:type="arc" />
    <loc xlink:href="mtrx-20130331.xsd#mtrx_OtherTreasurySharePurchases" xlink:label="loc_mtrx_OtherTreasurySharePurchases_438445C2F28AAF496F028630C56E96C8" xlink:type="locator" />
    <definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_B84624DF08B129F710E28630C56D4831" xlink:to="loc_mtrx_OtherTreasurySharePurchases_438445C2F28AAF496F028630C56E96C8" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue" xlink:label="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_2A67292C4028ED9DFF418630C56E168E" xlink:type="locator" />
    <definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_B84624DF08B129F710E28630C56D4831" xlink:to="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_2A67292C4028ED9DFF418630C56E168E" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.matrixservice.com/role/CondensedConsolidatedStatementsOfChangesInStockholdersEquityParenthetical" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaap_StatementLineItems_5C1322DDD71F65916621856F5444E879" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaap_StatementTable_29F089B8207F3F8F5374856F5444745B" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_5C1322DDD71F65916621856F5444E879" xlink:to="loc_us-gaap_StatementTable_29F089B8207F3F8F5374856F5444745B" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_StatementEquityComponentsAxis" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_02455BF8227A304217A1856F5444CCF5" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_29F089B8207F3F8F5374856F5444745B" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_02455BF8227A304217A1856F5444CCF5" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_29ECF74016DFEB0E8369856F54445EE7_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_02455BF8227A304217A1856F5444CCF5" xlink:to="loc_us-gaap_EquityComponentDomain_29ECF74016DFEB0E8369856F54445EE7_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_29ECF74016DFEB0E8369856F54445EE7" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_02455BF8227A304217A1856F5444CCF5" xlink:to="loc_us-gaap_EquityComponentDomain_29ECF74016DFEB0E8369856F54445EE7" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_AdditionalPaidInCapitalMember" xlink:label="loc_us-gaap_AdditionalPaidInCapitalMember_58BB9D65E29C519EBD83856F544498BF" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_29ECF74016DFEB0E8369856F54445EE7" xlink:to="loc_us-gaap_AdditionalPaidInCapitalMember_58BB9D65E29C519EBD83856F544498BF" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_TreasuryStockMember" xlink:label="loc_us-gaap_TreasuryStockMember_64780BCFF838B232D635856F54446B6D" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_29ECF74016DFEB0E8369856F54445EE7" xlink:to="loc_us-gaap_TreasuryStockMember_64780BCFF838B232D635856F54446B6D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_5B05E04BF07B9B705651856F5444683F" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_5C1322DDD71F65916621856F5444E879" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_5B05E04BF07B9B705651856F5444683F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans_EA9F25E5E9BB38B2E8C5856F544E7248" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_5C1322DDD71F65916621856F5444E879" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans_EA9F25E5E9BB38B2E8C5856F544E7248" xlink:type="arc" />
    <loc xlink:href="mtrx-20130331.xsd#mtrx_DeferredSharesIssued" xlink:label="loc_mtrx_DeferredSharesIssued_4FCBA13793601E0A7F93856F544E7763" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_5C1322DDD71F65916621856F5444E879" xlink:to="loc_mtrx_DeferredSharesIssued_4FCBA13793601E0A7F93856F544E7763" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_TreasuryStockSharesAcquired" xlink:label="loc_us-gaap_TreasuryStockSharesAcquired_FF772F8755A8D3F09A41856F544E5106" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_5C1322DDD71F65916621856F5444E879" xlink:to="loc_us-gaap_TreasuryStockSharesAcquired_FF772F8755A8D3F09A41856F544E5106" xlink:type="arc" />
    <loc xlink:href="mtrx-20130331.xsd#mtrx_OtherTreasurySharesAcquired" xlink:label="loc_mtrx_OtherTreasurySharesAcquired_DDD82CC53803B4932079856F544EC11A" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_5C1322DDD71F65916621856F5444E879" xlink:to="loc_mtrx_OtherTreasurySharesAcquired_DDD82CC53803B4932079856F544EC11A" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.matrixservice.com/role/CondensedConsolidatedStatementsOfComprehensiveIncome" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaap_StatementLineItems_D071F12FE1FC575D0AC8863142E17587" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaap_StatementTable_40EB27DA13ACF59A68D0863142E18B2E" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_D071F12FE1FC575D0AC8863142E17587" xlink:to="loc_us-gaap_StatementTable_40EB27DA13ACF59A68D0863142E18B2E" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_StatementEquityComponentsAxis" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_923268594CAA36139B38863142E12491" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_40EB27DA13ACF59A68D0863142E18B2E" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_923268594CAA36139B38863142E12491" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_CD5831EE8B21F845D956863142E17982_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_923268594CAA36139B38863142E12491" xlink:to="loc_us-gaap_EquityComponentDomain_CD5831EE8B21F845D956863142E17982_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_CD5831EE8B21F845D956863142E17982" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_923268594CAA36139B38863142E12491" xlink:to="loc_us-gaap_EquityComponentDomain_CD5831EE8B21F845D956863142E17982" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeMember" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_D788A9A5C73B8308EFE0863142E1AAAF" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_CD5831EE8B21F845D956863142E17982" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_D788A9A5C73B8308EFE0863142E1AAAF" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.matrixservice.com/role/DebtAdditionalInformationDetail" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems" xlink:label="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_CE7FD844E90118BE868E807FAE02DA8A" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ScheduleOfAcquiredIndefiniteLivedIntangibleAssetsByMajorClassTable" xlink:label="loc_us-gaap_ScheduleOfAcquiredIndefiniteLivedIntangibleAssetsByMajorClassTable_3360B2699AEFE0643C76807FADFB4241" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_CE7FD844E90118BE868E807FAE02DA8A" xlink:to="loc_us-gaap_ScheduleOfAcquiredIndefiniteLivedIntangibleAssetsByMajorClassTable_3360B2699AEFE0643C76807FADFB4241" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="mtrx-20130331.xsd#mtrx_VariableRateAxis" xlink:label="loc_mtrx_VariableRateAxis_6F03D4BCDF2FF560E282807FADFB7A8B" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAcquiredIndefiniteLivedIntangibleAssetsByMajorClassTable_3360B2699AEFE0643C76807FADFB4241" xlink:to="loc_mtrx_VariableRateAxis_6F03D4BCDF2FF560E282807FADFB7A8B" xlink:type="arc" />
    <loc xlink:href="mtrx-20130331.xsd#mtrx_VariableRateDomain" xlink:label="loc_mtrx_VariableRateDomain_1E2345C5C29D6C399A6A807FADFBC33B_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_mtrx_VariableRateAxis_6F03D4BCDF2FF560E282807FADFB7A8B" xlink:to="loc_mtrx_VariableRateDomain_1E2345C5C29D6C399A6A807FADFBC33B_default" xlink:type="arc" />
    <loc xlink:href="mtrx-20130331.xsd#mtrx_VariableRateDomain" xlink:label="loc_mtrx_VariableRateDomain_1E2345C5C29D6C399A6A807FADFBC33B" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_mtrx_VariableRateAxis_6F03D4BCDF2FF560E282807FADFB7A8B" xlink:to="loc_mtrx_VariableRateDomain_1E2345C5C29D6C399A6A807FADFBC33B" xlink:type="arc" />
    <loc xlink:href="mtrx-20130331.xsd#mtrx_CdorRateMember" xlink:label="loc_mtrx_CdorRateMember_167A49812201BED6BF37807FADFBE62D" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_VariableRateDomain_1E2345C5C29D6C399A6A807FADFBC33B" xlink:to="loc_mtrx_CdorRateMember_167A49812201BED6BF37807FADFBE62D" xlink:type="arc" />
    <loc xlink:href="mtrx-20130331.xsd#mtrx_CanadianPrimeRateMember" xlink:label="loc_mtrx_CanadianPrimeRateMember_B9F5AC02CF792B0DDD51807FAE018D39" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_VariableRateDomain_1E2345C5C29D6C399A6A807FADFBC33B" xlink:to="loc_mtrx_CanadianPrimeRateMember_B9F5AC02CF792B0DDD51807FAE018D39" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_RangeAxis" xlink:label="loc_us-gaap_RangeAxis_B76AED5B05C60FEF00C6807FAE01885B" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAcquiredIndefiniteLivedIntangibleAssetsByMajorClassTable_3360B2699AEFE0643C76807FADFB4241" xlink:to="loc_us-gaap_RangeAxis_B76AED5B05C60FEF00C6807FAE01885B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_964028F01877E4DC00EE807FAE015BC4_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RangeAxis_B76AED5B05C60FEF00C6807FAE01885B" xlink:to="loc_us-gaap_RangeMember_964028F01877E4DC00EE807FAE015BC4_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_964028F01877E4DC00EE807FAE015BC4" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RangeAxis_B76AED5B05C60FEF00C6807FAE01885B" xlink:to="loc_us-gaap_RangeMember_964028F01877E4DC00EE807FAE015BC4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_MinimumMember" xlink:label="loc_us-gaap_MinimumMember_757A1C3C8704BBF3022B807FAE0226E9" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_964028F01877E4DC00EE807FAE015BC4" xlink:to="loc_us-gaap_MinimumMember_757A1C3C8704BBF3022B807FAE0226E9" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_MaximumMember" xlink:label="loc_us-gaap_MaximumMember_B03BC8485FC55FF60CAE807FAE02C09A" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_964028F01877E4DC00EE807FAE015BC4" xlink:to="loc_us-gaap_MaximumMember_B03BC8485FC55FF60CAE807FAE02C09A" xlink:type="arc" />
    <loc xlink:href="mtrx-20130331.xsd#mtrx_CreditAgreementTerm" xlink:label="loc_mtrx_CreditAgreementTerm_DE02E74F8677BC89E8FF807FAE02D844" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_CE7FD844E90118BE868E807FAE02DA8A" xlink:to="loc_mtrx_CreditAgreementTerm_DE02E74F8677BC89E8FF807FAE02D844" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity" xlink:label="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_66DA83F8797CF2F73775807FAE023AB7" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_CE7FD844E90118BE868E807FAE02DA8A" xlink:to="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_66DA83F8797CF2F73775807FAE023AB7" xlink:type="arc" />
    <loc xlink:href="mtrx-20130331.xsd#mtrx_MtrxLineofcreditfacilityexpirationdate" xlink:label="loc_mtrx_MtrxLineofcreditfacilityexpirationdate_945A232AF4FC8A13C311807FAE028811" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_CE7FD844E90118BE868E807FAE02DA8A" xlink:to="loc_mtrx_MtrxLineofcreditfacilityexpirationdate_945A232AF4FC8A13C311807FAE028811" xlink:type="arc" />
    <loc xlink:href="mtrx-20130331.xsd#mtrx_SeniorLeverageRatioMaximum" xlink:label="loc_mtrx_SeniorLeverageRatioMaximum_40A7230FFCE903EC16B9807FAE03D286" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_CE7FD844E90118BE868E807FAE02DA8A" xlink:to="loc_mtrx_SeniorLeverageRatioMaximum_40A7230FFCE903EC16B9807FAE03D286" xlink:type="arc" />
    <loc xlink:href="mtrx-20130331.xsd#mtrx_SeniorLeverageRatioMinimum" xlink:label="loc_mtrx_SeniorLeverageRatioMinimum_8C92CD473B4FF5F9D6B2807FAE03D284" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_CE7FD844E90118BE868E807FAE02DA8A" xlink:to="loc_mtrx_SeniorLeverageRatioMinimum_8C92CD473B4FF5F9D6B2807FAE03D284" xlink:type="arc" />
    <loc xlink:href="mtrx-20130331.xsd#mtrx_FixedChargeCoverageRatioMaximum" xlink:label="loc_mtrx_FixedChargeCoverageRatioMaximum_C5A219B24E52D68E07BA807FAE03EF1A" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_CE7FD844E90118BE868E807FAE02DA8A" xlink:to="loc_mtrx_FixedChargeCoverageRatioMaximum_C5A219B24E52D68E07BA807FAE03EF1A" xlink:type="arc" />
    <loc xlink:href="mtrx-20130331.xsd#mtrx_FixedChargeCoverageRatioMinimum" xlink:label="loc_mtrx_FixedChargeCoverageRatioMinimum_AD25D98070661DFCEF2E807FAE0393D8" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_CE7FD844E90118BE868E807FAE02DA8A" xlink:to="loc_mtrx_FixedChargeCoverageRatioMinimum_AD25D98070661DFCEF2E807FAE0393D8" xlink:type="arc" />
    <loc xlink:href="mtrx-20130331.xsd#mtrx_MtrxAmountOfLimitOnAssetDispositions" xlink:label="loc_mtrx_MtrxAmountOfLimitOnAssetDispositions_8DB58323A8F846967F94807FAE03DA95" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_CE7FD844E90118BE868E807FAE02DA8A" xlink:to="loc_mtrx_MtrxAmountOfLimitOnAssetDispositions_8DB58323A8F846967F94807FAE03DA95" xlink:type="arc" />
    <loc xlink:href="mtrx-20130331.xsd#mtrx_LineOfCreditBasisSpreadOnAlternateBaseRateMinimum" xlink:label="loc_mtrx_LineOfCreditBasisSpreadOnAlternateBaseRateMinimum_96F5C924C9333D103319807FAE0814DC" xlink:type="locator" />
    <definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_CE7FD844E90118BE868E807FAE02DA8A" xlink:to="loc_mtrx_LineOfCreditBasisSpreadOnAlternateBaseRateMinimum_96F5C924C9333D103319807FAE0814DC" xlink:type="arc" />
    <loc xlink:href="mtrx-20130331.xsd#mtrx_LineOfCreditBasisSpreadOnAlternateBaseRateMaximum" xlink:label="loc_mtrx_LineOfCreditBasisSpreadOnAlternateBaseRateMaximum_35EF44936EE971C4573F807FAE086D58" xlink:type="locator" />
    <definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_CE7FD844E90118BE868E807FAE02DA8A" xlink:to="loc_mtrx_LineOfCreditBasisSpreadOnAlternateBaseRateMaximum_35EF44936EE971C4573F807FAE086D58" xlink:type="arc" />
    <loc xlink:href="mtrx-20130331.xsd#mtrx_LineOfCreditBasisSpreadOnLondonInterbankOfferedRateMinimum" xlink:label="loc_mtrx_LineOfCreditBasisSpreadOnLondonInterbankOfferedRateMinimum_EDDD66BB060003B0A2C0807FAE089610" xlink:type="locator" />
    <definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_CE7FD844E90118BE868E807FAE02DA8A" xlink:to="loc_mtrx_LineOfCreditBasisSpreadOnLondonInterbankOfferedRateMinimum_EDDD66BB060003B0A2C0807FAE089610" xlink:type="arc" />
    <loc xlink:href="mtrx-20130331.xsd#mtrx_LineOfCreditBasisSpreadOnLondonInterbankOfferedRateMaximum" xlink:label="loc_mtrx_LineOfCreditBasisSpreadOnLondonInterbankOfferedRateMaximum_9E7BEB8E1A5C649CE3EE807FAE096516" xlink:type="locator" />
    <definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_CE7FD844E90118BE868E807FAE02DA8A" xlink:to="loc_mtrx_LineOfCreditBasisSpreadOnLondonInterbankOfferedRateMaximum_9E7BEB8E1A5C649CE3EE807FAE096516" xlink:type="arc" />
    <loc xlink:href="mtrx-20130331.xsd#mtrx_AmountOfLimitOnCanadianDollarBorrowings" xlink:label="loc_mtrx_AmountOfLimitOnCanadianDollarBorrowings_C061B0DA402DD39D7FBA807FAE09C101" xlink:type="locator" />
    <definitionArc order="13" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_CE7FD844E90118BE868E807FAE02DA8A" xlink:to="loc_mtrx_AmountOfLimitOnCanadianDollarBorrowings_C061B0DA402DD39D7FBA807FAE09C101" xlink:type="arc" />
    <loc xlink:href="mtrx-20130331.xsd#mtrx_LineOfCreditBasisSpreadOnCanadianDepositOfferedRateMinimum" xlink:label="loc_mtrx_LineOfCreditBasisSpreadOnCanadianDepositOfferedRateMinimum_487ABB55AE6BD276A03B807FAE090362" xlink:type="locator" />
    <definitionArc order="14" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_CE7FD844E90118BE868E807FAE02DA8A" xlink:to="loc_mtrx_LineOfCreditBasisSpreadOnCanadianDepositOfferedRateMinimum_487ABB55AE6BD276A03B807FAE090362" xlink:type="arc" />
    <loc xlink:href="mtrx-20130331.xsd#mtrx_LineOfCreditBasisSpreadOnCanadianDepositOfferedRateMaximum" xlink:label="loc_mtrx_LineOfCreditBasisSpreadOnCanadianDepositOfferedRateMaximum_8A3BA577AF8CE149275C807FAE0914AA" xlink:type="locator" />
    <definitionArc order="15" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_CE7FD844E90118BE868E807FAE02DA8A" xlink:to="loc_mtrx_LineOfCreditBasisSpreadOnCanadianDepositOfferedRateMaximum_8A3BA577AF8CE149275C807FAE0914AA" xlink:type="arc" />
    <loc xlink:href="mtrx-20130331.xsd#mtrx_LineOfCreditBasisSpreadOnCanadianPrimeRateMinimum" xlink:label="loc_mtrx_LineOfCreditBasisSpreadOnCanadianPrimeRateMinimum_FB2381C4C01B96BB2AD4807FAE09C709" xlink:type="locator" />
    <definitionArc order="16" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_CE7FD844E90118BE868E807FAE02DA8A" xlink:to="loc_mtrx_LineOfCreditBasisSpreadOnCanadianPrimeRateMinimum_FB2381C4C01B96BB2AD4807FAE09C709" xlink:type="arc" />
    <loc xlink:href="mtrx-20130331.xsd#mtrx_LineOfCreditBasisSpreadOnCanadianPrimeRateMaximum" xlink:label="loc_mtrx_LineOfCreditBasisSpreadOnCanadianPrimeRateMaximum_80B8CA64291C4F46C21B807FAE09133C" xlink:type="locator" />
    <definitionArc order="17" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_CE7FD844E90118BE868E807FAE02DA8A" xlink:to="loc_mtrx_LineOfCreditBasisSpreadOnCanadianPrimeRateMaximum_80B8CA64291C4F46C21B807FAE09133C" xlink:type="arc" />
    <loc xlink:href="mtrx-20130331.xsd#mtrx_LineOfCreditFacilityCanadianDepositOfferedRateDescription" xlink:label="loc_mtrx_LineOfCreditFacilityCanadianDepositOfferedRateDescription_80DCBAA02FFBDC3C97F2807FAE099DEE" xlink:type="locator" />
    <definitionArc order="18" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_CE7FD844E90118BE868E807FAE02DA8A" xlink:to="loc_mtrx_LineOfCreditFacilityCanadianDepositOfferedRateDescription_80DCBAA02FFBDC3C97F2807FAE099DEE" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_DebtInstrumentDescriptionOfVariableRateBasis" xlink:label="loc_us-gaap_DebtInstrumentDescriptionOfVariableRateBasis_8327C1C52C99548AF725807FAE0A05E9" xlink:type="locator" />
    <definitionArc order="19" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_CE7FD844E90118BE868E807FAE02DA8A" xlink:to="loc_us-gaap_DebtInstrumentDescriptionOfVariableRateBasis_8327C1C52C99548AF725807FAE0A05E9" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_DebtInstrumentBasisSpreadOnVariableRate" xlink:label="loc_us-gaap_DebtInstrumentBasisSpreadOnVariableRate_06C6BECA8E9DF3DF0196807FAE0A41D5" xlink:type="locator" />
    <definitionArc order="20" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_CE7FD844E90118BE868E807FAE02DA8A" xlink:to="loc_us-gaap_DebtInstrumentBasisSpreadOnVariableRate_06C6BECA8E9DF3DF0196807FAE0A41D5" xlink:type="arc" />
    <loc xlink:href="mtrx-20130331.xsd#mtrx_LineOfCreditFacilityCanadianPrimeRateDescription" xlink:label="loc_mtrx_LineOfCreditFacilityCanadianPrimeRateDescription_28743F99EB79DA6B2F76807FAE0A34D5" xlink:type="locator" />
    <definitionArc order="21" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_CE7FD844E90118BE868E807FAE02DA8A" xlink:to="loc_mtrx_LineOfCreditFacilityCanadianPrimeRateDescription_28743F99EB79DA6B2F76807FAE0A34D5" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_LineOfCreditFacilityUnusedCapacityCommitmentFeePercentage" xlink:label="loc_us-gaap_LineOfCreditFacilityUnusedCapacityCommitmentFeePercentage_93DD3E9AB4841BC694FC807FAE0A765F" xlink:type="locator" />
    <definitionArc order="22" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_CE7FD844E90118BE868E807FAE02DA8A" xlink:to="loc_us-gaap_LineOfCreditFacilityUnusedCapacityCommitmentFeePercentage_93DD3E9AB4841BC694FC807FAE0A765F" xlink:type="arc" />
    <loc xlink:href="mtrx-20130331.xsd#mtrx_MaximumLimitOfConsolidatedFundedIndebtedness" xlink:label="loc_mtrx_MaximumLimitOfConsolidatedFundedIndebtedness_7D4D8B5B391EEC59F127807FAE0A92BA" xlink:type="locator" />
    <definitionArc order="23" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_CE7FD844E90118BE868E807FAE02DA8A" xlink:to="loc_mtrx_MaximumLimitOfConsolidatedFundedIndebtedness_7D4D8B5B391EEC59F127807FAE0A92BA" xlink:type="arc" />
    <loc xlink:href="mtrx-20130331.xsd#mtrx_ConsolidatedEarningsBeforeInterestTaxesDepreciationAndAmortizationPerCreditAgreement" xlink:label="loc_mtrx_ConsolidatedEarningsBeforeInterestTaxesDepreciationAndAmortizationPerCreditAgreement_5E1A02AFDA5B85FEF70D807FAE0AF6E4" xlink:type="locator" />
    <definitionArc order="24" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_CE7FD844E90118BE868E807FAE02DA8A" xlink:to="loc_mtrx_ConsolidatedEarningsBeforeInterestTaxesDepreciationAndAmortizationPerCreditAgreement_5E1A02AFDA5B85FEF70D807FAE0AF6E4" xlink:type="arc" />
    <loc xlink:href="mtrx-20130331.xsd#mtrx_LineOfCreditFacilityMaximumBorrowingCapacityAfterConsiderationOfCapacityConstraint" xlink:label="loc_mtrx_LineOfCreditFacilityMaximumBorrowingCapacityAfterConsiderationOfCapacityConstraint_3764C66B300C886B6B4F807FAE0A1016" xlink:type="locator" />
    <definitionArc order="25" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_CE7FD844E90118BE868E807FAE02DA8A" xlink:to="loc_mtrx_LineOfCreditFacilityMaximumBorrowingCapacityAfterConsiderationOfCapacityConstraint_3764C66B300C886B6B4F807FAE0A1016" xlink:type="arc" />
    <loc xlink:href="mtrx-20130331.xsd#mtrx_ConsolidatedFundedIndebtedness" xlink:label="loc_mtrx_ConsolidatedFundedIndebtedness_5495EB338667E46F85EB807FAE0A3443" xlink:type="locator" />
    <definitionArc order="26" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_CE7FD844E90118BE868E807FAE02DA8A" xlink:to="loc_mtrx_ConsolidatedFundedIndebtedness_5495EB338667E46F85EB807FAE0A3443" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.matrixservice.com/role/DebtAvailabilityUnderSeniorCreditFacilityDetails" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservice.com/role/EarningsPerCommonShareAntidilutiveSecuritiesExcludedFromCalculationOfDilutedEarningsPerShareDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_D6886BB7F50759EF4481F890356B72D5" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable" xlink:label="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_13FECBA6C95D3C71E305F890356BA8EA" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_D6886BB7F50759EF4481F890356B72D5" xlink:to="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_13FECBA6C95D3C71E305F890356BA8EA" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_FFFD4F6E4BB4742F257DF890356B8999" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_13FECBA6C95D3C71E305F890356BA8EA" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_FFFD4F6E4BB4742F257DF890356B8999" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_AntidilutiveSecuritiesNameDomain" xlink:label="loc_us-gaap_AntidilutiveSecuritiesNameDomain_34792EA37561A66EFE64F890356B5E83_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_FFFD4F6E4BB4742F257DF890356B8999" xlink:to="loc_us-gaap_AntidilutiveSecuritiesNameDomain_34792EA37561A66EFE64F890356B5E83_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_AntidilutiveSecuritiesNameDomain" xlink:label="loc_us-gaap_AntidilutiveSecuritiesNameDomain_34792EA37561A66EFE64F890356B5E83" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_FFFD4F6E4BB4742F257DF890356B8999" xlink:to="loc_us-gaap_AntidilutiveSecuritiesNameDomain_34792EA37561A66EFE64F890356B5E83" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_StockOptionsMember" xlink:label="loc_us-gaap_StockOptionsMember_D5DC4909B0050879277EF890356B3336" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_34792EA37561A66EFE64F890356B5E83" xlink:to="loc_us-gaap_StockOptionsMember_D5DC4909B0050879277EF890356B3336" xlink:type="arc" />
    <loc xlink:href="mtrx-20130331.xsd#mtrx_NonvestedDeferredSharesMember" xlink:label="loc_mtrx_NonvestedDeferredSharesMember_00E1CD9BE6866A566E41F890356BE6F9" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_34792EA37561A66EFE64F890356B5E83" xlink:to="loc_mtrx_NonvestedDeferredSharesMember_00E1CD9BE6866A566E41F890356BE6F9" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_8CBFD07429C2E7932F4EF890356B9379" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_D6886BB7F50759EF4481F890356B72D5" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_8CBFD07429C2E7932F4EF890356B9379" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.matrixservice.com/role/IntangibleAssetsIncludingGoodwillAdditionalInformationDetail" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsLineItems" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_94EF69E9A4D11A9A0CA2863A977A6FA7" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable" xlink:label="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_D052C4331BA107A13179863A977A3FFA" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_94EF69E9A4D11A9A0CA2863A977A6FA7" xlink:to="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_D052C4331BA107A13179863A977A3FFA" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_RangeAxis" xlink:label="loc_us-gaap_RangeAxis_F5F6189A2B374CE62CD2863A977AF815" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_D052C4331BA107A13179863A977A3FFA" xlink:to="loc_us-gaap_RangeAxis_F5F6189A2B374CE62CD2863A977AF815" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_663D77656685F8687AE9863A977A20D7_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RangeAxis_F5F6189A2B374CE62CD2863A977AF815" xlink:to="loc_us-gaap_RangeMember_663D77656685F8687AE9863A977A20D7_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_663D77656685F8687AE9863A977A20D7" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RangeAxis_F5F6189A2B374CE62CD2863A977AF815" xlink:to="loc_us-gaap_RangeMember_663D77656685F8687AE9863A977A20D7" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_MinimumMember" xlink:label="loc_us-gaap_MinimumMember_E394B608E389F21B586E863A977ABAC6" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_663D77656685F8687AE9863A977A20D7" xlink:to="loc_us-gaap_MinimumMember_E394B608E389F21B586E863A977ABAC6" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_MaximumMember" xlink:label="loc_us-gaap_MaximumMember_CBDBCC4894C1A66C2D95863A977A508D" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_663D77656685F8687AE9863A977A20D7" xlink:to="loc_us-gaap_MaximumMember_CBDBCC4894C1A66C2D95863A977A508D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_E60541DA3D9824A22F2B863A977AC418" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_D052C4331BA107A13179863A977A3FFA" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_E60541DA3D9824A22F2B863A977AC418" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_52E9B5D0E01AF4CE3B5E863A977A851B_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_E60541DA3D9824A22F2B863A977AC418" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_52E9B5D0E01AF4CE3B5E863A977A851B_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_52E9B5D0E01AF4CE3B5E863A977A851B" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_E60541DA3D9824A22F2B863A977AC418" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_52E9B5D0E01AF4CE3B5E863A977A851B" xlink:type="arc" />
    <loc xlink:href="mtrx-20130331.xsd#mtrx_IntellectualPropertyMember" xlink:label="loc_mtrx_IntellectualPropertyMember_B084A4467A434FE61F64863A977AB9F7" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_52E9B5D0E01AF4CE3B5E863A977A851B" xlink:to="loc_mtrx_IntellectualPropertyMember_B084A4467A434FE61F64863A977AB9F7" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_CustomerRelationshipsMember" xlink:label="loc_us-gaap_CustomerRelationshipsMember_744C30BB8A21D849D233863A977A8228" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_52E9B5D0E01AF4CE3B5E863A977A851B" xlink:to="loc_us-gaap_CustomerRelationshipsMember_744C30BB8A21D849D233863A977A8228" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_NoncompeteAgreementsMember" xlink:label="loc_us-gaap_NoncompeteAgreementsMember_C97B2FFC13E258F02D69863A977A8591" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_52E9B5D0E01AF4CE3B5E863A977A851B" xlink:to="loc_us-gaap_NoncompeteAgreementsMember_C97B2FFC13E258F02D69863A977A8591" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_OtherIntangibleAssetsMember" xlink:label="loc_us-gaap_OtherIntangibleAssetsMember_604226BC2A28C3A0B560863A977A2833" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_52E9B5D0E01AF4CE3B5E863A977A851B" xlink:to="loc_us-gaap_OtherIntangibleAssetsMember_604226BC2A28C3A0B560863A977A2833" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetUsefulLife" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetUsefulLife_DAE32E5FBC8EEA8191E6863A977A67CB" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_94EF69E9A4D11A9A0CA2863A977A6FA7" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetUsefulLife_DAE32E5FBC8EEA8191E6863A977A67CB" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsFairValueDisclosure" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsFairValueDisclosure_725C7EA24C9C2971BF33863A977A2BF9" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_94EF69E9A4D11A9A0CA2863A977A6FA7" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsFairValueDisclosure_725C7EA24C9C2971BF33863A977A2BF9" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife" xlink:label="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife_7613FA9DB6A940902D74863A977A6B0A" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_94EF69E9A4D11A9A0CA2863A977A6FA7" xlink:to="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife_7613FA9DB6A940902D74863A977A6B0A" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.matrixservice.com/role/IntangibleAssetsIncludingGoodwillCarryingValueOfGoodwillBySegmentDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_GoodwillLineItems" xlink:label="loc_us-gaap_GoodwillLineItems_A376A301D70A08A7FF4184EAAB6DDCDB" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ScheduleOfGoodwillTable" xlink:label="loc_us-gaap_ScheduleOfGoodwillTable_1A28A44707D4535EACE984EAAB6DB151" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_GoodwillLineItems_A376A301D70A08A7FF4184EAAB6DDCDB" xlink:to="loc_us-gaap_ScheduleOfGoodwillTable_1A28A44707D4535EACE984EAAB6DB151" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_StatementBusinessSegmentsAxis" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_84AD2171C7342C7CFFCC84EAAB6D56B3" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfGoodwillTable_1A28A44707D4535EACE984EAAB6DB151" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_84AD2171C7342C7CFFCC84EAAB6D56B3" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_DDA7A1AA8AABECAA1D6684EAAB6DE76A_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_84AD2171C7342C7CFFCC84EAAB6D56B3" xlink:to="loc_us-gaap_SegmentDomain_DDA7A1AA8AABECAA1D6684EAAB6DE76A_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_DDA7A1AA8AABECAA1D6684EAAB6DE76A" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_84AD2171C7342C7CFFCC84EAAB6D56B3" xlink:to="loc_us-gaap_SegmentDomain_DDA7A1AA8AABECAA1D6684EAAB6DE76A" xlink:type="arc" />
    <loc xlink:href="mtrx-20130331.xsd#mtrx_ElectricalInfrastructureMember" xlink:label="loc_mtrx_ElectricalInfrastructureMember_CD62149F57A38AF0233B84EAAB6D538D" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_DDA7A1AA8AABECAA1D6684EAAB6DE76A" xlink:to="loc_mtrx_ElectricalInfrastructureMember_CD62149F57A38AF0233B84EAAB6D538D" xlink:type="arc" />
    <loc xlink:href="mtrx-20130331.xsd#mtrx_OilGasAndChemicalMember" xlink:label="loc_mtrx_OilGasAndChemicalMember_561DC09C23736109452184EAAB6D0C23" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_DDA7A1AA8AABECAA1D6684EAAB6DE76A" xlink:to="loc_mtrx_OilGasAndChemicalMember_561DC09C23736109452184EAAB6D0C23" xlink:type="arc" />
    <loc xlink:href="mtrx-20130331.xsd#mtrx_StorageSolutionsMember" xlink:label="loc_mtrx_StorageSolutionsMember_DC279CF4B475168BFE9A84EAAB6DA23E" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_DDA7A1AA8AABECAA1D6684EAAB6DE76A" xlink:to="loc_mtrx_StorageSolutionsMember_DC279CF4B475168BFE9A84EAAB6DA23E" xlink:type="arc" />
    <loc xlink:href="mtrx-20130331.xsd#mtrx_IndustrialMember" xlink:label="loc_mtrx_IndustrialMember_AC5C788B8AF6166EB32084EAAB6D3FAE" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_DDA7A1AA8AABECAA1D6684EAAB6DE76A" xlink:to="loc_mtrx_IndustrialMember_AC5C788B8AF6166EB32084EAAB6D3FAE" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_GoodwillGross" xlink:label="loc_us-gaap_GoodwillGross_9D85A66130DC4E9AF3B484EAAB6D3D50" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillLineItems_A376A301D70A08A7FF4184EAAB6DDCDB" xlink:to="loc_us-gaap_GoodwillGross_9D85A66130DC4E9AF3B484EAAB6D3D50" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_GoodwillImpairedAccumulatedImpairmentLoss" xlink:label="loc_us-gaap_GoodwillImpairedAccumulatedImpairmentLoss_DAA86DE3613B01AABE4684EAAB6DDA6B" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillLineItems_A376A301D70A08A7FF4184EAAB6DDCDB" xlink:to="loc_us-gaap_GoodwillImpairedAccumulatedImpairmentLoss_DAA86DE3613B01AABE4684EAAB6DDA6B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_Goodwill" xlink:label="loc_us-gaap_Goodwill_81DCBBBB635BAF129E9F84EAAB6DE6FD" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillLineItems_A376A301D70A08A7FF4184EAAB6DDCDB" xlink:to="loc_us-gaap_Goodwill_81DCBBBB635BAF129E9F84EAAB6DE6FD" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_GoodwillRollForward" xlink:label="loc_us-gaap_GoodwillRollForward_E221A6E3C8CE9A9FA09D84EAAB6DF13F" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillLineItems_A376A301D70A08A7FF4184EAAB6DDCDB" xlink:to="loc_us-gaap_GoodwillRollForward_E221A6E3C8CE9A9FA09D84EAAB6DF13F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_GoodwillAcquiredDuringPeriod" xlink:label="loc_us-gaap_GoodwillAcquiredDuringPeriod_63E0CA6C0469D4D9A5CB84EAAB6DBB3E" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillRollForward_E221A6E3C8CE9A9FA09D84EAAB6DF13F" xlink:to="loc_us-gaap_GoodwillAcquiredDuringPeriod_63E0CA6C0469D4D9A5CB84EAAB6DBB3E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_GoodwillTranslationAdjustments" xlink:label="loc_us-gaap_GoodwillTranslationAdjustments_0FAB03B3923CCA30989884EAAB6DB629" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillRollForward_E221A6E3C8CE9A9FA09D84EAAB6DF13F" xlink:to="loc_us-gaap_GoodwillTranslationAdjustments_0FAB03B3923CCA30989884EAAB6DB629" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.matrixservice.com/role/IntangibleAssetsIncludingGoodwillCarryingValueOfOtherIntangibleAssetsDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsLineItems" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_DD9EB362B223989C5D8D86409F8E755F" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable" xlink:label="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_BE8342270D785B3CBC3086409F8ECE5B" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_DD9EB362B223989C5D8D86409F8E755F" xlink:to="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_BE8342270D785B3CBC3086409F8ECE5B" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_5A1361ADD4AF162B595286409F8E1685" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_BE8342270D785B3CBC3086409F8ECE5B" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_5A1361ADD4AF162B595286409F8E1685" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_E33A872EB65B391A768686409F8E6386_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_5A1361ADD4AF162B595286409F8E1685" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_E33A872EB65B391A768686409F8E6386_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_E33A872EB65B391A768686409F8E6386" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_5A1361ADD4AF162B595286409F8E1685" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_E33A872EB65B391A768686409F8E6386" xlink:type="arc" />
    <loc xlink:href="mtrx-20130331.xsd#mtrx_IntellectualPropertyMember" xlink:label="loc_mtrx_IntellectualPropertyMember_D4FE90C0CC18EE88D46286409F8E279C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_E33A872EB65B391A768686409F8E6386" xlink:to="loc_mtrx_IntellectualPropertyMember_D4FE90C0CC18EE88D46286409F8E279C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_CustomerRelationshipsMember" xlink:label="loc_us-gaap_CustomerRelationshipsMember_66468D43DCEB72B1DA8486409F8ED322" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_E33A872EB65B391A768686409F8E6386" xlink:to="loc_us-gaap_CustomerRelationshipsMember_66468D43DCEB72B1DA8486409F8ED322" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_NoncompeteAgreementsMember" xlink:label="loc_us-gaap_NoncompeteAgreementsMember_98BD60D3FBEFBAE207F186409F8E7512" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_E33A872EB65B391A768686409F8E6386" xlink:to="loc_us-gaap_NoncompeteAgreementsMember_98BD60D3FBEFBAE207F186409F8E7512" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_RangeAxis" xlink:label="loc_us-gaap_RangeAxis_EB46B9DC69A5AA38E92186409F8E044A" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_BE8342270D785B3CBC3086409F8ECE5B" xlink:to="loc_us-gaap_RangeAxis_EB46B9DC69A5AA38E92186409F8E044A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_4CB997EF05E7067F538486409F8E26C7_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RangeAxis_EB46B9DC69A5AA38E92186409F8E044A" xlink:to="loc_us-gaap_RangeMember_4CB997EF05E7067F538486409F8E26C7_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_4CB997EF05E7067F538486409F8E26C7" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RangeAxis_EB46B9DC69A5AA38E92186409F8E044A" xlink:to="loc_us-gaap_RangeMember_4CB997EF05E7067F538486409F8E26C7" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_MinimumMember" xlink:label="loc_us-gaap_MinimumMember_1979F26DE2C9FE2F19B986409F8EBA59" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_4CB997EF05E7067F538486409F8E26C7" xlink:to="loc_us-gaap_MinimumMember_1979F26DE2C9FE2F19B986409F8EBA59" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_MaximumMember" xlink:label="loc_us-gaap_MaximumMember_942F1DE5F499D5018F1386409F8E5B14" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_4CB997EF05E7067F538486409F8E26C7" xlink:to="loc_us-gaap_MaximumMember_942F1DE5F499D5018F1386409F8E5B14" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsGross" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsGross_437203B1F3C0F27AF69086409F8E28A1" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_DD9EB362B223989C5D8D86409F8E755F" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsGross_437203B1F3C0F27AF69086409F8E28A1" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetUsefulLife" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetUsefulLife_6CB642601D4565B977BE86409F8EF69A" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_DD9EB362B223989C5D8D86409F8E755F" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetUsefulLife_6CB642601D4565B977BE86409F8EF69A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_46D28AE643C23CAE970586409F8EC621" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_DD9EB362B223989C5D8D86409F8E755F" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_46D28AE643C23CAE970586409F8EC621" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsNet" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_6EC5A0C4741B2633158386409F8ECC45" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_DD9EB362B223989C5D8D86409F8E755F" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsNet_6EC5A0C4741B2633158386409F8ECC45" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_IndefiniteLivedTradeNames" xlink:label="loc_us-gaap_IndefiniteLivedTradeNames_BFA0AF038C62D315939486409F8E10BF" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_DD9EB362B223989C5D8D86409F8E755F" xlink:to="loc_us-gaap_IndefiniteLivedTradeNames_BFA0AF038C62D315939486409F8E10BF" xlink:type="arc" />
    <loc xlink:href="mtrx-20130331.xsd#mtrx_IntangibleAssetsGrossExcludingGoodwill" xlink:label="loc_mtrx_IntangibleAssetsGrossExcludingGoodwill_C15CDDCE66A3E0C77ED886409F8EBC2C" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_DD9EB362B223989C5D8D86409F8E755F" xlink:to="loc_mtrx_IntangibleAssetsGrossExcludingGoodwill_C15CDDCE66A3E0C77ED886409F8EBC2C" xlink:type="arc" />
    <loc xlink:href="mtrx-20130331.xsd#mtrx_IntangibleAssetsAccumulatedAmortizationExcludingGoodwill" xlink:label="loc_mtrx_IntangibleAssetsAccumulatedAmortizationExcludingGoodwill_A58D7769F7E31C8A9F4A86409F8E4983" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_DD9EB362B223989C5D8D86409F8E755F" xlink:to="loc_mtrx_IntangibleAssetsAccumulatedAmortizationExcludingGoodwill_A58D7769F7E31C8A9F4A86409F8E4983" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_A4FF02ABD09ABEDCF31286409F8E7307" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_DD9EB362B223989C5D8D86409F8E755F" xlink:to="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_A4FF02ABD09ABEDCF31286409F8E7307" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.matrixservice.com/role/SegmentInformationResultsOfOperationsDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_SegmentReportingInformationLineItems" xlink:label="loc_us-gaap_SegmentReportingInformationLineItems_7CFAD9B0AEB53EC99442F890354BED05" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable" xlink:label="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_57EA32FA38EA34D34922F890354A3B19" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_7CFAD9B0AEB53EC99442F890354BED05" xlink:to="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_57EA32FA38EA34D34922F890354A3B19" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_StatementBusinessSegmentsAxis" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_60E3EEC4E8C3EC18DA40F890354AEF3B" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_57EA32FA38EA34D34922F890354A3B19" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_60E3EEC4E8C3EC18DA40F890354AEF3B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_A8B536253B4E3BAB00CCF890354A64D1_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_60E3EEC4E8C3EC18DA40F890354AEF3B" xlink:to="loc_us-gaap_SegmentDomain_A8B536253B4E3BAB00CCF890354A64D1_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_A8B536253B4E3BAB00CCF890354A64D1" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_60E3EEC4E8C3EC18DA40F890354AEF3B" xlink:to="loc_us-gaap_SegmentDomain_A8B536253B4E3BAB00CCF890354A64D1" xlink:type="arc" />
    <loc xlink:href="mtrx-20130331.xsd#mtrx_ElectricalInfrastructureMember" xlink:label="loc_mtrx_ElectricalInfrastructureMember_7591E3EA746E7F289EC5F890354A92DE" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_A8B536253B4E3BAB00CCF890354A64D1" xlink:to="loc_mtrx_ElectricalInfrastructureMember_7591E3EA746E7F289EC5F890354A92DE" xlink:type="arc" />
    <loc xlink:href="mtrx-20130331.xsd#mtrx_OilGasAndChemicalMember" xlink:label="loc_mtrx_OilGasAndChemicalMember_8F56D2B853D7A66C72EEF890354A70AA" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_A8B536253B4E3BAB00CCF890354A64D1" xlink:to="loc_mtrx_OilGasAndChemicalMember_8F56D2B853D7A66C72EEF890354A70AA" xlink:type="arc" />
    <loc xlink:href="mtrx-20130331.xsd#mtrx_StorageSolutionsMember" xlink:label="loc_mtrx_StorageSolutionsMember_07A50763F4006C6C62DBF890354AEF63" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_A8B536253B4E3BAB00CCF890354A64D1" xlink:to="loc_mtrx_StorageSolutionsMember_07A50763F4006C6C62DBF890354AEF63" xlink:type="arc" />
    <loc xlink:href="mtrx-20130331.xsd#mtrx_IndustrialMember" xlink:label="loc_mtrx_IndustrialMember_FF2A60B369F40BA06C89F890354A99B3" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_A8B536253B4E3BAB00CCF890354A64D1" xlink:to="loc_mtrx_IndustrialMember_FF2A60B369F40BA06C89F890354A99B3" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_AllOtherSegmentsMember" xlink:label="loc_us-gaap_AllOtherSegmentsMember_9A06E8D9A103A9132152F890354B29C4" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_A8B536253B4E3BAB00CCF890354A64D1" xlink:to="loc_us-gaap_AllOtherSegmentsMember_9A06E8D9A103A9132152F890354B29C4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_Revenues" xlink:label="loc_us-gaap_Revenues_EE88528DC7166DEA3B65F890354B566F" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_7CFAD9B0AEB53EC99442F890354BED05" xlink:to="loc_us-gaap_Revenues_EE88528DC7166DEA3B65F890354B566F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_RevenuesFromTransactionsWithOtherOperatingSegmentsOfSameEntity" xlink:label="loc_us-gaap_RevenuesFromTransactionsWithOtherOperatingSegmentsOfSameEntity_B73FB13498406B3AC8C4F890354BF96A" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_7CFAD9B0AEB53EC99442F890354BED05" xlink:to="loc_us-gaap_RevenuesFromTransactionsWithOtherOperatingSegmentsOfSameEntity_B73FB13498406B3AC8C4F890354BF96A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_SalesRevenueServicesNet" xlink:label="loc_us-gaap_SalesRevenueServicesNet_D561BA0E4DA426EBC2DFF890354BE88F" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_7CFAD9B0AEB53EC99442F890354BED05" xlink:to="loc_us-gaap_SalesRevenueServicesNet_D561BA0E4DA426EBC2DFF890354BE88F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_GrossProfit" xlink:label="loc_us-gaap_GrossProfit_898799F3A67BB56E4295F890354BF309" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_7CFAD9B0AEB53EC99442F890354BED05" xlink:to="loc_us-gaap_GrossProfit_898799F3A67BB56E4295F890354BF309" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_OperatingIncomeLoss" xlink:label="loc_us-gaap_OperatingIncomeLoss_38EDCE8B03426F4286C5F890354BFB05" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_7CFAD9B0AEB53EC99442F890354BED05" xlink:to="loc_us-gaap_OperatingIncomeLoss_38EDCE8B03426F4286C5F890354BFB05" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_Assets" xlink:label="loc_us-gaap_Assets_C1D24C3CEC8E64976870F890354BC3C1" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_7CFAD9B0AEB53EC99442F890354BED05" xlink:to="loc_us-gaap_Assets_C1D24C3CEC8E64976870F890354BC3C1" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.matrixservice.com/role/UncompletedContractsAdditionalInformationDetail" xlink:type="extended">
    <loc xlink:href="mtrx-20130331.xsd#mtrx_CustomerContractsLineItems" xlink:label="loc_mtrx_CustomerContractsLineItems_F4BB00895AE77B61B3C284E3A84213A2" xlink:type="locator" />
    <loc xlink:href="mtrx-20130331.xsd#mtrx_CustomerContractsTable" xlink:label="loc_mtrx_CustomerContractsTable_37D45F8ACA3F00B7835F84E3A8411FB8" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_mtrx_CustomerContractsLineItems_F4BB00895AE77B61B3C284E3A84213A2" xlink:to="loc_mtrx_CustomerContractsTable_37D45F8ACA3F00B7835F84E3A8411FB8" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_MajorCustomersAxis" xlink:label="loc_us-gaap_MajorCustomersAxis_C77EE421E10A764FF1A684E3A8414D20" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_mtrx_CustomerContractsTable_37D45F8ACA3F00B7835F84E3A8411FB8" xlink:to="loc_us-gaap_MajorCustomersAxis_C77EE421E10A764FF1A684E3A8414D20" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_NameOfMajorCustomerDomain" xlink:label="loc_us-gaap_NameOfMajorCustomerDomain_421B57E23E3CF31EFE8684E3A8417409_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_MajorCustomersAxis_C77EE421E10A764FF1A684E3A8414D20" xlink:to="loc_us-gaap_NameOfMajorCustomerDomain_421B57E23E3CF31EFE8684E3A8417409_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_NameOfMajorCustomerDomain" xlink:label="loc_us-gaap_NameOfMajorCustomerDomain_421B57E23E3CF31EFE8684E3A8417409" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_MajorCustomersAxis_C77EE421E10A764FF1A684E3A8414D20" xlink:to="loc_us-gaap_NameOfMajorCustomerDomain_421B57E23E3CF31EFE8684E3A8417409" xlink:type="arc" />
    <loc xlink:href="mtrx-20130331.xsd#mtrx_SMElectricCompanyMember" xlink:label="loc_mtrx_SMElectricCompanyMember_D23D9B6B8FC9E1F2A24C84E3A84270B6" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NameOfMajorCustomerDomain_421B57E23E3CF31EFE8684E3A8417409" xlink:to="loc_mtrx_SMElectricCompanyMember_D23D9B6B8FC9E1F2A24C84E3A84270B6" xlink:type="arc" />
    <loc xlink:href="mtrx-20130331.xsd#mtrx_WesternCanadaAbovegroundStorageTankProjectMember" xlink:label="loc_mtrx_WesternCanadaAbovegroundStorageTankProjectMember_533CD1E50AB37490B0D284E3A84205FF" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NameOfMajorCustomerDomain_421B57E23E3CF31EFE8684E3A8417409" xlink:to="loc_mtrx_WesternCanadaAbovegroundStorageTankProjectMember_533CD1E50AB37490B0D284E3A84205FF" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ContractReceivableRetainageDueInRemainderOfFiscalYear" xlink:label="loc_us-gaap_ContractReceivableRetainageDueInRemainderOfFiscalYear_C7E799392E7A522C576284E3A8420409" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_CustomerContractsLineItems_F4BB00895AE77B61B3C284E3A84213A2" xlink:to="loc_us-gaap_ContractReceivableRetainageDueInRemainderOfFiscalYear_C7E799392E7A522C576284E3A8420409" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_CostsInExcessOfBillingsOnUncompletedContractsOrProgramsExpectedToBeCollectedAfterOneYear" xlink:label="loc_us-gaap_CostsInExcessOfBillingsOnUncompletedContractsOrProgramsExpectedToBeCollectedAfterOneYear_E0A0B84BEAD09D61A8CB84E3A84298DB" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_CustomerContractsLineItems_F4BB00895AE77B61B3C284E3A84213A2" xlink:to="loc_us-gaap_CostsInExcessOfBillingsOnUncompletedContractsOrProgramsExpectedToBeCollectedAfterOneYear_E0A0B84BEAD09D61A8CB84E3A84298DB" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ContractsReceivableClaimsAndUncertainAmounts" xlink:label="loc_us-gaap_ContractsReceivableClaimsAndUncertainAmounts_7321CD006806DC854A0884E3A842F835" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_CustomerContractsLineItems_F4BB00895AE77B61B3C284E3A84213A2" xlink:to="loc_us-gaap_ContractsReceivableClaimsAndUncertainAmounts_7321CD006806DC854A0884E3A842F835" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ContractsReceivableClaimsAndUncertainAmountsExpectedToBeCollectedInNextRollingTwelveMonths" xlink:label="loc_us-gaap_ContractsReceivableClaimsAndUncertainAmountsExpectedToBeCollectedInNextRollingTwelveMonths_CC7211BB7B782CEDF2DF84E3A8429B71" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_CustomerContractsLineItems_F4BB00895AE77B61B3C284E3A84213A2" xlink:to="loc_us-gaap_ContractsReceivableClaimsAndUncertainAmountsExpectedToBeCollectedInNextRollingTwelveMonths_CC7211BB7B782CEDF2DF84E3A8429B71" xlink:type="arc" />
    <loc xlink:href="mtrx-20130331.xsd#mtrx_ChangeInAccountingEstimateFinancialEffectOperatingIncome" xlink:label="loc_mtrx_ChangeInAccountingEstimateFinancialEffectOperatingIncome_CBDE1F1C2579DDCFDAA284E3A8429D7D" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_CustomerContractsLineItems_F4BB00895AE77B61B3C284E3A84213A2" xlink:to="loc_mtrx_ChangeInAccountingEstimateFinancialEffectOperatingIncome_CBDE1F1C2579DDCFDAA284E3A8429D7D" xlink:type="arc" />
    <loc xlink:href="mtrx-20130331.xsd#mtrx_Changeinaccountingestimate" xlink:label="loc_mtrx_Changeinaccountingestimate_D5915CEB753E2A0B7B5284E3A842C2DD" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_CustomerContractsLineItems_F4BB00895AE77B61B3C284E3A84213A2" xlink:to="loc_mtrx_Changeinaccountingestimate_D5915CEB753E2A0B7B5284E3A842C2DD" xlink:type="arc" />
    <loc xlink:href="mtrx-20130331.xsd#mtrx_ChangeInAccountingEstimateFinancialEffectNetIncome" xlink:label="loc_mtrx_ChangeInAccountingEstimateFinancialEffectNetIncome_C4A41AEED1F4E666907D84E3A8427A5C" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_CustomerContractsLineItems_F4BB00895AE77B61B3C284E3A84213A2" xlink:to="loc_mtrx_ChangeInAccountingEstimateFinancialEffectNetIncome_C4A41AEED1F4E666907D84E3A8427A5C" xlink:type="arc" />
    <loc xlink:href="mtrx-20130331.xsd#mtrx_ChangeInAccountingEstimateFinancialEffectDilutedEarningsPerShare" xlink:label="loc_mtrx_ChangeInAccountingEstimateFinancialEffectDilutedEarningsPerShare_4F982BE692A763A4758084E3A8424536" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_CustomerContractsLineItems_F4BB00895AE77B61B3C284E3A84213A2" xlink:to="loc_mtrx_ChangeInAccountingEstimateFinancialEffectDilutedEarningsPerShare_4F982BE692A763A4758084E3A8424536" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_BillingsInExcessOfCostCurrent" xlink:label="loc_us-gaap_BillingsInExcessOfCostCurrent_FD0C70EF0FC8191768CA84E3A8428A12" xlink:type="locator" />
    <definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_CustomerContractsLineItems_F4BB00895AE77B61B3C284E3A84213A2" xlink:to="loc_us-gaap_BillingsInExcessOfCostCurrent_FD0C70EF0FC8191768CA84E3A8428A12" xlink:type="arc" />
    <loc xlink:href="mtrx-20130331.xsd#mtrx_Projectpercentofcompletion" xlink:label="loc_mtrx_Projectpercentofcompletion_CCA16462981E25E5AC1584E3A8422A48" xlink:type="locator" />
    <definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_CustomerContractsLineItems_F4BB00895AE77B61B3C284E3A84213A2" xlink:to="loc_mtrx_Projectpercentofcompletion_CCA16462981E25E5AC1584E3A8422A48" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_LossContingencyAccrualCarryingValuePeriodIncreaseDecrease" xlink:label="loc_us-gaap_LossContingencyAccrualCarryingValuePeriodIncreaseDecrease_5BAFF504737328B83D4084EDD7B41563" xlink:type="locator" />
    <definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_CustomerContractsLineItems_F4BB00895AE77B61B3C284E3A84213A2" xlink:to="loc_us-gaap_LossContingencyAccrualCarryingValuePeriodIncreaseDecrease_5BAFF504737328B83D4084EDD7B41563" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_LossContingencySettlementAgreementConsideration1" xlink:label="loc_us-gaap_LossContingencySettlementAgreementConsideration1_A2D587DE7377F889511984EB7CB3A711" xlink:type="locator" />
    <definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_CustomerContractsLineItems_F4BB00895AE77B61B3C284E3A84213A2" xlink:to="loc_us-gaap_LossContingencySettlementAgreementConsideration1_A2D587DE7377F889511984EB7CB3A711" xlink:type="arc" />
  </definitionLink>
</linkbase>
