<?xml version="1.0" encoding="US-ASCII"?>
<!--XBRL Document Created with Wdesk from Workiva, formerly WebFilings-->
<!-- -->
<linkbase xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd" xmlns="http://www.xbrl.org/2003/linkbase" xmlns:xbrldt="http://xbrl.org/2005/xbrldt" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <roleRef roleURI="http://www.matrixservicecompany.com/role/Acquisitions" xlink:href="mtrx-20140630.xsd#Acquisitions" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/AcquisitionsDetails" xlink:href="mtrx-20140630.xsd#AcquisitionsDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/AcquisitionsDetailsTextual" xlink:href="mtrx-20140630.xsd#AcquisitionsDetailsTextual" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/AcquisitionsTables" xlink:href="mtrx-20140630.xsd#AcquisitionsTables" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/ConsolidatedBalanceSheets" xlink:href="mtrx-20140630.xsd#ConsolidatedBalanceSheets" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/ConsolidatedBalanceSheetsParenthetical" xlink:href="mtrx-20140630.xsd#ConsolidatedBalanceSheetsParenthetical" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/ConsolidatedStatementsOfCashFlows" xlink:href="mtrx-20140630.xsd#ConsolidatedStatementsOfCashFlows" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/ConsolidatedStatementsOfChangesInStockholdersEquity" xlink:href="mtrx-20140630.xsd#ConsolidatedStatementsOfChangesInStockholdersEquity" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/ConsolidatedStatementsOfChangesInStockholdersEquityParenthetical" xlink:href="mtrx-20140630.xsd#ConsolidatedStatementsOfChangesInStockholdersEquityParenthetical" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/ConsolidatedStatementsOfComprehensiveIncome" xlink:href="mtrx-20140630.xsd#ConsolidatedStatementsOfComprehensiveIncome" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/ConsolidatedStatementsOfComprehensiveIncomeParentheticals" xlink:href="mtrx-20140630.xsd#ConsolidatedStatementsOfComprehensiveIncomeParentheticals" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/ConsolidatedStatementsOfIncome" xlink:href="mtrx-20140630.xsd#ConsolidatedStatementsOfIncome" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/Contingencies" xlink:href="mtrx-20140630.xsd#Contingencies" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/ContingenciesDetailsTextual" xlink:href="mtrx-20140630.xsd#ContingenciesDetailsTextual" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/CustomerContracts" xlink:href="mtrx-20140630.xsd#CustomerContracts" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/CustomerContractsDetails" xlink:href="mtrx-20140630.xsd#CustomerContractsDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/CustomerContractsDetailsTextual" xlink:href="mtrx-20140630.xsd#CustomerContractsDetailsTextual" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/CustomerContractsTables" xlink:href="mtrx-20140630.xsd#CustomerContractsTables" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/Debt" xlink:href="mtrx-20140630.xsd#Debt" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/DebtDetails" xlink:href="mtrx-20140630.xsd#DebtDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/DebtDetailsTextual" xlink:href="mtrx-20140630.xsd#DebtDetailsTextual" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/DebtTables" xlink:href="mtrx-20140630.xsd#DebtTables" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/DocumentAndEntityInformation" xlink:href="mtrx-20140630.xsd#DocumentAndEntityInformation" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/EarningsPerCommonShare" xlink:href="mtrx-20140630.xsd#EarningsPerCommonShare" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/EarningsPerCommonShareDetails" xlink:href="mtrx-20140630.xsd#EarningsPerCommonShareDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/EarningsPerCommonShareDetails1" xlink:href="mtrx-20140630.xsd#EarningsPerCommonShareDetails1" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/EarningsPerCommonShareTables" xlink:href="mtrx-20140630.xsd#EarningsPerCommonShareTables" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/EmployeeBenefitPlans" xlink:href="mtrx-20140630.xsd#EmployeeBenefitPlans" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/EmployeeBenefitPlansDetails" xlink:href="mtrx-20140630.xsd#EmployeeBenefitPlansDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/EmployeeBenefitPlansDetailsTextual" xlink:href="mtrx-20140630.xsd#EmployeeBenefitPlansDetailsTextual" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/EmployeeBenefitPlansTables" xlink:href="mtrx-20140630.xsd#EmployeeBenefitPlansTables" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/GoodwillAndOtherIntangibleAssets" xlink:href="mtrx-20140630.xsd#GoodwillAndOtherIntangibleAssets" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/GoodwillAndOtherIntangibleAssetsDetails" xlink:href="mtrx-20140630.xsd#GoodwillAndOtherIntangibleAssetsDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/GoodwillAndOtherIntangibleAssetsDetails1" xlink:href="mtrx-20140630.xsd#GoodwillAndOtherIntangibleAssetsDetails1" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/GoodwillAndOtherIntangibleAssetsDetailsTextual" xlink:href="mtrx-20140630.xsd#GoodwillAndOtherIntangibleAssetsDetailsTextual" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/GoodwillAndOtherIntangibleAssetsTables" xlink:href="mtrx-20140630.xsd#GoodwillAndOtherIntangibleAssetsTables" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/IncomeTaxes" xlink:href="mtrx-20140630.xsd#IncomeTaxes" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/IncomeTaxesDetails" xlink:href="mtrx-20140630.xsd#IncomeTaxesDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/IncomeTaxesDetails1" xlink:href="mtrx-20140630.xsd#IncomeTaxesDetails1" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/IncomeTaxesDetails2" xlink:href="mtrx-20140630.xsd#IncomeTaxesDetails2" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/IncomeTaxesDetails3" xlink:href="mtrx-20140630.xsd#IncomeTaxesDetails3" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/IncomeTaxesDetails4" xlink:href="mtrx-20140630.xsd#IncomeTaxesDetails4" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/IncomeTaxesDetailsTextual" xlink:href="mtrx-20140630.xsd#IncomeTaxesDetailsTextual" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/IncomeTaxesTables" xlink:href="mtrx-20140630.xsd#IncomeTaxesTables" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/OperatingLeases" xlink:href="mtrx-20140630.xsd#OperatingLeases" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/OperatingLeasesDetailsTextual" xlink:href="mtrx-20140630.xsd#OperatingLeasesDetailsTextual" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/QuarterlyFinancialDataUnauditedDetails" xlink:href="mtrx-20140630.xsd#QuarterlyFinancialDataUnauditedDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/QuarterlyFinancialDataUnauditedQuarterlyFinancialDataUnaudited" xlink:href="mtrx-20140630.xsd#QuarterlyFinancialDataUnauditedQuarterlyFinancialDataUnaudited" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/QuarterlyFinancialDataUnauditedTables" xlink:href="mtrx-20140630.xsd#QuarterlyFinancialDataUnauditedTables" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/SegmentInformation" xlink:href="mtrx-20140630.xsd#SegmentInformation" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/SegmentInformationDetails" xlink:href="mtrx-20140630.xsd#SegmentInformationDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/SegmentInformationDetails1" xlink:href="mtrx-20140630.xsd#SegmentInformationDetails1" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/SegmentInformationDetailsTextual" xlink:href="mtrx-20140630.xsd#SegmentInformationDetailsTextual" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/SegmentInformationTables" xlink:href="mtrx-20140630.xsd#SegmentInformationTables" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/StockBasedCompensation" xlink:href="mtrx-20140630.xsd#StockBasedCompensation" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/StockBasedCompensationDetails" xlink:href="mtrx-20140630.xsd#StockBasedCompensationDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/StockBasedCompensationDetails1" xlink:href="mtrx-20140630.xsd#StockBasedCompensationDetails1" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/StockBasedCompensationDetails2" xlink:href="mtrx-20140630.xsd#StockBasedCompensationDetails2" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/StockBasedCompensationDetails3" xlink:href="mtrx-20140630.xsd#StockBasedCompensationDetails3" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/StockBasedCompensationDetailsTextual" xlink:href="mtrx-20140630.xsd#StockBasedCompensationDetailsTextual" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/StockBasedCompensationTables" xlink:href="mtrx-20140630.xsd#StockBasedCompensationTables" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/StockholdersEquity" xlink:href="mtrx-20140630.xsd#StockholdersEquity" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/StockholdersEquityDetailsTextual" xlink:href="mtrx-20140630.xsd#StockholdersEquityDetailsTextual" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/SubsequentEventsDetails" xlink:href="mtrx-20140630.xsd#SubsequentEventsDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/SubsequentEventsNotes" xlink:href="mtrx-20140630.xsd#SubsequentEventsNotes" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/SummaryOfSignificantAccountingPolicies" xlink:href="mtrx-20140630.xsd#SummaryOfSignificantAccountingPolicies" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/SummaryOfSignificantAccountingPoliciesDetailsTextual" xlink:href="mtrx-20140630.xsd#SummaryOfSignificantAccountingPoliciesDetailsTextual" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/SummaryOfSignificantAccountingPoliciesPolicies" xlink:href="mtrx-20140630.xsd#SummaryOfSignificantAccountingPoliciesPolicies" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/ValuationAndQualifyingAccounts" xlink:href="mtrx-20140630.xsd#ValuationAndQualifyingAccounts" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/ValuationAndQualifyingAccountsDetails" xlink:href="mtrx-20140630.xsd#ValuationAndQualifyingAccountsDetails" xlink:type="simple" />
  <arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/all" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#all" xlink:type="simple" />
  <arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-default" xlink:type="simple" />
  <arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-domain" xlink:type="simple" />
  <arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/domain-member" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#domain-member" xlink:type="simple" />
  <arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#hypercube-dimension" xlink:type="simple" />
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/Acquisitions" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/AcquisitionsDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_BusinessAcquisitionLineItems" xlink:label="loc_us-gaap_BusinessAcquisitionLineItems_414E8B9C138AE640FA641E27DAC8F3DA" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_3AC9723DEB34B41ABFE01E27DAC4FC96" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_414E8B9C138AE640FA641E27DAC8F3DA" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_3AC9723DEB34B41ABFE01E27DAC4FC96" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_4E1B46AAA09FB275B6A61E27DAC6BF5B" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_3AC9723DEB34B41ABFE01E27DAC4FC96" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_4E1B46AAA09FB275B6A61E27DAC6BF5B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_96D1AA16B2DBA34210521E27DAC7A820_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_4E1B46AAA09FB275B6A61E27DAC6BF5B" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_96D1AA16B2DBA34210521E27DAC7A820_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_96D1AA16B2DBA34210521E27DAC7A820" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_4E1B46AAA09FB275B6A61E27DAC6BF5B" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_96D1AA16B2DBA34210521E27DAC7A820" xlink:type="arc" />
    <loc xlink:href="mtrx-20140630.xsd#mtrx_KvaernerNorthAmericanConstructionMember" xlink:label="loc_mtrx_KvaernerNorthAmericanConstructionMember_3D025FC7C57AF5AAAAD11E27DAC746D9" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_96D1AA16B2DBA34210521E27DAC7A820" xlink:to="loc_mtrx_KvaernerNorthAmericanConstructionMember_3D025FC7C57AF5AAAAD11E27DAC746D9" xlink:type="arc" />
    <loc xlink:href="mtrx-20140630.xsd#mtrx_PelichemIndustrialCleaningServicesLlcMember" xlink:label="loc_mtrx_PelichemIndustrialCleaningServicesLlcMember_C99D55CB38FA4FC86D291E27DAC88B35" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_96D1AA16B2DBA34210521E27DAC7A820" xlink:to="loc_mtrx_PelichemIndustrialCleaningServicesLlcMember_C99D55CB38FA4FC86D291E27DAC88B35" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssets" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssets_B7FBD8C40C4893BC004E1E27DAC9FF37" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_414E8B9C138AE640FA641E27DAC8F3DA" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssets_B7FBD8C40C4893BC004E1E27DAC9FF37" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment_42EBE262C0A3C800B1E11E27DAC9E738" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_414E8B9C138AE640FA641E27DAC8F3DA" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment_42EBE262C0A3C800B1E11E27DAC9E738" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_Goodwill" xlink:label="loc_us-gaap_Goodwill_FC613107713447432F851E27DACAA25A" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_414E8B9C138AE640FA641E27DAC8F3DA" xlink:to="loc_us-gaap_Goodwill_FC613107713447432F851E27DACAA25A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_BusinessAcquisitionPurchasePriceAllocationGoodwillExpectedTaxDeductibleAmount" xlink:label="loc_us-gaap_BusinessAcquisitionPurchasePriceAllocationGoodwillExpectedTaxDeductibleAmount_A8216EFEFBE67535E7841E27DACAB6BA" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_414E8B9C138AE640FA641E27DAC8F3DA" xlink:to="loc_us-gaap_BusinessAcquisitionPurchasePriceAllocationGoodwillExpectedTaxDeductibleAmount_A8216EFEFBE67535E7841E27DACAB6BA" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles_9BC515EF3324F7498EA31E27DACA4EF3" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_414E8B9C138AE640FA641E27DAC8F3DA" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles_9BC515EF3324F7498EA31E27DACA4EF3" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets_4980963872001FFD52B31E27DACB8613" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_414E8B9C138AE640FA641E27DAC8F3DA" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets_4980963872001FFD52B31E27DACB8613" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilities" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilities_D2D5289AE3BD951B8B201E27DACBD909" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_414E8B9C138AE640FA641E27DAC8F3DA" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilities_D2D5289AE3BD951B8B201E27DACBD909" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilitiesNoncurrent" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilitiesNoncurrent_D58B0402DE2E89BC31821E27DACB8396" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_414E8B9C138AE640FA641E27DAC8F3DA" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilitiesNoncurrent_D58B0402DE2E89BC31821E27DACB8396" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_BusinessCombinationAcquisitionOfLessThan100PercentNoncontrollingInterestFairValue" xlink:label="loc_us-gaap_BusinessCombinationAcquisitionOfLessThan100PercentNoncontrollingInterestFairValue_8734E463B956F9515F321E27DACD6AA5" xlink:type="locator" />
    <definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_414E8B9C138AE640FA641E27DAC8F3DA" xlink:to="loc_us-gaap_BusinessCombinationAcquisitionOfLessThan100PercentNoncontrollingInterestFairValue_8734E463B956F9515F321E27DACD6AA5" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_5116E141B602DD4C63DE1E27DACD57AF" xlink:type="locator" />
    <definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_414E8B9C138AE640FA641E27DAC8F3DA" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_5116E141B602DD4C63DE1E27DACD57AF" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents_628E48416653A10C41A81E27DACE67E4" xlink:type="locator" />
    <definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_414E8B9C138AE640FA641E27DAC8F3DA" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents_628E48416653A10C41A81E27DACE67E4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_BusinessCombinationConsiderationTransferred1" xlink:label="loc_us-gaap_BusinessCombinationConsiderationTransferred1_4D1BD250347868D874EB1E27DACEA204" xlink:type="locator" />
    <definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_414E8B9C138AE640FA641E27DAC8F3DA" xlink:to="loc_us-gaap_BusinessCombinationConsiderationTransferred1_4D1BD250347868D874EB1E27DACEA204" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_BusinessAcquisitionProFormaInformationAbstract" xlink:label="loc_us-gaap_BusinessAcquisitionProFormaInformationAbstract_D85890358D6A70D3C8881E27DACEE963" xlink:type="locator" />
    <definitionArc order="13" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_414E8B9C138AE640FA641E27DAC8F3DA" xlink:to="loc_us-gaap_BusinessAcquisitionProFormaInformationAbstract_D85890358D6A70D3C8881E27DACEE963" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_BusinessAcquisitionsProFormaRevenue" xlink:label="loc_us-gaap_BusinessAcquisitionsProFormaRevenue_4660BE826AE5329F7F791E27DACF152C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionProFormaInformationAbstract_D85890358D6A70D3C8881E27DACEE963" xlink:to="loc_us-gaap_BusinessAcquisitionsProFormaRevenue_4660BE826AE5329F7F791E27DACF152C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_BusinessAcquisitionsProFormaNetIncomeLoss" xlink:label="loc_us-gaap_BusinessAcquisitionsProFormaNetIncomeLoss_C0141B83861CED9B0BFC1E27DACF8FD2" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionProFormaInformationAbstract_D85890358D6A70D3C8881E27DACEE963" xlink:to="loc_us-gaap_BusinessAcquisitionsProFormaNetIncomeLoss_C0141B83861CED9B0BFC1E27DACF8FD2" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_BusinessAcquisitionProFormaEarningsPerShareBasic" xlink:label="loc_us-gaap_BusinessAcquisitionProFormaEarningsPerShareBasic_86E66C6A90D06CB1C14B1E27DACF6D00" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionProFormaInformationAbstract_D85890358D6A70D3C8881E27DACEE963" xlink:to="loc_us-gaap_BusinessAcquisitionProFormaEarningsPerShareBasic_86E66C6A90D06CB1C14B1E27DACF6D00" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_BusinessAcquisitionProFormaEarningsPerShareDiluted" xlink:label="loc_us-gaap_BusinessAcquisitionProFormaEarningsPerShareDiluted_1801A88881547F622FFB1E27DAD0E313" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionProFormaInformationAbstract_D85890358D6A70D3C8881E27DACEE963" xlink:to="loc_us-gaap_BusinessAcquisitionProFormaEarningsPerShareDiluted_1801A88881547F622FFB1E27DAD0E313" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/AcquisitionsDetailsTextual" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_BusinessAcquisitionLineItems" xlink:label="loc_us-gaap_BusinessAcquisitionLineItems_9428905167E7BD62FF0BF52F618A0810" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_92E7C387CEFC6FB6EBE0F52F618AECA4" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_9428905167E7BD62FF0BF52F618A0810" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_92E7C387CEFC6FB6EBE0F52F618AECA4" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis" xlink:label="loc_us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_F2629BF83260EEC92A24F52F618AE494" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_92E7C387CEFC6FB6EBE0F52F618AECA4" xlink:to="loc_us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_F2629BF83260EEC92A24F52F618AE494" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_EquityMethodInvesteeNameDomain" xlink:label="loc_us-gaap_EquityMethodInvesteeNameDomain_3F9AB5B0F52B5C88603AF52F618A7DB0_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_F2629BF83260EEC92A24F52F618AE494" xlink:to="loc_us-gaap_EquityMethodInvesteeNameDomain_3F9AB5B0F52B5C88603AF52F618A7DB0_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_EquityMethodInvesteeNameDomain" xlink:label="loc_us-gaap_EquityMethodInvesteeNameDomain_3F9AB5B0F52B5C88603AF52F618A7DB0" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_F2629BF83260EEC92A24F52F618AE494" xlink:to="loc_us-gaap_EquityMethodInvesteeNameDomain_3F9AB5B0F52B5C88603AF52F618A7DB0" xlink:type="arc" />
    <loc xlink:href="mtrx-20140630.xsd#mtrx_MXPBPowerPartnersMember" xlink:label="loc_mtrx_MXPBPowerPartnersMember_59A9DBC3155B1B0A5909F52F618AC250" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityMethodInvesteeNameDomain_3F9AB5B0F52B5C88603AF52F618A7DB0" xlink:to="loc_mtrx_MXPBPowerPartnersMember_59A9DBC3155B1B0A5909F52F618AC250" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_A081BA24321530345ED3F52F618ACF74" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_92E7C387CEFC6FB6EBE0F52F618AECA4" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_A081BA24321530345ED3F52F618ACF74" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_4EE25134B39EFE2366CBF52F618A6430_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_A081BA24321530345ED3F52F618ACF74" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_4EE25134B39EFE2366CBF52F618A6430_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_4EE25134B39EFE2366CBF52F618A6430" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_A081BA24321530345ED3F52F618ACF74" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_4EE25134B39EFE2366CBF52F618A6430" xlink:type="arc" />
    <loc xlink:href="mtrx-20140630.xsd#mtrx_KvaernerNorthAmericanConstructionMember" xlink:label="loc_mtrx_KvaernerNorthAmericanConstructionMember_5AA18A8881DFFF508829F52F618ABA78" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_4EE25134B39EFE2366CBF52F618A6430" xlink:to="loc_mtrx_KvaernerNorthAmericanConstructionMember_5AA18A8881DFFF508829F52F618ABA78" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_BusinessAcquisitionPercentageOfVotingInterestsAcquired" xlink:label="loc_us-gaap_BusinessAcquisitionPercentageOfVotingInterestsAcquired_813F9CE0473F3CAA4D40F52F618A10A2" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_9428905167E7BD62FF0BF52F618A0810" xlink:to="loc_us-gaap_BusinessAcquisitionPercentageOfVotingInterestsAcquired_813F9CE0473F3CAA4D40F52F618A10A2" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_1D0B2C9785F5A8E1E80FF52F618A3FD7" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_9428905167E7BD62FF0BF52F618A0810" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_1D0B2C9785F5A8E1E80FF52F618A3FD7" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_Goodwill" xlink:label="loc_us-gaap_Goodwill_A6811FEE5E802AD99C9FF52F618AD567" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_9428905167E7BD62FF0BF52F618A0810" xlink:to="loc_us-gaap_Goodwill_A6811FEE5E802AD99C9FF52F618AD567" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_BusinessAcquisitionPurchasePriceAllocationGoodwillExpectedTaxDeductibleAmount" xlink:label="loc_us-gaap_BusinessAcquisitionPurchasePriceAllocationGoodwillExpectedTaxDeductibleAmount_D6CA84485F7133DE1315F52F618A5E06" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_9428905167E7BD62FF0BF52F618A0810" xlink:to="loc_us-gaap_BusinessAcquisitionPurchasePriceAllocationGoodwillExpectedTaxDeductibleAmount_D6CA84485F7133DE1315F52F618A5E06" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_EquityMethodInvestmentOwnershipPercentage" xlink:label="loc_us-gaap_EquityMethodInvestmentOwnershipPercentage_7D1912D015CBEF12E2D7F52F618AC8D3" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_9428905167E7BD62FF0BF52F618A0810" xlink:to="loc_us-gaap_EquityMethodInvestmentOwnershipPercentage_7D1912D015CBEF12E2D7F52F618AC8D3" xlink:type="arc" />
    <loc xlink:href="mtrx-20140630.xsd#mtrx_Mtrx_JointVentureValue" xlink:label="loc_mtrx_Mtrx_JointVentureValue_F772BBAA62BA543027C9F52F618A0AB9" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_9428905167E7BD62FF0BF52F618A0810" xlink:to="loc_mtrx_Mtrx_JointVentureValue_F772BBAA62BA543027C9F52F618A0AB9" xlink:type="arc" />
    <loc xlink:href="mtrx-20140630.xsd#mtrx_Mtrx_ControllingInterestOfJointVentureValue" xlink:label="loc_mtrx_Mtrx_ControllingInterestOfJointVentureValue_2BCB8F52266C154B8707F52F618A80A5" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_9428905167E7BD62FF0BF52F618A0810" xlink:to="loc_mtrx_Mtrx_ControllingInterestOfJointVentureValue_2BCB8F52266C154B8707F52F618A80A5" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_MinorityInterestInJointVentures" xlink:label="loc_us-gaap_MinorityInterestInJointVentures_45D6D5AB360EC11DB0F0F52F618A1030" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_9428905167E7BD62FF0BF52F618A0810" xlink:to="loc_us-gaap_MinorityInterestInJointVentures_45D6D5AB360EC11DB0F0F52F618A1030" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_Revenues" xlink:label="loc_us-gaap_Revenues_EF8BD8EC3656779CF85FF52F618AC2D6" xlink:type="locator" />
    <definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_9428905167E7BD62FF0BF52F618A0810" xlink:to="loc_us-gaap_Revenues_EF8BD8EC3656779CF85FF52F618AC2D6" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_OperatingIncomeLoss" xlink:label="loc_us-gaap_OperatingIncomeLoss_961EE99B5CBE47ED39B8F52F618ACC38" xlink:type="locator" />
    <definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_9428905167E7BD62FF0BF52F618A0810" xlink:to="loc_us-gaap_OperatingIncomeLoss_961EE99B5CBE47ED39B8F52F618ACC38" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_BusinessCombinationSeparatelyRecognizedTransactionsAdditionalDisclosuresAcquisitionCostExpensed" xlink:label="loc_us-gaap_BusinessCombinationSeparatelyRecognizedTransactionsAdditionalDisclosuresAcquisitionCostExpensed_0A2AB79709AD7A54A562F52F618ADCD0" xlink:type="locator" />
    <definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_9428905167E7BD62FF0BF52F618A0810" xlink:to="loc_us-gaap_BusinessCombinationSeparatelyRecognizedTransactionsAdditionalDisclosuresAcquisitionCostExpensed_0A2AB79709AD7A54A562F52F618ADCD0" xlink:type="arc" />
    <loc xlink:href="mtrx-20140630.xsd#mtrx_BusinessAcquisitionProFormaAmortizationofIntangibleAssets" xlink:label="loc_mtrx_BusinessAcquisitionProFormaAmortizationofIntangibleAssets_1ECBE151F181D8A29326F52F618A2530" xlink:type="locator" />
    <definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_9428905167E7BD62FF0BF52F618A0810" xlink:to="loc_mtrx_BusinessAcquisitionProFormaAmortizationofIntangibleAssets_1ECBE151F181D8A29326F52F618A2530" xlink:type="arc" />
    <loc xlink:href="mtrx-20140630.xsd#mtrx_BusinessAcquisitionProFormaDepreciationExpense" xlink:label="loc_mtrx_BusinessAcquisitionProFormaDepreciationExpense_C47573B54BAA340F6C4AF52F618A8D1F" xlink:type="locator" />
    <definitionArc order="13" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_9428905167E7BD62FF0BF52F618A0810" xlink:to="loc_mtrx_BusinessAcquisitionProFormaDepreciationExpense_C47573B54BAA340F6C4AF52F618A8D1F" xlink:type="arc" />
    <loc xlink:href="mtrx-20140630.xsd#mtrx_BusinessAcquisitionProFormaIncomefromTaxSettlement" xlink:label="loc_mtrx_BusinessAcquisitionProFormaIncomefromTaxSettlement_CD7CB7FC6152DE85B202F52F618A1264" xlink:type="locator" />
    <definitionArc order="14" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_9428905167E7BD62FF0BF52F618A0810" xlink:to="loc_mtrx_BusinessAcquisitionProFormaIncomefromTaxSettlement_CD7CB7FC6152DE85B202F52F618A1264" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/AcquisitionsTables" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_BusinessAcquisitionLineItems" xlink:label="loc_us-gaap_BusinessAcquisitionLineItems_AB3A0B90A0566488EB75F52F614E23FF" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_6C7A5BA82E290B08298EF52F614EA102" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_AB3A0B90A0566488EB75F52F614E23FF" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_6C7A5BA82E290B08298EF52F614EA102" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_7A65580FE67EEA703539F52F614E34E1" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_6C7A5BA82E290B08298EF52F614EA102" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_7A65580FE67EEA703539F52F614E34E1" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_5121C431991538BCD87BF52F614EB027_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_7A65580FE67EEA703539F52F614E34E1" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_5121C431991538BCD87BF52F614EB027_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_5121C431991538BCD87BF52F614EB027" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_7A65580FE67EEA703539F52F614E34E1" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_5121C431991538BCD87BF52F614EB027" xlink:type="arc" />
    <loc xlink:href="mtrx-20140630.xsd#mtrx_KvaernerNorthAmericanConstructionMember" xlink:label="loc_mtrx_KvaernerNorthAmericanConstructionMember_E4F0BD747FE1F90A979BF52F614E2950" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_5121C431991538BCD87BF52F614EB027" xlink:to="loc_mtrx_KvaernerNorthAmericanConstructionMember_E4F0BD747FE1F90A979BF52F614E2950" xlink:type="arc" />
    <loc xlink:href="mtrx-20140630.xsd#mtrx_PelichemIndustrialCleaningServicesLlcMember" xlink:label="loc_mtrx_PelichemIndustrialCleaningServicesLlcMember_7A70B850A39C004615AAF52F614E22BE" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_5121C431991538BCD87BF52F614EB027" xlink:to="loc_mtrx_PelichemIndustrialCleaningServicesLlcMember_7A70B850A39C004615AAF52F614E22BE" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTextBlock" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTextBlock_4E0D4F6766CC48D46420F52F614E7D42" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_AB3A0B90A0566488EB75F52F614E23FF" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTextBlock_4E0D4F6766CC48D46420F52F614E7D42" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_BusinessAcquisitionProFormaInformationTextBlock" xlink:label="loc_us-gaap_BusinessAcquisitionProFormaInformationTextBlock_DF53979A81E76D76507DF52F614EAFD6" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_AB3A0B90A0566488EB75F52F614E23FF" xlink:to="loc_us-gaap_BusinessAcquisitionProFormaInformationTextBlock_DF53979A81E76D76507DF52F614EAFD6" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/ConsolidatedBalanceSheets" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/ConsolidatedBalanceSheetsParenthetical" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/ConsolidatedStatementsOfCashFlows" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/ConsolidatedStatementsOfChangesInStockholdersEquity" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaap_StatementLineItems_40693F7FA51274FC290656A728B0F9BA" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaap_StatementTable_033EAB3F73A43D158DFB56A728B0FAA7" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_40693F7FA51274FC290656A728B0F9BA" xlink:to="loc_us-gaap_StatementTable_033EAB3F73A43D158DFB56A728B0FAA7" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_StatementEquityComponentsAxis" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_279FAD3BC87324012B9A56A728B0E3F2" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_033EAB3F73A43D158DFB56A728B0FAA7" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_279FAD3BC87324012B9A56A728B0E3F2" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_05AE0BE19C16128A7C4956A728B02118_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_279FAD3BC87324012B9A56A728B0E3F2" xlink:to="loc_us-gaap_EquityComponentDomain_05AE0BE19C16128A7C4956A728B02118_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_05AE0BE19C16128A7C4956A728B02118" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_279FAD3BC87324012B9A56A728B0E3F2" xlink:to="loc_us-gaap_EquityComponentDomain_05AE0BE19C16128A7C4956A728B02118" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_CommonStockMember" xlink:label="loc_us-gaap_CommonStockMember_3CAEC4F09A96471B0F5456A728B0E134" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_05AE0BE19C16128A7C4956A728B02118" xlink:to="loc_us-gaap_CommonStockMember_3CAEC4F09A96471B0F5456A728B0E134" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_AdditionalPaidInCapitalMember" xlink:label="loc_us-gaap_AdditionalPaidInCapitalMember_D7FC717DADED167AEF6F56A728B0E9D8" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_05AE0BE19C16128A7C4956A728B02118" xlink:to="loc_us-gaap_AdditionalPaidInCapitalMember_D7FC717DADED167AEF6F56A728B0E9D8" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_RetainedEarningsMember" xlink:label="loc_us-gaap_RetainedEarningsMember_17FE53B761364C56B47456A728B07FA0" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_05AE0BE19C16128A7C4956A728B02118" xlink:to="loc_us-gaap_RetainedEarningsMember_17FE53B761364C56B47456A728B07FA0" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_TreasuryStockMember" xlink:label="loc_us-gaap_TreasuryStockMember_E2B7061039522994D90B56A728B03130" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_05AE0BE19C16128A7C4956A728B02118" xlink:to="loc_us-gaap_TreasuryStockMember_E2B7061039522994D90B56A728B03130" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeMember" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_C4CEC70CE7093178AB3B56A728B0E65D" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_05AE0BE19C16128A7C4956A728B02118" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_C4CEC70CE7093178AB3B56A728B0E65D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_NoncontrollingInterestMember" xlink:label="loc_us-gaap_NoncontrollingInterestMember_D3063BF7F2A948732D7C56A728B01B1D" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_05AE0BE19C16128A7C4956A728B02118" xlink:to="loc_us-gaap_NoncontrollingInterestMember_D3063BF7F2A948732D7C56A728B01B1D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_IncreaseDecreaseInStockholdersEquityRollForward" xlink:label="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_DD949EFB64BF5FE6291156A728B0F370" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_40693F7FA51274FC290656A728B0F9BA" xlink:to="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_DD949EFB64BF5FE6291156A728B0F370" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_709531DFCD1D5DC8C23556A728B0983A" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_DD949EFB64BF5FE6291156A728B0F370" xlink:to="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_709531DFCD1D5DC8C23556A728B0983A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_ProfitLoss" xlink:label="loc_us-gaap_ProfitLoss_685B7B3A22CB17C5C1AA56A728B056EA" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_DD949EFB64BF5FE6291156A728B0F370" xlink:to="loc_us-gaap_ProfitLoss_685B7B3A22CB17C5C1AA56A728B056EA" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_9DF6678FADBDD1579F5F56A728B01CDA" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_DD949EFB64BF5FE6291156A728B0F370" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_9DF6678FADBDD1579F5F56A728B01CDA" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_PaymentsToAcquireInterestInJointVenture" xlink:label="loc_us-gaap_PaymentsToAcquireInterestInJointVenture_B73FC960DBC3BACDCD2F56A728B0C568" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_DD949EFB64BF5FE6291156A728B0F370" xlink:to="loc_us-gaap_PaymentsToAcquireInterestInJointVenture_B73FC960DBC3BACDCD2F56A728B0C568" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised_6BA2A9C0E2DD7432C0C056A728B0E53A" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_DD949EFB64BF5FE6291156A728B0F370" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised_6BA2A9C0E2DD7432C0C056A728B0E53A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_AdjustmentsToAdditionalPaidInCapitalTaxEffectFromShareBasedCompensation" xlink:label="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalTaxEffectFromShareBasedCompensation_88B00B0649A9AD297F2F56A728B01523" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_DD949EFB64BF5FE6291156A728B0F370" xlink:to="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalTaxEffectFromShareBasedCompensation_88B00B0649A9AD297F2F56A728B01523" xlink:type="arc" />
    <loc xlink:href="mtrx-20140630.xsd#mtrx_IssuanceOfDeferredShares" xlink:label="loc_mtrx_IssuanceOfDeferredShares_6C837D6EEB104F7A1EAD56A728B0803F" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_DD949EFB64BF5FE6291156A728B0F370" xlink:to="loc_mtrx_IssuanceOfDeferredShares_6C837D6EEB104F7A1EAD56A728B0803F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_StockIssuedDuringPeriodValueEmployeeStockPurchasePlan" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueEmployeeStockPurchasePlan_7280BC6A7C4D2B1111C456A728B04F47" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_DD949EFB64BF5FE6291156A728B0F370" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueEmployeeStockPurchasePlan_7280BC6A7C4D2B1111C456A728B04F47" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_TreasuryStockValueAcquiredCostMethod" xlink:label="loc_us-gaap_TreasuryStockValueAcquiredCostMethod_D8C0CD76CDB5888FD2A556A728B03F35" xlink:type="locator" />
    <definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_DD949EFB64BF5FE6291156A728B0F370" xlink:to="loc_us-gaap_TreasuryStockValueAcquiredCostMethod_D8C0CD76CDB5888FD2A556A728B03F35" xlink:type="arc" />
    <loc xlink:href="mtrx-20140630.xsd#mtrx_OtherTreasurySharePurchases" xlink:label="loc_mtrx_OtherTreasurySharePurchases_127879787BA56C90524B56A728B05E97" xlink:type="locator" />
    <definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_DD949EFB64BF5FE6291156A728B0F370" xlink:to="loc_mtrx_OtherTreasurySharePurchases_127879787BA56C90524B56A728B05E97" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue" xlink:label="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_D02891D3E285F8A11F9856A728B0BBEC" xlink:type="locator" />
    <definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_DD949EFB64BF5FE6291156A728B0F370" xlink:to="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_D02891D3E285F8A11F9856A728B0BBEC" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/ConsolidatedStatementsOfChangesInStockholdersEquityParenthetical" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaap_StatementLineItems_2A3446E2FE9E108BF7E4F4C06C8049C6" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaap_StatementTable_63A36B1A05BB73D507ECF4C06C80425F" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_2A3446E2FE9E108BF7E4F4C06C8049C6" xlink:to="loc_us-gaap_StatementTable_63A36B1A05BB73D507ECF4C06C80425F" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_StatementEquityComponentsAxis" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_E84B1F36BA7E410568ACF4C06C80C331" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_63A36B1A05BB73D507ECF4C06C80425F" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_E84B1F36BA7E410568ACF4C06C80C331" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_E45F183CE5E7D78814DDF4C06C804D17_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_E84B1F36BA7E410568ACF4C06C80C331" xlink:to="loc_us-gaap_EquityComponentDomain_E45F183CE5E7D78814DDF4C06C804D17_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_E45F183CE5E7D78814DDF4C06C804D17" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_E84B1F36BA7E410568ACF4C06C80C331" xlink:to="loc_us-gaap_EquityComponentDomain_E45F183CE5E7D78814DDF4C06C804D17" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_AdditionalPaidInCapitalMember" xlink:label="loc_us-gaap_AdditionalPaidInCapitalMember_BE194A5F73C74BF6E497F4C06C809BC8" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_E45F183CE5E7D78814DDF4C06C804D17" xlink:to="loc_us-gaap_AdditionalPaidInCapitalMember_BE194A5F73C74BF6E497F4C06C809BC8" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_RetainedEarningsMember" xlink:label="loc_us-gaap_RetainedEarningsMember_DC7CD25AEEEC29BA7B10F4C06C806633" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_E45F183CE5E7D78814DDF4C06C804D17" xlink:to="loc_us-gaap_RetainedEarningsMember_DC7CD25AEEEC29BA7B10F4C06C806633" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_TreasuryStockMember" xlink:label="loc_us-gaap_TreasuryStockMember_773937AD4B6C8F60773FF4C06C808903" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_E45F183CE5E7D78814DDF4C06C804D17" xlink:to="loc_us-gaap_TreasuryStockMember_773937AD4B6C8F60773FF4C06C808903" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_FCB021FD1C303A73A172F4C06C80B0C3" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_2A3446E2FE9E108BF7E4F4C06C8049C6" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_FCB021FD1C303A73A172F4C06C80B0C3" xlink:type="arc" />
    <loc xlink:href="mtrx-20140630.xsd#mtrx_DeferredSharesIssued" xlink:label="loc_mtrx_DeferredSharesIssued_98D3A4686BE5E880C2EBF4C06C80000A" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_2A3446E2FE9E108BF7E4F4C06C8049C6" xlink:to="loc_mtrx_DeferredSharesIssued_98D3A4686BE5E880C2EBF4C06C80000A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans_159B3B9D2662FB7CFE84F4C06C811A4F" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_2A3446E2FE9E108BF7E4F4C06C8049C6" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans_159B3B9D2662FB7CFE84F4C06C811A4F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_TreasuryStockSharesAcquired" xlink:label="loc_us-gaap_TreasuryStockSharesAcquired_0A44678672A11BFB2772F4C06C812620" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_2A3446E2FE9E108BF7E4F4C06C8049C6" xlink:to="loc_us-gaap_TreasuryStockSharesAcquired_0A44678672A11BFB2772F4C06C812620" xlink:type="arc" />
    <loc xlink:href="mtrx-20140630.xsd#mtrx_OtherTreasurySharesAcquired" xlink:label="loc_mtrx_OtherTreasurySharesAcquired_DF60E8813AF506BED5EBF4C06C816F01" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_2A3446E2FE9E108BF7E4F4C06C8049C6" xlink:to="loc_mtrx_OtherTreasurySharesAcquired_DF60E8813AF506BED5EBF4C06C816F01" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/ConsolidatedStatementsOfComprehensiveIncome" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/ConsolidatedStatementsOfComprehensiveIncomeParentheticals" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/ConsolidatedStatementsOfIncome" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/Contingencies" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/ContingenciesDetailsTextual" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/CustomerContracts" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/CustomerContractsDetails" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/CustomerContractsDetailsTextual" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_BusinessAcquisitionLineItems" xlink:label="loc_us-gaap_BusinessAcquisitionLineItems_8C460C5A7F0D860184E3F5302E80D8DC" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_ED2035F116CAFF093887F5302E800955" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_8C460C5A7F0D860184E3F5302E80D8DC" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_ED2035F116CAFF093887F5302E800955" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_MajorCustomersAxis" xlink:label="loc_us-gaap_MajorCustomersAxis_60DC033991D64F034B63F5302E80BECC" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_ED2035F116CAFF093887F5302E800955" xlink:to="loc_us-gaap_MajorCustomersAxis_60DC033991D64F034B63F5302E80BECC" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_NameOfMajorCustomerDomain" xlink:label="loc_us-gaap_NameOfMajorCustomerDomain_C9924306234E93CCDEA7F5302E802687_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_MajorCustomersAxis_60DC033991D64F034B63F5302E80BECC" xlink:to="loc_us-gaap_NameOfMajorCustomerDomain_C9924306234E93CCDEA7F5302E802687_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_NameOfMajorCustomerDomain" xlink:label="loc_us-gaap_NameOfMajorCustomerDomain_C9924306234E93CCDEA7F5302E802687" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_MajorCustomersAxis_60DC033991D64F034B63F5302E80BECC" xlink:to="loc_us-gaap_NameOfMajorCustomerDomain_C9924306234E93CCDEA7F5302E802687" xlink:type="arc" />
    <loc xlink:href="mtrx-20140630.xsd#mtrx_SMElectricCompanyMember" xlink:label="loc_mtrx_SMElectricCompanyMember_89EF179CF560BFD1242DF5302E8048E3" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NameOfMajorCustomerDomain_C9924306234E93CCDEA7F5302E802687" xlink:to="loc_mtrx_SMElectricCompanyMember_89EF179CF560BFD1242DF5302E8048E3" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_752C96EB11933A7A68DCF5302E806690" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_ED2035F116CAFF093887F5302E800955" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_752C96EB11933A7A68DCF5302E806690" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_DAD5DE0A42B2A226AD5CF5302E802DF9_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_752C96EB11933A7A68DCF5302E806690" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_DAD5DE0A42B2A226AD5CF5302E802DF9_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_DAD5DE0A42B2A226AD5CF5302E802DF9" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_752C96EB11933A7A68DCF5302E806690" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_DAD5DE0A42B2A226AD5CF5302E802DF9" xlink:type="arc" />
    <loc xlink:href="mtrx-20140630.xsd#mtrx_SmeMember" xlink:label="loc_mtrx_SmeMember_4A90CEE2C9DE4AA9935AF5302E80C563" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_DAD5DE0A42B2A226AD5CF5302E802DF9" xlink:to="loc_mtrx_SmeMember_4A90CEE2C9DE4AA9935AF5302E80C563" xlink:type="arc" />
    <loc xlink:href="mtrx-20140630.xsd#mtrx_BusinessCombinationClaimSettlementReceivables" xlink:label="loc_mtrx_BusinessCombinationClaimSettlementReceivables_98D26546C2486C449324F5302E80C232" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_8C460C5A7F0D860184E3F5302E80D8DC" xlink:to="loc_mtrx_BusinessCombinationClaimSettlementReceivables_98D26546C2486C449324F5302E80C232" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_ContractsReceivableClaimsAndUncertainAmountsExpectedToBeCollectedInNextRollingTwelveMonths" xlink:label="loc_us-gaap_ContractsReceivableClaimsAndUncertainAmountsExpectedToBeCollectedInNextRollingTwelveMonths_806DF0DC965D37456A9BF5302E80750E" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_8C460C5A7F0D860184E3F5302E80D8DC" xlink:to="loc_us-gaap_ContractsReceivableClaimsAndUncertainAmountsExpectedToBeCollectedInNextRollingTwelveMonths_806DF0DC965D37456A9BF5302E80750E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_LossOnContracts" xlink:label="loc_us-gaap_LossOnContracts_261E4DF1B09E1631881BF5302E80CF12" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_8C460C5A7F0D860184E3F5302E80D8DC" xlink:to="loc_us-gaap_LossOnContracts_261E4DF1B09E1631881BF5302E80CF12" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/CustomerContractsTables" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/Debt" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/DebtDetails" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/DebtDetailsTextual" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_LineOfCreditFacilityLineItems" xlink:label="loc_us-gaap_LineOfCreditFacilityLineItems_2D58952A13E31B737F851D8C9729F0D2" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_ScheduleOfAcquiredIndefiniteLivedIntangibleAssetsByMajorClassTable" xlink:label="loc_us-gaap_ScheduleOfAcquiredIndefiniteLivedIntangibleAssetsByMajorClassTable_70D221E9CDA4D7114BFF1D8C9724F2C4" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_2D58952A13E31B737F851D8C9729F0D2" xlink:to="loc_us-gaap_ScheduleOfAcquiredIndefiniteLivedIntangibleAssetsByMajorClassTable_70D221E9CDA4D7114BFF1D8C9724F2C4" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_VariableRateAxis" xlink:label="loc_us-gaap_VariableRateAxis_58D604A011F49FE3A6A31D8C972482D4" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAcquiredIndefiniteLivedIntangibleAssetsByMajorClassTable_70D221E9CDA4D7114BFF1D8C9724F2C4" xlink:to="loc_us-gaap_VariableRateAxis_58D604A011F49FE3A6A31D8C972482D4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_VariableRateDomain" xlink:label="loc_us-gaap_VariableRateDomain_4E66AC0D190F061B92101D8C972528CC_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_VariableRateAxis_58D604A011F49FE3A6A31D8C972482D4" xlink:to="loc_us-gaap_VariableRateDomain_4E66AC0D190F061B92101D8C972528CC_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_VariableRateDomain" xlink:label="loc_us-gaap_VariableRateDomain_4E66AC0D190F061B92101D8C972528CC" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_VariableRateAxis_58D604A011F49FE3A6A31D8C972482D4" xlink:to="loc_us-gaap_VariableRateDomain_4E66AC0D190F061B92101D8C972528CC" xlink:type="arc" />
    <loc xlink:href="mtrx-20140630.xsd#mtrx_CdorRateMember" xlink:label="loc_mtrx_CdorRateMember_F866A0D0C70FD7DC49D81D8C9726741B" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableRateDomain_4E66AC0D190F061B92101D8C972528CC" xlink:to="loc_mtrx_CdorRateMember_F866A0D0C70FD7DC49D81D8C9726741B" xlink:type="arc" />
    <loc xlink:href="mtrx-20140630.xsd#mtrx_CanadianPrimeRateMember" xlink:label="loc_mtrx_CanadianPrimeRateMember_5A5DF7F8877E6BBD4CB81D8C9727D040" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableRateDomain_4E66AC0D190F061B92101D8C972528CC" xlink:to="loc_mtrx_CanadianPrimeRateMember_5A5DF7F8877E6BBD4CB81D8C9727D040" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_RangeAxis" xlink:label="loc_us-gaap_RangeAxis_3DFC52EB84DCD6ADDF691D8C97274C68" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAcquiredIndefiniteLivedIntangibleAssetsByMajorClassTable_70D221E9CDA4D7114BFF1D8C9724F2C4" xlink:to="loc_us-gaap_RangeAxis_3DFC52EB84DCD6ADDF691D8C97274C68" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_0D2E12C9BB6B49442DE11D8C9728CB16_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RangeAxis_3DFC52EB84DCD6ADDF691D8C97274C68" xlink:to="loc_us-gaap_RangeMember_0D2E12C9BB6B49442DE11D8C9728CB16_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_0D2E12C9BB6B49442DE11D8C9728CB16" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RangeAxis_3DFC52EB84DCD6ADDF691D8C97274C68" xlink:to="loc_us-gaap_RangeMember_0D2E12C9BB6B49442DE11D8C9728CB16" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_MinimumMember" xlink:label="loc_us-gaap_MinimumMember_9569F6B91968A71825881D8C972885EE" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_0D2E12C9BB6B49442DE11D8C9728CB16" xlink:to="loc_us-gaap_MinimumMember_9569F6B91968A71825881D8C972885EE" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_MaximumMember" xlink:label="loc_us-gaap_MaximumMember_7CC944B130A159034DB61D8C9729505B" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_0D2E12C9BB6B49442DE11D8C9728CB16" xlink:to="loc_us-gaap_MaximumMember_7CC944B130A159034DB61D8C9729505B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_DebtInstrumentBasisSpreadOnVariableRate1" xlink:label="loc_us-gaap_DebtInstrumentBasisSpreadOnVariableRate1_CA56849BE34CA95416A01D8C972AC998" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_2D58952A13E31B737F851D8C9729F0D2" xlink:to="loc_us-gaap_DebtInstrumentBasisSpreadOnVariableRate1_CA56849BE34CA95416A01D8C972AC998" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_LineOfCreditFacilityUnusedCapacityCommitmentFeePercentage" xlink:label="loc_us-gaap_LineOfCreditFacilityUnusedCapacityCommitmentFeePercentage_B8D17C24435D5D4F4EF81D8C972A93F9" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_2D58952A13E31B737F851D8C9729F0D2" xlink:to="loc_us-gaap_LineOfCreditFacilityUnusedCapacityCommitmentFeePercentage_B8D17C24435D5D4F4EF81D8C972A93F9" xlink:type="arc" />
    <loc xlink:href="mtrx-20140630.xsd#mtrx_LineOfCreditFacilityMaximumBorrowingCapacityAfterConsiderationOfCapacityConstraint" xlink:label="loc_mtrx_LineOfCreditFacilityMaximumBorrowingCapacityAfterConsiderationOfCapacityConstraint_921785AED786864429DE1D8C972A1608" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_2D58952A13E31B737F851D8C9729F0D2" xlink:to="loc_mtrx_LineOfCreditFacilityMaximumBorrowingCapacityAfterConsiderationOfCapacityConstraint_921785AED786864429DE1D8C972A1608" xlink:type="arc" />
    <loc xlink:href="mtrx-20140630.xsd#mtrx_DebtTextualAbstract" xlink:label="loc_mtrx_DebtTextualAbstract_75E5FF981190F567F8A71D8C972CDEC7" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_2D58952A13E31B737F851D8C9729F0D2" xlink:to="loc_mtrx_DebtTextualAbstract_75E5FF981190F567F8A71D8C972CDEC7" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity" xlink:label="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_3BBB69FC93FEAFCD901F1D8C972DEFA2" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_DebtTextualAbstract_75E5FF981190F567F8A71D8C972CDEC7" xlink:to="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_3BBB69FC93FEAFCD901F1D8C972DEFA2" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_LineOfCreditFacilityExpirationDate1" xlink:label="loc_us-gaap_LineOfCreditFacilityExpirationDate1_405C87072CD33A2EEAD01D8C972E519A" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_DebtTextualAbstract_75E5FF981190F567F8A71D8C972CDEC7" xlink:to="loc_us-gaap_LineOfCreditFacilityExpirationDate1_405C87072CD33A2EEAD01D8C972E519A" xlink:type="arc" />
    <loc xlink:href="mtrx-20140630.xsd#mtrx_SeniorLeverageRatioMaximum" xlink:label="loc_mtrx_SeniorLeverageRatioMaximum_47BECDF58F286FFC74861D8C972E92D9" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_DebtTextualAbstract_75E5FF981190F567F8A71D8C972CDEC7" xlink:to="loc_mtrx_SeniorLeverageRatioMaximum_47BECDF58F286FFC74861D8C972E92D9" xlink:type="arc" />
    <loc xlink:href="mtrx-20140630.xsd#mtrx_SeniorLeverageRatioMinimum" xlink:label="loc_mtrx_SeniorLeverageRatioMinimum_63970A89999B10A5D1441D8C972F8418" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_DebtTextualAbstract_75E5FF981190F567F8A71D8C972CDEC7" xlink:to="loc_mtrx_SeniorLeverageRatioMinimum_63970A89999B10A5D1441D8C972F8418" xlink:type="arc" />
    <loc xlink:href="mtrx-20140630.xsd#mtrx_FixedChargeCoverageRatioMaximum" xlink:label="loc_mtrx_FixedChargeCoverageRatioMaximum_6707616F8A9A3BF481D41D8C972FE2F6" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_DebtTextualAbstract_75E5FF981190F567F8A71D8C972CDEC7" xlink:to="loc_mtrx_FixedChargeCoverageRatioMaximum_6707616F8A9A3BF481D41D8C972FE2F6" xlink:type="arc" />
    <loc xlink:href="mtrx-20140630.xsd#mtrx_FixedChargeCoverageRatioMinimum" xlink:label="loc_mtrx_FixedChargeCoverageRatioMinimum_C3D59686E78AB1032DF51D8C972F8705" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_DebtTextualAbstract_75E5FF981190F567F8A71D8C972CDEC7" xlink:to="loc_mtrx_FixedChargeCoverageRatioMinimum_C3D59686E78AB1032DF51D8C972F8705" xlink:type="arc" />
    <loc xlink:href="mtrx-20140630.xsd#mtrx_AmountOfLimitOnAssetDispositions" xlink:label="loc_mtrx_AmountOfLimitOnAssetDispositions_EB934CE56A79E6EFCBC51D8C973049A2" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_DebtTextualAbstract_75E5FF981190F567F8A71D8C972CDEC7" xlink:to="loc_mtrx_AmountOfLimitOnAssetDispositions_EB934CE56A79E6EFCBC51D8C973049A2" xlink:type="arc" />
    <loc xlink:href="mtrx-20140630.xsd#mtrx_LineOfCreditBasisSpreadOnAlternateBaseRateMinimum" xlink:label="loc_mtrx_LineOfCreditBasisSpreadOnAlternateBaseRateMinimum_5BB836F8F2DCE5F9DFFA1D8C9730EE05" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_DebtTextualAbstract_75E5FF981190F567F8A71D8C972CDEC7" xlink:to="loc_mtrx_LineOfCreditBasisSpreadOnAlternateBaseRateMinimum_5BB836F8F2DCE5F9DFFA1D8C9730EE05" xlink:type="arc" />
    <loc xlink:href="mtrx-20140630.xsd#mtrx_LineOfCreditBasisSpreadOnAlternateBaseRateMaximum" xlink:label="loc_mtrx_LineOfCreditBasisSpreadOnAlternateBaseRateMaximum_EBCB5A6FDD3E01FEB9851D8C9731F127" xlink:type="locator" />
    <definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_DebtTextualAbstract_75E5FF981190F567F8A71D8C972CDEC7" xlink:to="loc_mtrx_LineOfCreditBasisSpreadOnAlternateBaseRateMaximum_EBCB5A6FDD3E01FEB9851D8C9731F127" xlink:type="arc" />
    <loc xlink:href="mtrx-20140630.xsd#mtrx_LineOfCreditBasisSpreadOnLondonInterbankOfferedRateMinimum" xlink:label="loc_mtrx_LineOfCreditBasisSpreadOnLondonInterbankOfferedRateMinimum_031800A0209361AC3BF71D8C97317884" xlink:type="locator" />
    <definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_DebtTextualAbstract_75E5FF981190F567F8A71D8C972CDEC7" xlink:to="loc_mtrx_LineOfCreditBasisSpreadOnLondonInterbankOfferedRateMinimum_031800A0209361AC3BF71D8C97317884" xlink:type="arc" />
    <loc xlink:href="mtrx-20140630.xsd#mtrx_LineOfCreditBasisSpreadOnLondonInterbankOfferedRateMaximum" xlink:label="loc_mtrx_LineOfCreditBasisSpreadOnLondonInterbankOfferedRateMaximum_34A85666A2139772962C1D8C973298B0" xlink:type="locator" />
    <definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_DebtTextualAbstract_75E5FF981190F567F8A71D8C972CDEC7" xlink:to="loc_mtrx_LineOfCreditBasisSpreadOnLondonInterbankOfferedRateMaximum_34A85666A2139772962C1D8C973298B0" xlink:type="arc" />
    <loc xlink:href="mtrx-20140630.xsd#mtrx_AmountOfLimitOnCanadianDollarBorrowings" xlink:label="loc_mtrx_AmountOfLimitOnCanadianDollarBorrowings_76E7C7C604A50D4252961D8C973244F1" xlink:type="locator" />
    <definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_DebtTextualAbstract_75E5FF981190F567F8A71D8C972CDEC7" xlink:to="loc_mtrx_AmountOfLimitOnCanadianDollarBorrowings_76E7C7C604A50D4252961D8C973244F1" xlink:type="arc" />
    <loc xlink:href="mtrx-20140630.xsd#mtrx_LineOfCreditBasisSpreadOnCanadianDepositOfferedRateMinimum" xlink:label="loc_mtrx_LineOfCreditBasisSpreadOnCanadianDepositOfferedRateMinimum_0ED252161E9EFA41EBA91D8C9732E039" xlink:type="locator" />
    <definitionArc order="13" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_DebtTextualAbstract_75E5FF981190F567F8A71D8C972CDEC7" xlink:to="loc_mtrx_LineOfCreditBasisSpreadOnCanadianDepositOfferedRateMinimum_0ED252161E9EFA41EBA91D8C9732E039" xlink:type="arc" />
    <loc xlink:href="mtrx-20140630.xsd#mtrx_LineOfCreditBasisSpreadOnCanadianDepositOfferedRateMaximum" xlink:label="loc_mtrx_LineOfCreditBasisSpreadOnCanadianDepositOfferedRateMaximum_D3EB9C535199B51FA9B81D8C9733BC58" xlink:type="locator" />
    <definitionArc order="14" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_DebtTextualAbstract_75E5FF981190F567F8A71D8C972CDEC7" xlink:to="loc_mtrx_LineOfCreditBasisSpreadOnCanadianDepositOfferedRateMaximum_D3EB9C535199B51FA9B81D8C9733BC58" xlink:type="arc" />
    <loc xlink:href="mtrx-20140630.xsd#mtrx_LineOfCreditBasisSpreadOnCanadianPrimeRateMinimum" xlink:label="loc_mtrx_LineOfCreditBasisSpreadOnCanadianPrimeRateMinimum_EC0B32C1649E21D40D5C1D8C9733B324" xlink:type="locator" />
    <definitionArc order="15" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_DebtTextualAbstract_75E5FF981190F567F8A71D8C972CDEC7" xlink:to="loc_mtrx_LineOfCreditBasisSpreadOnCanadianPrimeRateMinimum_EC0B32C1649E21D40D5C1D8C9733B324" xlink:type="arc" />
    <loc xlink:href="mtrx-20140630.xsd#mtrx_LineOfCreditBasisSpreadOnCanadianPrimeRateMaximum" xlink:label="loc_mtrx_LineOfCreditBasisSpreadOnCanadianPrimeRateMaximum_93FCF5FCA02B943B48351D8C97341C29" xlink:type="locator" />
    <definitionArc order="16" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_DebtTextualAbstract_75E5FF981190F567F8A71D8C972CDEC7" xlink:to="loc_mtrx_LineOfCreditBasisSpreadOnCanadianPrimeRateMaximum_93FCF5FCA02B943B48351D8C97341C29" xlink:type="arc" />
    <loc xlink:href="mtrx-20140630.xsd#mtrx_MaximumLimitOfConsolidatedFundedIndebtedness" xlink:label="loc_mtrx_MaximumLimitOfConsolidatedFundedIndebtedness_6CAE735066E63DB0A42B1D8C973427D7" xlink:type="locator" />
    <definitionArc order="17" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_DebtTextualAbstract_75E5FF981190F567F8A71D8C972CDEC7" xlink:to="loc_mtrx_MaximumLimitOfConsolidatedFundedIndebtedness_6CAE735066E63DB0A42B1D8C973427D7" xlink:type="arc" />
    <loc xlink:href="mtrx-20140630.xsd#mtrx_ConsolidatedEarningsBeforeInterestTaxesDepreciationAndAmortizationPerCreditAgreement" xlink:label="loc_mtrx_ConsolidatedEarningsBeforeInterestTaxesDepreciationAndAmortizationPerCreditAgreement_74B48D168697673562481D8C97365196" xlink:type="locator" />
    <definitionArc order="18" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_DebtTextualAbstract_75E5FF981190F567F8A71D8C972CDEC7" xlink:to="loc_mtrx_ConsolidatedEarningsBeforeInterestTaxesDepreciationAndAmortizationPerCreditAgreement_74B48D168697673562481D8C97365196" xlink:type="arc" />
    <loc xlink:href="mtrx-20140630.xsd#mtrx_ConsolidatedFundedIndebtedness" xlink:label="loc_mtrx_ConsolidatedFundedIndebtedness_23A03D2783E2C958482D1D8C97369113" xlink:type="locator" />
    <definitionArc order="19" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_DebtTextualAbstract_75E5FF981190F567F8A71D8C972CDEC7" xlink:to="loc_mtrx_ConsolidatedFundedIndebtedness_23A03D2783E2C958482D1D8C97369113" xlink:type="arc" />
    <loc xlink:href="mtrx-20140630.xsd#mtrx_LineOfCreditFacilityCanadianDepositOfferedRateDescription" xlink:label="loc_mtrx_LineOfCreditFacilityCanadianDepositOfferedRateDescription_7583B78227E5F6D6743A1D8C9737E20D" xlink:type="locator" />
    <definitionArc order="20" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_DebtTextualAbstract_75E5FF981190F567F8A71D8C972CDEC7" xlink:to="loc_mtrx_LineOfCreditFacilityCanadianDepositOfferedRateDescription_7583B78227E5F6D6743A1D8C9737E20D" xlink:type="arc" />
    <loc xlink:href="mtrx-20140630.xsd#mtrx_LineOfCreditFacilityCanadianPrimeRateDescription" xlink:label="loc_mtrx_LineOfCreditFacilityCanadianPrimeRateDescription_1C41EC81470D67A10E171D8C973744A4" xlink:type="locator" />
    <definitionArc order="21" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_DebtTextualAbstract_75E5FF981190F567F8A71D8C972CDEC7" xlink:to="loc_mtrx_LineOfCreditFacilityCanadianPrimeRateDescription_1C41EC81470D67A10E171D8C973744A4" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/DebtTables" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/DocumentAndEntityInformation" xlink:type="extended">
    <loc xlink:href="http://xbrl.sec.gov/dei/2013/dei-2013-01-31.xsd#dei_EntityInformationLineItems" xlink:label="loc_dei_EntityInformationLineItems_E573484A342D35AA552C35FF4C3C50FA" xlink:type="locator" />
    <loc xlink:href="http://xbrl.sec.gov/dei/2013/dei-2013-01-31.xsd#dei_EntitiesTable" xlink:label="loc_dei_EntitiesTable_36D7DE93D1C15D27ED5D35FF4C3C5011" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_dei_EntityInformationLineItems_E573484A342D35AA552C35FF4C3C50FA" xlink:to="loc_dei_EntitiesTable_36D7DE93D1C15D27ED5D35FF4C3C5011" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.sec.gov/dei/2013/dei-2013-01-31.xsd#dei_LegalEntityAxis" xlink:label="loc_dei_LegalEntityAxis_8BDCC8B5CD62E5F74B1435FF4C3C623E" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_dei_EntitiesTable_36D7DE93D1C15D27ED5D35FF4C3C5011" xlink:to="loc_dei_LegalEntityAxis_8BDCC8B5CD62E5F74B1435FF4C3C623E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.sec.gov/dei/2013/dei-2013-01-31.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_1F0E07610E3E561676E835FF4C3C4E52_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_8BDCC8B5CD62E5F74B1435FF4C3C623E" xlink:to="loc_dei_EntityDomain_1F0E07610E3E561676E835FF4C3C4E52_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.sec.gov/dei/2013/dei-2013-01-31.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_1F0E07610E3E561676E835FF4C3C4E52" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_8BDCC8B5CD62E5F74B1435FF4C3C623E" xlink:to="loc_dei_EntityDomain_1F0E07610E3E561676E835FF4C3C4E52" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/EarningsPerCommonShare" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/EarningsPerCommonShareDetails" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/EarningsPerCommonShareDetails1" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_98E941FE2C17AB65278B35FF4C1ED7D1" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable" xlink:label="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_B6FCCBE7098FE511C49635FF4C1E9982" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_98E941FE2C17AB65278B35FF4C1ED7D1" xlink:to="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_B6FCCBE7098FE511C49635FF4C1E9982" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_80BC86CDD73A2673FD5135FF4C1E9BF7" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_B6FCCBE7098FE511C49635FF4C1E9982" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_80BC86CDD73A2673FD5135FF4C1E9BF7" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_AntidilutiveSecuritiesNameDomain" xlink:label="loc_us-gaap_AntidilutiveSecuritiesNameDomain_25EDE7FF7E5B04A8DB1635FF4C1E1794_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_80BC86CDD73A2673FD5135FF4C1E9BF7" xlink:to="loc_us-gaap_AntidilutiveSecuritiesNameDomain_25EDE7FF7E5B04A8DB1635FF4C1E1794_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_AntidilutiveSecuritiesNameDomain" xlink:label="loc_us-gaap_AntidilutiveSecuritiesNameDomain_25EDE7FF7E5B04A8DB1635FF4C1E1794" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_80BC86CDD73A2673FD5135FF4C1E9BF7" xlink:to="loc_us-gaap_AntidilutiveSecuritiesNameDomain_25EDE7FF7E5B04A8DB1635FF4C1E1794" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_EmployeeStockOptionMember" xlink:label="loc_us-gaap_EmployeeStockOptionMember_41FB2B7E87759913C9E935FF4C1E6B0B" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_25EDE7FF7E5B04A8DB1635FF4C1E1794" xlink:to="loc_us-gaap_EmployeeStockOptionMember_41FB2B7E87759913C9E935FF4C1E6B0B" xlink:type="arc" />
    <loc xlink:href="mtrx-20140630.xsd#mtrx_NonvestedDeferredSharesMember" xlink:label="loc_mtrx_NonvestedDeferredSharesMember_66756B10941CB81D447735FF4C1E88F6" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_25EDE7FF7E5B04A8DB1635FF4C1E1794" xlink:to="loc_mtrx_NonvestedDeferredSharesMember_66756B10941CB81D447735FF4C1E88F6" xlink:type="arc" />
    <loc xlink:href="mtrx-20140630.xsd#mtrx_AntidilutiveSecuritiesExcludedFromComputationOfDilutedEarningsPerShareAbstract" xlink:label="loc_mtrx_AntidilutiveSecuritiesExcludedFromComputationOfDilutedEarningsPerShareAbstract_F254B6810C3AB6279E5135FF4C1ED3D6" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_98E941FE2C17AB65278B35FF4C1ED7D1" xlink:to="loc_mtrx_AntidilutiveSecuritiesExcludedFromComputationOfDilutedEarningsPerShareAbstract_F254B6810C3AB6279E5135FF4C1ED3D6" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_2371621BEB81F29CDE6335FF4C1E1C80" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_AntidilutiveSecuritiesExcludedFromComputationOfDilutedEarningsPerShareAbstract_F254B6810C3AB6279E5135FF4C1ED3D6" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_2371621BEB81F29CDE6335FF4C1E1C80" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/EarningsPerCommonShareTables" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/EmployeeBenefitPlans" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/EmployeeBenefitPlansDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_MultiemployerPlansLineItems" xlink:label="loc_us-gaap_MultiemployerPlansLineItems_0D164C521AEC6F094756F5302DF4760B" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_ScheduleOfMultiemployerPlansTable" xlink:label="loc_us-gaap_ScheduleOfMultiemployerPlansTable_C68805C23CBEF69394F9F5302DF41DD1" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_MultiemployerPlansLineItems_0D164C521AEC6F094756F5302DF4760B" xlink:to="loc_us-gaap_ScheduleOfMultiemployerPlansTable_C68805C23CBEF69394F9F5302DF41DD1" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_MultiemployerPlanTypeAxis" xlink:label="loc_us-gaap_MultiemployerPlanTypeAxis_41093355639DB2812DC9F5302DF46A2B" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfMultiemployerPlansTable_C68805C23CBEF69394F9F5302DF41DD1" xlink:to="loc_us-gaap_MultiemployerPlanTypeAxis_41093355639DB2812DC9F5302DF46A2B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_MultiemployerPlansTypeDomain" xlink:label="loc_us-gaap_MultiemployerPlansTypeDomain_9474C4114DFE4F5F6036F5302DF4BBD7_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_MultiemployerPlanTypeAxis_41093355639DB2812DC9F5302DF46A2B" xlink:to="loc_us-gaap_MultiemployerPlansTypeDomain_9474C4114DFE4F5F6036F5302DF4BBD7_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_MultiemployerPlansTypeDomain" xlink:label="loc_us-gaap_MultiemployerPlansTypeDomain_9474C4114DFE4F5F6036F5302DF4BBD7" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_MultiemployerPlanTypeAxis_41093355639DB2812DC9F5302DF46A2B" xlink:to="loc_us-gaap_MultiemployerPlansTypeDomain_9474C4114DFE4F5F6036F5302DF4BBD7" xlink:type="arc" />
    <loc xlink:href="mtrx-20140630.xsd#mtrx_JointPensionFundLocalUnionOneSixFourIbewMember" xlink:label="loc_mtrx_JointPensionFundLocalUnionOneSixFourIbewMember_2EB99C21FB3E30F0414EF5302DF4E41C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MultiemployerPlansTypeDomain_9474C4114DFE4F5F6036F5302DF4BBD7" xlink:to="loc_mtrx_JointPensionFundLocalUnionOneSixFourIbewMember_2EB99C21FB3E30F0414EF5302DF4E41C" xlink:type="arc" />
    <loc xlink:href="mtrx-20140630.xsd#mtrx_BoilermakerBlacksmithNationalPensionTrustMember" xlink:label="loc_mtrx_BoilermakerBlacksmithNationalPensionTrustMember_3005487527E67D77B078F5302DF456FA" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MultiemployerPlansTypeDomain_9474C4114DFE4F5F6036F5302DF4BBD7" xlink:to="loc_mtrx_BoilermakerBlacksmithNationalPensionTrustMember_3005487527E67D77B078F5302DF456FA" xlink:type="arc" />
    <loc xlink:href="mtrx-20140630.xsd#mtrx_JointPensionFundLocalUnionNumberOneZeroTwoMemberDomain" xlink:label="loc_mtrx_JointPensionFundLocalUnionNumberOneZeroTwoMemberDomain_E12AA21C3FA7F9438531F5302DF4C381" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MultiemployerPlansTypeDomain_9474C4114DFE4F5F6036F5302DF4BBD7" xlink:to="loc_mtrx_JointPensionFundLocalUnionNumberOneZeroTwoMemberDomain_E12AA21C3FA7F9438531F5302DF4C381" xlink:type="arc" />
    <loc xlink:href="mtrx-20140630.xsd#mtrx_IBEWLocalFourFiveSixPensionPlanMemberDomain" xlink:label="loc_mtrx_IBEWLocalFourFiveSixPensionPlanMemberDomain_F5DF71D91C939AA8A4E2F5302DF42B81" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MultiemployerPlansTypeDomain_9474C4114DFE4F5F6036F5302DF4BBD7" xlink:to="loc_mtrx_IBEWLocalFourFiveSixPensionPlanMemberDomain_F5DF71D91C939AA8A4E2F5302DF42B81" xlink:type="arc" />
    <loc xlink:href="mtrx-20140630.xsd#mtrx_LocalThreeFiveOneIbewPensionPlanMember" xlink:label="loc_mtrx_LocalThreeFiveOneIbewPensionPlanMember_3FE4B36AC17A69B59D4BF5302DF4FC62" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MultiemployerPlansTypeDomain_9474C4114DFE4F5F6036F5302DF4BBD7" xlink:to="loc_mtrx_LocalThreeFiveOneIbewPensionPlanMember_3FE4B36AC17A69B59D4BF5302DF4FC62" xlink:type="arc" />
    <loc xlink:href="mtrx-20140630.xsd#mtrx_SteamfittersLocalUnionNumberFourTwoZeroPensionPlanMemberDomain" xlink:label="loc_mtrx_SteamfittersLocalUnionNumberFourTwoZeroPensionPlanMemberDomain_8881D5211A3139E4CE3DF5302DF4D686" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MultiemployerPlansTypeDomain_9474C4114DFE4F5F6036F5302DF4BBD7" xlink:to="loc_mtrx_SteamfittersLocalUnionNumberFourTwoZeroPensionPlanMemberDomain_8881D5211A3139E4CE3DF5302DF4D686" xlink:type="arc" />
    <loc xlink:href="mtrx-20140630.xsd#mtrx_IndianaLaborersPensionFundDomain" xlink:label="loc_mtrx_IndianaLaborersPensionFundDomain_95AA8F7CB87D7D67554FF5302DF41CB7" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MultiemployerPlansTypeDomain_9474C4114DFE4F5F6036F5302DF4BBD7" xlink:to="loc_mtrx_IndianaLaborersPensionFundDomain_95AA8F7CB87D7D67554FF5302DF41CB7" xlink:type="arc" />
    <loc xlink:href="mtrx-20140630.xsd#mtrx_IronworkersMidAmericaPensionPlanMember" xlink:label="loc_mtrx_IronworkersMidAmericaPensionPlanMember_C19C949278E603E9EC18F5302DF404CF" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MultiemployerPlansTypeDomain_9474C4114DFE4F5F6036F5302DF4BBD7" xlink:to="loc_mtrx_IronworkersMidAmericaPensionPlanMember_C19C949278E603E9EC18F5302DF404CF" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_MultiemployerPlansCollectiveBargainingArrangementExpirationDateDescription" xlink:label="loc_us-gaap_MultiemployerPlansCollectiveBargainingArrangementExpirationDateDescription_E628ABEBC0BBAC1CEC82F5302DF45A88" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MultiemployerPlansLineItems_0D164C521AEC6F094756F5302DF4760B" xlink:to="loc_us-gaap_MultiemployerPlansCollectiveBargainingArrangementExpirationDateDescription_E628ABEBC0BBAC1CEC82F5302DF45A88" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_MultiemployerPlansAbstract" xlink:label="loc_us-gaap_MultiemployerPlansAbstract_600BB0C5CCCDBEF8D950F5302DF430F5" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MultiemployerPlansLineItems_0D164C521AEC6F094756F5302DF4760B" xlink:to="loc_us-gaap_MultiemployerPlansAbstract_600BB0C5CCCDBEF8D950F5302DF430F5" xlink:type="arc" />
    <loc xlink:href="mtrx-20140630.xsd#mtrx_MultiemployerPlansNumber" xlink:label="loc_mtrx_MultiemployerPlansNumber_1289B28697224DA06AC4F5302DF4B62F" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MultiemployerPlansAbstract_600BB0C5CCCDBEF8D950F5302DF430F5" xlink:to="loc_mtrx_MultiemployerPlansNumber_1289B28697224DA06AC4F5302DF4B62F" xlink:type="arc" />
    <loc xlink:href="mtrx-20140630.xsd#mtrx_MultiemployerPlansCertifiedZoneStatusDescription" xlink:label="loc_mtrx_MultiemployerPlansCertifiedZoneStatusDescription_C86024DE0264F5BFDE0BF58013290BD1" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MultiemployerPlansAbstract_600BB0C5CCCDBEF8D950F5302DF430F5" xlink:to="loc_mtrx_MultiemployerPlansCertifiedZoneStatusDescription_C86024DE0264F5BFDE0BF58013290BD1" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_MultiemployerPlansCertifiedZoneStatus" xlink:label="loc_us-gaap_MultiemployerPlansCertifiedZoneStatus_FC54B173B0058ED02C0FF5302DFECDB0" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MultiemployerPlansAbstract_600BB0C5CCCDBEF8D950F5302DF430F5" xlink:to="loc_us-gaap_MultiemployerPlansCertifiedZoneStatus_FC54B173B0058ED02C0FF5302DFECDB0" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_MultiemployerPlansFundingImprovementPlanAndRehabilitationPlan" xlink:label="loc_us-gaap_MultiemployerPlansFundingImprovementPlanAndRehabilitationPlan_ECE5D578AE2109AD8C48F5302DFE8CC6" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MultiemployerPlansAbstract_600BB0C5CCCDBEF8D950F5302DF430F5" xlink:to="loc_us-gaap_MultiemployerPlansFundingImprovementPlanAndRehabilitationPlan_ECE5D578AE2109AD8C48F5302DFE8CC6" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_MultiemployerPlanPeriodContributions" xlink:label="loc_us-gaap_MultiemployerPlanPeriodContributions_06FFB55657C9403ABC4BF5302DFED813" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MultiemployerPlansAbstract_600BB0C5CCCDBEF8D950F5302DF430F5" xlink:to="loc_us-gaap_MultiemployerPlanPeriodContributions_06FFB55657C9403ABC4BF5302DFED813" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_MultiemployerPlansSurcharge" xlink:label="loc_us-gaap_MultiemployerPlansSurcharge_7F5A003A5D20D3434340F5302DFE2E29" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MultiemployerPlansAbstract_600BB0C5CCCDBEF8D950F5302DF430F5" xlink:to="loc_us-gaap_MultiemployerPlansSurcharge_7F5A003A5D20D3434340F5302DFE2E29" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_MultiemployerPlansCollectiveBargainingArrangementExpirationDate" xlink:label="loc_us-gaap_MultiemployerPlansCollectiveBargainingArrangementExpirationDate_536B8B1CB50682DBAA58F5302DFE75E1" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MultiemployerPlansAbstract_600BB0C5CCCDBEF8D950F5302DF430F5" xlink:to="loc_us-gaap_MultiemployerPlansCollectiveBargainingArrangementExpirationDate_536B8B1CB50682DBAA58F5302DFE75E1" xlink:type="arc" />
    <loc xlink:href="mtrx-20140630.xsd#mtrx_ContributionsToOtherMultiemployerPlans" xlink:label="loc_mtrx_ContributionsToOtherMultiemployerPlans_55BC30333D23D2986C0CF5302DFEEB1A" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MultiemployerPlansAbstract_600BB0C5CCCDBEF8D950F5302DF430F5" xlink:to="loc_mtrx_ContributionsToOtherMultiemployerPlans_55BC30333D23D2986C0CF5302DFEEB1A" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/EmployeeBenefitPlansDetailsTextual" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_MultiemployerPlansLineItems" xlink:label="loc_us-gaap_MultiemployerPlansLineItems_F5B4F920161F04D58FE3F0570B4B02E3" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_ScheduleOfMultiemployerPlansTable" xlink:label="loc_us-gaap_ScheduleOfMultiemployerPlansTable_A0F71BC96972ABF451FDF0570B4BEE13" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_MultiemployerPlansLineItems_F5B4F920161F04D58FE3F0570B4B02E3" xlink:to="loc_us-gaap_ScheduleOfMultiemployerPlansTable_A0F71BC96972ABF451FDF0570B4BEE13" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_MultiemployerPlanTypeAxis" xlink:label="loc_us-gaap_MultiemployerPlanTypeAxis_11A8E53ADAE719F6AA4BF08BBA5B4BC6" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfMultiemployerPlansTable_A0F71BC96972ABF451FDF0570B4BEE13" xlink:to="loc_us-gaap_MultiemployerPlanTypeAxis_11A8E53ADAE719F6AA4BF08BBA5B4BC6" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_MultiemployerPlansTypeDomain" xlink:label="loc_us-gaap_MultiemployerPlansTypeDomain_FD03661EFDBD954F6C30F08BBA5B04A5_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_MultiemployerPlanTypeAxis_11A8E53ADAE719F6AA4BF08BBA5B4BC6" xlink:to="loc_us-gaap_MultiemployerPlansTypeDomain_FD03661EFDBD954F6C30F08BBA5B04A5_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_MultiemployerPlansTypeDomain" xlink:label="loc_us-gaap_MultiemployerPlansTypeDomain_FD03661EFDBD954F6C30F08BBA5B04A5" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_MultiemployerPlanTypeAxis_11A8E53ADAE719F6AA4BF08BBA5B4BC6" xlink:to="loc_us-gaap_MultiemployerPlansTypeDomain_FD03661EFDBD954F6C30F08BBA5B04A5" xlink:type="arc" />
    <loc xlink:href="mtrx-20140630.xsd#mtrx_MultiemployerPlanZoneByTypeAxis" xlink:label="loc_mtrx_MultiemployerPlanZoneByTypeAxis_B760547F090B1EB0AC95F0570B4B75FF" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfMultiemployerPlansTable_A0F71BC96972ABF451FDF0570B4BEE13" xlink:to="loc_mtrx_MultiemployerPlanZoneByTypeAxis_B760547F090B1EB0AC95F0570B4B75FF" xlink:type="arc" />
    <loc xlink:href="mtrx-20140630.xsd#mtrx_MultiemployerPlanZoneByTypeDomain" xlink:label="loc_mtrx_MultiemployerPlanZoneByTypeDomain_B55D80101982CF47A569F0570B4BC369_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_mtrx_MultiemployerPlanZoneByTypeAxis_B760547F090B1EB0AC95F0570B4B75FF" xlink:to="loc_mtrx_MultiemployerPlanZoneByTypeDomain_B55D80101982CF47A569F0570B4BC369_default" xlink:type="arc" />
    <loc xlink:href="mtrx-20140630.xsd#mtrx_MultiemployerPlanZoneByTypeDomain" xlink:label="loc_mtrx_MultiemployerPlanZoneByTypeDomain_B55D80101982CF47A569F0570B4BC369" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_mtrx_MultiemployerPlanZoneByTypeAxis_B760547F090B1EB0AC95F0570B4B75FF" xlink:to="loc_mtrx_MultiemployerPlanZoneByTypeDomain_B55D80101982CF47A569F0570B4BC369" xlink:type="arc" />
    <loc xlink:href="mtrx-20140630.xsd#mtrx_ZoneRedMember" xlink:label="loc_mtrx_ZoneRedMember_DC0BD7D17321AFC8450EF0570B4B022D" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_MultiemployerPlanZoneByTypeDomain_B55D80101982CF47A569F0570B4BC369" xlink:to="loc_mtrx_ZoneRedMember_DC0BD7D17321AFC8450EF0570B4B022D" xlink:type="arc" />
    <loc xlink:href="mtrx-20140630.xsd#mtrx_ZoneYellowMember" xlink:label="loc_mtrx_ZoneYellowMember_3C8FCACDBCA4A7916ECCF0570B4B04F3" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_MultiemployerPlanZoneByTypeDomain_B55D80101982CF47A569F0570B4BC369" xlink:to="loc_mtrx_ZoneYellowMember_3C8FCACDBCA4A7916ECCF0570B4B04F3" xlink:type="arc" />
    <loc xlink:href="mtrx-20140630.xsd#mtrx_ZoneGreenMember" xlink:label="loc_mtrx_ZoneGreenMember_F0183BD0D0261C841CD5F0570B4BB1C8" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_MultiemployerPlanZoneByTypeDomain_B55D80101982CF47A569F0570B4BC369" xlink:to="loc_mtrx_ZoneGreenMember_F0183BD0D0261C841CD5F0570B4BB1C8" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_MultiemployerPlansFundingImprovementPlanAndRehabilitationPlan" xlink:label="loc_us-gaap_MultiemployerPlansFundingImprovementPlanAndRehabilitationPlan_552F9B33DAFE983B5111F08BBA1D9CA3" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MultiemployerPlansLineItems_F5B4F920161F04D58FE3F0570B4B02E3" xlink:to="loc_us-gaap_MultiemployerPlansFundingImprovementPlanAndRehabilitationPlan_552F9B33DAFE983B5111F08BBA1D9CA3" xlink:type="arc" />
    <loc xlink:href="mtrx-20140630.xsd#mtrx_PercentageOfPlanFunded" xlink:label="loc_mtrx_PercentageOfPlanFunded_7C315576D893512690D0F0570B4BD267" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MultiemployerPlansLineItems_F5B4F920161F04D58FE3F0570B4B02E3" xlink:to="loc_mtrx_PercentageOfPlanFunded_7C315576D893512690D0F0570B4BD267" xlink:type="arc" />
    <loc xlink:href="mtrx-20140630.xsd#mtrx_DescriptionOfFundedPortionOfPlan" xlink:label="loc_mtrx_DescriptionOfFundedPortionOfPlan_07637D0201A51B800FCDF0570B4BC6AF" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MultiemployerPlansLineItems_F5B4F920161F04D58FE3F0570B4B02E3" xlink:to="loc_mtrx_DescriptionOfFundedPortionOfPlan_07637D0201A51B800FCDF0570B4BC6AF" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/EmployeeBenefitPlansTables" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/GoodwillAndOtherIntangibleAssets" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/GoodwillAndOtherIntangibleAssetsDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_GoodwillLineItems" xlink:label="loc_us-gaap_GoodwillLineItems_741266ED183325CA2D401D8C97F8D98A" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_ScheduleOfGoodwillTable" xlink:label="loc_us-gaap_ScheduleOfGoodwillTable_72D5AF51C89A62F54CC91D8C97F510F0" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_GoodwillLineItems_741266ED183325CA2D401D8C97F8D98A" xlink:to="loc_us-gaap_ScheduleOfGoodwillTable_72D5AF51C89A62F54CC91D8C97F510F0" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_StatementBusinessSegmentsAxis" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_7B77D8F085647E30829A1D8C97F5B1EA" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfGoodwillTable_72D5AF51C89A62F54CC91D8C97F510F0" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_7B77D8F085647E30829A1D8C97F5B1EA" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_FA490718022070886EF71D8C97F6EE96_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_7B77D8F085647E30829A1D8C97F5B1EA" xlink:to="loc_us-gaap_SegmentDomain_FA490718022070886EF71D8C97F6EE96_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_FA490718022070886EF71D8C97F6EE96" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_7B77D8F085647E30829A1D8C97F5B1EA" xlink:to="loc_us-gaap_SegmentDomain_FA490718022070886EF71D8C97F6EE96" xlink:type="arc" />
    <loc xlink:href="mtrx-20140630.xsd#mtrx_ElectricalInfrastructureMember" xlink:label="loc_mtrx_ElectricalInfrastructureMember_ABC83DBE3B27723D17861D8C97F65B4E" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_FA490718022070886EF71D8C97F6EE96" xlink:to="loc_mtrx_ElectricalInfrastructureMember_ABC83DBE3B27723D17861D8C97F65B4E" xlink:type="arc" />
    <loc xlink:href="mtrx-20140630.xsd#mtrx_OilGasAndChemicalMember" xlink:label="loc_mtrx_OilGasAndChemicalMember_855839163A2680F2B7DF1D8C97F74B5C" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_FA490718022070886EF71D8C97F6EE96" xlink:to="loc_mtrx_OilGasAndChemicalMember_855839163A2680F2B7DF1D8C97F74B5C" xlink:type="arc" />
    <loc xlink:href="mtrx-20140630.xsd#mtrx_StorageSolutionsMember" xlink:label="loc_mtrx_StorageSolutionsMember_6EA4DBBDFECBD2B56A3D1D8C97F74AB2" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_FA490718022070886EF71D8C97F6EE96" xlink:to="loc_mtrx_StorageSolutionsMember_6EA4DBBDFECBD2B56A3D1D8C97F74AB2" xlink:type="arc" />
    <loc xlink:href="mtrx-20140630.xsd#mtrx_IndustrialMember" xlink:label="loc_mtrx_IndustrialMember_078FD9480C6091EE237F1D8C97F7F1A9" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_FA490718022070886EF71D8C97F6EE96" xlink:to="loc_mtrx_IndustrialMember_078FD9480C6091EE237F1D8C97F7F1A9" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_GoodwillRollForward" xlink:label="loc_us-gaap_GoodwillRollForward_FCB6C1F421BC527EA82F1D8C97F8C257" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillLineItems_741266ED183325CA2D401D8C97F8D98A" xlink:to="loc_us-gaap_GoodwillRollForward_FCB6C1F421BC527EA82F1D8C97F8C257" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_GoodwillGross" xlink:label="loc_us-gaap_GoodwillGross_1B8725959AD47C47F5951D8C97F9892B" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillRollForward_FCB6C1F421BC527EA82F1D8C97F8C257" xlink:to="loc_us-gaap_GoodwillGross_1B8725959AD47C47F5951D8C97F9892B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_GoodwillImpairedAccumulatedImpairmentLoss" xlink:label="loc_us-gaap_GoodwillImpairedAccumulatedImpairmentLoss_E3B40FCFE4DC73A26C8E1D8C97F99F56" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillRollForward_FCB6C1F421BC527EA82F1D8C97F8C257" xlink:to="loc_us-gaap_GoodwillImpairedAccumulatedImpairmentLoss_E3B40FCFE4DC73A26C8E1D8C97F99F56" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_Goodwill" xlink:label="loc_us-gaap_Goodwill_C7F04AA5E83E8C918A921D8C97F95A7E" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillRollForward_FCB6C1F421BC527EA82F1D8C97F8C257" xlink:to="loc_us-gaap_Goodwill_C7F04AA5E83E8C918A921D8C97F95A7E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_GoodwillAcquiredDuringPeriod" xlink:label="loc_us-gaap_GoodwillAcquiredDuringPeriod_24FDF364704282E750B71D8C97FA3AB9" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillRollForward_FCB6C1F421BC527EA82F1D8C97F8C257" xlink:to="loc_us-gaap_GoodwillAcquiredDuringPeriod_24FDF364704282E750B71D8C97FA3AB9" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_GoodwillTranslationAdjustments" xlink:label="loc_us-gaap_GoodwillTranslationAdjustments_ED3E3A5363D1C5A089AE1D8C97FA4EFC" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillRollForward_FCB6C1F421BC527EA82F1D8C97F8C257" xlink:to="loc_us-gaap_GoodwillTranslationAdjustments_ED3E3A5363D1C5A089AE1D8C97FA4EFC" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/GoodwillAndOtherIntangibleAssetsDetails1" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsLineItems" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_040D50BAAC4FD260899F386973FCE693" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable" xlink:label="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_CE42BE4C7E88123AD182386973F9A938" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_040D50BAAC4FD260899F386973FCE693" xlink:to="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_CE42BE4C7E88123AD182386973F9A938" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_EAF9DEF37EC57515F1E7386973FA0800" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_CE42BE4C7E88123AD182386973F9A938" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_EAF9DEF37EC57515F1E7386973FA0800" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_8FC43BA53B09B1E703C4386973FA697B_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_EAF9DEF37EC57515F1E7386973FA0800" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_8FC43BA53B09B1E703C4386973FA697B_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_8FC43BA53B09B1E703C4386973FA697B" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_EAF9DEF37EC57515F1E7386973FA0800" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_8FC43BA53B09B1E703C4386973FA697B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_IntellectualPropertyMember" xlink:label="loc_us-gaap_IntellectualPropertyMember_94CCD129061FC04C1396386973FA2ECD" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_8FC43BA53B09B1E703C4386973FA697B" xlink:to="loc_us-gaap_IntellectualPropertyMember_94CCD129061FC04C1396386973FA2ECD" xlink:type="arc" />
    <loc xlink:href="mtrx-20140630.xsd#mtrx_CustomerBasedMember" xlink:label="loc_mtrx_CustomerBasedMember_0328B9F40DBAF85A29DF386973FAF0BC" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_8FC43BA53B09B1E703C4386973FA697B" xlink:to="loc_mtrx_CustomerBasedMember_0328B9F40DBAF85A29DF386973FAF0BC" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_NoncompeteAgreementsMember" xlink:label="loc_us-gaap_NoncompeteAgreementsMember_5250CF02B377AF81823A386973FA79E4" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_8FC43BA53B09B1E703C4386973FA697B" xlink:to="loc_us-gaap_NoncompeteAgreementsMember_5250CF02B377AF81823A386973FA79E4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_TradeNamesMember" xlink:label="loc_us-gaap_TradeNamesMember_67B655872BC89F0312BC386973FADDAE" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_8FC43BA53B09B1E703C4386973FA697B" xlink:to="loc_us-gaap_TradeNamesMember_67B655872BC89F0312BC386973FADDAE" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis_9FE6262087844B9B3132386973FA3444" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_CE42BE4C7E88123AD182386973F9A938" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis_9FE6262087844B9B3132386973FA3444" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_A8B33E13686034CC3098386973FA85ED_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis_9FE6262087844B9B3132386973FA3444" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_A8B33E13686034CC3098386973FA85ED_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_A8B33E13686034CC3098386973FA85ED" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis_9FE6262087844B9B3132386973FA3444" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_A8B33E13686034CC3098386973FA85ED" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_TradeNamesMember" xlink:label="loc_us-gaap_TradeNamesMember_1FD774C5F602B39BF632386973FB65DB" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_A8B33E13686034CC3098386973FA85ED" xlink:to="loc_us-gaap_TradeNamesMember_1FD774C5F602B39BF632386973FB65DB" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_RangeAxis" xlink:label="loc_us-gaap_RangeAxis_97A6273798265C823B92386973FB6049" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_CE42BE4C7E88123AD182386973F9A938" xlink:to="loc_us-gaap_RangeAxis_97A6273798265C823B92386973FB6049" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_C748134652C04F336D75386973FB22DB_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RangeAxis_97A6273798265C823B92386973FB6049" xlink:to="loc_us-gaap_RangeMember_C748134652C04F336D75386973FB22DB_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_C748134652C04F336D75386973FB22DB" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RangeAxis_97A6273798265C823B92386973FB6049" xlink:to="loc_us-gaap_RangeMember_C748134652C04F336D75386973FB22DB" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_MinimumMember" xlink:label="loc_us-gaap_MinimumMember_59E3EBE117CAAD500698386973FBA9EB" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_C748134652C04F336D75386973FB22DB" xlink:to="loc_us-gaap_MinimumMember_59E3EBE117CAAD500698386973FBA9EB" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_MaximumMember" xlink:label="loc_us-gaap_MaximumMember_64062D0B404514B7B1DD386973FB6CB3" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_C748134652C04F336D75386973FB22DB" xlink:to="loc_us-gaap_MaximumMember_64062D0B404514B7B1DD386973FB6CB3" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsFairValueDisclosure" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsFairValueDisclosure_45B6A8B413D421C123E2386973FC5AA4" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_040D50BAAC4FD260899F386973FCE693" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsFairValueDisclosure_45B6A8B413D421C123E2386973FC5AA4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwillAbstract" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwillAbstract_961D05B68EA949B92EC4386973FC29C8" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_040D50BAAC4FD260899F386973FCE693" xlink:to="loc_us-gaap_IntangibleAssetsNetExcludingGoodwillAbstract_961D05B68EA949B92EC4386973FC29C8" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetUsefulLife" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetUsefulLife_354E21A1A861FE5AF474386973FCFF89" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IntangibleAssetsNetExcludingGoodwillAbstract_961D05B68EA949B92EC4386973FC29C8" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetUsefulLife_354E21A1A861FE5AF474386973FCFF89" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsGross" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsGross_8EB13D2966132698E0DB386973FCEE13" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IntangibleAssetsNetExcludingGoodwillAbstract_961D05B68EA949B92EC4386973FC29C8" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsGross_8EB13D2966132698E0DB386973FCEE13" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_3CC17A74D8981E103FD4386973FC278F" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IntangibleAssetsNetExcludingGoodwillAbstract_961D05B68EA949B92EC4386973FC29C8" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_3CC17A74D8981E103FD4386973FC278F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsNet" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_3F6BB1E406420610AC44386973FCB512" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IntangibleAssetsNetExcludingGoodwillAbstract_961D05B68EA949B92EC4386973FC29C8" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsNet_3F6BB1E406420610AC44386973FCB512" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_IndefiniteLivedTradeNames" xlink:label="loc_us-gaap_IndefiniteLivedTradeNames_82D430127085EA10B3AC386973FC144C" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IntangibleAssetsNetExcludingGoodwillAbstract_961D05B68EA949B92EC4386973FC29C8" xlink:to="loc_us-gaap_IndefiniteLivedTradeNames_82D430127085EA10B3AC386973FC144C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_IntangibleAssetsGrossExcludingGoodwill" xlink:label="loc_us-gaap_IntangibleAssetsGrossExcludingGoodwill_57A1D9CBB537211B05A0386973FCA635" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IntangibleAssetsNetExcludingGoodwillAbstract_961D05B68EA949B92EC4386973FC29C8" xlink:to="loc_us-gaap_IntangibleAssetsGrossExcludingGoodwill_57A1D9CBB537211B05A0386973FCA635" xlink:type="arc" />
    <loc xlink:href="mtrx-20140630.xsd#mtrx_IntangibleAssetsAccumulatedAmortizationExcludingGoodwill" xlink:label="loc_mtrx_IntangibleAssetsAccumulatedAmortizationExcludingGoodwill_15816AF092FEC1E4BA90386973FCCE9D" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IntangibleAssetsNetExcludingGoodwillAbstract_961D05B68EA949B92EC4386973FC29C8" xlink:to="loc_mtrx_IntangibleAssetsAccumulatedAmortizationExcludingGoodwill_15816AF092FEC1E4BA90386973FCCE9D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_6B929B8D5724E2C54B98386973FDA6FC" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IntangibleAssetsNetExcludingGoodwillAbstract_961D05B68EA949B92EC4386973FC29C8" xlink:to="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_6B929B8D5724E2C54B98386973FDA6FC" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/GoodwillAndOtherIntangibleAssetsDetailsTextual" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_GoodwillLineItems" xlink:label="loc_us-gaap_GoodwillLineItems_6CC96318EF5C7E40835056A7286ADC8B" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_ScheduleOfGoodwillTable" xlink:label="loc_us-gaap_ScheduleOfGoodwillTable_66121B1E649BA0050CAB56A72860C7A9" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_GoodwillLineItems_6CC96318EF5C7E40835056A7286ADC8B" xlink:to="loc_us-gaap_ScheduleOfGoodwillTable_66121B1E649BA0050CAB56A72860C7A9" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_FED33E18F01F2F04A0B856A728601A69" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfGoodwillTable_66121B1E649BA0050CAB56A72860C7A9" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_FED33E18F01F2F04A0B856A728601A69" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_F466944E5983A99E8D1956A7286021E9_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_FED33E18F01F2F04A0B856A728601A69" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_F466944E5983A99E8D1956A7286021E9_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_F466944E5983A99E8D1956A7286021E9" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_FED33E18F01F2F04A0B856A728601A69" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_F466944E5983A99E8D1956A7286021E9" xlink:type="arc" />
    <loc xlink:href="mtrx-20140630.xsd#mtrx_MatrixNACMember" xlink:label="loc_mtrx_MatrixNACMember_A677FF90F4A9D39F794156A7286030F4" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_F466944E5983A99E8D1956A7286021E9" xlink:to="loc_mtrx_MatrixNACMember_A677FF90F4A9D39F794156A7286030F4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_A315DB4DF66C9059300656A72860AB9C" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfGoodwillTable_66121B1E649BA0050CAB56A72860C7A9" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_A315DB4DF66C9059300656A72860AB9C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_152F1408D426F7332A5D56A72860E302_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_A315DB4DF66C9059300656A72860AB9C" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_152F1408D426F7332A5D56A72860E302_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_152F1408D426F7332A5D56A72860E302" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_A315DB4DF66C9059300656A72860AB9C" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_152F1408D426F7332A5D56A72860E302" xlink:type="arc" />
    <loc xlink:href="mtrx-20140630.xsd#mtrx_CustomerBasedMember" xlink:label="loc_mtrx_CustomerBasedMember_9872C321E1F6204B937256A7286A9122" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_152F1408D426F7332A5D56A72860E302" xlink:to="loc_mtrx_CustomerBasedMember_9872C321E1F6204B937256A7286A9122" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_NoncompeteAgreementsMember" xlink:label="loc_us-gaap_NoncompeteAgreementsMember_CC07A644B2EDE3CE5DCB56A7286A41AB" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_152F1408D426F7332A5D56A72860E302" xlink:to="loc_us-gaap_NoncompeteAgreementsMember_CC07A644B2EDE3CE5DCB56A7286A41AB" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_RangeAxis" xlink:label="loc_us-gaap_RangeAxis_2A92C0385BA6087F8B9356A7286A3944" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfGoodwillTable_66121B1E649BA0050CAB56A72860C7A9" xlink:to="loc_us-gaap_RangeAxis_2A92C0385BA6087F8B9356A7286A3944" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_03727E8B4FB0EBB25EDD56A7286AAD6B_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RangeAxis_2A92C0385BA6087F8B9356A7286A3944" xlink:to="loc_us-gaap_RangeMember_03727E8B4FB0EBB25EDD56A7286AAD6B_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_03727E8B4FB0EBB25EDD56A7286AAD6B" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RangeAxis_2A92C0385BA6087F8B9356A7286A3944" xlink:to="loc_us-gaap_RangeMember_03727E8B4FB0EBB25EDD56A7286AAD6B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_MinimumMember" xlink:label="loc_us-gaap_MinimumMember_696424E5541C975DC7BE56A7286ACD9D" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_03727E8B4FB0EBB25EDD56A7286AAD6B" xlink:to="loc_us-gaap_MinimumMember_696424E5541C975DC7BE56A7286ACD9D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_MaximumMember" xlink:label="loc_us-gaap_MaximumMember_62F4CA1842A56EE5C06056A7286A5934" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_03727E8B4FB0EBB25EDD56A7286AAD6B" xlink:to="loc_us-gaap_MaximumMember_62F4CA1842A56EE5C06056A7286A5934" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsFairValueDisclosure" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsFairValueDisclosure_74F78149BED3398D804456A7286A4BD3" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillLineItems_6CC96318EF5C7E40835056A7286ADC8B" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsFairValueDisclosure_74F78149BED3398D804456A7286A4BD3" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetUsefulLife" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetUsefulLife_6704BE0A518A3B80CA7956A7286A3F2F" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillLineItems_6CC96318EF5C7E40835056A7286ADC8B" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetUsefulLife_6704BE0A518A3B80CA7956A7286A3F2F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_ImpairmentOfIntangibleAssetsFinitelived" xlink:label="loc_us-gaap_ImpairmentOfIntangibleAssetsFinitelived_5B7AF5C280DB9AE1AE1F56A7286ACC63" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillLineItems_6CC96318EF5C7E40835056A7286ADC8B" xlink:to="loc_us-gaap_ImpairmentOfIntangibleAssetsFinitelived_5B7AF5C280DB9AE1AE1F56A7286ACC63" xlink:type="arc" />
    <loc xlink:href="mtrx-20140630.xsd#mtrx_GoodwillAndOtherIntangibleAssetsTextualAbstract" xlink:label="loc_mtrx_GoodwillAndOtherIntangibleAssetsTextualAbstract_6907F065EED74BEA6D6156A7286AE85A" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillLineItems_6CC96318EF5C7E40835056A7286ADC8B" xlink:to="loc_mtrx_GoodwillAndOtherIntangibleAssetsTextualAbstract_6907F065EED74BEA6D6156A7286AE85A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_AmortizationOfIntangibleAssets" xlink:label="loc_us-gaap_AmortizationOfIntangibleAssets_13FD25F1258232E374C756A7286AE12A" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_GoodwillAndOtherIntangibleAssetsTextualAbstract_6907F065EED74BEA6D6156A7286AE85A" xlink:to="loc_us-gaap_AmortizationOfIntangibleAssets_13FD25F1258232E374C756A7286AE12A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths_071FB7FE00B8BBDCA94356A7286ABC6D" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_GoodwillAndOtherIntangibleAssetsTextualAbstract_6907F065EED74BEA6D6156A7286AE85A" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths_071FB7FE00B8BBDCA94356A7286ABC6D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo_9852B0A01D04481DF10E56A7286A4BB8" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_GoodwillAndOtherIntangibleAssetsTextualAbstract_6907F065EED74BEA6D6156A7286AE85A" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo_9852B0A01D04481DF10E56A7286A4BB8" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree_7E7C9D7E9233206F53A356A7286AF47E" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_GoodwillAndOtherIntangibleAssetsTextualAbstract_6907F065EED74BEA6D6156A7286AE85A" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree_7E7C9D7E9233206F53A356A7286AF47E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour_2585B8BC5FA88720259956A7286A1B4E" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_GoodwillAndOtherIntangibleAssetsTextualAbstract_6907F065EED74BEA6D6156A7286AE85A" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour_2585B8BC5FA88720259956A7286A1B4E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFive" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFive_244C9A3079F51B03FBE456A7286AA466" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_GoodwillAndOtherIntangibleAssetsTextualAbstract_6907F065EED74BEA6D6156A7286AE85A" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFive_244C9A3079F51B03FBE456A7286AA466" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFive" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFive_D4D19CF645A2DA32BFBC56A7286A6E55" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_GoodwillAndOtherIntangibleAssetsTextualAbstract_6907F065EED74BEA6D6156A7286AE85A" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFive_D4D19CF645A2DA32BFBC56A7286A6E55" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsNet" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_ACF9C2F46E0861ADE6A356A7286AE512" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_GoodwillAndOtherIntangibleAssetsTextualAbstract_6907F065EED74BEA6D6156A7286AE85A" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsNet_ACF9C2F46E0861ADE6A356A7286AE512" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/GoodwillAndOtherIntangibleAssetsTables" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/IncomeTaxes" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/IncomeTaxesDetails" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/IncomeTaxesDetails1" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/IncomeTaxesDetails2" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/IncomeTaxesDetails3" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/IncomeTaxesDetails4" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/IncomeTaxesDetailsTextual" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/IncomeTaxesTables" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/OperatingLeases" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/OperatingLeasesDetailsTextual" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/QuarterlyFinancialDataUnauditedDetails" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/QuarterlyFinancialDataUnauditedQuarterlyFinancialDataUnaudited" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/QuarterlyFinancialDataUnauditedTables" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/SegmentInformation" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/SegmentInformationDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_SegmentReportingInformationLineItems" xlink:label="loc_us-gaap_SegmentReportingInformationLineItems_55E6FA40AEA0EEAEF6DEF5302DEAC71C" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable" xlink:label="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_67678AF1C1FFDDA514B4F5302DEAC481" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_55E6FA40AEA0EEAEF6DEF5302DEAC71C" xlink:to="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_67678AF1C1FFDDA514B4F5302DEAC481" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_ConsolidationItemsAxis" xlink:label="loc_us-gaap_ConsolidationItemsAxis_58A1359517904BDF8353F5302DEA17A7" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_67678AF1C1FFDDA514B4F5302DEAC481" xlink:to="loc_us-gaap_ConsolidationItemsAxis_58A1359517904BDF8353F5302DEA17A7" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_ConsolidationItemsDomain" xlink:label="loc_us-gaap_ConsolidationItemsDomain_6F0CD52AA55B77C02DF6F58273FDF255_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConsolidationItemsAxis_58A1359517904BDF8353F5302DEA17A7" xlink:to="loc_us-gaap_ConsolidationItemsDomain_6F0CD52AA55B77C02DF6F58273FDF255_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_ConsolidationItemsDomain" xlink:label="loc_us-gaap_ConsolidationItemsDomain_6F0CD52AA55B77C02DF6F58273FDF255" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConsolidationItemsAxis_58A1359517904BDF8353F5302DEA17A7" xlink:to="loc_us-gaap_ConsolidationItemsDomain_6F0CD52AA55B77C02DF6F58273FDF255" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_OperatingSegmentsMember" xlink:label="loc_us-gaap_OperatingSegmentsMember_4C6BA87DC05AB12E7A74F5843A7C4D1A" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConsolidationItemsDomain_6F0CD52AA55B77C02DF6F58273FDF255" xlink:to="loc_us-gaap_OperatingSegmentsMember_4C6BA87DC05AB12E7A74F5843A7C4D1A" xlink:type="arc" />
    <loc xlink:href="mtrx-20140630.xsd#mtrx_IndustrialMember" xlink:label="loc_mtrx_IndustrialMember_08CF0D41384013FBEC3EF58273FD016A" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConsolidationItemsDomain_6F0CD52AA55B77C02DF6F58273FDF255" xlink:to="loc_mtrx_IndustrialMember_08CF0D41384013FBEC3EF58273FD016A" xlink:type="arc" />
    <loc xlink:href="mtrx-20140630.xsd#mtrx_StorageSolutionsMember" xlink:label="loc_mtrx_StorageSolutionsMember_1CDEFF40DBDBD52B8BD2F58273FD4345" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConsolidationItemsDomain_6F0CD52AA55B77C02DF6F58273FDF255" xlink:to="loc_mtrx_StorageSolutionsMember_1CDEFF40DBDBD52B8BD2F58273FD4345" xlink:type="arc" />
    <loc xlink:href="mtrx-20140630.xsd#mtrx_OilGasAndChemicalMember" xlink:label="loc_mtrx_OilGasAndChemicalMember_160EF80D2C88271570B4F58273FD5224" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConsolidationItemsDomain_6F0CD52AA55B77C02DF6F58273FDF255" xlink:to="loc_mtrx_OilGasAndChemicalMember_160EF80D2C88271570B4F58273FD5224" xlink:type="arc" />
    <loc xlink:href="mtrx-20140630.xsd#mtrx_ElectricalInfrastructureMember" xlink:label="loc_mtrx_ElectricalInfrastructureMember_EE38396B77FEC9A089A3F58273FD395D" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConsolidationItemsDomain_6F0CD52AA55B77C02DF6F58273FDF255" xlink:to="loc_mtrx_ElectricalInfrastructureMember_EE38396B77FEC9A089A3F58273FD395D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_IntersegmentEliminationMember" xlink:label="loc_us-gaap_IntersegmentEliminationMember_3792A658777E89080F74F58273FDAC00" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConsolidationItemsDomain_6F0CD52AA55B77C02DF6F58273FDF255" xlink:to="loc_us-gaap_IntersegmentEliminationMember_3792A658777E89080F74F58273FDAC00" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_StatementBusinessSegmentsAxis" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_C372858B5C75C3C31982F5302DEA8091" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_67678AF1C1FFDDA514B4F5302DEAC481" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_C372858B5C75C3C31982F5302DEA8091" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_F241933DF94C845D7069F5302DEA85CB_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_C372858B5C75C3C31982F5302DEA8091" xlink:to="loc_us-gaap_SegmentDomain_F241933DF94C845D7069F5302DEA85CB_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_F241933DF94C845D7069F5302DEA85CB" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_C372858B5C75C3C31982F5302DEA8091" xlink:to="loc_us-gaap_SegmentDomain_F241933DF94C845D7069F5302DEA85CB" xlink:type="arc" />
    <loc xlink:href="mtrx-20140630.xsd#mtrx_ElectricalInfrastructureMember" xlink:label="loc_mtrx_ElectricalInfrastructureMember_6FFEDA6C3513E667B7E2F5302DEA7F3F" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_F241933DF94C845D7069F5302DEA85CB" xlink:to="loc_mtrx_ElectricalInfrastructureMember_6FFEDA6C3513E667B7E2F5302DEA7F3F" xlink:type="arc" />
    <loc xlink:href="mtrx-20140630.xsd#mtrx_OilGasAndChemicalMember" xlink:label="loc_mtrx_OilGasAndChemicalMember_BD5449B95B5624F7B857F5302DEAE277" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_F241933DF94C845D7069F5302DEA85CB" xlink:to="loc_mtrx_OilGasAndChemicalMember_BD5449B95B5624F7B857F5302DEAE277" xlink:type="arc" />
    <loc xlink:href="mtrx-20140630.xsd#mtrx_StorageSolutionsMember" xlink:label="loc_mtrx_StorageSolutionsMember_AC782D52C8D73153EE4CF5302DEA4C51" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_F241933DF94C845D7069F5302DEA85CB" xlink:to="loc_mtrx_StorageSolutionsMember_AC782D52C8D73153EE4CF5302DEA4C51" xlink:type="arc" />
    <loc xlink:href="mtrx-20140630.xsd#mtrx_IndustrialMember" xlink:label="loc_mtrx_IndustrialMember_5A93EF106894DBE5D574F5302DEA8C08" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_F241933DF94C845D7069F5302DEA85CB" xlink:to="loc_mtrx_IndustrialMember_5A93EF106894DBE5D574F5302DEA8C08" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_AllOtherSegmentsMember" xlink:label="loc_us-gaap_AllOtherSegmentsMember_3F9CAC4C0589E2C1593AF5302DEA1F27" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_F241933DF94C845D7069F5302DEA85CB" xlink:to="loc_us-gaap_AllOtherSegmentsMember_3F9CAC4C0589E2C1593AF5302DEA1F27" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_SegmentReportingInformationProfitLossAbstract" xlink:label="loc_us-gaap_SegmentReportingInformationProfitLossAbstract_B6074FB6047FCB134BA6F5302DEAB314" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_55E6FA40AEA0EEAEF6DEF5302DEAC71C" xlink:to="loc_us-gaap_SegmentReportingInformationProfitLossAbstract_B6074FB6047FCB134BA6F5302DEAB314" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_Revenues" xlink:label="loc_us-gaap_Revenues_5361E3CAAA8F3540BE9FF5302DEA3170" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationProfitLossAbstract_B6074FB6047FCB134BA6F5302DEAB314" xlink:to="loc_us-gaap_Revenues_5361E3CAAA8F3540BE9FF5302DEA3170" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_GrossProfit" xlink:label="loc_us-gaap_GrossProfit_6FC0B2582408DE2016E1F5302DEADAD8" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationProfitLossAbstract_B6074FB6047FCB134BA6F5302DEAB314" xlink:to="loc_us-gaap_GrossProfit_6FC0B2582408DE2016E1F5302DEADAD8" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_OperatingIncomeLoss" xlink:label="loc_us-gaap_OperatingIncomeLoss_2EA5594C079BA1DA8996F5302DEAA221" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationProfitLossAbstract_B6074FB6047FCB134BA6F5302DEAB314" xlink:to="loc_us-gaap_OperatingIncomeLoss_2EA5594C079BA1DA8996F5302DEAA221" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_Assets" xlink:label="loc_us-gaap_Assets_A3D5768DDDE08107FDAEF5302DEA4F0B" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationProfitLossAbstract_B6074FB6047FCB134BA6F5302DEAB314" xlink:to="loc_us-gaap_Assets_A3D5768DDDE08107FDAEF5302DEA4F0B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment" xlink:label="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_A4C4FEC7DFD8634C76EDF5302DEAAB44" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationProfitLossAbstract_B6074FB6047FCB134BA6F5302DEAB314" xlink:to="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_A4C4FEC7DFD8634C76EDF5302DEAAB44" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_DepreciationDepletionAndAmortization" xlink:label="loc_us-gaap_DepreciationDepletionAndAmortization_C67699B775B087398A25F5302DEA2B47" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationProfitLossAbstract_B6074FB6047FCB134BA6F5302DEAB314" xlink:to="loc_us-gaap_DepreciationDepletionAndAmortization_C67699B775B087398A25F5302DEA2B47" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/SegmentInformationDetails1" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_RevenuesFromExternalCustomersAndLongLivedAssetsLineItems" xlink:label="loc_us-gaap_RevenuesFromExternalCustomersAndLongLivedAssetsLineItems_367338C681489483171135FF4C146D37" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_ScheduleOfRevenuesFromExternalCustomersAndLongLivedAssetsTable" xlink:label="loc_us-gaap_ScheduleOfRevenuesFromExternalCustomersAndLongLivedAssetsTable_16C2A6C766A81226E40535FF4C144A07" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RevenuesFromExternalCustomersAndLongLivedAssetsLineItems_367338C681489483171135FF4C146D37" xlink:to="loc_us-gaap_ScheduleOfRevenuesFromExternalCustomersAndLongLivedAssetsTable_16C2A6C766A81226E40535FF4C144A07" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_StatementGeographicalAxis" xlink:label="loc_us-gaap_StatementGeographicalAxis_46620C9D0368EEC4347C35FF4C14D3E1" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRevenuesFromExternalCustomersAndLongLivedAssetsTable_16C2A6C766A81226E40535FF4C144A07" xlink:to="loc_us-gaap_StatementGeographicalAxis_46620C9D0368EEC4347C35FF4C14D3E1" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_SegmentGeographicalDomain" xlink:label="loc_us-gaap_SegmentGeographicalDomain_F64B43EC3D0D970684AF35FF4C144882_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementGeographicalAxis_46620C9D0368EEC4347C35FF4C14D3E1" xlink:to="loc_us-gaap_SegmentGeographicalDomain_F64B43EC3D0D970684AF35FF4C144882_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_SegmentGeographicalDomain" xlink:label="loc_us-gaap_SegmentGeographicalDomain_F64B43EC3D0D970684AF35FF4C144882" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementGeographicalAxis_46620C9D0368EEC4347C35FF4C14D3E1" xlink:to="loc_us-gaap_SegmentGeographicalDomain_F64B43EC3D0D970684AF35FF4C144882" xlink:type="arc" />
    <loc xlink:href="mtrx-20140630.xsd#mtrx_DomesticMember" xlink:label="loc_mtrx_DomesticMember_2B87EF33D3903DE0250035FF4C14BF03" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentGeographicalDomain_F64B43EC3D0D970684AF35FF4C144882" xlink:to="loc_mtrx_DomesticMember_2B87EF33D3903DE0250035FF4C14BF03" xlink:type="arc" />
    <loc xlink:href="mtrx-20140630.xsd#mtrx_InternationalMember" xlink:label="loc_mtrx_InternationalMember_B9AB2311564189BA3FDE35FF4C146C45" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentGeographicalDomain_F64B43EC3D0D970684AF35FF4C144882" xlink:to="loc_mtrx_InternationalMember_B9AB2311564189BA3FDE35FF4C146C45" xlink:type="arc" />
    <loc xlink:href="mtrx-20140630.xsd#mtrx_ScheduleOfSegmentReportingInformationByGeographicAreasAbstract" xlink:label="loc_mtrx_ScheduleOfSegmentReportingInformationByGeographicAreasAbstract_AF55428D21E1ADF86B1635FF4C145F09" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenuesFromExternalCustomersAndLongLivedAssetsLineItems_367338C681489483171135FF4C146D37" xlink:to="loc_mtrx_ScheduleOfSegmentReportingInformationByGeographicAreasAbstract_AF55428D21E1ADF86B1635FF4C145F09" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_SalesRevenueServicesNet" xlink:label="loc_us-gaap_SalesRevenueServicesNet_A915CA4308BEF67924D835FF4C14500A" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_ScheduleOfSegmentReportingInformationByGeographicAreasAbstract_AF55428D21E1ADF86B1635FF4C145F09" xlink:to="loc_us-gaap_SalesRevenueServicesNet_A915CA4308BEF67924D835FF4C14500A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_NoncurrentAssets" xlink:label="loc_us-gaap_NoncurrentAssets_53E214237A3FA1BF35C235FF4C146D5A" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_ScheduleOfSegmentReportingInformationByGeographicAreasAbstract_AF55428D21E1ADF86B1635FF4C145F09" xlink:to="loc_us-gaap_NoncurrentAssets_53E214237A3FA1BF35C235FF4C146D5A" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/SegmentInformationDetailsTextual" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_EntityWideRevenueMajorCustomerLineItems" xlink:label="loc_us-gaap_EntityWideRevenueMajorCustomerLineItems_4E007390E4F7AAE91DAAF5302DE081EC" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_ScheduleOfEntityWideRevenueByMajorCustomersByReportingSegmentsTable" xlink:label="loc_us-gaap_ScheduleOfEntityWideRevenueByMajorCustomersByReportingSegmentsTable_9A56E6C35482383C908DF5302DE07053" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_EntityWideRevenueMajorCustomerLineItems_4E007390E4F7AAE91DAAF5302DE081EC" xlink:to="loc_us-gaap_ScheduleOfEntityWideRevenueByMajorCustomersByReportingSegmentsTable_9A56E6C35482383C908DF5302DE07053" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_StatementBusinessSegmentsAxis" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_4FCEE963AE845F98E65AF5302DE03FAB" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfEntityWideRevenueByMajorCustomersByReportingSegmentsTable_9A56E6C35482383C908DF5302DE07053" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_4FCEE963AE845F98E65AF5302DE03FAB" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_B58A99C7C14E205A6280F5302DE0762F_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_4FCEE963AE845F98E65AF5302DE03FAB" xlink:to="loc_us-gaap_SegmentDomain_B58A99C7C14E205A6280F5302DE0762F_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_B58A99C7C14E205A6280F5302DE0762F" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_4FCEE963AE845F98E65AF5302DE03FAB" xlink:to="loc_us-gaap_SegmentDomain_B58A99C7C14E205A6280F5302DE0762F" xlink:type="arc" />
    <loc xlink:href="mtrx-20140630.xsd#mtrx_ElectricalInfrastructureMember" xlink:label="loc_mtrx_ElectricalInfrastructureMember_4C81231501B24B46230CF5302DE0937E" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_B58A99C7C14E205A6280F5302DE0762F" xlink:to="loc_mtrx_ElectricalInfrastructureMember_4C81231501B24B46230CF5302DE0937E" xlink:type="arc" />
    <loc xlink:href="mtrx-20140630.xsd#mtrx_OilGasAndChemicalMember" xlink:label="loc_mtrx_OilGasAndChemicalMember_BFB3D22A47E2C9D9BAAFF5302DE0D52C" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_B58A99C7C14E205A6280F5302DE0762F" xlink:to="loc_mtrx_OilGasAndChemicalMember_BFB3D22A47E2C9D9BAAFF5302DE0D52C" xlink:type="arc" />
    <loc xlink:href="mtrx-20140630.xsd#mtrx_StorageSolutionsMember" xlink:label="loc_mtrx_StorageSolutionsMember_646355675BE7A061CA12F5302DE097CC" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_B58A99C7C14E205A6280F5302DE0762F" xlink:to="loc_mtrx_StorageSolutionsMember_646355675BE7A061CA12F5302DE097CC" xlink:type="arc" />
    <loc xlink:href="mtrx-20140630.xsd#mtrx_IndustrialMember" xlink:label="loc_mtrx_IndustrialMember_BD22C2CF8ADE3168D647F5302DE017E5" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_B58A99C7C14E205A6280F5302DE0762F" xlink:to="loc_mtrx_IndustrialMember_BD22C2CF8ADE3168D647F5302DE017E5" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_MajorCustomersAxis" xlink:label="loc_us-gaap_MajorCustomersAxis_5A85FC09DCF37D895FCEF5302DE06721" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfEntityWideRevenueByMajorCustomersByReportingSegmentsTable_9A56E6C35482383C908DF5302DE07053" xlink:to="loc_us-gaap_MajorCustomersAxis_5A85FC09DCF37D895FCEF5302DE06721" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_NameOfMajorCustomerDomain" xlink:label="loc_us-gaap_NameOfMajorCustomerDomain_A47CAC8B01DBA130FF1FF5302DE0243A_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_MajorCustomersAxis_5A85FC09DCF37D895FCEF5302DE06721" xlink:to="loc_us-gaap_NameOfMajorCustomerDomain_A47CAC8B01DBA130FF1FF5302DE0243A_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_NameOfMajorCustomerDomain" xlink:label="loc_us-gaap_NameOfMajorCustomerDomain_A47CAC8B01DBA130FF1FF5302DE0243A" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_MajorCustomersAxis_5A85FC09DCF37D895FCEF5302DE06721" xlink:to="loc_us-gaap_NameOfMajorCustomerDomain_A47CAC8B01DBA130FF1FF5302DE0243A" xlink:type="arc" />
    <loc xlink:href="mtrx-20140630.xsd#mtrx_CustomerOneMember" xlink:label="loc_mtrx_CustomerOneMember_7400CEFA3BC6525DBB09F5302DE0519A" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NameOfMajorCustomerDomain_A47CAC8B01DBA130FF1FF5302DE0243A" xlink:to="loc_mtrx_CustomerOneMember_7400CEFA3BC6525DBB09F5302DE0519A" xlink:type="arc" />
    <loc xlink:href="mtrx-20140630.xsd#mtrx_CustomerTwoMember" xlink:label="loc_mtrx_CustomerTwoMember_EE2F23C4519177AC9BFEF5302DE0E2A5" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NameOfMajorCustomerDomain_A47CAC8B01DBA130FF1FF5302DE0243A" xlink:to="loc_mtrx_CustomerTwoMember_EE2F23C4519177AC9BFEF5302DE0E2A5" xlink:type="arc" />
    <loc xlink:href="mtrx-20140630.xsd#mtrx_CustomerThreeMember" xlink:label="loc_mtrx_CustomerThreeMember_B35ADA815EFCCB4191EAF5302DE06B60" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NameOfMajorCustomerDomain_A47CAC8B01DBA130FF1FF5302DE0243A" xlink:to="loc_mtrx_CustomerThreeMember_B35ADA815EFCCB4191EAF5302DE06B60" xlink:type="arc" />
    <loc xlink:href="mtrx-20140630.xsd#mtrx_CustomerFourMember" xlink:label="loc_mtrx_CustomerFourMember_151CE0CE96DBDD80901EF5302DE05921" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NameOfMajorCustomerDomain_A47CAC8B01DBA130FF1FF5302DE0243A" xlink:to="loc_mtrx_CustomerFourMember_151CE0CE96DBDD80901EF5302DE05921" xlink:type="arc" />
    <loc xlink:href="mtrx-20140630.xsd#mtrx_CustomerFiveMemberMember" xlink:label="loc_mtrx_CustomerFiveMemberMember_B77B112FAAEFDDDDB71FF5302DE00210" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NameOfMajorCustomerDomain_A47CAC8B01DBA130FF1FF5302DE0243A" xlink:to="loc_mtrx_CustomerFiveMemberMember_B77B112FAAEFDDDDB71FF5302DE00210" xlink:type="arc" />
    <loc xlink:href="mtrx-20140630.xsd#mtrx_AnotherCustomerMember" xlink:label="loc_mtrx_AnotherCustomerMember_CD24C3DC675B553EA8DBF5302DE0170A" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NameOfMajorCustomerDomain_A47CAC8B01DBA130FF1FF5302DE0243A" xlink:to="loc_mtrx_AnotherCustomerMember_CD24C3DC675B553EA8DBF5302DE0170A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_ConcentrationRiskPercentage1" xlink:label="loc_us-gaap_ConcentrationRiskPercentage1_643589CE262B41B83E21F5302DE0717C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EntityWideRevenueMajorCustomerLineItems_4E007390E4F7AAE91DAAF5302DE081EC" xlink:to="loc_us-gaap_ConcentrationRiskPercentage1_643589CE262B41B83E21F5302DE0717C" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/SegmentInformationTables" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/StockBasedCompensation" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/StockBasedCompensationDetails" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/StockBasedCompensationDetails1" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/StockBasedCompensationDetails2" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLineItems_4B3CFD2BAB52C64C049635FF4C2891C5" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeTable_B1BD545AF884E1D8798935FF4C28DDFB" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLineItems_4B3CFD2BAB52C64C049635FF4C2891C5" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeTable_B1BD545AF884E1D8798935FF4C28DDFB" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis" xlink:label="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis_EA695A84BB9AB5C1677F35FF4C285C85" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeTable_B1BD545AF884E1D8798935FF4C28DDFB" xlink:to="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis_EA695A84BB9AB5C1677F35FF4C285C85" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain" xlink:label="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_81CF76AE15CD625D3CF035FF4C283075_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis_EA695A84BB9AB5C1677F35FF4C285C85" xlink:to="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_81CF76AE15CD625D3CF035FF4C283075_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain" xlink:label="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_81CF76AE15CD625D3CF035FF4C283075" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis_EA695A84BB9AB5C1677F35FF4C285C85" xlink:to="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_81CF76AE15CD625D3CF035FF4C283075" xlink:type="arc" />
    <loc xlink:href="mtrx-20140630.xsd#mtrx_RangeOneMember" xlink:label="loc_mtrx_RangeOneMember_C1C6DADEC0CE14DE29AD35FF4C281F6B" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_81CF76AE15CD625D3CF035FF4C283075" xlink:to="loc_mtrx_RangeOneMember_C1C6DADEC0CE14DE29AD35FF4C281F6B" xlink:type="arc" />
    <loc xlink:href="mtrx-20140630.xsd#mtrx_RangeTwoMember" xlink:label="loc_mtrx_RangeTwoMember_39065AC0184234B9E84135FF4C28610F" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_81CF76AE15CD625D3CF035FF4C283075" xlink:to="loc_mtrx_RangeTwoMember_39065AC0184234B9E84135FF4C28610F" xlink:type="arc" />
    <loc xlink:href="mtrx-20140630.xsd#mtrx_ScheduleOfShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAbstract" xlink:label="loc_mtrx_ScheduleOfShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAbstract_CA57DE9E52D224534DC835FF4C28EEDF" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLineItems_4B3CFD2BAB52C64C049635FF4C2891C5" xlink:to="loc_mtrx_ScheduleOfShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAbstract_CA57DE9E52D224534DC835FF4C28EEDF" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLowerRangeLimit" xlink:label="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLowerRangeLimit_CFDB654A6F040BD512F435FF4C282DFE" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_ScheduleOfShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAbstract_CA57DE9E52D224534DC835FF4C28EEDF" xlink:to="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLowerRangeLimit_CFDB654A6F040BD512F435FF4C282DFE" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeUpperRangeLimit" xlink:label="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeUpperRangeLimit_A8D4214D9DF9E85FBFAB35FF4C28AE6E" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_ScheduleOfShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAbstract_CA57DE9E52D224534DC835FF4C28EEDF" xlink:to="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeUpperRangeLimit_A8D4214D9DF9E85FBFAB35FF4C28AE6E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber_B26A95507CBCBBAEC9C535FF4C28FD87" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_ScheduleOfShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAbstract_CA57DE9E52D224534DC835FF4C28EEDF" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber_B26A95507CBCBBAEC9C535FF4C28FD87" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_SharebasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeOutstandingOptionsWeightedAverageExercisePriceBeginningBalance1" xlink:label="loc_us-gaap_SharebasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeOutstandingOptionsWeightedAverageExercisePriceBeginningBalance1_EDDD59CA877E930BB90235FF4C288CB8" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_ScheduleOfShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAbstract_CA57DE9E52D224534DC835FF4C28EEDF" xlink:to="loc_us-gaap_SharebasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeOutstandingOptionsWeightedAverageExercisePriceBeginningBalance1_EDDD59CA877E930BB90235FF4C288CB8" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTerm2" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTerm2_27AB5D06FA2E28A195F035FF4C2882DB" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_ScheduleOfShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAbstract_CA57DE9E52D224534DC835FF4C28EEDF" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTerm2_27AB5D06FA2E28A195F035FF4C2882DB" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableNumber" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableNumber_B210D075D6FFEB23F0C935FF4C285085" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_ScheduleOfShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAbstract_CA57DE9E52D224534DC835FF4C28EEDF" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableNumber_B210D075D6FFEB23F0C935FF4C285085" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableWeightedAverageExercisePrice" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableWeightedAverageExercisePrice_11806956FFC312A5699C35FF4C28438A" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_ScheduleOfShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAbstract_CA57DE9E52D224534DC835FF4C28EEDF" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableWeightedAverageExercisePrice_11806956FFC312A5699C35FF4C28438A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableWeightedAverageRemainingContractualTerm1" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableWeightedAverageRemainingContractualTerm1_1538603B4E608F4B649035FF4C28652A" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_ScheduleOfShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAbstract_CA57DE9E52D224534DC835FF4C28EEDF" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableWeightedAverageRemainingContractualTerm1_1538603B4E608F4B649035FF4C28652A" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/StockBasedCompensationDetails3" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/StockBasedCompensationDetailsTextual" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_645D1082C8A5F1138AD5F5302E12857A" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_BF1D3455BF580DD23370F5302E125AC6" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_645D1082C8A5F1138AD5F5302E12857A" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_BF1D3455BF580DD23370F5302E125AC6" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_PlanNameAxis" xlink:label="loc_us-gaap_PlanNameAxis_A6E32D7CB727DB420DFCF5302E12528E" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_BF1D3455BF580DD23370F5302E125AC6" xlink:to="loc_us-gaap_PlanNameAxis_A6E32D7CB727DB420DFCF5302E12528E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_PlanNameDomain" xlink:label="loc_us-gaap_PlanNameDomain_C1F950726B9A53F96F42F5302E1262FA_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PlanNameAxis_A6E32D7CB727DB420DFCF5302E12528E" xlink:to="loc_us-gaap_PlanNameDomain_C1F950726B9A53F96F42F5302E1262FA_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_PlanNameDomain" xlink:label="loc_us-gaap_PlanNameDomain_C1F950726B9A53F96F42F5302E1262FA" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PlanNameAxis_A6E32D7CB727DB420DFCF5302E12528E" xlink:to="loc_us-gaap_PlanNameDomain_C1F950726B9A53F96F42F5302E1262FA" xlink:type="arc" />
    <loc xlink:href="mtrx-20140630.xsd#mtrx_MatrixServiceCompanys2004StockandIncentiveCompensationPlanMember" xlink:label="loc_mtrx_MatrixServiceCompanys2004StockandIncentiveCompensationPlanMember_4FB3465AE08EA00EB8F7F5302E12519F" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_C1F950726B9A53F96F42F5302E1262FA" xlink:to="loc_mtrx_MatrixServiceCompanys2004StockandIncentiveCompensationPlanMember_4FB3465AE08EA00EB8F7F5302E12519F" xlink:type="arc" />
    <loc xlink:href="mtrx-20140630.xsd#mtrx_MatrixServiceCompanys2012StockandIncentiveCompensationPlanMember" xlink:label="loc_mtrx_MatrixServiceCompanys2012StockandIncentiveCompensationPlanMember_A9F3FC4C45A5EF1DE551F5302E122518" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_C1F950726B9A53F96F42F5302E1262FA" xlink:to="loc_mtrx_MatrixServiceCompanys2012StockandIncentiveCompensationPlanMember_A9F3FC4C45A5EF1DE551F5302E122518" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_14CC2CD6471E2C108A2CF5302E12E862" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_BF1D3455BF580DD23370F5302E125AC6" xlink:to="loc_us-gaap_AwardTypeAxis_14CC2CD6471E2C108A2CF5302E12E862" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_73226E182B4AAA79A93DF5302E127A32_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_14CC2CD6471E2C108A2CF5302E12E862" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_73226E182B4AAA79A93DF5302E127A32_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_73226E182B4AAA79A93DF5302E127A32" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_14CC2CD6471E2C108A2CF5302E12E862" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_73226E182B4AAA79A93DF5302E127A32" xlink:type="arc" />
    <loc xlink:href="mtrx-20140630.xsd#mtrx_MarketBasedAwardsMember" xlink:label="loc_mtrx_MarketBasedAwardsMember_F5D9E079402C26431A1BF5302E12E3EE" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_73226E182B4AAA79A93DF5302E127A32" xlink:to="loc_mtrx_MarketBasedAwardsMember_F5D9E079402C26431A1BF5302E12E3EE" xlink:type="arc" />
    <loc xlink:href="mtrx-20140630.xsd#mtrx_Vestin2016Member" xlink:label="loc_mtrx_Vestin2016Member_1705B276E0649A4F132AF5302E12F513" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_73226E182B4AAA79A93DF5302E127A32" xlink:to="loc_mtrx_Vestin2016Member_1705B276E0649A4F132AF5302E12F513" xlink:type="arc" />
    <loc xlink:href="mtrx-20140630.xsd#mtrx_Vestin2017Member" xlink:label="loc_mtrx_Vestin2017Member_23140674DB0B918D0678F5302E122576" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_73226E182B4AAA79A93DF5302E127A32" xlink:to="loc_mtrx_Vestin2017Member_23140674DB0B918D0678F5302E122576" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_DeferredCompensationArrangementWithIndividualShareBasedPaymentsByTypeOfDeferredCompensationAxis" xlink:label="loc_us-gaap_DeferredCompensationArrangementWithIndividualShareBasedPaymentsByTypeOfDeferredCompensationAxis_0D82FA63E84B1B858A99F5302E128C06" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_BF1D3455BF580DD23370F5302E125AC6" xlink:to="loc_us-gaap_DeferredCompensationArrangementWithIndividualShareBasedPaymentsByTypeOfDeferredCompensationAxis_0D82FA63E84B1B858A99F5302E128C06" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_TypeOfDeferredCompensationDomain" xlink:label="loc_us-gaap_TypeOfDeferredCompensationDomain_CED57309B00C5E14E9AAF5302E1298F2_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DeferredCompensationArrangementWithIndividualShareBasedPaymentsByTypeOfDeferredCompensationAxis_0D82FA63E84B1B858A99F5302E128C06" xlink:to="loc_us-gaap_TypeOfDeferredCompensationDomain_CED57309B00C5E14E9AAF5302E1298F2_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_TypeOfDeferredCompensationDomain" xlink:label="loc_us-gaap_TypeOfDeferredCompensationDomain_CED57309B00C5E14E9AAF5302E1298F2" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DeferredCompensationArrangementWithIndividualShareBasedPaymentsByTypeOfDeferredCompensationAxis_0D82FA63E84B1B858A99F5302E128C06" xlink:to="loc_us-gaap_TypeOfDeferredCompensationDomain_CED57309B00C5E14E9AAF5302E1298F2" xlink:type="arc" />
    <loc xlink:href="mtrx-20140630.xsd#mtrx_EmployeeAwardMember" xlink:label="loc_mtrx_EmployeeAwardMember_443000B288A4DBE18772F5302E122885" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfDeferredCompensationDomain_CED57309B00C5E14E9AAF5302E1298F2" xlink:to="loc_mtrx_EmployeeAwardMember_443000B288A4DBE18772F5302E122885" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_RangeAxis" xlink:label="loc_us-gaap_RangeAxis_DE99157DA2BB81E56DCEF5302E12B27A" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_BF1D3455BF580DD23370F5302E125AC6" xlink:to="loc_us-gaap_RangeAxis_DE99157DA2BB81E56DCEF5302E12B27A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_BD74409E3458F2ABD54BF5302E12417D_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RangeAxis_DE99157DA2BB81E56DCEF5302E12B27A" xlink:to="loc_us-gaap_RangeMember_BD74409E3458F2ABD54BF5302E12417D_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_BD74409E3458F2ABD54BF5302E12417D" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RangeAxis_DE99157DA2BB81E56DCEF5302E12B27A" xlink:to="loc_us-gaap_RangeMember_BD74409E3458F2ABD54BF5302E12417D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_MinimumMember" xlink:label="loc_us-gaap_MinimumMember_32FA5B359B826FC8BF38F5302E12F70F" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_BD74409E3458F2ABD54BF5302E12417D" xlink:to="loc_us-gaap_MinimumMember_32FA5B359B826FC8BF38F5302E12F70F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_MaximumMember" xlink:label="loc_us-gaap_MaximumMember_F5C713AE5FE4FF2DB317F5302E12CD22" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_BD74409E3458F2ABD54BF5302E12417D" xlink:to="loc_us-gaap_MaximumMember_F5C713AE5FE4FF2DB317F5302E12CD22" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_ShareBasedCompensation" xlink:label="loc_us-gaap_ShareBasedCompensation_40436C443D6C3C2FC00FF5302E128736" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_645D1082C8A5F1138AD5F5302E12857A" xlink:to="loc_us-gaap_ShareBasedCompensation_40436C443D6C3C2FC00FF5302E128736" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized_6A1AA2E036F8BCE67812F5302E1295BE" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_645D1082C8A5F1138AD5F5302E12857A" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized_6A1AA2E036F8BCE67812F5302E1295BE" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions_F3C34EF406FAFEC2DA9DF5302E12E9B0" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_645D1082C8A5F1138AD5F5302E12857A" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions_F3C34EF406FAFEC2DA9DF5302E12E9B0" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedStockOptions" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedStockOptions_107EBCDF4BB74475DAADF5302E129989" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_645D1082C8A5F1138AD5F5302E12857A" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedStockOptions_107EBCDF4BB74475DAADF5302E129989" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_29801B221EECE1B55FFAF5302E1274F1" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_645D1082C8A5F1138AD5F5302E12857A" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_29801B221EECE1B55FFAF5302E1274F1" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationTaxBenefitFromCompensationExpense" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationTaxBenefitFromCompensationExpense_B38998AB41263165F12DF5302E125658" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_645D1082C8A5F1138AD5F5302E12857A" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationTaxBenefitFromCompensationExpense_B38998AB41263165F12DF5302E125658" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized_473F373C3EAC376F921AF5302E127DF8" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_645D1082C8A5F1138AD5F5302E12857A" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized_473F373C3EAC376F921AF5302E127DF8" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant_70F3EF9FB4DF48EA073BF5302E1224A4" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_645D1082C8A5F1138AD5F5302E12857A" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant_70F3EF9FB4DF48EA073BF5302E1224A4" xlink:type="arc" />
    <loc xlink:href="mtrx-20140630.xsd#mtrx_ShareBasedCompensationArrangementByShareBasedPaymentAwardExpirationPeriod" xlink:label="loc_mtrx_ShareBasedCompensationArrangementByShareBasedPaymentAwardExpirationPeriod_E6F693AD753F9714A768F5302E12A92E" xlink:type="locator" />
    <definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_645D1082C8A5F1138AD5F5302E12857A" xlink:to="loc_mtrx_ShareBasedCompensationArrangementByShareBasedPaymentAwardExpirationPeriod_E6F693AD753F9714A768F5302E12A92E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue_03DE039C2D6939E8A740F5302E12AF55" xlink:type="locator" />
    <definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_645D1082C8A5F1138AD5F5302E12857A" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue_03DE039C2D6939E8A740F5302E12AF55" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_7C89A8D593795B97C049F5302E12D5E2" xlink:type="locator" />
    <definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_645D1082C8A5F1138AD5F5302E12857A" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_7C89A8D593795B97C049F5302E12D5E2" xlink:type="arc" />
    <loc xlink:href="mtrx-20140630.xsd#mtrx_ShareBasedCompensationArrangementByShareBasedPaymentAwardInstallmentPeriodForVesting" xlink:label="loc_mtrx_ShareBasedCompensationArrangementByShareBasedPaymentAwardInstallmentPeriodForVesting_74A7355B2C90FE7ADAF9F5302E12F997" xlink:type="locator" />
    <definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_645D1082C8A5F1138AD5F5302E12857A" xlink:to="loc_mtrx_ShareBasedCompensationArrangementByShareBasedPaymentAwardInstallmentPeriodForVesting_74A7355B2C90FE7ADAF9F5302E12F997" xlink:type="arc" />
    <loc xlink:href="mtrx-20140630.xsd#mtrx_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriodOfDirectorAwards" xlink:label="loc_mtrx_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriodOfDirectorAwards_F8216B12EB647FC34C72F5302E127F48" xlink:type="locator" />
    <definitionArc order="13" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_645D1082C8A5F1138AD5F5302E12857A" xlink:to="loc_mtrx_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriodOfDirectorAwards_F8216B12EB647FC34C72F5302E127F48" xlink:type="arc" />
    <loc xlink:href="mtrx-20140630.xsd#mtrx_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardDescriptionofVestingPeriodofDirectorAwards" xlink:label="loc_mtrx_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardDescriptionofVestingPeriodofDirectorAwards_33F7054876FF152E9F81F5302E1216B3" xlink:type="locator" />
    <definitionArc order="14" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_645D1082C8A5F1138AD5F5302E12857A" xlink:to="loc_mtrx_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardDescriptionofVestingPeriodofDirectorAwards_33F7054876FF152E9F81F5302E1216B3" xlink:type="arc" />
    <loc xlink:href="mtrx-20140630.xsd#mtrx_PayoutAsPercentageOfOriginalAwardMinimum" xlink:label="loc_mtrx_PayoutAsPercentageOfOriginalAwardMinimum_350CCA1349AC7C50F8A8F5302E124EBA" xlink:type="locator" />
    <definitionArc order="15" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_645D1082C8A5F1138AD5F5302E12857A" xlink:to="loc_mtrx_PayoutAsPercentageOfOriginalAwardMinimum_350CCA1349AC7C50F8A8F5302E124EBA" xlink:type="arc" />
    <loc xlink:href="mtrx-20140630.xsd#mtrx_PayoutAsPercentageOfOriginalAwardMaximum" xlink:label="loc_mtrx_PayoutAsPercentageOfOriginalAwardMaximum_841356CB6DF8EF62CCE7F5302E129CC8" xlink:type="locator" />
    <definitionArc order="16" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_645D1082C8A5F1138AD5F5302E12857A" xlink:to="loc_mtrx_PayoutAsPercentageOfOriginalAwardMaximum_841356CB6DF8EF62CCE7F5302E129CC8" xlink:type="arc" />
    <loc xlink:href="mtrx-20140630.xsd#mtrx_MinimumThresholdSharesScheduledToVestForPerformanceBasedShares" xlink:label="loc_mtrx_MinimumThresholdSharesScheduledToVestForPerformanceBasedShares_43DD2BCF38CACA2B3056F5302E125105" xlink:type="locator" />
    <definitionArc order="17" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_645D1082C8A5F1138AD5F5302E12857A" xlink:to="loc_mtrx_MinimumThresholdSharesScheduledToVestForPerformanceBasedShares_43DD2BCF38CACA2B3056F5302E125105" xlink:type="arc" />
    <loc xlink:href="mtrx-20140630.xsd#mtrx_ShareBasedCompensationArrangementByShareBasedPaymentAwardDeferredGrantsInPeriod" xlink:label="loc_mtrx_ShareBasedCompensationArrangementByShareBasedPaymentAwardDeferredGrantsInPeriod_78FC3BA6950571B68ED3F5302E12F2D5" xlink:type="locator" />
    <definitionArc order="18" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_645D1082C8A5F1138AD5F5302E12857A" xlink:to="loc_mtrx_ShareBasedCompensationArrangementByShareBasedPaymentAwardDeferredGrantsInPeriod_78FC3BA6950571B68ED3F5302E12F2D5" xlink:type="arc" />
    <loc xlink:href="mtrx-20140630.xsd#mtrx_ShareBasedCompensationArrangementByShareBasedPaymentAwardDeferredWeightedAverageGrantDateFairValue" xlink:label="loc_mtrx_ShareBasedCompensationArrangementByShareBasedPaymentAwardDeferredWeightedAverageGrantDateFairValue_5BBB589BE210303D18ECF5302E12B618" xlink:type="locator" />
    <definitionArc order="19" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_645D1082C8A5F1138AD5F5302E12857A" xlink:to="loc_mtrx_ShareBasedCompensationArrangementByShareBasedPaymentAwardDeferredWeightedAverageGrantDateFairValue_5BBB589BE210303D18ECF5302E12B618" xlink:type="arc" />
    <loc xlink:href="mtrx-20140630.xsd#mtrx_ShareBasedCompensationArrangementByShareBasedPaymentAwardDeferredSharesVestedAndReleased" xlink:label="loc_mtrx_ShareBasedCompensationArrangementByShareBasedPaymentAwardDeferredSharesVestedAndReleased_46CAC908FAA3132DEA43F5302E12C88F" xlink:type="locator" />
    <definitionArc order="20" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_645D1082C8A5F1138AD5F5302E12857A" xlink:to="loc_mtrx_ShareBasedCompensationArrangementByShareBasedPaymentAwardDeferredSharesVestedAndReleased_46CAC908FAA3132DEA43F5302E12C88F" xlink:type="arc" />
    <loc xlink:href="mtrx-20140630.xsd#mtrx_ShareBasedCompensationArrangementByShareBasedPaymentAwardDeferredSharesVestedAndReleasedWeightedAverageGrantDateFairValue" xlink:label="loc_mtrx_ShareBasedCompensationArrangementByShareBasedPaymentAwardDeferredSharesVestedAndReleasedWeightedAverageGrantDateFairValue_DA6A0FD519D8A2065721F5302E129010" xlink:type="locator" />
    <definitionArc order="21" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_645D1082C8A5F1138AD5F5302E12857A" xlink:to="loc_mtrx_ShareBasedCompensationArrangementByShareBasedPaymentAwardDeferredSharesVestedAndReleasedWeightedAverageGrantDateFairValue_DA6A0FD519D8A2065721F5302E129010" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsMethodUsed" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsMethodUsed_EAFB7F546242B37B0BA2F5302E12834A" xlink:type="locator" />
    <definitionArc order="22" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_645D1082C8A5F1138AD5F5302E12857A" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsMethodUsed_EAFB7F546242B37B0BA2F5302E12834A" xlink:type="arc" />
    <loc xlink:href="mtrx-20140630.xsd#mtrx_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueMethodNumberofSimulationsUsed" xlink:label="loc_mtrx_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueMethodNumberofSimulationsUsed_E8363EA6DBB47E872289F5302E128F13" xlink:type="locator" />
    <definitionArc order="23" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_645D1082C8A5F1138AD5F5302E12857A" xlink:to="loc_mtrx_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueMethodNumberofSimulationsUsed_E8363EA6DBB47E872289F5302E128F13" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/StockBasedCompensationTables" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/StockholdersEquity" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/StockholdersEquityDetailsTextual" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/SubsequentEventsDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_SubsequentEventLineItems" xlink:label="loc_us-gaap_SubsequentEventLineItems_15F2F225CD56CD87CAB51D8C92D81CD3" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_SubsequentEventTable" xlink:label="loc_us-gaap_SubsequentEventTable_52F91B636B942B88E81A1D8C92D52CF1" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_SubsequentEventLineItems_15F2F225CD56CD87CAB51D8C92D81CD3" xlink:to="loc_us-gaap_SubsequentEventTable_52F91B636B942B88E81A1D8C92D52CF1" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_SubsequentEventTypeAxis" xlink:label="loc_us-gaap_SubsequentEventTypeAxis_4BF8D60851C667D47B641D8C92D614B5" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_SubsequentEventTable_52F91B636B942B88E81A1D8C92D52CF1" xlink:to="loc_us-gaap_SubsequentEventTypeAxis_4BF8D60851C667D47B641D8C92D614B5" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_SubsequentEventTypeDomain" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_244F95AD34050208E33F1D8C92D68873_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_4BF8D60851C667D47B641D8C92D614B5" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_244F95AD34050208E33F1D8C92D68873_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_SubsequentEventTypeDomain" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_244F95AD34050208E33F1D8C92D68873" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_4BF8D60851C667D47B641D8C92D614B5" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_244F95AD34050208E33F1D8C92D68873" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_SubsequentEventMember" xlink:label="loc_us-gaap_SubsequentEventMember_F343FB228970B41C6F4F1D8C92D762FF" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventTypeDomain_244F95AD34050208E33F1D8C92D68873" xlink:to="loc_us-gaap_SubsequentEventMember_F343FB228970B41C6F4F1D8C92D762FF" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_PaymentsToAcquireBusinessesGross" xlink:label="loc_us-gaap_PaymentsToAcquireBusinessesGross_E5AFD73079297A2C056B1D8C92D877F8" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventLineItems_15F2F225CD56CD87CAB51D8C92D81CD3" xlink:to="loc_us-gaap_PaymentsToAcquireBusinessesGross_E5AFD73079297A2C056B1D8C92D877F8" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/SubsequentEventsNotes" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/SummaryOfSignificantAccountingPolicies" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/SummaryOfSignificantAccountingPoliciesDetailsTextual" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_PropertyPlantAndEquipmentLineItems" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentLineItems_CD1B964ED90A336938CE56A7289C7054" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_ScheduleOfPropertyPlantAndEquipmentTable" xlink:label="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_E82162A318089F3E3E5756A7289C25AE" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_CD1B964ED90A336938CE56A7289C7054" xlink:to="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_E82162A318089F3E3E5756A7289C25AE" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_PropertyPlantAndEquipmentByTypeAxis" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_AEB580018053AA84A82F56A7289C6AC7" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_E82162A318089F3E3E5756A7289C25AE" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_AEB580018053AA84A82F56A7289C6AC7" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_46CAC7BFCE167BBF9F3D56A7289CCAC3_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_AEB580018053AA84A82F56A7289C6AC7" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_46CAC7BFCE167BBF9F3D56A7289CCAC3_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_46CAC7BFCE167BBF9F3D56A7289CCAC3" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_AEB580018053AA84A82F56A7289C6AC7" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_46CAC7BFCE167BBF9F3D56A7289CCAC3" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_BuildingMember" xlink:label="loc_us-gaap_BuildingMember_1E71542A59C7C56ED72D56A7289C70A1" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_46CAC7BFCE167BBF9F3D56A7289CCAC3" xlink:to="loc_us-gaap_BuildingMember_1E71542A59C7C56ED72D56A7289C70A1" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_EquipmentMember" xlink:label="loc_us-gaap_EquipmentMember_16470A6621CCE79D533256A7289C2C32" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_46CAC7BFCE167BBF9F3D56A7289CCAC3" xlink:to="loc_us-gaap_EquipmentMember_16470A6621CCE79D533256A7289C2C32" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_TransportationEquipmentMember" xlink:label="loc_us-gaap_TransportationEquipmentMember_ACAAFF183C76393CC52E56A7289C2005" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_46CAC7BFCE167BBF9F3D56A7289CCAC3" xlink:to="loc_us-gaap_TransportationEquipmentMember_ACAAFF183C76393CC52E56A7289C2005" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_FurnitureAndFixturesMember" xlink:label="loc_us-gaap_FurnitureAndFixturesMember_EDBE199FE7F292C28EFC56A7289CF6E8" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_46CAC7BFCE167BBF9F3D56A7289CCAC3" xlink:to="loc_us-gaap_FurnitureAndFixturesMember_EDBE199FE7F292C28EFC56A7289CF6E8" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_RangeAxis" xlink:label="loc_us-gaap_RangeAxis_1ED6DC25B48C26CC527056A7289C4E8C" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_E82162A318089F3E3E5756A7289C25AE" xlink:to="loc_us-gaap_RangeAxis_1ED6DC25B48C26CC527056A7289C4E8C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_27947BC535A30A156AA656A7289C3C95_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RangeAxis_1ED6DC25B48C26CC527056A7289C4E8C" xlink:to="loc_us-gaap_RangeMember_27947BC535A30A156AA656A7289C3C95_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_27947BC535A30A156AA656A7289C3C95" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RangeAxis_1ED6DC25B48C26CC527056A7289C4E8C" xlink:to="loc_us-gaap_RangeMember_27947BC535A30A156AA656A7289C3C95" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_MinimumMember" xlink:label="loc_us-gaap_MinimumMember_5E9AAEE24C08438C1DA256A7289C339F" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_27947BC535A30A156AA656A7289C3C95" xlink:to="loc_us-gaap_MinimumMember_5E9AAEE24C08438C1DA256A7289C339F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_MaximumMember" xlink:label="loc_us-gaap_MaximumMember_87B6404EF58CF6E166F556A7289C243A" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_27947BC535A30A156AA656A7289C3C95" xlink:to="loc_us-gaap_MaximumMember_87B6404EF58CF6E166F556A7289C243A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_PropertyPlantAndEquipmentUsefulLife" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentUsefulLife_7D58C866ED8DFE62917B56A7289CDCFD" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_CD1B964ED90A336938CE56A7289C7054" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentUsefulLife_7D58C866ED8DFE62917B56A7289CDCFD" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetUsefulLife" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetUsefulLife_A7E6775CAE57B63A1AFE56A7289C57AC" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_CD1B964ED90A336938CE56A7289C7054" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetUsefulLife_A7E6775CAE57B63A1AFE56A7289C57AC" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/SummaryOfSignificantAccountingPoliciesPolicies" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/ValuationAndQualifyingAccounts" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/ValuationAndQualifyingAccountsDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_ValuationAndQualifyingAccountsDisclosureLineItems" xlink:label="loc_us-gaap_ValuationAndQualifyingAccountsDisclosureLineItems_9AA0CA43BF5FC230902635FF4AB6350A" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_ValuationAndQualifyingAccountsDisclosureTable" xlink:label="loc_us-gaap_ValuationAndQualifyingAccountsDisclosureTable_E5AFBACC2BD9AE26EDB835FF4AB67F6F" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ValuationAndQualifyingAccountsDisclosureLineItems_9AA0CA43BF5FC230902635FF4AB6350A" xlink:to="loc_us-gaap_ValuationAndQualifyingAccountsDisclosureTable_E5AFBACC2BD9AE26EDB835FF4AB67F6F" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_ValuationAllowancesAndReservesTypeAxis" xlink:label="loc_us-gaap_ValuationAllowancesAndReservesTypeAxis_E3F6607D12212D85FF5635FF4AB6F3AE" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ValuationAndQualifyingAccountsDisclosureTable_E5AFBACC2BD9AE26EDB835FF4AB67F6F" xlink:to="loc_us-gaap_ValuationAllowancesAndReservesTypeAxis_E3F6607D12212D85FF5635FF4AB6F3AE" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_ValuationAllowancesAndReservesDomain" xlink:label="loc_us-gaap_ValuationAllowancesAndReservesDomain_90D1374C06DD1125875A35FF4AB6D4B1_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ValuationAllowancesAndReservesTypeAxis_E3F6607D12212D85FF5635FF4AB6F3AE" xlink:to="loc_us-gaap_ValuationAllowancesAndReservesDomain_90D1374C06DD1125875A35FF4AB6D4B1_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_ValuationAllowancesAndReservesDomain" xlink:label="loc_us-gaap_ValuationAllowancesAndReservesDomain_90D1374C06DD1125875A35FF4AB6D4B1" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ValuationAllowancesAndReservesTypeAxis_E3F6607D12212D85FF5635FF4AB6F3AE" xlink:to="loc_us-gaap_ValuationAllowancesAndReservesDomain_90D1374C06DD1125875A35FF4AB6D4B1" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_AllowanceForDoubtfulAccountsMember" xlink:label="loc_us-gaap_AllowanceForDoubtfulAccountsMember_7420CBEDCBB13D135FDC35FF4AB6FE47" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ValuationAllowancesAndReservesDomain_90D1374C06DD1125875A35FF4AB6D4B1" xlink:to="loc_us-gaap_AllowanceForDoubtfulAccountsMember_7420CBEDCBB13D135FDC35FF4AB6FE47" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_ValuationAllowanceOfDeferredTaxAssetsMember" xlink:label="loc_us-gaap_ValuationAllowanceOfDeferredTaxAssetsMember_C84BFBEEF73AAAE2DD5A35FF4AB65C26" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ValuationAllowancesAndReservesDomain_90D1374C06DD1125875A35FF4AB6D4B1" xlink:to="loc_us-gaap_ValuationAllowanceOfDeferredTaxAssetsMember_C84BFBEEF73AAAE2DD5A35FF4AB65C26" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_MovementInValuationAllowancesAndReservesRollForward" xlink:label="loc_us-gaap_MovementInValuationAllowancesAndReservesRollForward_2E9614D63A14B42F828E35FF4AB6C739" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ValuationAndQualifyingAccountsDisclosureLineItems_9AA0CA43BF5FC230902635FF4AB6350A" xlink:to="loc_us-gaap_MovementInValuationAllowancesAndReservesRollForward_2E9614D63A14B42F828E35FF4AB6C739" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_ValuationAllowancesAndReservesBalance" xlink:label="loc_us-gaap_ValuationAllowancesAndReservesBalance_6FD7A014768349150FCD35FF4AB6B5CF" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MovementInValuationAllowancesAndReservesRollForward_2E9614D63A14B42F828E35FF4AB6C739" xlink:to="loc_us-gaap_ValuationAllowancesAndReservesBalance_6FD7A014768349150FCD35FF4AB6B5CF" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_ValuationAllowancesAndReservesChargedToCostAndExpense" xlink:label="loc_us-gaap_ValuationAllowancesAndReservesChargedToCostAndExpense_787C9116FBF705F11F2635FF4AB67973" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MovementInValuationAllowancesAndReservesRollForward_2E9614D63A14B42F828E35FF4AB6C739" xlink:to="loc_us-gaap_ValuationAllowancesAndReservesChargedToCostAndExpense_787C9116FBF705F11F2635FF4AB67973" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_ValuationAllowancesAndReservesChargedToOtherAccounts" xlink:label="loc_us-gaap_ValuationAllowancesAndReservesChargedToOtherAccounts_83041A67A0845DA5B06C35FF4AB6C58F" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MovementInValuationAllowancesAndReservesRollForward_2E9614D63A14B42F828E35FF4AB6C739" xlink:to="loc_us-gaap_ValuationAllowancesAndReservesChargedToOtherAccounts_83041A67A0845DA5B06C35FF4AB6C58F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_ValuationAllowancesAndReservesDeductions" xlink:label="loc_us-gaap_ValuationAllowancesAndReservesDeductions_13C6D76CFB5DE69CC79235FF4AB6FE5D" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MovementInValuationAllowancesAndReservesRollForward_2E9614D63A14B42F828E35FF4AB6C739" xlink:to="loc_us-gaap_ValuationAllowancesAndReservesDeductions_13C6D76CFB5DE69CC79235FF4AB6FE5D" xlink:type="arc" />
  </definitionLink>
</linkbase>
