<?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-20121231.xsd#AcquisitionsDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/CondensedConsolidatedBalanceSheetsParenthetical" xlink:href="mtrx-20121231.xsd#CondensedConsolidatedBalanceSheetsParenthetical" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/CondensedConsolidatedStatementsOfChangesInStockholdersEquity" xlink:href="mtrx-20121231.xsd#CondensedConsolidatedStatementsOfChangesInStockholdersEquity" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/CondensedConsolidatedStatementsOfChangesInStockholdersEquityParenthetical" xlink:href="mtrx-20121231.xsd#CondensedConsolidatedStatementsOfChangesInStockholdersEquityParenthetical" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/DebtAdditionalInformationDetail" xlink:href="mtrx-20121231.xsd#DebtAdditionalInformationDetail" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/EarningsPerCommonShareAntidilutiveSecuritiesExcludedFromCalculationOfDilutedEarningsPerShareDetails" xlink:href="mtrx-20121231.xsd#EarningsPerCommonShareAntidilutiveSecuritiesExcludedFromCalculationOfDilutedEarningsPerShareDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/IntangibleAssetsIncludingGoodwillAdditionalInformationDetail" xlink:href="mtrx-20121231.xsd#IntangibleAssetsIncludingGoodwillAdditionalInformationDetail" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/IntangibleAssetsIncludingGoodwillCarryingValueOfGoodwillBySegmentDetails" xlink:href="mtrx-20121231.xsd#IntangibleAssetsIncludingGoodwillCarryingValueOfGoodwillBySegmentDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/IntangibleAssetsIncludingGoodwillCarryingValueOfOtherIntangibleAssetsDetails" xlink:href="mtrx-20121231.xsd#IntangibleAssetsIncludingGoodwillCarryingValueOfOtherIntangibleAssetsDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/SegmentInformationResultsOfOperationsDetails" xlink:href="mtrx-20121231.xsd#SegmentInformationResultsOfOperationsDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/UncompletedContractsAdditionalInformationDetail" xlink:href="mtrx-20121231.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_F77BF2BAC204D38A471BAB112B221879" 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_8B1B5A347E963CF1607AAB112B22EE0B" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_F77BF2BAC204D38A471BAB112B221879" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_8B1B5A347E963CF1607AAB112B22EE0B" 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_CA5B77869D98836ABEA9AB112B22B91C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_8B1B5A347E963CF1607AAB112B22EE0B" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_CA5B77869D98836ABEA9AB112B22B91C" 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_691D5FFFA55B63F18E4AAB112B224367_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_CA5B77869D98836ABEA9AB112B22B91C" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_691D5FFFA55B63F18E4AAB112B224367_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_691D5FFFA55B63F18E4AAB112B224367" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_CA5B77869D98836ABEA9AB112B22B91C" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_691D5FFFA55B63F18E4AAB112B224367" xlink:type="arc" />
    <loc xlink:href="mtrx-20121231.xsd#mtrx_PelichemIndustrialCleaningServicesLlcMember" xlink:label="loc_mtrx_PelichemIndustrialCleaningServicesLlcMember_132787AFC26513E1F508AB112B2298AF" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_691D5FFFA55B63F18E4AAB112B224367" xlink:to="loc_mtrx_PelichemIndustrialCleaningServicesLlcMember_132787AFC26513E1F508AB112B2298AF" xlink:type="arc" />
    <loc xlink:href="mtrx-20121231.xsd#mtrx_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssets" xlink:label="loc_mtrx_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssets_C3910BEDCBD3C33D3DF2AB112B22F98B" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_F77BF2BAC204D38A471BAB112B221879" xlink:to="loc_mtrx_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssets_C3910BEDCBD3C33D3DF2AB112B22F98B" 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_C5B46CC6A30548630DABAB112B22D911" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_F77BF2BAC204D38A471BAB112B221879" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment_C5B46CC6A30548630DABAB112B22D911" 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_C87979A432A431A9C644AB112B2282BD" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_F77BF2BAC204D38A471BAB112B221879" xlink:to="loc_us-gaap_Goodwill_C87979A432A431A9C644AB112B2282BD" 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_6FBD7925E7FB00EA1B13AB112B222545" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_F77BF2BAC204D38A471BAB112B221879" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles_6FBD7925E7FB00EA1B13AB112B222545" xlink:type="arc" />
    <loc xlink:href="mtrx-20121231.xsd#mtrx_BusinessCombinationsRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets" xlink:label="loc_mtrx_BusinessCombinationsRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets_915DC7B94D120C327C57AB112B22DE8B" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_F77BF2BAC204D38A471BAB112B221879" xlink:to="loc_mtrx_BusinessCombinationsRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets_915DC7B94D120C327C57AB112B22DE8B" xlink:type="arc" />
    <loc xlink:href="mtrx-20121231.xsd#mtrx_BusinessCombinationRecognizedIdentifableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilities" xlink:label="loc_mtrx_BusinessCombinationRecognizedIdentifableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilities_8992C7491DE17138BC2CAB112B22DD56" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_F77BF2BAC204D38A471BAB112B221879" xlink:to="loc_mtrx_BusinessCombinationRecognizedIdentifableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilities_8992C7491DE17138BC2CAB112B22DD56" 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_4D32539B5A8F6CD5AAF1AB112B22A789" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_F77BF2BAC204D38A471BAB112B221879" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_4D32539B5A8F6CD5AAF1AB112B22A789" xlink:type="arc" />
    <loc xlink:href="mtrx-20121231.xsd#mtrx_BusinessCombinationProvisionalInformationInitialAccountingIncompleteWorkingCapitalAdjustment" xlink:label="loc_mtrx_BusinessCombinationProvisionalInformationInitialAccountingIncompleteWorkingCapitalAdjustment_14B9E5954939C670798CAB112B22BDA4" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_F77BF2BAC204D38A471BAB112B221879" xlink:to="loc_mtrx_BusinessCombinationProvisionalInformationInitialAccountingIncompleteWorkingCapitalAdjustment_14B9E5954939C670798CAB112B22BDA4" 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_B9BC8FE46FBB6FEFBAC6AB1611F50554" xlink:type="locator" />
    <definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_F77BF2BAC204D38A471BAB112B221879" xlink:to="loc_us-gaap_BusinessCombinationConsiderationTransferred_B9BC8FE46FBB6FEFBAC6AB1611F50554" xlink:type="arc" />
  </definitionLink>
  <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_B57F0E0ECFD5374C9469169A44EA00F9" 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_EC8E93D61457158FCF83169A44EAAE4D" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_B57F0E0ECFD5374C9469169A44EA00F9" xlink:to="loc_us-gaap_StatementTable_EC8E93D61457158FCF83169A44EAAE4D" 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_0C45E9FAC56E815A145D169A44EADA9C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_EC8E93D61457158FCF83169A44EAAE4D" xlink:to="loc_dei_LegalEntityAxis_0C45E9FAC56E815A145D169A44EADA9C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_D6CA49E0ADA44D5CFC42169A44EADDCA_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_0C45E9FAC56E815A145D169A44EADA9C" xlink:to="loc_dei_EntityDomain_D6CA49E0ADA44D5CFC42169A44EADDCA_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_D6CA49E0ADA44D5CFC42169A44EADDCA" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_0C45E9FAC56E815A145D169A44EADA9C" xlink:to="loc_dei_EntityDomain_D6CA49E0ADA44D5CFC42169A44EADDCA" 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_22EC0A720A99C15DFAEC169A44EA5E35" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_B57F0E0ECFD5374C9469169A44EA00F9" xlink:to="loc_us-gaap_AllowanceForDoubtfulAccountsReceivableCurrent_22EC0A720A99C15DFAEC169A44EA5E35" 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_DE0B3C8A2FB554FC70BB169A44EA68F5" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_B57F0E0ECFD5374C9469169A44EA00F9" xlink:to="loc_us-gaap_CommonStockParOrStatedValuePerShare_DE0B3C8A2FB554FC70BB169A44EA68F5" 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_3918DCD678050DB545EA169A44EA3518" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_B57F0E0ECFD5374C9469169A44EA00F9" xlink:to="loc_us-gaap_CommonStockSharesAuthorized_3918DCD678050DB545EA169A44EA3518" 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_8946E776EFF932600229169A44EB0E4A" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_B57F0E0ECFD5374C9469169A44EA00F9" xlink:to="loc_us-gaap_CommonStockSharesIssued_8946E776EFF932600229169A44EB0E4A" 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_5A037B781E40B33F8A57169A44EB673B" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_B57F0E0ECFD5374C9469169A44EA00F9" xlink:to="loc_us-gaap_TreasuryStockShares_5A037B781E40B33F8A57169A44EB673B" xlink:type="arc" />
  </definitionLink>
  <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_7D71E33C4355037A8A0DAB112B43176E" 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_D498F0AAE7D950759CFAAB112B42D89E" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_7D71E33C4355037A8A0DAB112B43176E" xlink:to="loc_us-gaap_StatementTable_D498F0AAE7D950759CFAAB112B42D89E" 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_DBC4999B569633A85799AB112B42DC6D" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_D498F0AAE7D950759CFAAB112B42D89E" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_DBC4999B569633A85799AB112B42DC6D" 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_4F9E500140660AE6DC7BAB112B42A8C6_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_DBC4999B569633A85799AB112B42DC6D" xlink:to="loc_us-gaap_EquityComponentDomain_4F9E500140660AE6DC7BAB112B42A8C6_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_4F9E500140660AE6DC7BAB112B42A8C6" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_DBC4999B569633A85799AB112B42DC6D" xlink:to="loc_us-gaap_EquityComponentDomain_4F9E500140660AE6DC7BAB112B42A8C6" 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_BB52DAE5B9C9BCDD4C4AAB112B429F6F" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_4F9E500140660AE6DC7BAB112B42A8C6" xlink:to="loc_us-gaap_CommonStockMember_BB52DAE5B9C9BCDD4C4AAB112B429F6F" 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_A06FA3EC02070822C933AB112B42BD6B" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_4F9E500140660AE6DC7BAB112B42A8C6" xlink:to="loc_us-gaap_AdditionalPaidInCapitalMember_A06FA3EC02070822C933AB112B42BD6B" 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_9F7FB9ABFAB7B06854C8AB112B4257A7" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_4F9E500140660AE6DC7BAB112B42A8C6" xlink:to="loc_us-gaap_RetainedEarningsMember_9F7FB9ABFAB7B06854C8AB112B4257A7" 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_4B8F023717204D1564BEAB112B42573E" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_4F9E500140660AE6DC7BAB112B42A8C6" xlink:to="loc_us-gaap_TreasuryStockMember_4B8F023717204D1564BEAB112B42573E" 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_49117F8D0675A77C6DBCAB112B42A0C7" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_4F9E500140660AE6DC7BAB112B42A8C6" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_49117F8D0675A77C6DBCAB112B42A0C7" 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_68FD1EEA5ED9A19FF73DAB112B43EFAC" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_7D71E33C4355037A8A0DAB112B43176E" xlink:to="loc_us-gaap_StockholdersEquity_68FD1EEA5ED9A19FF73DAB112B43EFAC" 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_EE869343D09C7878B72AAB112B43CFD4" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_7D71E33C4355037A8A0DAB112B43176E" xlink:to="loc_us-gaap_NetIncomeLoss_EE869343D09C7878B72AAB112B43CFD4" 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_7D8E0D2A70A76FED7D3AAB112B43DE51" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_7D71E33C4355037A8A0DAB112B43176E" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_7D8E0D2A70A76FED7D3AAB112B43DE51" 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_8882C8E25F669EEAD7A9AB112B43982D" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_7D71E33C4355037A8A0DAB112B43176E" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised_8882C8E25F669EEAD7A9AB112B43982D" 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_EBC3EECCBBF44DBAE0E0AB112B432046" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_7D71E33C4355037A8A0DAB112B43176E" xlink:to="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalTaxEffectFromShareBasedCompensation_EBC3EECCBBF44DBAE0E0AB112B432046" 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_586C79875500C4EE6174AB112B439E13" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_7D71E33C4355037A8A0DAB112B43176E" xlink:to="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalOther_586C79875500C4EE6174AB112B439E13" 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_74596A6C0DF6A2CE638DAB112B4396C1" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_7D71E33C4355037A8A0DAB112B43176E" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueEmployeeStockPurchasePlan_74596A6C0DF6A2CE638DAB112B4396C1" 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_F53DEA97061A0483D7A0AB112B4846F8" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_7D71E33C4355037A8A0DAB112B43176E" xlink:to="loc_us-gaap_TreasuryStockValueAcquiredCostMethod_F53DEA97061A0483D7A0AB112B4846F8" xlink:type="arc" />
    <loc xlink:href="mtrx-20121231.xsd#mtrx_OtherTreasurySharePurchases" xlink:label="loc_mtrx_OtherTreasurySharePurchases_FE850D889A3E08CE6429AB112B480C28" xlink:type="locator" />
    <definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_7D71E33C4355037A8A0DAB112B43176E" xlink:to="loc_mtrx_OtherTreasurySharePurchases_FE850D889A3E08CE6429AB112B480C28" 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_D0611B5DD8D1A3066F05AB112B48DC58" xlink:type="locator" />
    <definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_7D71E33C4355037A8A0DAB112B43176E" xlink:to="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_D0611B5DD8D1A3066F05AB112B48DC58" 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_027E27EA1E68D5F780ABAB112B394D9C" 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_8B4EF32D7EE52B65D770AB112B3869E7" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_027E27EA1E68D5F780ABAB112B394D9C" xlink:to="loc_us-gaap_StatementTable_8B4EF32D7EE52B65D770AB112B3869E7" 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_6710AD7861E113675B2CAB112B39E93F" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_8B4EF32D7EE52B65D770AB112B3869E7" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_6710AD7861E113675B2CAB112B39E93F" 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_19BF8D67CD7ADCE3E9DDAB112B395E7B_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_6710AD7861E113675B2CAB112B39E93F" xlink:to="loc_us-gaap_EquityComponentDomain_19BF8D67CD7ADCE3E9DDAB112B395E7B_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_19BF8D67CD7ADCE3E9DDAB112B395E7B" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_6710AD7861E113675B2CAB112B39E93F" xlink:to="loc_us-gaap_EquityComponentDomain_19BF8D67CD7ADCE3E9DDAB112B395E7B" 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_FBF5E28AA799BA2AE3F4AB112B399D89" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_19BF8D67CD7ADCE3E9DDAB112B395E7B" xlink:to="loc_us-gaap_AdditionalPaidInCapitalMember_FBF5E28AA799BA2AE3F4AB112B399D89" 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_77B1023BC5B6F8107D4CAB112B3927AC" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_19BF8D67CD7ADCE3E9DDAB112B395E7B" xlink:to="loc_us-gaap_TreasuryStockMember_77B1023BC5B6F8107D4CAB112B3927AC" 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_0B9F77EFBB2DFE678040AB112B391E13" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_027E27EA1E68D5F780ABAB112B394D9C" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_0B9F77EFBB2DFE678040AB112B391E13" xlink:type="arc" />
    <loc xlink:href="mtrx-20121231.xsd#mtrx_DeferredSharesIssued" xlink:label="loc_mtrx_DeferredSharesIssued_D974D11EB1E2115BC0D0AB112B3944CB" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_027E27EA1E68D5F780ABAB112B394D9C" xlink:to="loc_mtrx_DeferredSharesIssued_D974D11EB1E2115BC0D0AB112B3944CB" 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_655129012DAD0C7D10A0AB112B390EA5" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_027E27EA1E68D5F780ABAB112B394D9C" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans_655129012DAD0C7D10A0AB112B390EA5" 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_12F0D615CB9430EC8FEAAB112B3963FC" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_027E27EA1E68D5F780ABAB112B394D9C" xlink:to="loc_us-gaap_TreasuryStockSharesAcquired_12F0D615CB9430EC8FEAAB112B3963FC" xlink:type="arc" />
    <loc xlink:href="mtrx-20121231.xsd#mtrx_OtherTreasurySharesAcquired" xlink:label="loc_mtrx_OtherTreasurySharesAcquired_5AC868816E9E421EF8B8AB112B39EFB3" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_027E27EA1E68D5F780ABAB112B394D9C" xlink:to="loc_mtrx_OtherTreasurySharesAcquired_5AC868816E9E421EF8B8AB112B39EFB3" 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_71DDB80FA952F697DBDCAB112B02BC1D" 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_B24141850E0A60298D83AB112B02C339" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_71DDB80FA952F697DBDCAB112B02BC1D" xlink:to="loc_us-gaap_ScheduleOfAcquiredIndefiniteLivedIntangibleAssetsByMajorClassTable_B24141850E0A60298D83AB112B02C339" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="mtrx-20121231.xsd#mtrx_VariableRateAxis" xlink:label="loc_mtrx_VariableRateAxis_E40DF55A0E0E36EB8BD4AB112B02B25F" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAcquiredIndefiniteLivedIntangibleAssetsByMajorClassTable_B24141850E0A60298D83AB112B02C339" xlink:to="loc_mtrx_VariableRateAxis_E40DF55A0E0E36EB8BD4AB112B02B25F" xlink:type="arc" />
    <loc xlink:href="mtrx-20121231.xsd#mtrx_VariableRateDomain" xlink:label="loc_mtrx_VariableRateDomain_A5697CF6D7CE03957E53AB112B029C3C_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_mtrx_VariableRateAxis_E40DF55A0E0E36EB8BD4AB112B02B25F" xlink:to="loc_mtrx_VariableRateDomain_A5697CF6D7CE03957E53AB112B029C3C_default" xlink:type="arc" />
    <loc xlink:href="mtrx-20121231.xsd#mtrx_VariableRateDomain" xlink:label="loc_mtrx_VariableRateDomain_A5697CF6D7CE03957E53AB112B029C3C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_mtrx_VariableRateAxis_E40DF55A0E0E36EB8BD4AB112B02B25F" xlink:to="loc_mtrx_VariableRateDomain_A5697CF6D7CE03957E53AB112B029C3C" xlink:type="arc" />
    <loc xlink:href="mtrx-20121231.xsd#mtrx_CdorRateMember" xlink:label="loc_mtrx_CdorRateMember_1A9C0AE29BC70BE8E1A2AB112B02BC63" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_VariableRateDomain_A5697CF6D7CE03957E53AB112B029C3C" xlink:to="loc_mtrx_CdorRateMember_1A9C0AE29BC70BE8E1A2AB112B02BC63" xlink:type="arc" />
    <loc xlink:href="mtrx-20121231.xsd#mtrx_CanadianPrimeRateMember" xlink:label="loc_mtrx_CanadianPrimeRateMember_8DE1ED7800D82F768CC5AB112B0203C7" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_VariableRateDomain_A5697CF6D7CE03957E53AB112B029C3C" xlink:to="loc_mtrx_CanadianPrimeRateMember_8DE1ED7800D82F768CC5AB112B0203C7" 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_BBBFC93A7C52505D315AAB112B024D67" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAcquiredIndefiniteLivedIntangibleAssetsByMajorClassTable_B24141850E0A60298D83AB112B02C339" xlink:to="loc_us-gaap_RangeAxis_BBBFC93A7C52505D315AAB112B024D67" 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_52C8F0736664DDB39A13AB112B027CDF_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RangeAxis_BBBFC93A7C52505D315AAB112B024D67" xlink:to="loc_us-gaap_RangeMember_52C8F0736664DDB39A13AB112B027CDF_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_52C8F0736664DDB39A13AB112B027CDF" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RangeAxis_BBBFC93A7C52505D315AAB112B024D67" xlink:to="loc_us-gaap_RangeMember_52C8F0736664DDB39A13AB112B027CDF" 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_BACC2BCB8669266DA02BAB112B02BD6C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_52C8F0736664DDB39A13AB112B027CDF" xlink:to="loc_us-gaap_MinimumMember_BACC2BCB8669266DA02BAB112B02BD6C" 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_825A3EE4DFC7D9F71B99AB112B027A35" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_52C8F0736664DDB39A13AB112B027CDF" xlink:to="loc_us-gaap_MaximumMember_825A3EE4DFC7D9F71B99AB112B027A35" xlink:type="arc" />
    <loc xlink:href="mtrx-20121231.xsd#mtrx_CreditAgreementTerm" xlink:label="loc_mtrx_CreditAgreementTerm_18E16031F913166D2987AB112B0265D2" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_71DDB80FA952F697DBDCAB112B02BC1D" xlink:to="loc_mtrx_CreditAgreementTerm_18E16031F913166D2987AB112B0265D2" 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_C3F2F283F28375703D80AB112B022B26" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_71DDB80FA952F697DBDCAB112B02BC1D" xlink:to="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_C3F2F283F28375703D80AB112B022B26" xlink:type="arc" />
    <loc xlink:href="mtrx-20121231.xsd#mtrx_SeniorLeverageRatioMaximum" xlink:label="loc_mtrx_SeniorLeverageRatioMaximum_EB7C8ADA610856AFEACDAB112B020439" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_71DDB80FA952F697DBDCAB112B02BC1D" xlink:to="loc_mtrx_SeniorLeverageRatioMaximum_EB7C8ADA610856AFEACDAB112B020439" xlink:type="arc" />
    <loc xlink:href="mtrx-20121231.xsd#mtrx_SeniorLeverageRatioMinimum" xlink:label="loc_mtrx_SeniorLeverageRatioMinimum_3FB4E009BBF9F885C948AB112B025A6C" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_71DDB80FA952F697DBDCAB112B02BC1D" xlink:to="loc_mtrx_SeniorLeverageRatioMinimum_3FB4E009BBF9F885C948AB112B025A6C" xlink:type="arc" />
    <loc xlink:href="mtrx-20121231.xsd#mtrx_FixedChargeCoverageRatioMaximum" xlink:label="loc_mtrx_FixedChargeCoverageRatioMaximum_4B244236C88EEBAED007AB112B024D09" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_71DDB80FA952F697DBDCAB112B02BC1D" xlink:to="loc_mtrx_FixedChargeCoverageRatioMaximum_4B244236C88EEBAED007AB112B024D09" xlink:type="arc" />
    <loc xlink:href="mtrx-20121231.xsd#mtrx_FixedChargeCoverageRatioMinimum" xlink:label="loc_mtrx_FixedChargeCoverageRatioMinimum_A92111525EDD728421CFAB112B02B8FA" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_71DDB80FA952F697DBDCAB112B02BC1D" xlink:to="loc_mtrx_FixedChargeCoverageRatioMinimum_A92111525EDD728421CFAB112B02B8FA" xlink:type="arc" />
    <loc xlink:href="mtrx-20121231.xsd#mtrx_AmountOfLimitOnAssetDispositions" xlink:label="loc_mtrx_AmountOfLimitOnAssetDispositions_A52F79BE709D7660511BAB112B03FAAC" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_71DDB80FA952F697DBDCAB112B02BC1D" xlink:to="loc_mtrx_AmountOfLimitOnAssetDispositions_A52F79BE709D7660511BAB112B03FAAC" xlink:type="arc" />
    <loc xlink:href="mtrx-20121231.xsd#mtrx_LineOfCreditBasisSpreadOnAlternateBaseRateMinimum" xlink:label="loc_mtrx_LineOfCreditBasisSpreadOnAlternateBaseRateMinimum_688063CBA1A9FBEE140DAB112B036931" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_71DDB80FA952F697DBDCAB112B02BC1D" xlink:to="loc_mtrx_LineOfCreditBasisSpreadOnAlternateBaseRateMinimum_688063CBA1A9FBEE140DAB112B036931" xlink:type="arc" />
    <loc xlink:href="mtrx-20121231.xsd#mtrx_LineOfCreditBasisSpreadOnAlternateBaseRateMaximum" xlink:label="loc_mtrx_LineOfCreditBasisSpreadOnAlternateBaseRateMaximum_97C36D8E31B6ABF1527CAB112B039D46" xlink:type="locator" />
    <definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_71DDB80FA952F697DBDCAB112B02BC1D" xlink:to="loc_mtrx_LineOfCreditBasisSpreadOnAlternateBaseRateMaximum_97C36D8E31B6ABF1527CAB112B039D46" xlink:type="arc" />
    <loc xlink:href="mtrx-20121231.xsd#mtrx_LineOfCreditBasisSpreadOnLondonInterbankOfferedRateMinimum" xlink:label="loc_mtrx_LineOfCreditBasisSpreadOnLondonInterbankOfferedRateMinimum_9D09A20B846A29439661AB112B03F0EB" xlink:type="locator" />
    <definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_71DDB80FA952F697DBDCAB112B02BC1D" xlink:to="loc_mtrx_LineOfCreditBasisSpreadOnLondonInterbankOfferedRateMinimum_9D09A20B846A29439661AB112B03F0EB" xlink:type="arc" />
    <loc xlink:href="mtrx-20121231.xsd#mtrx_LineOfCreditBasisSpreadOnLondonInterbankOfferedRateMaximum" xlink:label="loc_mtrx_LineOfCreditBasisSpreadOnLondonInterbankOfferedRateMaximum_D52E9CFACCFB83A63A46AB112B039FED" xlink:type="locator" />
    <definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_71DDB80FA952F697DBDCAB112B02BC1D" xlink:to="loc_mtrx_LineOfCreditBasisSpreadOnLondonInterbankOfferedRateMaximum_D52E9CFACCFB83A63A46AB112B039FED" xlink:type="arc" />
    <loc xlink:href="mtrx-20121231.xsd#mtrx_AmountOfLimitOnCanadianDollarBorrowings" xlink:label="loc_mtrx_AmountOfLimitOnCanadianDollarBorrowings_D0A5D9DDFCED77727EC6AB112B0353C6" xlink:type="locator" />
    <definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_71DDB80FA952F697DBDCAB112B02BC1D" xlink:to="loc_mtrx_AmountOfLimitOnCanadianDollarBorrowings_D0A5D9DDFCED77727EC6AB112B0353C6" xlink:type="arc" />
    <loc xlink:href="mtrx-20121231.xsd#mtrx_LineOfCreditBasisSpreadOnCanadianDepositOfferedRateMinimum" xlink:label="loc_mtrx_LineOfCreditBasisSpreadOnCanadianDepositOfferedRateMinimum_0BC3933263865750307CAB112B030EC1" xlink:type="locator" />
    <definitionArc order="13" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_71DDB80FA952F697DBDCAB112B02BC1D" xlink:to="loc_mtrx_LineOfCreditBasisSpreadOnCanadianDepositOfferedRateMinimum_0BC3933263865750307CAB112B030EC1" xlink:type="arc" />
    <loc xlink:href="mtrx-20121231.xsd#mtrx_LineOfCreditBasisSpreadOnCanadianDepositOfferedRateMaximum" xlink:label="loc_mtrx_LineOfCreditBasisSpreadOnCanadianDepositOfferedRateMaximum_EA80248BE004C50D9F75AB112B037541" xlink:type="locator" />
    <definitionArc order="14" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_71DDB80FA952F697DBDCAB112B02BC1D" xlink:to="loc_mtrx_LineOfCreditBasisSpreadOnCanadianDepositOfferedRateMaximum_EA80248BE004C50D9F75AB112B037541" xlink:type="arc" />
    <loc xlink:href="mtrx-20121231.xsd#mtrx_LineOfCreditBasisSpreadOnCanadianPrimeRateMinimum" xlink:label="loc_mtrx_LineOfCreditBasisSpreadOnCanadianPrimeRateMinimum_4B806BCCF45F195804D9AB112B031C3D" xlink:type="locator" />
    <definitionArc order="15" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_71DDB80FA952F697DBDCAB112B02BC1D" xlink:to="loc_mtrx_LineOfCreditBasisSpreadOnCanadianPrimeRateMinimum_4B806BCCF45F195804D9AB112B031C3D" xlink:type="arc" />
    <loc xlink:href="mtrx-20121231.xsd#mtrx_LineOfCreditBasisSpreadOnCanadianPrimeRateMaximum" xlink:label="loc_mtrx_LineOfCreditBasisSpreadOnCanadianPrimeRateMaximum_F4C1832F7D2BB8013BE5AB112B031D04" xlink:type="locator" />
    <definitionArc order="16" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_71DDB80FA952F697DBDCAB112B02BC1D" xlink:to="loc_mtrx_LineOfCreditBasisSpreadOnCanadianPrimeRateMaximum_F4C1832F7D2BB8013BE5AB112B031D04" xlink:type="arc" />
    <loc xlink:href="mtrx-20121231.xsd#mtrx_LineOfCreditFacilityCanadianDepositOfferedRateDescription" xlink:label="loc_mtrx_LineOfCreditFacilityCanadianDepositOfferedRateDescription_B776DE8B8828CCC64C09AB112B03FAD6" xlink:type="locator" />
    <definitionArc order="17" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_71DDB80FA952F697DBDCAB112B02BC1D" xlink:to="loc_mtrx_LineOfCreditFacilityCanadianDepositOfferedRateDescription_B776DE8B8828CCC64C09AB112B03FAD6" 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_5C940176A6C84E2B9CD5AB112B03DDED" xlink:type="locator" />
    <definitionArc order="18" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_71DDB80FA952F697DBDCAB112B02BC1D" xlink:to="loc_us-gaap_DebtInstrumentDescriptionOfVariableRateBasis_5C940176A6C84E2B9CD5AB112B03DDED" 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_408FB042BBD0B5FAEA71AB112B0363D6" xlink:type="locator" />
    <definitionArc order="19" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_71DDB80FA952F697DBDCAB112B02BC1D" xlink:to="loc_us-gaap_DebtInstrumentBasisSpreadOnVariableRate_408FB042BBD0B5FAEA71AB112B0363D6" xlink:type="arc" />
    <loc xlink:href="mtrx-20121231.xsd#mtrx_LineOfCreditFacilityCanadianPrimeRateDescription" xlink:label="loc_mtrx_LineOfCreditFacilityCanadianPrimeRateDescription_38FA83644005314C2C2AAB112B03E39D" xlink:type="locator" />
    <definitionArc order="20" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_71DDB80FA952F697DBDCAB112B02BC1D" xlink:to="loc_mtrx_LineOfCreditFacilityCanadianPrimeRateDescription_38FA83644005314C2C2AAB112B03E39D" 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_053672F864DFF892E4ADAB112B03A758" xlink:type="locator" />
    <definitionArc order="21" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_71DDB80FA952F697DBDCAB112B02BC1D" xlink:to="loc_us-gaap_LineOfCreditFacilityUnusedCapacityCommitmentFeePercentage_053672F864DFF892E4ADAB112B03A758" xlink:type="arc" />
    <loc xlink:href="mtrx-20121231.xsd#mtrx_MaximumLimitOfConsolidatedFundedIndebtedness" xlink:label="loc_mtrx_MaximumLimitOfConsolidatedFundedIndebtedness_E25B80B474F4308F764AAB112B039512" xlink:type="locator" />
    <definitionArc order="22" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_71DDB80FA952F697DBDCAB112B02BC1D" xlink:to="loc_mtrx_MaximumLimitOfConsolidatedFundedIndebtedness_E25B80B474F4308F764AAB112B039512" xlink:type="arc" />
    <loc xlink:href="mtrx-20121231.xsd#mtrx_ConsolidatedEarningsBeforeInterestTaxesDepreciationAndAmortizationPerCreditAgreement" xlink:label="loc_mtrx_ConsolidatedEarningsBeforeInterestTaxesDepreciationAndAmortizationPerCreditAgreement_CBCB3D2EEAD65651BBD0AB112B03C6EB" xlink:type="locator" />
    <definitionArc order="23" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_71DDB80FA952F697DBDCAB112B02BC1D" xlink:to="loc_mtrx_ConsolidatedEarningsBeforeInterestTaxesDepreciationAndAmortizationPerCreditAgreement_CBCB3D2EEAD65651BBD0AB112B03C6EB" xlink:type="arc" />
    <loc xlink:href="mtrx-20121231.xsd#mtrx_LineOfCreditFacilityMaximumBorrowingCapacityAfterConsiderationOfCapacityConstraint" xlink:label="loc_mtrx_LineOfCreditFacilityMaximumBorrowingCapacityAfterConsiderationOfCapacityConstraint_FEC54AC424EC50E55E10AB112B03DB81" xlink:type="locator" />
    <definitionArc order="24" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_71DDB80FA952F697DBDCAB112B02BC1D" xlink:to="loc_mtrx_LineOfCreditFacilityMaximumBorrowingCapacityAfterConsiderationOfCapacityConstraint_FEC54AC424EC50E55E10AB112B03DB81" xlink:type="arc" />
    <loc xlink:href="mtrx-20121231.xsd#mtrx_ConsolidatedFundedIndebtedness" xlink:label="loc_mtrx_ConsolidatedFundedIndebtedness_3CC1FF88F5A81E924931AB112B03D5EE" xlink:type="locator" />
    <definitionArc order="25" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_71DDB80FA952F697DBDCAB112B02BC1D" xlink:to="loc_mtrx_ConsolidatedFundedIndebtedness_3CC1FF88F5A81E924931AB112B03D5EE" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_LineOfCreditFacilityAmountOutstanding" xlink:label="loc_us-gaap_LineOfCreditFacilityAmountOutstanding_5D9B29A8DB19405D3D7EAB112B031065" xlink:type="locator" />
    <definitionArc order="26" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_71DDB80FA952F697DBDCAB112B02BC1D" xlink:to="loc_us-gaap_LineOfCreditFacilityAmountOutstanding_5D9B29A8DB19405D3D7EAB112B031065" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_LettersOfCreditOutstandingAmount" xlink:label="loc_us-gaap_LettersOfCreditOutstandingAmount_FC75DF4D1DD2CE98CF5CAB112B030D5B" xlink:type="locator" />
    <definitionArc order="27" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredIndefiniteLivedIntangibleAssetsLineItems_71DDB80FA952F697DBDCAB112B02BC1D" xlink:to="loc_us-gaap_LettersOfCreditOutstandingAmount_FC75DF4D1DD2CE98CF5CAB112B030D5B" xlink:type="arc" />
  </definitionLink>
  <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_F5C130BF2A0CDAF1ED8892F702AA1D01" 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_E13ED5633A324135B60F92F702A9282D" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_F5C130BF2A0CDAF1ED8892F702AA1D01" xlink:to="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_E13ED5633A324135B60F92F702A9282D" 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_E87863C00E047D6ED5EE92F702AA3805" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_E13ED5633A324135B60F92F702A9282D" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_E87863C00E047D6ED5EE92F702AA3805" 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_35CD2A22430E5AD5521992F702AAB7AD_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_E87863C00E047D6ED5EE92F702AA3805" xlink:to="loc_us-gaap_AntidilutiveSecuritiesNameDomain_35CD2A22430E5AD5521992F702AAB7AD_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_35CD2A22430E5AD5521992F702AAB7AD" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_E87863C00E047D6ED5EE92F702AA3805" xlink:to="loc_us-gaap_AntidilutiveSecuritiesNameDomain_35CD2A22430E5AD5521992F702AAB7AD" 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_A9791204F18EC957E4A892F702C47F3D" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_35CD2A22430E5AD5521992F702AAB7AD" xlink:to="loc_us-gaap_StockOptionsMember_A9791204F18EC957E4A892F702C47F3D" xlink:type="arc" />
    <loc xlink:href="mtrx-20121231.xsd#mtrx_NonvestedDeferredSharesMember" xlink:label="loc_mtrx_NonvestedDeferredSharesMember_43AB16EEAB3D42A5964C92F702CD9F07" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_35CD2A22430E5AD5521992F702AAB7AD" xlink:to="loc_mtrx_NonvestedDeferredSharesMember_43AB16EEAB3D42A5964C92F702CD9F07" 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_C5E1AD8561651E638D8292F702B8450F" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_F5C130BF2A0CDAF1ED8892F702AA1D01" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_C5E1AD8561651E638D8292F702B8450F" 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_193CF6AED4DE1D238E64AB112B0BF94E" 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_A5C177CB509D3DA2F525AB112B0AEAAA" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_193CF6AED4DE1D238E64AB112B0BF94E" xlink:to="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_A5C177CB509D3DA2F525AB112B0AEAAA" 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_D430E4DD9A96DC7E7EBBAB112B0A31E3" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_A5C177CB509D3DA2F525AB112B0AEAAA" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_D430E4DD9A96DC7E7EBBAB112B0A31E3" 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_5529AD617D9C2E2647ADAB112B0AA889_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_D430E4DD9A96DC7E7EBBAB112B0A31E3" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_5529AD617D9C2E2647ADAB112B0AA889_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_5529AD617D9C2E2647ADAB112B0AA889" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_D430E4DD9A96DC7E7EBBAB112B0A31E3" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_5529AD617D9C2E2647ADAB112B0AA889" 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_285F3AD50685E19C8607AB112B0BE8A4" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_5529AD617D9C2E2647ADAB112B0AA889" xlink:to="loc_us-gaap_CustomerRelationshipsMember_285F3AD50685E19C8607AB112B0BE8A4" 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_D3242A707C3963D389C5AB112B0B08A5" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_5529AD617D9C2E2647ADAB112B0AA889" xlink:to="loc_us-gaap_OtherIntangibleAssetsMember_D3242A707C3963D389C5AB112B0B08A5" 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_B354098E7667EF61CE64AB112B0BD7F2" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_193CF6AED4DE1D238E64AB112B0BF94E" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsFairValueDisclosure_B354098E7667EF61CE64AB112B0BD7F2" 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_C937C45630D092E3B6BFAB112B0B943D" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_193CF6AED4DE1D238E64AB112B0BF94E" xlink:to="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife_C937C45630D092E3B6BFAB112B0B943D" 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_0105E8EB4A5D93A93092AB112B132292" 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_F6FAE040884EED724D0FAB112B1348BC" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_GoodwillLineItems_0105E8EB4A5D93A93092AB112B132292" xlink:to="loc_us-gaap_ScheduleOfGoodwillTable_F6FAE040884EED724D0FAB112B1348BC" 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_F888ABB3B402BA265115AB112B1343A4" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfGoodwillTable_F6FAE040884EED724D0FAB112B1348BC" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_F888ABB3B402BA265115AB112B1343A4" 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_209DD9E1B66C16B0ECE5AB112B132FDA_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_F888ABB3B402BA265115AB112B1343A4" xlink:to="loc_us-gaap_SegmentDomain_209DD9E1B66C16B0ECE5AB112B132FDA_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_209DD9E1B66C16B0ECE5AB112B132FDA" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_F888ABB3B402BA265115AB112B1343A4" xlink:to="loc_us-gaap_SegmentDomain_209DD9E1B66C16B0ECE5AB112B132FDA" xlink:type="arc" />
    <loc xlink:href="mtrx-20121231.xsd#mtrx_ElectricalInfrastructureMember" xlink:label="loc_mtrx_ElectricalInfrastructureMember_3F163047ABD13490D2EDAB112B13C3ED" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_209DD9E1B66C16B0ECE5AB112B132FDA" xlink:to="loc_mtrx_ElectricalInfrastructureMember_3F163047ABD13490D2EDAB112B13C3ED" xlink:type="arc" />
    <loc xlink:href="mtrx-20121231.xsd#mtrx_OilGasAndChemicalMember" xlink:label="loc_mtrx_OilGasAndChemicalMember_A7DBEC14E574FFFF5B54AB112B130BB6" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_209DD9E1B66C16B0ECE5AB112B132FDA" xlink:to="loc_mtrx_OilGasAndChemicalMember_A7DBEC14E574FFFF5B54AB112B130BB6" xlink:type="arc" />
    <loc xlink:href="mtrx-20121231.xsd#mtrx_StorageSolutionsMember" xlink:label="loc_mtrx_StorageSolutionsMember_97680C38BE8575D6B8DAAB112B137116" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_209DD9E1B66C16B0ECE5AB112B132FDA" xlink:to="loc_mtrx_StorageSolutionsMember_97680C38BE8575D6B8DAAB112B137116" xlink:type="arc" />
    <loc xlink:href="mtrx-20121231.xsd#mtrx_IndustrialMember" xlink:label="loc_mtrx_IndustrialMember_408D8C7695463C44CA3AAB112B13B9C8" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_209DD9E1B66C16B0ECE5AB112B132FDA" xlink:to="loc_mtrx_IndustrialMember_408D8C7695463C44CA3AAB112B13B9C8" 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_6DFD45948AF1F54011EDAB112B13F5D8" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillLineItems_0105E8EB4A5D93A93092AB112B132292" xlink:to="loc_us-gaap_GoodwillGross_6DFD45948AF1F54011EDAB112B13F5D8" 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_F6BF3C63B9A8802E4549AB112B131628" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillLineItems_0105E8EB4A5D93A93092AB112B132292" xlink:to="loc_us-gaap_GoodwillImpairedAccumulatedImpairmentLoss_F6BF3C63B9A8802E4549AB112B131628" 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_58244DEBBA76DC74B97EABA1FCCFC9FF" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillLineItems_0105E8EB4A5D93A93092AB112B132292" xlink:to="loc_us-gaap_Goodwill_58244DEBBA76DC74B97EABA1FCCFC9FF" 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_01E06264E988E7D5F579AB112B13BC40" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillLineItems_0105E8EB4A5D93A93092AB112B132292" xlink:to="loc_us-gaap_GoodwillRollForward_01E06264E988E7D5F579AB112B13BC40" 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_5E3D23B57E660118BD28AB112B14D040" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillRollForward_01E06264E988E7D5F579AB112B13BC40" xlink:to="loc_us-gaap_GoodwillAcquiredDuringPeriod_5E3D23B57E660118BD28AB112B14D040" 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_E600756B128C9B20B7DEAB112B143BA5" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillRollForward_01E06264E988E7D5F579AB112B13BC40" xlink:to="loc_us-gaap_GoodwillTranslationAdjustments_E600756B128C9B20B7DEAB112B143BA5" 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_BC842C80D53CF952FA0D92D2862DF092" 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_E1498EDE38B8E9046DB392D2862BC185" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_BC842C80D53CF952FA0D92D2862DF092" xlink:to="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_E1498EDE38B8E9046DB392D2862BC185" 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_4995434C077E6D79F03092D2862B8247" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_E1498EDE38B8E9046DB392D2862BC185" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_4995434C077E6D79F03092D2862B8247" 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_E3617A267AF6DE318F8C92D2862CC14A_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_4995434C077E6D79F03092D2862B8247" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_E3617A267AF6DE318F8C92D2862CC14A_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_E3617A267AF6DE318F8C92D2862CC14A" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_4995434C077E6D79F03092D2862B8247" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_E3617A267AF6DE318F8C92D2862CC14A" xlink:type="arc" />
    <loc xlink:href="mtrx-20121231.xsd#mtrx_IntellectualPropertyMember" xlink:label="loc_mtrx_IntellectualPropertyMember_31877E321505D8E5A3B892D286A0188B" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_E3617A267AF6DE318F8C92D2862CC14A" xlink:to="loc_mtrx_IntellectualPropertyMember_31877E321505D8E5A3B892D286A0188B" xlink:type="arc" />
    <loc xlink:href="mtrx-20121231.xsd#mtrx_CustomerBasedMember" xlink:label="loc_mtrx_CustomerBasedMember_311BB3431D81CB4974EB92D286AF4CD5" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_E3617A267AF6DE318F8C92D2862CC14A" xlink:to="loc_mtrx_CustomerBasedMember_311BB3431D81CB4974EB92D286AF4CD5" 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_CDA91A02178C15C68C8C92D286BFA144" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_E3617A267AF6DE318F8C92D2862CC14A" xlink:to="loc_us-gaap_OtherIntangibleAssetsMember_CDA91A02178C15C68C8C92D286BFA144" 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_81F6CB31292C984B885192D2862D541B" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_E1498EDE38B8E9046DB392D2862BC185" xlink:to="loc_us-gaap_RangeAxis_81F6CB31292C984B885192D2862D541B" 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_69765FC284C9A476782092D2862D6310_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RangeAxis_81F6CB31292C984B885192D2862D541B" xlink:to="loc_us-gaap_RangeMember_69765FC284C9A476782092D2862D6310_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_69765FC284C9A476782092D2862D6310" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RangeAxis_81F6CB31292C984B885192D2862D541B" xlink:to="loc_us-gaap_RangeMember_69765FC284C9A476782092D2862D6310" 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_B0EE870D37453EC6E70D92D34126DE74" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_69765FC284C9A476782092D2862D6310" xlink:to="loc_us-gaap_MinimumMember_B0EE870D37453EC6E70D92D34126DE74" 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_1B35BB2076C3C865385E92D3413A6E78" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_69765FC284C9A476782092D2862D6310" xlink:to="loc_us-gaap_MaximumMember_1B35BB2076C3C865385E92D3413A6E78" 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_85E55CD656CB638D5DF792D34110067D" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_BC842C80D53CF952FA0D92D2862DF092" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetUsefulLife_85E55CD656CB638D5DF792D34110067D" 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_D3AE6A092733D2E6A55B92D2863E1473" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_BC842C80D53CF952FA0D92D2862DF092" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsGross_D3AE6A092733D2E6A55B92D2863E1473" 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_39D132B5086C07A13F9392D286588CEC" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_BC842C80D53CF952FA0D92D2862DF092" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_39D132B5086C07A13F9392D286588CEC" 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_A6837059938779018D4E92D2864C7DEF" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_BC842C80D53CF952FA0D92D2862DF092" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsNet_A6837059938779018D4E92D2864C7DEF" 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_6D213C0312BD7C3831A192D2866575BE" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_BC842C80D53CF952FA0D92D2862DF092" xlink:to="loc_us-gaap_IndefiniteLivedTradeNames_6D213C0312BD7C3831A192D2866575BE" xlink:type="arc" />
    <loc xlink:href="mtrx-20121231.xsd#mtrx_IntangibleAssetsGrossExcludingGoodwill" xlink:label="loc_mtrx_IntangibleAssetsGrossExcludingGoodwill_3586E51F4940ACCEDEC892D28674DEEE" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_BC842C80D53CF952FA0D92D2862DF092" xlink:to="loc_mtrx_IntangibleAssetsGrossExcludingGoodwill_3586E51F4940ACCEDEC892D28674DEEE" xlink:type="arc" />
    <loc xlink:href="mtrx-20121231.xsd#mtrx_IntangibleAssetsAccumulatedAmortizationExcludingGoodwill" xlink:label="loc_mtrx_IntangibleAssetsAccumulatedAmortizationExcludingGoodwill_DAB8FB95F86BD68DA60E92D286824C6A" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_BC842C80D53CF952FA0D92D2862DF092" xlink:to="loc_mtrx_IntangibleAssetsAccumulatedAmortizationExcludingGoodwill_DAB8FB95F86BD68DA60E92D286824C6A" 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_68C91B873F1B020A04E892D286917FA6" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_BC842C80D53CF952FA0D92D2862DF092" xlink:to="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_68C91B873F1B020A04E892D286917FA6" 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_A2C97D9C55B3369A8F85AB112AE56C6A" 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_97319AE60A25F60CC7BEAB112AE43A71" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_A2C97D9C55B3369A8F85AB112AE56C6A" xlink:to="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_97319AE60A25F60CC7BEAB112AE43A71" 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_55E4908860A7DCA0BB11AB112AE4AD07" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_97319AE60A25F60CC7BEAB112AE43A71" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_55E4908860A7DCA0BB11AB112AE4AD07" 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_D931D59E1A154E7B8332AB112AE4C8D0_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_55E4908860A7DCA0BB11AB112AE4AD07" xlink:to="loc_us-gaap_SegmentDomain_D931D59E1A154E7B8332AB112AE4C8D0_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_D931D59E1A154E7B8332AB112AE4C8D0" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_55E4908860A7DCA0BB11AB112AE4AD07" xlink:to="loc_us-gaap_SegmentDomain_D931D59E1A154E7B8332AB112AE4C8D0" xlink:type="arc" />
    <loc xlink:href="mtrx-20121231.xsd#mtrx_ElectricalInfrastructureMember" xlink:label="loc_mtrx_ElectricalInfrastructureMember_D2F9F9BAC06057E3B588AB112AE57997" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_D931D59E1A154E7B8332AB112AE4C8D0" xlink:to="loc_mtrx_ElectricalInfrastructureMember_D2F9F9BAC06057E3B588AB112AE57997" xlink:type="arc" />
    <loc xlink:href="mtrx-20121231.xsd#mtrx_OilGasAndChemicalMember" xlink:label="loc_mtrx_OilGasAndChemicalMember_94DB4FC788A4E50C0967AB112AE53175" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_D931D59E1A154E7B8332AB112AE4C8D0" xlink:to="loc_mtrx_OilGasAndChemicalMember_94DB4FC788A4E50C0967AB112AE53175" xlink:type="arc" />
    <loc xlink:href="mtrx-20121231.xsd#mtrx_StorageSolutionsMember" xlink:label="loc_mtrx_StorageSolutionsMember_6AC2708F41353A9D272CAB112AE5C38E" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_D931D59E1A154E7B8332AB112AE4C8D0" xlink:to="loc_mtrx_StorageSolutionsMember_6AC2708F41353A9D272CAB112AE5C38E" xlink:type="arc" />
    <loc xlink:href="mtrx-20121231.xsd#mtrx_IndustrialMember" xlink:label="loc_mtrx_IndustrialMember_C6B51E03747983C71465AB112AE5E815" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_D931D59E1A154E7B8332AB112AE4C8D0" xlink:to="loc_mtrx_IndustrialMember_C6B51E03747983C71465AB112AE5E815" 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_B020D5320917F067C7C9AB112AE55E70" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_D931D59E1A154E7B8332AB112AE4C8D0" xlink:to="loc_us-gaap_AllOtherSegmentsMember_B020D5320917F067C7C9AB112AE55E70" 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_44D3967E120C2E6292B0AB112AE56CEA" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_A2C97D9C55B3369A8F85AB112AE56C6A" xlink:to="loc_us-gaap_Revenues_44D3967E120C2E6292B0AB112AE56CEA" 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_B59417F80BEDEF4A2700AB112AE536C9" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_A2C97D9C55B3369A8F85AB112AE56C6A" xlink:to="loc_us-gaap_RevenuesFromTransactionsWithOtherOperatingSegmentsOfSameEntity_B59417F80BEDEF4A2700AB112AE536C9" 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_C367BCAFCA23CA36B49EAB112AE5B01F" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_A2C97D9C55B3369A8F85AB112AE56C6A" xlink:to="loc_us-gaap_SalesRevenueServicesNet_C367BCAFCA23CA36B49EAB112AE5B01F" 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_F4E49E1F74BE1160A7BAAB112AE5B712" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_A2C97D9C55B3369A8F85AB112AE56C6A" xlink:to="loc_us-gaap_GrossProfit_F4E49E1F74BE1160A7BAAB112AE5B712" 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_D7B1C34032070CEF8FD3AB112AE586B1" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_A2C97D9C55B3369A8F85AB112AE56C6A" xlink:to="loc_us-gaap_OperatingIncomeLoss_D7B1C34032070CEF8FD3AB112AE586B1" 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_0DE57FF0E9855C2E5C64AB112AE54905" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_A2C97D9C55B3369A8F85AB112AE56C6A" xlink:to="loc_us-gaap_Assets_0DE57FF0E9855C2E5C64AB112AE54905" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.matrixservice.com/role/UncompletedContractsAdditionalInformationDetail" xlink:type="extended">
    <loc xlink:href="mtrx-20121231.xsd#mtrx_CustomerContractsLineItems" xlink:label="loc_mtrx_CustomerContractsLineItems_4D1ED02555D529A39866AB5E4E989D4A" xlink:type="locator" />
    <loc xlink:href="mtrx-20121231.xsd#mtrx_CustomerContractsTable" xlink:label="loc_mtrx_CustomerContractsTable_E883F6F6747968753E1CAB5E4E9316FB" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_mtrx_CustomerContractsLineItems_4D1ED02555D529A39866AB5E4E989D4A" xlink:to="loc_mtrx_CustomerContractsTable_E883F6F6747968753E1CAB5E4E9316FB" 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_63E046E221B9B764FCD1AB5A89167629" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_mtrx_CustomerContractsTable_E883F6F6747968753E1CAB5E4E9316FB" xlink:to="loc_us-gaap_MajorCustomersAxis_63E046E221B9B764FCD1AB5A89167629" 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_80CDE97ADC5347434159AB5F1FD18753_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_MajorCustomersAxis_63E046E221B9B764FCD1AB5A89167629" xlink:to="loc_us-gaap_NameOfMajorCustomerDomain_80CDE97ADC5347434159AB5F1FD18753_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_80CDE97ADC5347434159AB5F1FD18753" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_MajorCustomersAxis_63E046E221B9B764FCD1AB5A89167629" xlink:to="loc_us-gaap_NameOfMajorCustomerDomain_80CDE97ADC5347434159AB5F1FD18753" xlink:type="arc" />
    <loc xlink:href="mtrx-20121231.xsd#mtrx_SMElectricCompanyMember" xlink:label="loc_mtrx_SMElectricCompanyMember_1C917D93C09E3F68C468AB6006E9EA38" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NameOfMajorCustomerDomain_80CDE97ADC5347434159AB5F1FD18753" xlink:to="loc_mtrx_SMElectricCompanyMember_1C917D93C09E3F68C468AB6006E9EA38" xlink:type="arc" />
    <loc xlink:href="mtrx-20121231.xsd#mtrx_WesternCanadaAbovegroundStorageTankProjectMember" xlink:label="loc_mtrx_WesternCanadaAbovegroundStorageTankProjectMember_5AEF7720EF57039E24A7AB61564359DA" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NameOfMajorCustomerDomain_80CDE97ADC5347434159AB5F1FD18753" xlink:to="loc_mtrx_WesternCanadaAbovegroundStorageTankProjectMember_5AEF7720EF57039E24A7AB61564359DA" 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_13480BB9690EB3AD0202AB112B1B1BDC" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_CustomerContractsLineItems_4D1ED02555D529A39866AB5E4E989D4A" xlink:to="loc_us-gaap_ContractReceivableRetainageDueInRemainderOfFiscalYear_13480BB9690EB3AD0202AB112B1B1BDC" 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_FA3DD79E1DFBC7F52CD3AB112B1BCCFE" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_CustomerContractsLineItems_4D1ED02555D529A39866AB5E4E989D4A" xlink:to="loc_us-gaap_CostsInExcessOfBillingsOnUncompletedContractsOrProgramsExpectedToBeCollectedAfterOneYear_FA3DD79E1DFBC7F52CD3AB112B1BCCFE" 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_14FD11DC8EFF5FCDD571AB112B1BC5F0" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_CustomerContractsLineItems_4D1ED02555D529A39866AB5E4E989D4A" xlink:to="loc_us-gaap_ContractsReceivableClaimsAndUncertainAmounts_14FD11DC8EFF5FCDD571AB112B1BC5F0" 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_D8A74B6C73B246239F26AB112B1CD864" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_CustomerContractsLineItems_4D1ED02555D529A39866AB5E4E989D4A" xlink:to="loc_us-gaap_ContractsReceivableClaimsAndUncertainAmountsExpectedToBeCollectedInNextRollingTwelveMonths_D8A74B6C73B246239F26AB112B1CD864" xlink:type="arc" />
    <loc xlink:href="mtrx-20121231.xsd#mtrx_ChangeInAccountingEstimateFinancialEffectOperatingIncome" xlink:label="loc_mtrx_ChangeInAccountingEstimateFinancialEffectOperatingIncome_70B1D925793B8EE6E284AB8E0D7C48B4" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_CustomerContractsLineItems_4D1ED02555D529A39866AB5E4E989D4A" xlink:to="loc_mtrx_ChangeInAccountingEstimateFinancialEffectOperatingIncome_70B1D925793B8EE6E284AB8E0D7C48B4" xlink:type="arc" />
    <loc xlink:href="mtrx-20121231.xsd#mtrx_ChangeInAccountingEstimateFinancialEffectNetIncome" xlink:label="loc_mtrx_ChangeInAccountingEstimateFinancialEffectNetIncome_D6EDB912635005D85AB2AB8EC4EF7649" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_CustomerContractsLineItems_4D1ED02555D529A39866AB5E4E989D4A" xlink:to="loc_mtrx_ChangeInAccountingEstimateFinancialEffectNetIncome_D6EDB912635005D85AB2AB8EC4EF7649" xlink:type="arc" />
    <loc xlink:href="mtrx-20121231.xsd#mtrx_ChangeInAccountingEstimateFinancialEffectDilutedEarningsPerShare" xlink:label="loc_mtrx_ChangeInAccountingEstimateFinancialEffectDilutedEarningsPerShare_23AA2FDBA1A2166E2B59AB8FC6213432" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_CustomerContractsLineItems_4D1ED02555D529A39866AB5E4E989D4A" xlink:to="loc_mtrx_ChangeInAccountingEstimateFinancialEffectDilutedEarningsPerShare_23AA2FDBA1A2166E2B59AB8FC6213432" 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_DDF8004C1BFBF8CB02A4AB112B1CEB91" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_CustomerContractsLineItems_4D1ED02555D529A39866AB5E4E989D4A" xlink:to="loc_us-gaap_BillingsInExcessOfCostCurrent_DDF8004C1BFBF8CB02A4AB112B1CEB91" xlink:type="arc" />
  </definitionLink>
</linkbase>
