<?xml version="1.0" encoding="US-ASCII"?>
<!--XBRL Document Created with WebFilings-->
<!-- -->
<linkbase xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd" xmlns="http://www.xbrl.org/2003/linkbase" xmlns:xbrldt="http://xbrl.org/2005/xbrldt" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <roleRef roleURI="http://www.matrixservice.com/role/Acquisitions" xlink:href="mtrx-20130906.xsd#Acquisitions" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/AcquisitionsDetails" xlink:href="mtrx-20130906.xsd#AcquisitionsDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/AcquisitionsDetailsTextual" xlink:href="mtrx-20130906.xsd#AcquisitionsDetailsTextual" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/AcquisitionsTables" xlink:href="mtrx-20130906.xsd#AcquisitionsTables" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/ConsolidatedBalanceSheets" xlink:href="mtrx-20130906.xsd#ConsolidatedBalanceSheets" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/ConsolidatedBalanceSheetsParenthetical" xlink:href="mtrx-20130906.xsd#ConsolidatedBalanceSheetsParenthetical" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/ConsolidatedStatementsOfCashFlows" xlink:href="mtrx-20130906.xsd#ConsolidatedStatementsOfCashFlows" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/ConsolidatedStatementsOfChangesInStockholdersEquity" xlink:href="mtrx-20130906.xsd#ConsolidatedStatementsOfChangesInStockholdersEquity" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/ConsolidatedStatementsOfChangesInStockholdersEquityParenthetical" xlink:href="mtrx-20130906.xsd#ConsolidatedStatementsOfChangesInStockholdersEquityParenthetical" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/ConsolidatedStatementsOfComprehensiveIncome" xlink:href="mtrx-20130906.xsd#ConsolidatedStatementsOfComprehensiveIncome" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/ConsolidatedStatementsOfComprehensiveIncomeParentheticals" xlink:href="mtrx-20130906.xsd#ConsolidatedStatementsOfComprehensiveIncomeParentheticals" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/ConsolidatedStatementsOfIncome" xlink:href="mtrx-20130906.xsd#ConsolidatedStatementsOfIncome" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/Contingencies" xlink:href="mtrx-20130906.xsd#Contingencies" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/ContingenciesDetailsTextual" xlink:href="mtrx-20130906.xsd#ContingenciesDetailsTextual" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/CustomerContracts" xlink:href="mtrx-20130906.xsd#CustomerContracts" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/CustomerContractsDetails" xlink:href="mtrx-20130906.xsd#CustomerContractsDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/CustomerContractsDetailsTextual" xlink:href="mtrx-20130906.xsd#CustomerContractsDetailsTextual" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/CustomerContractsTables" xlink:href="mtrx-20130906.xsd#CustomerContractsTables" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/Debt" xlink:href="mtrx-20130906.xsd#Debt" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/DebtDetails" xlink:href="mtrx-20130906.xsd#DebtDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/DebtDetailsTextual" xlink:href="mtrx-20130906.xsd#DebtDetailsTextual" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/DebtTables" xlink:href="mtrx-20130906.xsd#DebtTables" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/DocumentAndEntityInformation" xlink:href="mtrx-20130906.xsd#DocumentAndEntityInformation" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/EarningsPerCommonShare" xlink:href="mtrx-20130906.xsd#EarningsPerCommonShare" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/EarningsPerCommonShareDetails" xlink:href="mtrx-20130906.xsd#EarningsPerCommonShareDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/EarningsPerCommonShareDetails1" xlink:href="mtrx-20130906.xsd#EarningsPerCommonShareDetails1" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/EarningsPerCommonShareTables" xlink:href="mtrx-20130906.xsd#EarningsPerCommonShareTables" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/EmployeeBenefitPlans" xlink:href="mtrx-20130906.xsd#EmployeeBenefitPlans" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/EmployeeBenefitPlansDetails" xlink:href="mtrx-20130906.xsd#EmployeeBenefitPlansDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/EmployeeBenefitPlansDetailsTextual" xlink:href="mtrx-20130906.xsd#EmployeeBenefitPlansDetailsTextual" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/EmployeeBenefitPlansTables" xlink:href="mtrx-20130906.xsd#EmployeeBenefitPlansTables" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/GoodwillAndOtherIntangibleAssets" xlink:href="mtrx-20130906.xsd#GoodwillAndOtherIntangibleAssets" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/GoodwillAndOtherIntangibleAssetsDetails" xlink:href="mtrx-20130906.xsd#GoodwillAndOtherIntangibleAssetsDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/GoodwillAndOtherIntangibleAssetsDetails1" xlink:href="mtrx-20130906.xsd#GoodwillAndOtherIntangibleAssetsDetails1" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/GoodwillAndOtherIntangibleAssetsDetailsTextual" xlink:href="mtrx-20130906.xsd#GoodwillAndOtherIntangibleAssetsDetailsTextual" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/GoodwillAndOtherIntangibleAssetsTables" xlink:href="mtrx-20130906.xsd#GoodwillAndOtherIntangibleAssetsTables" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/IncomeTaxes" xlink:href="mtrx-20130906.xsd#IncomeTaxes" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/IncomeTaxesDetails" xlink:href="mtrx-20130906.xsd#IncomeTaxesDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/IncomeTaxesDetails1" xlink:href="mtrx-20130906.xsd#IncomeTaxesDetails1" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/IncomeTaxesDetails2" xlink:href="mtrx-20130906.xsd#IncomeTaxesDetails2" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/IncomeTaxesDetails3" xlink:href="mtrx-20130906.xsd#IncomeTaxesDetails3" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/IncomeTaxesDetails4" xlink:href="mtrx-20130906.xsd#IncomeTaxesDetails4" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/IncomeTaxesDetailsTextual" xlink:href="mtrx-20130906.xsd#IncomeTaxesDetailsTextual" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/IncomeTaxesTables" xlink:href="mtrx-20130906.xsd#IncomeTaxesTables" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/Leases" xlink:href="mtrx-20130906.xsd#Leases" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/LeasesDetailsTextual" xlink:href="mtrx-20130906.xsd#LeasesDetailsTextual" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/QuarterlyFinancialDataUnauditedDetails" xlink:href="mtrx-20130906.xsd#QuarterlyFinancialDataUnauditedDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/QuarterlyFinancialDataUnauditedDetails1" xlink:href="mtrx-20130906.xsd#QuarterlyFinancialDataUnauditedDetails1" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/QuarterlyFinancialDataUnauditedNotes" xlink:href="mtrx-20130906.xsd#QuarterlyFinancialDataUnauditedNotes" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/QuarterlyFinancialDataUnauditedTables" xlink:href="mtrx-20130906.xsd#QuarterlyFinancialDataUnauditedTables" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/SegmentInformation" xlink:href="mtrx-20130906.xsd#SegmentInformation" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/SegmentInformationDetails" xlink:href="mtrx-20130906.xsd#SegmentInformationDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/SegmentInformationDetails1" xlink:href="mtrx-20130906.xsd#SegmentInformationDetails1" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/SegmentInformationDetailsTextual" xlink:href="mtrx-20130906.xsd#SegmentInformationDetailsTextual" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/SegmentInformationTables" xlink:href="mtrx-20130906.xsd#SegmentInformationTables" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/StockBasedCompensation" xlink:href="mtrx-20130906.xsd#StockBasedCompensation" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/StockBasedCompensationDetails" xlink:href="mtrx-20130906.xsd#StockBasedCompensationDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/StockBasedCompensationDetails1" xlink:href="mtrx-20130906.xsd#StockBasedCompensationDetails1" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/StockBasedCompensationDetails2" xlink:href="mtrx-20130906.xsd#StockBasedCompensationDetails2" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/StockBasedCompensationDetails3" xlink:href="mtrx-20130906.xsd#StockBasedCompensationDetails3" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/StockBasedCompensationDetailsTextual" xlink:href="mtrx-20130906.xsd#StockBasedCompensationDetailsTextual" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/StockBasedCompensationTables" xlink:href="mtrx-20130906.xsd#StockBasedCompensationTables" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/StockholdersEquity" xlink:href="mtrx-20130906.xsd#StockholdersEquity" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/StockholdersEquityDetailsTextual" xlink:href="mtrx-20130906.xsd#StockholdersEquityDetailsTextual" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/SummaryOfSignificantAccountingPolicies" xlink:href="mtrx-20130906.xsd#SummaryOfSignificantAccountingPolicies" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/SummaryOfSignificantAccountingPoliciesDetailsTextual" xlink:href="mtrx-20130906.xsd#SummaryOfSignificantAccountingPoliciesDetailsTextual" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/SummaryOfSignificantAccountingPoliciesPolicies" xlink:href="mtrx-20130906.xsd#SummaryOfSignificantAccountingPoliciesPolicies" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/ValuationAndQualifyingAccounts" xlink:href="mtrx-20130906.xsd#ValuationAndQualifyingAccounts" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservice.com/role/ValuationAndQualifyingAccountsDetails" xlink:href="mtrx-20130906.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.matrixservice.com/role/Acquisitions" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservice.com/role/AcquisitionsDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_BusinessAcquisitionLineItems" xlink:label="loc_us-gaap_BusinessAcquisitionLineItems_B569E2A3212DDD754D8CEF339817E103" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_DB07E0E9C6A190F13CB9EF3398177CE9" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_B569E2A3212DDD754D8CEF339817E103" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_DB07E0E9C6A190F13CB9EF3398177CE9" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_B0CD401DF44C74E5A92AEF3398178A43" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_DB07E0E9C6A190F13CB9EF3398177CE9" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_B0CD401DF44C74E5A92AEF3398178A43" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_D5C0E0FC0928EA439602EF3398177D3F_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_B0CD401DF44C74E5A92AEF3398178A43" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_D5C0E0FC0928EA439602EF3398177D3F_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_D5C0E0FC0928EA439602EF3398177D3F" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_B0CD401DF44C74E5A92AEF3398178A43" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_D5C0E0FC0928EA439602EF3398177D3F" xlink:type="arc" />
    <loc xlink:href="mtrx-20130906.xsd#mtrx_PelichemIndustrialCleaningServicesLlcMember" xlink:label="loc_mtrx_PelichemIndustrialCleaningServicesLlcMember_63D9117FDFC55FA4E328EF3398170752" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_D5C0E0FC0928EA439602EF3398177D3F" xlink:to="loc_mtrx_PelichemIndustrialCleaningServicesLlcMember_63D9117FDFC55FA4E328EF3398170752" xlink:type="arc" />
    <loc xlink:href="mtrx-20130906.xsd#mtrx_EdcMember" xlink:label="loc_mtrx_EdcMember_7A6817DF200662FD6417EF339817F0C3" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_D5C0E0FC0928EA439602EF3398177D3F" xlink:to="loc_mtrx_EdcMember_7A6817DF200662FD6417EF339817F0C3" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_BusinessAcquisitionPurchasePriceAllocationAbstract" xlink:label="loc_us-gaap_BusinessAcquisitionPurchasePriceAllocationAbstract_78FBE34C5562A4251890EF339817EF39" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_B569E2A3212DDD754D8CEF339817E103" xlink:to="loc_us-gaap_BusinessAcquisitionPurchasePriceAllocationAbstract_78FBE34C5562A4251890EF339817EF39" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_BusinessAcquisitionPurchasePriceAllocationCurrentAssets" xlink:label="loc_us-gaap_BusinessAcquisitionPurchasePriceAllocationCurrentAssets_17FC4D39868475998D7AEF3398177A4A" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionPurchasePriceAllocationAbstract_78FBE34C5562A4251890EF339817EF39" xlink:to="loc_us-gaap_BusinessAcquisitionPurchasePriceAllocationCurrentAssets_17FC4D39868475998D7AEF3398177A4A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_BusinessAcquisitionPurchasePriceAllocationPropertyPlantAndEquipment" xlink:label="loc_us-gaap_BusinessAcquisitionPurchasePriceAllocationPropertyPlantAndEquipment_E1962F6E68F463331F70EF339817F528" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionPurchasePriceAllocationAbstract_78FBE34C5562A4251890EF339817EF39" xlink:to="loc_us-gaap_BusinessAcquisitionPurchasePriceAllocationPropertyPlantAndEquipment_E1962F6E68F463331F70EF339817F528" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_BusinessAcquisitionPurchasePriceAllocationGoodwillExpectedTaxDeductibleAmount" xlink:label="loc_us-gaap_BusinessAcquisitionPurchasePriceAllocationGoodwillExpectedTaxDeductibleAmount_7FD06B9C1C8D700CBE33EF3398177329" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionPurchasePriceAllocationAbstract_78FBE34C5562A4251890EF339817EF39" xlink:to="loc_us-gaap_BusinessAcquisitionPurchasePriceAllocationGoodwillExpectedTaxDeductibleAmount_7FD06B9C1C8D700CBE33EF3398177329" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_BusinessAcquisitionPurchasePriceAllocationIntangibleAssetsOtherThanGoodwill" xlink:label="loc_us-gaap_BusinessAcquisitionPurchasePriceAllocationIntangibleAssetsOtherThanGoodwill_68D8ED802E6B40832D3AEF339817B770" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionPurchasePriceAllocationAbstract_78FBE34C5562A4251890EF339817EF39" xlink:to="loc_us-gaap_BusinessAcquisitionPurchasePriceAllocationIntangibleAssetsOtherThanGoodwill_68D8ED802E6B40832D3AEF339817B770" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_BusinessAcquisitionPurchasePriceAllocationAssetsAcquired" xlink:label="loc_us-gaap_BusinessAcquisitionPurchasePriceAllocationAssetsAcquired_4863C22B0F7831B6E5BBEF339817A20F" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionPurchasePriceAllocationAbstract_78FBE34C5562A4251890EF339817EF39" xlink:to="loc_us-gaap_BusinessAcquisitionPurchasePriceAllocationAssetsAcquired_4863C22B0F7831B6E5BBEF339817A20F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_BusinessAcquisitionPurchasePriceAllocationCurrentLiabilities" xlink:label="loc_us-gaap_BusinessAcquisitionPurchasePriceAllocationCurrentLiabilities_6CB5106CBEFAAB8FD558EF339817CCAE" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionPurchasePriceAllocationAbstract_78FBE34C5562A4251890EF339817EF39" xlink:to="loc_us-gaap_BusinessAcquisitionPurchasePriceAllocationCurrentLiabilities_6CB5106CBEFAAB8FD558EF339817CCAE" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_BusinessAcquisitionPurchasePriceAllocationAssetsAcquiredLiabilitiesAssumedNet" xlink:label="loc_us-gaap_BusinessAcquisitionPurchasePriceAllocationAssetsAcquiredLiabilitiesAssumedNet_06EFC40FAC77FDBE2B79EF3398185BC3" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionPurchasePriceAllocationAbstract_78FBE34C5562A4251890EF339817EF39" xlink:to="loc_us-gaap_BusinessAcquisitionPurchasePriceAllocationAssetsAcquiredLiabilitiesAssumedNet_06EFC40FAC77FDBE2B79EF3398185BC3" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_BusinessAcquisitionPurchasePriceAllocationCurrentAssetsCashAndCashEquivalents" xlink:label="loc_us-gaap_BusinessAcquisitionPurchasePriceAllocationCurrentAssetsCashAndCashEquivalents_DF8DADB33728D84ED921EF339818A10F" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionPurchasePriceAllocationAbstract_78FBE34C5562A4251890EF339817EF39" xlink:to="loc_us-gaap_BusinessAcquisitionPurchasePriceAllocationCurrentAssetsCashAndCashEquivalents_DF8DADB33728D84ED921EF339818A10F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_BusinessAcquisitionCostOfAcquiredEntityPurchasePrice" xlink:label="loc_us-gaap_BusinessAcquisitionCostOfAcquiredEntityPurchasePrice_5496A5C73599FA7546B8EF339818EA08" xlink:type="locator" />
    <definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionPurchasePriceAllocationAbstract_78FBE34C5562A4251890EF339817EF39" xlink:to="loc_us-gaap_BusinessAcquisitionCostOfAcquiredEntityPurchasePrice_5496A5C73599FA7546B8EF339818EA08" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.matrixservice.com/role/AcquisitionsDetailsTextual" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_BusinessAcquisitionLineItems" xlink:label="loc_us-gaap_BusinessAcquisitionLineItems_569F8DF41C978EC60666E637A7057296" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_AF46E6F1FA6CC9BB6165E637A7059D36" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_569F8DF41C978EC60666E637A7057296" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_AF46E6F1FA6CC9BB6165E637A7059D36" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_E928B4485CF0D62AC1E4E637A7056473" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_AF46E6F1FA6CC9BB6165E637A7059D36" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_E928B4485CF0D62AC1E4E637A7056473" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_143A64F611A9010E9372E637A7050536_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_E928B4485CF0D62AC1E4E637A7056473" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_143A64F611A9010E9372E637A7050536_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_143A64F611A9010E9372E637A7050536" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_E928B4485CF0D62AC1E4E637A7056473" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_143A64F611A9010E9372E637A7050536" xlink:type="arc" />
    <loc xlink:href="mtrx-20130906.xsd#mtrx_EdcMember" xlink:label="loc_mtrx_EdcMember_AEE8618AD88B5ABF9BBBE637A70591FF" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_143A64F611A9010E9372E637A7050536" xlink:to="loc_mtrx_EdcMember_AEE8618AD88B5ABF9BBBE637A70591FF" xlink:type="arc" />
    <loc xlink:href="mtrx-20130906.xsd#mtrx_AcquisitionsTextualAbstract" xlink:label="loc_mtrx_AcquisitionsTextualAbstract_1A98B1E53710038F7F05E637A7058F8A" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_569F8DF41C978EC60666E637A7057296" xlink:to="loc_mtrx_AcquisitionsTextualAbstract_1A98B1E53710038F7F05E637A7058F8A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_BusinessAcquisitionCostOfAcquiredEntityCashPaid" xlink:label="loc_us-gaap_BusinessAcquisitionCostOfAcquiredEntityCashPaid_C6E69A4EB9B40D37060AE637A705DD2D" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_AcquisitionsTextualAbstract_1A98B1E53710038F7F05E637A7058F8A" xlink:to="loc_us-gaap_BusinessAcquisitionCostOfAcquiredEntityCashPaid_C6E69A4EB9B40D37060AE637A705DD2D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_BusinessAcquisitionContingentConsiderationPotentialCashPayment" xlink:label="loc_us-gaap_BusinessAcquisitionContingentConsiderationPotentialCashPayment_17A5B62E695CB8E954EBE637A7052CDC" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_AcquisitionsTextualAbstract_1A98B1E53710038F7F05E637A7058F8A" xlink:to="loc_us-gaap_BusinessAcquisitionContingentConsiderationPotentialCashPayment_17A5B62E695CB8E954EBE637A7052CDC" xlink:type="arc" />
    <loc xlink:href="mtrx-20130906.xsd#mtrx_BusinessAcquisitionTargetAchievementPeriod" xlink:label="loc_mtrx_BusinessAcquisitionTargetAchievementPeriod_3FA587088AEEE2058564E637A7054A32" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_AcquisitionsTextualAbstract_1A98B1E53710038F7F05E637A7058F8A" xlink:to="loc_mtrx_BusinessAcquisitionTargetAchievementPeriod_3FA587088AEEE2058564E637A7054A32" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_BusinessAcquisitionCostOfAcquiredEntityPurchasePrice" xlink:label="loc_us-gaap_BusinessAcquisitionCostOfAcquiredEntityPurchasePrice_F01B9A4C4887EEB218B9E637A705641E" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_AcquisitionsTextualAbstract_1A98B1E53710038F7F05E637A7058F8A" xlink:to="loc_us-gaap_BusinessAcquisitionCostOfAcquiredEntityPurchasePrice_F01B9A4C4887EEB218B9E637A705641E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_BusinessCombinationContingentConsiderationArrangementsChangeInAmountOfContingentConsiderationLiability" xlink:label="loc_us-gaap_BusinessCombinationContingentConsiderationArrangementsChangeInAmountOfContingentConsiderationLiability_C2BC1F751A94886EE298E637A705B1A6" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_AcquisitionsTextualAbstract_1A98B1E53710038F7F05E637A7058F8A" xlink:to="loc_us-gaap_BusinessCombinationContingentConsiderationArrangementsChangeInAmountOfContingentConsiderationLiability_C2BC1F751A94886EE298E637A705B1A6" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_GoodwillPurchaseAccountingAdjustments" xlink:label="loc_us-gaap_GoodwillPurchaseAccountingAdjustments_9B9F660215DA4C9DEEF8E637A705F85A" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_569F8DF41C978EC60666E637A7057296" xlink:to="loc_us-gaap_GoodwillPurchaseAccountingAdjustments_9B9F660215DA4C9DEEF8E637A705F85A" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.matrixservice.com/role/AcquisitionsTables" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservice.com/role/ConsolidatedBalanceSheets" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservice.com/role/ConsolidatedBalanceSheetsParenthetical" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservice.com/role/ConsolidatedStatementsOfCashFlows" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservice.com/role/ConsolidatedStatementsOfChangesInStockholdersEquity" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaap_StatementLineItems_AD9BFE3D20DCB18D10B7E4B286F9A14A" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaap_StatementTable_4A6EEAE386835E48413FE4B286F9005E" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_AD9BFE3D20DCB18D10B7E4B286F9A14A" xlink:to="loc_us-gaap_StatementTable_4A6EEAE386835E48413FE4B286F9005E" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_StatementEquityComponentsAxis" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_D895E41E5CD3448B55DFE4B286F91310" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_4A6EEAE386835E48413FE4B286F9005E" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_D895E41E5CD3448B55DFE4B286F91310" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_6D1D7E7D90CE2A0DB49CE4B286F966B6_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_D895E41E5CD3448B55DFE4B286F91310" xlink:to="loc_us-gaap_EquityComponentDomain_6D1D7E7D90CE2A0DB49CE4B286F966B6_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_6D1D7E7D90CE2A0DB49CE4B286F966B6" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_D895E41E5CD3448B55DFE4B286F91310" xlink:to="loc_us-gaap_EquityComponentDomain_6D1D7E7D90CE2A0DB49CE4B286F966B6" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_CommonStockMember" xlink:label="loc_us-gaap_CommonStockMember_D4813DBCC6B32F5F73A1E4B286F95B82" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_6D1D7E7D90CE2A0DB49CE4B286F966B6" xlink:to="loc_us-gaap_CommonStockMember_D4813DBCC6B32F5F73A1E4B286F95B82" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_AdditionalPaidInCapitalMember" xlink:label="loc_us-gaap_AdditionalPaidInCapitalMember_8D632A1DC5F656AEBA92E4B286F95398" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_6D1D7E7D90CE2A0DB49CE4B286F966B6" xlink:to="loc_us-gaap_AdditionalPaidInCapitalMember_8D632A1DC5F656AEBA92E4B286F95398" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_RetainedEarningsMember" xlink:label="loc_us-gaap_RetainedEarningsMember_11907021D7EAA883B439E4B286F90524" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_6D1D7E7D90CE2A0DB49CE4B286F966B6" xlink:to="loc_us-gaap_RetainedEarningsMember_11907021D7EAA883B439E4B286F90524" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_TreasuryStockMember" xlink:label="loc_us-gaap_TreasuryStockMember_6501C6C5A28B28D73642E4B286F9D505" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_6D1D7E7D90CE2A0DB49CE4B286F966B6" xlink:to="loc_us-gaap_TreasuryStockMember_6501C6C5A28B28D73642E4B286F9D505" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeMember" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_484D635D1DD795E18A85E4B286F9D7BF" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_6D1D7E7D90CE2A0DB49CE4B286F966B6" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_484D635D1DD795E18A85E4B286F9D7BF" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_IncreaseDecreaseInStockholdersEquityRollForward" xlink:label="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_AC3FA0BBECB6647C8997E4C9C747E058" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_AD9BFE3D20DCB18D10B7E4B286F9A14A" xlink:to="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_AC3FA0BBECB6647C8997E4C9C747E058" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_StockholdersEquity" xlink:label="loc_us-gaap_StockholdersEquity_11F802DE715271952026E4B286F978C4" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_AC3FA0BBECB6647C8997E4C9C747E058" xlink:to="loc_us-gaap_StockholdersEquity_11F802DE715271952026E4B286F978C4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_8897CE854ADEC028980BE4B286F9877A" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_AC3FA0BBECB6647C8997E4C9C747E058" xlink:to="loc_us-gaap_NetIncomeLoss_8897CE854ADEC028980BE4B286F9877A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_A9253470401F6775AD86E4B286F9AD05" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_AC3FA0BBECB6647C8997E4C9C747E058" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_A9253470401F6775AD86E4B286F9AD05" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised_9716E0A2DF8C7181F79FE4B286F9430E" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_AC3FA0BBECB6647C8997E4C9C747E058" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised_9716E0A2DF8C7181F79FE4B286F9430E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_AdjustmentsToAdditionalPaidInCapitalTaxEffectFromShareBasedCompensation" xlink:label="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalTaxEffectFromShareBasedCompensation_4C4E00D69BA8CDA7035AE4B286F96716" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_AC3FA0BBECB6647C8997E4C9C747E058" xlink:to="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalTaxEffectFromShareBasedCompensation_4C4E00D69BA8CDA7035AE4B286F96716" xlink:type="arc" />
    <loc xlink:href="mtrx-20130906.xsd#mtrx_IssuanceOfDeferredShares" xlink:label="loc_mtrx_IssuanceOfDeferredShares_554FC144BF4770510DE4E4B286FA73EA" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_AC3FA0BBECB6647C8997E4C9C747E058" xlink:to="loc_mtrx_IssuanceOfDeferredShares_554FC144BF4770510DE4E4B286FA73EA" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_StockIssuedDuringPeriodValueEmployeeStockPurchasePlan" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueEmployeeStockPurchasePlan_811295A310B6529863EBE4B286FA5DC0" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_AC3FA0BBECB6647C8997E4C9C747E058" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueEmployeeStockPurchasePlan_811295A310B6529863EBE4B286FA5DC0" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_TreasuryStockValueAcquiredCostMethod" xlink:label="loc_us-gaap_TreasuryStockValueAcquiredCostMethod_BC9DE9F3395B8C5115F1E4B286FA2A94" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_AC3FA0BBECB6647C8997E4C9C747E058" xlink:to="loc_us-gaap_TreasuryStockValueAcquiredCostMethod_BC9DE9F3395B8C5115F1E4B286FA2A94" xlink:type="arc" />
    <loc xlink:href="mtrx-20130906.xsd#mtrx_OtherTreasurySharePurchases" xlink:label="loc_mtrx_OtherTreasurySharePurchases_3D4AE1746BCB77FEC585E4B286FA7F7F" xlink:type="locator" />
    <definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_AC3FA0BBECB6647C8997E4C9C747E058" xlink:to="loc_mtrx_OtherTreasurySharePurchases_3D4AE1746BCB77FEC585E4B286FA7F7F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue" xlink:label="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_1A8D0C79C620E48AE413E4B286FAA212" xlink:type="locator" />
    <definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_AC3FA0BBECB6647C8997E4C9C747E058" xlink:to="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_1A8D0C79C620E48AE413E4B286FAA212" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.matrixservice.com/role/ConsolidatedStatementsOfChangesInStockholdersEquityParenthetical" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaap_StatementLineItems_7CF43957F5AB764592B192D710C9089D" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaap_StatementTable_8F431EB2E81D8BDF15C592D710C9461F" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_7CF43957F5AB764592B192D710C9089D" xlink:to="loc_us-gaap_StatementTable_8F431EB2E81D8BDF15C592D710C9461F" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_StatementEquityComponentsAxis" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_B35998E3BCAA12BFC62992D710C9A2D7" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_8F431EB2E81D8BDF15C592D710C9461F" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_B35998E3BCAA12BFC62992D710C9A2D7" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_1A3490ECF8F889EE35F192D710C95A03_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_B35998E3BCAA12BFC62992D710C9A2D7" xlink:to="loc_us-gaap_EquityComponentDomain_1A3490ECF8F889EE35F192D710C95A03_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_1A3490ECF8F889EE35F192D710C95A03" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_B35998E3BCAA12BFC62992D710C9A2D7" xlink:to="loc_us-gaap_EquityComponentDomain_1A3490ECF8F889EE35F192D710C95A03" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_AdditionalPaidInCapitalMember" xlink:label="loc_us-gaap_AdditionalPaidInCapitalMember_DBF3234B1254E63F31D392D710C92E10" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_1A3490ECF8F889EE35F192D710C95A03" xlink:to="loc_us-gaap_AdditionalPaidInCapitalMember_DBF3234B1254E63F31D392D710C92E10" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_RetainedEarningsMember" xlink:label="loc_us-gaap_RetainedEarningsMember_A5B4F08C3383E0312B7F92D710C9EAB3" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_1A3490ECF8F889EE35F192D710C95A03" xlink:to="loc_us-gaap_RetainedEarningsMember_A5B4F08C3383E0312B7F92D710C9EAB3" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_TreasuryStockMember" xlink:label="loc_us-gaap_TreasuryStockMember_2A30C380503ABA047EEA92D710C91C27" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_1A3490ECF8F889EE35F192D710C95A03" xlink:to="loc_us-gaap_TreasuryStockMember_2A30C380503ABA047EEA92D710C91C27" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_0C7B0759EF7011C50E2292D710C95B50" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_7CF43957F5AB764592B192D710C9089D" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_0C7B0759EF7011C50E2292D710C95B50" xlink:type="arc" />
    <loc xlink:href="mtrx-20130906.xsd#mtrx_DeferredSharesIssued" xlink:label="loc_mtrx_DeferredSharesIssued_794F4DEE8883F1E37C3392D710C9BF13" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_7CF43957F5AB764592B192D710C9089D" xlink:to="loc_mtrx_DeferredSharesIssued_794F4DEE8883F1E37C3392D710C9BF13" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans_1C649F29C86EBC13410692D710C9FFFD" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_7CF43957F5AB764592B192D710C9089D" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans_1C649F29C86EBC13410692D710C9FFFD" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_TreasuryStockSharesAcquired" xlink:label="loc_us-gaap_TreasuryStockSharesAcquired_43D81C437F681E933ADA92D710C9B06C" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_7CF43957F5AB764592B192D710C9089D" xlink:to="loc_us-gaap_TreasuryStockSharesAcquired_43D81C437F681E933ADA92D710C9B06C" xlink:type="arc" />
    <loc xlink:href="mtrx-20130906.xsd#mtrx_OtherTreasurySharesAcquired" xlink:label="loc_mtrx_OtherTreasurySharesAcquired_A849A07A9FDD7F221C9C92D710C90494" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_7CF43957F5AB764592B192D710C9089D" xlink:to="loc_mtrx_OtherTreasurySharesAcquired_A849A07A9FDD7F221C9C92D710C90494" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.matrixservice.com/role/ConsolidatedStatementsOfComprehensiveIncome" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservice.com/role/ConsolidatedStatementsOfComprehensiveIncomeParentheticals" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservice.com/role/ConsolidatedStatementsOfIncome" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservice.com/role/Contingencies" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservice.com/role/ContingenciesDetailsTextual" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservice.com/role/CustomerContracts" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservice.com/role/CustomerContractsDetails" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservice.com/role/CustomerContractsDetailsTextual" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_BusinessAcquisitionLineItems" xlink:label="loc_us-gaap_BusinessAcquisitionLineItems_A6BF3793A4777FA3976CEFD795B62310" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_D6F93CFF324D835106DDEFD795B6681A" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_A6BF3793A4777FA3976CEFD795B62310" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_D6F93CFF324D835106DDEFD795B6681A" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_MajorCustomersAxis" xlink:label="loc_us-gaap_MajorCustomersAxis_4B57638076CFC3CBE02BEFD795B6857B" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_D6F93CFF324D835106DDEFD795B6681A" xlink:to="loc_us-gaap_MajorCustomersAxis_4B57638076CFC3CBE02BEFD795B6857B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_NameOfMajorCustomerDomain" xlink:label="loc_us-gaap_NameOfMajorCustomerDomain_655C7D9AAFA3D8794AB0EFD795B66091_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_MajorCustomersAxis_4B57638076CFC3CBE02BEFD795B6857B" xlink:to="loc_us-gaap_NameOfMajorCustomerDomain_655C7D9AAFA3D8794AB0EFD795B66091_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_NameOfMajorCustomerDomain" xlink:label="loc_us-gaap_NameOfMajorCustomerDomain_655C7D9AAFA3D8794AB0EFD795B66091" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_MajorCustomersAxis_4B57638076CFC3CBE02BEFD795B6857B" xlink:to="loc_us-gaap_NameOfMajorCustomerDomain_655C7D9AAFA3D8794AB0EFD795B66091" xlink:type="arc" />
    <loc xlink:href="mtrx-20130906.xsd#mtrx_SMElectricCompanyMember" xlink:label="loc_mtrx_SMElectricCompanyMember_68F523F44637E8F4B901EFD795B688D8" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NameOfMajorCustomerDomain_655C7D9AAFA3D8794AB0EFD795B66091" xlink:to="loc_mtrx_SMElectricCompanyMember_68F523F44637E8F4B901EFD795B688D8" xlink:type="arc" />
    <loc xlink:href="mtrx-20130906.xsd#mtrx_WesternCanadaAbovegroundStorageTankProjectMember" xlink:label="loc_mtrx_WesternCanadaAbovegroundStorageTankProjectMember_B2A505D6F116074793F0EFD795B6CC08" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NameOfMajorCustomerDomain_655C7D9AAFA3D8794AB0EFD795B66091" xlink:to="loc_mtrx_WesternCanadaAbovegroundStorageTankProjectMember_B2A505D6F116074793F0EFD795B6CC08" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_BA7DF252E3113293E173EFD795B655F3" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_D6F93CFF324D835106DDEFD795B6681A" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_BA7DF252E3113293E173EFD795B655F3" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_BC41BD3186DA52B1B0C4EFD795B6C117_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_BA7DF252E3113293E173EFD795B655F3" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_BC41BD3186DA52B1B0C4EFD795B6C117_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_BC41BD3186DA52B1B0C4EFD795B6C117" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_BA7DF252E3113293E173EFD795B655F3" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_BC41BD3186DA52B1B0C4EFD795B6C117" xlink:type="arc" />
    <loc xlink:href="mtrx-20130906.xsd#mtrx_SmeMember" xlink:label="loc_mtrx_SmeMember_4D6AD0AB77A2C25A732FEFD795B63677" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_BC41BD3186DA52B1B0C4EFD795B6C117" xlink:to="loc_mtrx_SmeMember_4D6AD0AB77A2C25A732FEFD795B63677" xlink:type="arc" />
    <loc xlink:href="mtrx-20130906.xsd#mtrx_BusinessCombinationClaimSettlementReceivables" xlink:label="loc_mtrx_BusinessCombinationClaimSettlementReceivables_3220017926312F9A3059EFD795B6F06C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_A6BF3793A4777FA3976CEFD795B62310" xlink:to="loc_mtrx_BusinessCombinationClaimSettlementReceivables_3220017926312F9A3059EFD795B6F06C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ContractsReceivableClaimsAndUncertainAmountsExpectedToBeCollectedInNextRollingTwelveMonths" xlink:label="loc_us-gaap_ContractsReceivableClaimsAndUncertainAmountsExpectedToBeCollectedInNextRollingTwelveMonths_754602E7F6C28A57AE0BEFD795B60BC0" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_A6BF3793A4777FA3976CEFD795B62310" xlink:to="loc_us-gaap_ContractsReceivableClaimsAndUncertainAmountsExpectedToBeCollectedInNextRollingTwelveMonths_754602E7F6C28A57AE0BEFD795B60BC0" xlink:type="arc" />
    <loc xlink:href="mtrx-20130906.xsd#mtrx_ChangeInAccountingEstimateFinancialEffectOperatingIncome" xlink:label="loc_mtrx_ChangeInAccountingEstimateFinancialEffectOperatingIncome_16FB8BAB600F3D6DD976EFD795B6B216" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_A6BF3793A4777FA3976CEFD795B62310" xlink:to="loc_mtrx_ChangeInAccountingEstimateFinancialEffectOperatingIncome_16FB8BAB600F3D6DD976EFD795B6B216" xlink:type="arc" />
    <loc xlink:href="mtrx-20130906.xsd#mtrx_ChangeInAccountingEstimateFinancialEffectNetIncome" xlink:label="loc_mtrx_ChangeInAccountingEstimateFinancialEffectNetIncome_253BD1CF6A3802719938EFD795B648E9" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_A6BF3793A4777FA3976CEFD795B62310" xlink:to="loc_mtrx_ChangeInAccountingEstimateFinancialEffectNetIncome_253BD1CF6A3802719938EFD795B648E9" xlink:type="arc" />
    <loc xlink:href="mtrx-20130906.xsd#mtrx_ChangeInAccountingEstimateFinancialEffectDilutedEarningsPerShare" xlink:label="loc_mtrx_ChangeInAccountingEstimateFinancialEffectDilutedEarningsPerShare_74C7B7A12BF14D832538EFD795B63F05" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_A6BF3793A4777FA3976CEFD795B62310" xlink:to="loc_mtrx_ChangeInAccountingEstimateFinancialEffectDilutedEarningsPerShare_74C7B7A12BF14D832538EFD795B63F05" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_LossContingencyDamagesAwardedValue" xlink:label="loc_us-gaap_LossContingencyDamagesAwardedValue_21CA88EFA733DC07D4D8EFD795B6D32F" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_A6BF3793A4777FA3976CEFD795B62310" xlink:to="loc_us-gaap_LossContingencyDamagesAwardedValue_21CA88EFA733DC07D4D8EFD795B6D32F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_LossContingencyAccrualCarryingValuePeriodIncreaseDecrease" xlink:label="loc_us-gaap_LossContingencyAccrualCarryingValuePeriodIncreaseDecrease_68746A34ECAD3A8CA79AEFD795B64A1B" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_A6BF3793A4777FA3976CEFD795B62310" xlink:to="loc_us-gaap_LossContingencyAccrualCarryingValuePeriodIncreaseDecrease_68746A34ECAD3A8CA79AEFD795B64A1B" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.matrixservice.com/role/CustomerContractsTables" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservice.com/role/Debt" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservice.com/role/DebtDetails" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservice.com/role/DebtDetailsTextual" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_LineOfCreditFacilityLineItems" xlink:label="loc_us-gaap_LineOfCreditFacilityLineItems_7285CD8A3776F9D315DBEA6B922CBB89" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ScheduleOfAcquiredIndefiniteLivedIntangibleAssetsByMajorClassTable" xlink:label="loc_us-gaap_ScheduleOfAcquiredIndefiniteLivedIntangibleAssetsByMajorClassTable_AA0218A3FD8022E16EADEA6B922C47BA" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_7285CD8A3776F9D315DBEA6B922CBB89" xlink:to="loc_us-gaap_ScheduleOfAcquiredIndefiniteLivedIntangibleAssetsByMajorClassTable_AA0218A3FD8022E16EADEA6B922C47BA" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="mtrx-20130906.xsd#mtrx_VariableRateAxis" xlink:label="loc_mtrx_VariableRateAxis_3CFE66034ED12CF5A036EA7CB62FF7F6" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAcquiredIndefiniteLivedIntangibleAssetsByMajorClassTable_AA0218A3FD8022E16EADEA6B922C47BA" xlink:to="loc_mtrx_VariableRateAxis_3CFE66034ED12CF5A036EA7CB62FF7F6" xlink:type="arc" />
    <loc xlink:href="mtrx-20130906.xsd#mtrx_VariableRateDomain" xlink:label="loc_mtrx_VariableRateDomain_A55D391D6399BE0EA079EA7CEC4337A6_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_mtrx_VariableRateAxis_3CFE66034ED12CF5A036EA7CB62FF7F6" xlink:to="loc_mtrx_VariableRateDomain_A55D391D6399BE0EA079EA7CEC4337A6_default" xlink:type="arc" />
    <loc xlink:href="mtrx-20130906.xsd#mtrx_VariableRateDomain" xlink:label="loc_mtrx_VariableRateDomain_A55D391D6399BE0EA079EA7CEC4337A6" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_mtrx_VariableRateAxis_3CFE66034ED12CF5A036EA7CB62FF7F6" xlink:to="loc_mtrx_VariableRateDomain_A55D391D6399BE0EA079EA7CEC4337A6" xlink:type="arc" />
    <loc xlink:href="mtrx-20130906.xsd#mtrx_CdorRateMember" xlink:label="loc_mtrx_CdorRateMember_135BE93ABFD7F30CD734EA7E3C4C1FB4" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_VariableRateDomain_A55D391D6399BE0EA079EA7CEC4337A6" xlink:to="loc_mtrx_CdorRateMember_135BE93ABFD7F30CD734EA7E3C4C1FB4" xlink:type="arc" />
    <loc xlink:href="mtrx-20130906.xsd#mtrx_CanadianPrimeRateMember" xlink:label="loc_mtrx_CanadianPrimeRateMember_81C44058C41D0BB7BBD6EA810B2E3DCC" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_VariableRateDomain_A55D391D6399BE0EA079EA7CEC4337A6" xlink:to="loc_mtrx_CanadianPrimeRateMember_81C44058C41D0BB7BBD6EA810B2E3DCC" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_RangeAxis" xlink:label="loc_us-gaap_RangeAxis_96AB58064603832F21D3EA6B922C8768" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAcquiredIndefiniteLivedIntangibleAssetsByMajorClassTable_AA0218A3FD8022E16EADEA6B922C47BA" xlink:to="loc_us-gaap_RangeAxis_96AB58064603832F21D3EA6B922C8768" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_0E03168873E085734A02EA6B922C5428_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RangeAxis_96AB58064603832F21D3EA6B922C8768" xlink:to="loc_us-gaap_RangeMember_0E03168873E085734A02EA6B922C5428_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_0E03168873E085734A02EA6B922C5428" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RangeAxis_96AB58064603832F21D3EA6B922C8768" xlink:to="loc_us-gaap_RangeMember_0E03168873E085734A02EA6B922C5428" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_MinimumMember" xlink:label="loc_us-gaap_MinimumMember_89205250D71C9A9B87D6EA6B922CFAA6" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_0E03168873E085734A02EA6B922C5428" xlink:to="loc_us-gaap_MinimumMember_89205250D71C9A9B87D6EA6B922CFAA6" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_MaximumMember" xlink:label="loc_us-gaap_MaximumMember_312DC3CC6A6CFFD2E164EA6B922C9BBF" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_0E03168873E085734A02EA6B922C5428" xlink:to="loc_us-gaap_MaximumMember_312DC3CC6A6CFFD2E164EA6B922C9BBF" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_DebtInstrumentBasisSpreadOnVariableRate" xlink:label="loc_us-gaap_DebtInstrumentBasisSpreadOnVariableRate_DA4974AA2420403533AEEA7A3C5CC547" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_7285CD8A3776F9D315DBEA6B922CBB89" xlink:to="loc_us-gaap_DebtInstrumentBasisSpreadOnVariableRate_DA4974AA2420403533AEEA7A3C5CC547" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_LineOfCreditFacilityUnusedCapacityCommitmentFeePercentage" xlink:label="loc_us-gaap_LineOfCreditFacilityUnusedCapacityCommitmentFeePercentage_33F88C941E570AB106ABEA6B922C058A" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_7285CD8A3776F9D315DBEA6B922CBB89" xlink:to="loc_us-gaap_LineOfCreditFacilityUnusedCapacityCommitmentFeePercentage_33F88C941E570AB106ABEA6B922C058A" xlink:type="arc" />
    <loc xlink:href="mtrx-20130906.xsd#mtrx_LineOfCreditFacilityMaximumBorrowingCapacityAfterConsiderationOfCapacityConstraint" xlink:label="loc_mtrx_LineOfCreditFacilityMaximumBorrowingCapacityAfterConsiderationOfCapacityConstraint_5C9CB8F6C1F0EE4D59D7EA6B922C2E9C" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_7285CD8A3776F9D315DBEA6B922CBB89" xlink:to="loc_mtrx_LineOfCreditFacilityMaximumBorrowingCapacityAfterConsiderationOfCapacityConstraint_5C9CB8F6C1F0EE4D59D7EA6B922C2E9C" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.matrixservice.com/role/DebtTables" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservice.com/role/DocumentAndEntityInformation" xlink:type="extended">
    <loc xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityInformationLineItems" xlink:label="loc_dei_EntityInformationLineItems_FB5214AAD3C456814FEDD35E316594CC" xlink:type="locator" />
    <loc xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntitiesTable" xlink:label="loc_dei_EntitiesTable_9B7B90618CE53EA10FAED35E316525FF" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_dei_EntityInformationLineItems_FB5214AAD3C456814FEDD35E316594CC" xlink:to="loc_dei_EntitiesTable_9B7B90618CE53EA10FAED35E316525FF" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="loc_dei_LegalEntityAxis_444C6DB089A3608D3213D35E3165BC58" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_dei_EntitiesTable_9B7B90618CE53EA10FAED35E316525FF" xlink:to="loc_dei_LegalEntityAxis_444C6DB089A3608D3213D35E3165BC58" xlink:type="arc" />
    <loc xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_EC9CE0E1B07C4AF395D1D35E3165E12C_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_444C6DB089A3608D3213D35E3165BC58" xlink:to="loc_dei_EntityDomain_EC9CE0E1B07C4AF395D1D35E3165E12C_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_EC9CE0E1B07C4AF395D1D35E3165E12C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_444C6DB089A3608D3213D35E3165BC58" xlink:to="loc_dei_EntityDomain_EC9CE0E1B07C4AF395D1D35E3165E12C" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.matrixservice.com/role/EarningsPerCommonShare" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservice.com/role/EarningsPerCommonShareDetails" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservice.com/role/EarningsPerCommonShareDetails1" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_F86AAA8FEFE8EA80E301E4B28628AD2A" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable" xlink:label="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_A771489EFFEF0F3891D3E4B28628F3D3" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_F86AAA8FEFE8EA80E301E4B28628AD2A" xlink:to="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_A771489EFFEF0F3891D3E4B28628F3D3" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_82671394BC675C9FBF2FE4B2862819AB" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_A771489EFFEF0F3891D3E4B28628F3D3" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_82671394BC675C9FBF2FE4B2862819AB" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_AntidilutiveSecuritiesNameDomain" xlink:label="loc_us-gaap_AntidilutiveSecuritiesNameDomain_AC2A40DB4D2CB1F3DB6EE4B286287DBB_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_82671394BC675C9FBF2FE4B2862819AB" xlink:to="loc_us-gaap_AntidilutiveSecuritiesNameDomain_AC2A40DB4D2CB1F3DB6EE4B286287DBB_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_AntidilutiveSecuritiesNameDomain" xlink:label="loc_us-gaap_AntidilutiveSecuritiesNameDomain_AC2A40DB4D2CB1F3DB6EE4B286287DBB" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_82671394BC675C9FBF2FE4B2862819AB" xlink:to="loc_us-gaap_AntidilutiveSecuritiesNameDomain_AC2A40DB4D2CB1F3DB6EE4B286287DBB" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_StockOptionsMember" xlink:label="loc_us-gaap_StockOptionsMember_49DB599F08932FEC2E0FE4B28628C9D8" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_AC2A40DB4D2CB1F3DB6EE4B286287DBB" xlink:to="loc_us-gaap_StockOptionsMember_49DB599F08932FEC2E0FE4B28628C9D8" xlink:type="arc" />
    <loc xlink:href="mtrx-20130906.xsd#mtrx_NonvestedDeferredSharesMember" xlink:label="loc_mtrx_NonvestedDeferredSharesMember_3A8408AD4176BEC888BAE4B28628CEF9" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_AC2A40DB4D2CB1F3DB6EE4B286287DBB" xlink:to="loc_mtrx_NonvestedDeferredSharesMember_3A8408AD4176BEC888BAE4B28628CEF9" xlink:type="arc" />
    <loc xlink:href="mtrx-20130906.xsd#mtrx_AntidilutiveSecuritiesExcludedFromComputationOfDilutedEarningsPerShareAbstract" xlink:label="loc_mtrx_AntidilutiveSecuritiesExcludedFromComputationOfDilutedEarningsPerShareAbstract_782C60760C9245AA372DE4B28628F9D1" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_F86AAA8FEFE8EA80E301E4B28628AD2A" xlink:to="loc_mtrx_AntidilutiveSecuritiesExcludedFromComputationOfDilutedEarningsPerShareAbstract_782C60760C9245AA372DE4B28628F9D1" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_25E2CE99C2DFCC416578E4B28628DDE2" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_AntidilutiveSecuritiesExcludedFromComputationOfDilutedEarningsPerShareAbstract_782C60760C9245AA372DE4B28628F9D1" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_25E2CE99C2DFCC416578E4B28628DDE2" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.matrixservice.com/role/EarningsPerCommonShareTables" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservice.com/role/EmployeeBenefitPlans" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservice.com/role/EmployeeBenefitPlansDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_MultiemployerPlansLineItems" xlink:label="loc_us-gaap_MultiemployerPlansLineItems_F0623197C71D98E1BDD2E983E43BBC5F" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ScheduleOfMultiemployerPlansTable" xlink:label="loc_us-gaap_ScheduleOfMultiemployerPlansTable_7C22BB9D8CED04920D86E983E43BD66A" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_MultiemployerPlansLineItems_F0623197C71D98E1BDD2E983E43BBC5F" xlink:to="loc_us-gaap_ScheduleOfMultiemployerPlansTable_7C22BB9D8CED04920D86E983E43BD66A" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_MultiemployerPlanTypeAxis" xlink:label="loc_us-gaap_MultiemployerPlanTypeAxis_1070972FBF02C5289494E983E43B5400" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfMultiemployerPlansTable_7C22BB9D8CED04920D86E983E43BD66A" xlink:to="loc_us-gaap_MultiemployerPlanTypeAxis_1070972FBF02C5289494E983E43B5400" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_MultiemployerPlansTypeDomain" xlink:label="loc_us-gaap_MultiemployerPlansTypeDomain_DCB70EA1291B2F1144B4E983E43B23F0_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_MultiemployerPlanTypeAxis_1070972FBF02C5289494E983E43B5400" xlink:to="loc_us-gaap_MultiemployerPlansTypeDomain_DCB70EA1291B2F1144B4E983E43B23F0_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_MultiemployerPlansTypeDomain" xlink:label="loc_us-gaap_MultiemployerPlansTypeDomain_DCB70EA1291B2F1144B4E983E43B23F0" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_MultiemployerPlanTypeAxis_1070972FBF02C5289494E983E43B5400" xlink:to="loc_us-gaap_MultiemployerPlansTypeDomain_DCB70EA1291B2F1144B4E983E43B23F0" xlink:type="arc" />
    <loc xlink:href="mtrx-20130906.xsd#mtrx_JointPensionFundLocalUnionOneSixFourIbewMember" xlink:label="loc_mtrx_JointPensionFundLocalUnionOneSixFourIbewMember_D0A6CB6653E597566C25E983E43B09C9" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MultiemployerPlansTypeDomain_DCB70EA1291B2F1144B4E983E43B23F0" xlink:to="loc_mtrx_JointPensionFundLocalUnionOneSixFourIbewMember_D0A6CB6653E597566C25E983E43B09C9" xlink:type="arc" />
    <loc xlink:href="mtrx-20130906.xsd#mtrx_BoilermakerBlacksmithNationalPensionTrustMember" xlink:label="loc_mtrx_BoilermakerBlacksmithNationalPensionTrustMember_66A800AE47CEFDC53B9DE983E43B9A7E" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MultiemployerPlansTypeDomain_DCB70EA1291B2F1144B4E983E43B23F0" xlink:to="loc_mtrx_BoilermakerBlacksmithNationalPensionTrustMember_66A800AE47CEFDC53B9DE983E43B9A7E" xlink:type="arc" />
    <loc xlink:href="mtrx-20130906.xsd#mtrx_JointPensionFundLocalUnionNumberOneZeroTwoMemberDomain" xlink:label="loc_mtrx_JointPensionFundLocalUnionNumberOneZeroTwoMemberDomain_8CA5B2074B2ACD799228E983E43B05C2" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MultiemployerPlansTypeDomain_DCB70EA1291B2F1144B4E983E43B23F0" xlink:to="loc_mtrx_JointPensionFundLocalUnionNumberOneZeroTwoMemberDomain_8CA5B2074B2ACD799228E983E43B05C2" xlink:type="arc" />
    <loc xlink:href="mtrx-20130906.xsd#mtrx_IBEWLocalFourFiveSixPensionPlanMemberDomain" xlink:label="loc_mtrx_IBEWLocalFourFiveSixPensionPlanMemberDomain_18C78B50268B54DE3417E983E43B8E6C" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MultiemployerPlansTypeDomain_DCB70EA1291B2F1144B4E983E43B23F0" xlink:to="loc_mtrx_IBEWLocalFourFiveSixPensionPlanMemberDomain_18C78B50268B54DE3417E983E43B8E6C" xlink:type="arc" />
    <loc xlink:href="mtrx-20130906.xsd#mtrx_LocalThreeFiveOneIbewPensionPlanMember" xlink:label="loc_mtrx_LocalThreeFiveOneIbewPensionPlanMember_E233C966191B6D4172DAE983E43B9DE7" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MultiemployerPlansTypeDomain_DCB70EA1291B2F1144B4E983E43B23F0" xlink:to="loc_mtrx_LocalThreeFiveOneIbewPensionPlanMember_E233C966191B6D4172DAE983E43B9DE7" xlink:type="arc" />
    <loc xlink:href="mtrx-20130906.xsd#mtrx_SteamfittersLocalUnionNumberFourTwoZeroPensionPlanMemberDomain" xlink:label="loc_mtrx_SteamfittersLocalUnionNumberFourTwoZeroPensionPlanMemberDomain_24C388F345D630D8A2B6E983E43B9BA7" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MultiemployerPlansTypeDomain_DCB70EA1291B2F1144B4E983E43B23F0" xlink:to="loc_mtrx_SteamfittersLocalUnionNumberFourTwoZeroPensionPlanMemberDomain_24C388F345D630D8A2B6E983E43B9BA7" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_MultiemployerPlansCollectiveBargainingArrangementExpirationDateDescription" xlink:label="loc_us-gaap_MultiemployerPlansCollectiveBargainingArrangementExpirationDateDescription_A6A71832734DBA3EB934EA2605A6942F" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MultiemployerPlansLineItems_F0623197C71D98E1BDD2E983E43BBC5F" xlink:to="loc_us-gaap_MultiemployerPlansCollectiveBargainingArrangementExpirationDateDescription_A6A71832734DBA3EB934EA2605A6942F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_MultiemployerPlansAbstract" xlink:label="loc_us-gaap_MultiemployerPlansAbstract_41586E689AD069F25AFCE983E43CB88E" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MultiemployerPlansLineItems_F0623197C71D98E1BDD2E983E43BBC5F" xlink:to="loc_us-gaap_MultiemployerPlansAbstract_41586E689AD069F25AFCE983E43CB88E" xlink:type="arc" />
    <loc xlink:href="mtrx-20130906.xsd#mtrx_MultiemployerPlansNumber" xlink:label="loc_mtrx_MultiemployerPlansNumber_A1A7FDF3FD5AD9DB83E6E983E43C74FC" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MultiemployerPlansAbstract_41586E689AD069F25AFCE983E43CB88E" xlink:to="loc_mtrx_MultiemployerPlansNumber_A1A7FDF3FD5AD9DB83E6E983E43C74FC" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_MultiemployerPlansCertifiedZoneStatus" xlink:label="loc_us-gaap_MultiemployerPlansCertifiedZoneStatus_2AA2C80CA87BCAB4D843E983E43C987C" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MultiemployerPlansAbstract_41586E689AD069F25AFCE983E43CB88E" xlink:to="loc_us-gaap_MultiemployerPlansCertifiedZoneStatus_2AA2C80CA87BCAB4D843E983E43C987C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_MultiemployerPlansFundingImprovementPlanAndRehabilitationPlan" xlink:label="loc_us-gaap_MultiemployerPlansFundingImprovementPlanAndRehabilitationPlan_BFE31736EFCFD9CF9430E983E43CBE31" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MultiemployerPlansAbstract_41586E689AD069F25AFCE983E43CB88E" xlink:to="loc_us-gaap_MultiemployerPlansFundingImprovementPlanAndRehabilitationPlan_BFE31736EFCFD9CF9430E983E43CBE31" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_MultiemployerPlanPeriodContributions" xlink:label="loc_us-gaap_MultiemployerPlanPeriodContributions_9D69B306518D8C5285B1E983E43CD740" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MultiemployerPlansAbstract_41586E689AD069F25AFCE983E43CB88E" xlink:to="loc_us-gaap_MultiemployerPlanPeriodContributions_9D69B306518D8C5285B1E983E43CD740" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_MultiemployerPlansSurcharge" xlink:label="loc_us-gaap_MultiemployerPlansSurcharge_E303CB733963AA46A886E983E43CB5F4" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MultiemployerPlansAbstract_41586E689AD069F25AFCE983E43CB88E" xlink:to="loc_us-gaap_MultiemployerPlansSurcharge_E303CB733963AA46A886E983E43CB5F4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_MultiemployerPlansCollectiveBargainingArrangementExpirationDate" xlink:label="loc_us-gaap_MultiemployerPlansCollectiveBargainingArrangementExpirationDate_ACE192B3D61F72858FA6E983E43CF50F" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MultiemployerPlansAbstract_41586E689AD069F25AFCE983E43CB88E" xlink:to="loc_us-gaap_MultiemployerPlansCollectiveBargainingArrangementExpirationDate_ACE192B3D61F72858FA6E983E43CF50F" xlink:type="arc" />
    <loc xlink:href="mtrx-20130906.xsd#mtrx_ContributionsToOtherMultiemployerPlans" xlink:label="loc_mtrx_ContributionsToOtherMultiemployerPlans_F00434D34924B39667ACE983E43CC46C" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MultiemployerPlansAbstract_41586E689AD069F25AFCE983E43CB88E" xlink:to="loc_mtrx_ContributionsToOtherMultiemployerPlans_F00434D34924B39667ACE983E43CC46C" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.matrixservice.com/role/EmployeeBenefitPlansDetailsTextual" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_MultiemployerPlansLineItems" xlink:label="loc_us-gaap_MultiemployerPlansLineItems_F931C1F4CBF76A71EF59E9492117A39E" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ScheduleOfMultiemployerPlansTable" xlink:label="loc_us-gaap_ScheduleOfMultiemployerPlansTable_0617B58EF9C9053C610BE94921174CAD" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_MultiemployerPlansLineItems_F931C1F4CBF76A71EF59E9492117A39E" xlink:to="loc_us-gaap_ScheduleOfMultiemployerPlansTable_0617B58EF9C9053C610BE94921174CAD" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="mtrx-20130906.xsd#mtrx_MultiemployerPlanZoneByTypeAxis" xlink:label="loc_mtrx_MultiemployerPlanZoneByTypeAxis_F5C3284EDCB0583F6DCDE94921177BDE" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfMultiemployerPlansTable_0617B58EF9C9053C610BE94921174CAD" xlink:to="loc_mtrx_MultiemployerPlanZoneByTypeAxis_F5C3284EDCB0583F6DCDE94921177BDE" xlink:type="arc" />
    <loc xlink:href="mtrx-20130906.xsd#mtrx_MultiemployerPlanZoneByTypeDomain" xlink:label="loc_mtrx_MultiemployerPlanZoneByTypeDomain_5E8E7B4E82812B9D7511E9492117D71E_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_mtrx_MultiemployerPlanZoneByTypeAxis_F5C3284EDCB0583F6DCDE94921177BDE" xlink:to="loc_mtrx_MultiemployerPlanZoneByTypeDomain_5E8E7B4E82812B9D7511E9492117D71E_default" xlink:type="arc" />
    <loc xlink:href="mtrx-20130906.xsd#mtrx_MultiemployerPlanZoneByTypeDomain" xlink:label="loc_mtrx_MultiemployerPlanZoneByTypeDomain_5E8E7B4E82812B9D7511E9492117D71E" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_mtrx_MultiemployerPlanZoneByTypeAxis_F5C3284EDCB0583F6DCDE94921177BDE" xlink:to="loc_mtrx_MultiemployerPlanZoneByTypeDomain_5E8E7B4E82812B9D7511E9492117D71E" xlink:type="arc" />
    <loc xlink:href="mtrx-20130906.xsd#mtrx_ZoneRedMember" xlink:label="loc_mtrx_ZoneRedMember_276418E4C94EBDB14B85E9492117E9F4" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_MultiemployerPlanZoneByTypeDomain_5E8E7B4E82812B9D7511E9492117D71E" xlink:to="loc_mtrx_ZoneRedMember_276418E4C94EBDB14B85E9492117E9F4" xlink:type="arc" />
    <loc xlink:href="mtrx-20130906.xsd#mtrx_ZoneYellowMember" xlink:label="loc_mtrx_ZoneYellowMember_D62E1C26E1CBEF33D188E94921177519" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_MultiemployerPlanZoneByTypeDomain_5E8E7B4E82812B9D7511E9492117D71E" xlink:to="loc_mtrx_ZoneYellowMember_D62E1C26E1CBEF33D188E94921177519" xlink:type="arc" />
    <loc xlink:href="mtrx-20130906.xsd#mtrx_ZoneGreenMember" xlink:label="loc_mtrx_ZoneGreenMember_B6BD89B2CF01CA04C238E949211795A2" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_MultiemployerPlanZoneByTypeDomain_5E8E7B4E82812B9D7511E9492117D71E" xlink:to="loc_mtrx_ZoneGreenMember_B6BD89B2CF01CA04C238E949211795A2" xlink:type="arc" />
    <loc xlink:href="mtrx-20130906.xsd#mtrx_PercentageOfPlanFunded" xlink:label="loc_mtrx_PercentageOfPlanFunded_A2A769F9FD1937535E10E949211731A7" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MultiemployerPlansLineItems_F931C1F4CBF76A71EF59E9492117A39E" xlink:to="loc_mtrx_PercentageOfPlanFunded_A2A769F9FD1937535E10E949211731A7" xlink:type="arc" />
    <loc xlink:href="mtrx-20130906.xsd#mtrx_DescriptionOfFundedPortionOfPlan" xlink:label="loc_mtrx_DescriptionOfFundedPortionOfPlan_F23F09ACE594583B7882E94921173D60" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MultiemployerPlansLineItems_F931C1F4CBF76A71EF59E9492117A39E" xlink:to="loc_mtrx_DescriptionOfFundedPortionOfPlan_F23F09ACE594583B7882E94921173D60" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.matrixservice.com/role/EmployeeBenefitPlansTables" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservice.com/role/GoodwillAndOtherIntangibleAssets" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservice.com/role/GoodwillAndOtherIntangibleAssetsDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_GoodwillLineItems" xlink:label="loc_us-gaap_GoodwillLineItems_2A912227D01E55B40E66EF3397FBFE3E" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ScheduleOfGoodwillTable" xlink:label="loc_us-gaap_ScheduleOfGoodwillTable_1A74EEC2057526254E5DEF3397FBA242" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_GoodwillLineItems_2A912227D01E55B40E66EF3397FBFE3E" xlink:to="loc_us-gaap_ScheduleOfGoodwillTable_1A74EEC2057526254E5DEF3397FBA242" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_StatementBusinessSegmentsAxis" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_E728FC20C5B3472F5322EF3397FBD6CB" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfGoodwillTable_1A74EEC2057526254E5DEF3397FBA242" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_E728FC20C5B3472F5322EF3397FBD6CB" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_3AB48AE56C1387E39733EF3397FB4024_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_E728FC20C5B3472F5322EF3397FBD6CB" xlink:to="loc_us-gaap_SegmentDomain_3AB48AE56C1387E39733EF3397FB4024_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_3AB48AE56C1387E39733EF3397FB4024" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_E728FC20C5B3472F5322EF3397FBD6CB" xlink:to="loc_us-gaap_SegmentDomain_3AB48AE56C1387E39733EF3397FB4024" xlink:type="arc" />
    <loc xlink:href="mtrx-20130906.xsd#mtrx_ElectricalInfrastructureMember" xlink:label="loc_mtrx_ElectricalInfrastructureMember_4B8A3F372DF0C6900DFEEF3397FB1383" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_3AB48AE56C1387E39733EF3397FB4024" xlink:to="loc_mtrx_ElectricalInfrastructureMember_4B8A3F372DF0C6900DFEEF3397FB1383" xlink:type="arc" />
    <loc xlink:href="mtrx-20130906.xsd#mtrx_OilGasAndChemicalMember" xlink:label="loc_mtrx_OilGasAndChemicalMember_11846D1782DDA127FB6CEF3397FB8CDB" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_3AB48AE56C1387E39733EF3397FB4024" xlink:to="loc_mtrx_OilGasAndChemicalMember_11846D1782DDA127FB6CEF3397FB8CDB" xlink:type="arc" />
    <loc xlink:href="mtrx-20130906.xsd#mtrx_StorageSolutionsMember" xlink:label="loc_mtrx_StorageSolutionsMember_CA35A219BC756302618BEF3397FBE849" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_3AB48AE56C1387E39733EF3397FB4024" xlink:to="loc_mtrx_StorageSolutionsMember_CA35A219BC756302618BEF3397FBE849" xlink:type="arc" />
    <loc xlink:href="mtrx-20130906.xsd#mtrx_IndustrialMember" xlink:label="loc_mtrx_IndustrialMember_62552E066E3A4845BF3AEF3397FB5C16" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_3AB48AE56C1387E39733EF3397FB4024" xlink:to="loc_mtrx_IndustrialMember_62552E066E3A4845BF3AEF3397FB5C16" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_GoodwillRollForward" xlink:label="loc_us-gaap_GoodwillRollForward_7009982EEE59865621B3EF3397FB6211" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillLineItems_2A912227D01E55B40E66EF3397FBFE3E" xlink:to="loc_us-gaap_GoodwillRollForward_7009982EEE59865621B3EF3397FB6211" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_GoodwillGross" xlink:label="loc_us-gaap_GoodwillGross_36063CBCCF4895F5C63AEF3397FC1E9E" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillRollForward_7009982EEE59865621B3EF3397FB6211" xlink:to="loc_us-gaap_GoodwillGross_36063CBCCF4895F5C63AEF3397FC1E9E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_GoodwillImpairedAccumulatedImpairmentLoss" xlink:label="loc_us-gaap_GoodwillImpairedAccumulatedImpairmentLoss_2E0791E41220C3657312EF3397FC8AEC" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillRollForward_7009982EEE59865621B3EF3397FB6211" xlink:to="loc_us-gaap_GoodwillImpairedAccumulatedImpairmentLoss_2E0791E41220C3657312EF3397FC8AEC" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_Goodwill" xlink:label="loc_us-gaap_Goodwill_7F92D6E458D45A477F25EF3397FC3008" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillRollForward_7009982EEE59865621B3EF3397FB6211" xlink:to="loc_us-gaap_Goodwill_7F92D6E458D45A477F25EF3397FC3008" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_GoodwillPurchaseAccountingAdjustments" xlink:label="loc_us-gaap_GoodwillPurchaseAccountingAdjustments_417CFF441F4F70307756EF3397FCC6A5" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillRollForward_7009982EEE59865621B3EF3397FB6211" xlink:to="loc_us-gaap_GoodwillPurchaseAccountingAdjustments_417CFF441F4F70307756EF3397FCC6A5" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_GoodwillAcquiredDuringPeriod" xlink:label="loc_us-gaap_GoodwillAcquiredDuringPeriod_07D35237B3A4286E4055EF3397FCC179" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillRollForward_7009982EEE59865621B3EF3397FB6211" xlink:to="loc_us-gaap_GoodwillAcquiredDuringPeriod_07D35237B3A4286E4055EF3397FCC179" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_GoodwillTranslationAdjustments" xlink:label="loc_us-gaap_GoodwillTranslationAdjustments_A7B6D8B60BEB0A9E73C7EF3397FC7B98" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillRollForward_7009982EEE59865621B3EF3397FB6211" xlink:to="loc_us-gaap_GoodwillTranslationAdjustments_A7B6D8B60BEB0A9E73C7EF3397FC7B98" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.matrixservice.com/role/GoodwillAndOtherIntangibleAssetsDetails1" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsLineItems" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_FB97F913B6951A8FDB76EFBC6836752B" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable" xlink:label="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_E2C578BD6FF83D8C2D9CEFBC6836A1C2" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_FB97F913B6951A8FDB76EFBC6836752B" xlink:to="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_E2C578BD6FF83D8C2D9CEFBC6836A1C2" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_36155D92615029A15FA1EFBC6836217E" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_E2C578BD6FF83D8C2D9CEFBC6836A1C2" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_36155D92615029A15FA1EFBC6836217E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_F57694A2048E62AEB2A9EFBC6836AB58_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_36155D92615029A15FA1EFBC6836217E" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_F57694A2048E62AEB2A9EFBC6836AB58_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_F57694A2048E62AEB2A9EFBC6836AB58" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_36155D92615029A15FA1EFBC6836217E" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_F57694A2048E62AEB2A9EFBC6836AB58" xlink:type="arc" />
    <loc xlink:href="mtrx-20130906.xsd#mtrx_IntellectualPropertyMember" xlink:label="loc_mtrx_IntellectualPropertyMember_192AFEDBA4D09459E14CEFBC6836FEBB" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_F57694A2048E62AEB2A9EFBC6836AB58" xlink:to="loc_mtrx_IntellectualPropertyMember_192AFEDBA4D09459E14CEFBC6836FEBB" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_CustomerRelationshipsMember" xlink:label="loc_us-gaap_CustomerRelationshipsMember_44663091D31EB57A63DCEFBC68368ECF" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_F57694A2048E62AEB2A9EFBC6836AB58" xlink:to="loc_us-gaap_CustomerRelationshipsMember_44663091D31EB57A63DCEFBC68368ECF" xlink:type="arc" />
    <loc xlink:href="mtrx-20130906.xsd#mtrx_CustomerBasedMember" xlink:label="loc_mtrx_CustomerBasedMember_054965AE853E9EEFEAE2EFBC6836D02F" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_F57694A2048E62AEB2A9EFBC6836AB58" xlink:to="loc_mtrx_CustomerBasedMember_054965AE853E9EEFEAE2EFBC6836D02F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_NoncompeteAgreementsMember" xlink:label="loc_us-gaap_NoncompeteAgreementsMember_CBD846562EC2DF99047BEFBC6836721F" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_F57694A2048E62AEB2A9EFBC6836AB58" xlink:to="loc_us-gaap_NoncompeteAgreementsMember_CBD846562EC2DF99047BEFBC6836721F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_TradeNamesMember" xlink:label="loc_us-gaap_TradeNamesMember_9BC4DD74A6514B4E0DB0EFBC68360FD2" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_F57694A2048E62AEB2A9EFBC6836AB58" xlink:to="loc_us-gaap_TradeNamesMember_9BC4DD74A6514B4E0DB0EFBC68360FD2" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis_5F5FBF2B32A53AA32D41EFBC6836E9A1" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_E2C578BD6FF83D8C2D9CEFBC6836A1C2" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis_5F5FBF2B32A53AA32D41EFBC6836E9A1" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_DE409EA7EE7B478F4325EFBC6836CC10_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis_5F5FBF2B32A53AA32D41EFBC6836E9A1" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_DE409EA7EE7B478F4325EFBC6836CC10_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_DE409EA7EE7B478F4325EFBC6836CC10" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis_5F5FBF2B32A53AA32D41EFBC6836E9A1" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_DE409EA7EE7B478F4325EFBC6836CC10" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_TradeNamesMember" xlink:label="loc_us-gaap_TradeNamesMember_9F622AF486188CF621EFEFBC68364DFF" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_DE409EA7EE7B478F4325EFBC6836CC10" xlink:to="loc_us-gaap_TradeNamesMember_9F622AF486188CF621EFEFBC68364DFF" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_RangeAxis" xlink:label="loc_us-gaap_RangeAxis_1867EFAAF5DF27D3F006EFBC68365F27" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_E2C578BD6FF83D8C2D9CEFBC6836A1C2" xlink:to="loc_us-gaap_RangeAxis_1867EFAAF5DF27D3F006EFBC68365F27" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_61074C375A57DAB81857EFBC6836F188_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RangeAxis_1867EFAAF5DF27D3F006EFBC68365F27" xlink:to="loc_us-gaap_RangeMember_61074C375A57DAB81857EFBC6836F188_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_61074C375A57DAB81857EFBC6836F188" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RangeAxis_1867EFAAF5DF27D3F006EFBC68365F27" xlink:to="loc_us-gaap_RangeMember_61074C375A57DAB81857EFBC6836F188" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_MinimumMember" xlink:label="loc_us-gaap_MinimumMember_59895AA9FFFE04FF9652EFBC6836694A" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_61074C375A57DAB81857EFBC6836F188" xlink:to="loc_us-gaap_MinimumMember_59895AA9FFFE04FF9652EFBC6836694A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_MaximumMember" xlink:label="loc_us-gaap_MaximumMember_390658386F88939D4E4CEFBC683684E9" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_61074C375A57DAB81857EFBC6836F188" xlink:to="loc_us-gaap_MaximumMember_390658386F88939D4E4CEFBC683684E9" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsFairValueDisclosure" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsFairValueDisclosure_C407BBB4902547313BF1EFBC68363B78" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_FB97F913B6951A8FDB76EFBC6836752B" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsFairValueDisclosure_C407BBB4902547313BF1EFBC68363B78" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwillAbstract" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwillAbstract_0B7D8AED9E6946A3C5AFEFBC68366D8D" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_FB97F913B6951A8FDB76EFBC6836752B" xlink:to="loc_us-gaap_IntangibleAssetsNetExcludingGoodwillAbstract_0B7D8AED9E6946A3C5AFEFBC68366D8D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetUsefulLife" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetUsefulLife_771CC702EE397808D131EFBC6836B607" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IntangibleAssetsNetExcludingGoodwillAbstract_0B7D8AED9E6946A3C5AFEFBC68366D8D" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetUsefulLife_771CC702EE397808D131EFBC6836B607" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsGross" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsGross_3AF054FB8488B15E7839EFBC6836F514" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IntangibleAssetsNetExcludingGoodwillAbstract_0B7D8AED9E6946A3C5AFEFBC68366D8D" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsGross_3AF054FB8488B15E7839EFBC6836F514" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_30B58C04FC8CC33478DDEFBC68366AFB" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IntangibleAssetsNetExcludingGoodwillAbstract_0B7D8AED9E6946A3C5AFEFBC68366D8D" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_30B58C04FC8CC33478DDEFBC68366AFB" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsNet" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_5F68DDABC380515DE362EFBC6836DFFE" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IntangibleAssetsNetExcludingGoodwillAbstract_0B7D8AED9E6946A3C5AFEFBC68366D8D" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsNet_5F68DDABC380515DE362EFBC6836DFFE" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_IndefiniteLivedTradeNames" xlink:label="loc_us-gaap_IndefiniteLivedTradeNames_C5DC9901DE49FC2F81D7EFBC68367ADA" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IntangibleAssetsNetExcludingGoodwillAbstract_0B7D8AED9E6946A3C5AFEFBC68366D8D" xlink:to="loc_us-gaap_IndefiniteLivedTradeNames_C5DC9901DE49FC2F81D7EFBC68367ADA" xlink:type="arc" />
    <loc xlink:href="mtrx-20130906.xsd#mtrx_IntangibleAssetsGrossExcludingGoodwill" xlink:label="loc_mtrx_IntangibleAssetsGrossExcludingGoodwill_72B9994D915ABA866D3CEFBC68366A55" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IntangibleAssetsNetExcludingGoodwillAbstract_0B7D8AED9E6946A3C5AFEFBC68366D8D" xlink:to="loc_mtrx_IntangibleAssetsGrossExcludingGoodwill_72B9994D915ABA866D3CEFBC68366A55" xlink:type="arc" />
    <loc xlink:href="mtrx-20130906.xsd#mtrx_IntangibleAssetsAccumulatedAmortizationExcludingGoodwill" xlink:label="loc_mtrx_IntangibleAssetsAccumulatedAmortizationExcludingGoodwill_1CFE382F4D066E6EF605EFBC68366108" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IntangibleAssetsNetExcludingGoodwillAbstract_0B7D8AED9E6946A3C5AFEFBC68366D8D" xlink:to="loc_mtrx_IntangibleAssetsAccumulatedAmortizationExcludingGoodwill_1CFE382F4D066E6EF605EFBC68366108" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_42FC0BA7263CB61F514AEFBC68361854" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IntangibleAssetsNetExcludingGoodwillAbstract_0B7D8AED9E6946A3C5AFEFBC68366D8D" xlink:to="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_42FC0BA7263CB61F514AEFBC68361854" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.matrixservice.com/role/GoodwillAndOtherIntangibleAssetsDetailsTextual" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_GoodwillLineItems" xlink:label="loc_us-gaap_GoodwillLineItems_CF95CF89923D325B0930E92109EAEE8E" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ScheduleOfGoodwillTable" xlink:label="loc_us-gaap_ScheduleOfGoodwillTable_364A8468042C3262E7CEE92109EA18CF" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_GoodwillLineItems_CF95CF89923D325B0930E92109EAEE8E" xlink:to="loc_us-gaap_ScheduleOfGoodwillTable_364A8468042C3262E7CEE92109EA18CF" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_5D11F0796A817D27928FE922D5A67374" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfGoodwillTable_364A8468042C3262E7CEE92109EA18CF" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_5D11F0796A817D27928FE922D5A67374" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_E4E31575D944C23524D1E922D74B6C1E_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_5D11F0796A817D27928FE922D5A67374" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_E4E31575D944C23524D1E922D74B6C1E_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_E4E31575D944C23524D1E922D74B6C1E" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_5D11F0796A817D27928FE922D5A67374" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_E4E31575D944C23524D1E922D74B6C1E" xlink:type="arc" />
    <loc xlink:href="mtrx-20130906.xsd#mtrx_EdcMember" xlink:label="loc_mtrx_EdcMember_95D32B5D14AABF31AF79E922D6811116" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_5D11F0796A817D27928FE922D5A67374" xlink:to="loc_mtrx_EdcMember_95D32B5D14AABF31AF79E922D6811116" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_6EEDE66F3CC75120B294E92109EA025C" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfGoodwillTable_364A8468042C3262E7CEE92109EA18CF" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_6EEDE66F3CC75120B294E92109EA025C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_0C68ECDBFC582AD55541E92109EAE2CC_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_6EEDE66F3CC75120B294E92109EA025C" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_0C68ECDBFC582AD55541E92109EAE2CC_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_0C68ECDBFC582AD55541E92109EAE2CC" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_6EEDE66F3CC75120B294E92109EA025C" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_0C68ECDBFC582AD55541E92109EAE2CC" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_CustomerRelationshipsMember" xlink:label="loc_us-gaap_CustomerRelationshipsMember_A737072282B4FB1ED6C0E92109EA5D20" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_0C68ECDBFC582AD55541E92109EAE2CC" xlink:to="loc_us-gaap_CustomerRelationshipsMember_A737072282B4FB1ED6C0E92109EA5D20" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_NoncompeteAgreementsMember" xlink:label="loc_us-gaap_NoncompeteAgreementsMember_67BE71AB80A7C8A5F8BFE92109EA24DC" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_0C68ECDBFC582AD55541E92109EAE2CC" xlink:to="loc_us-gaap_NoncompeteAgreementsMember_67BE71AB80A7C8A5F8BFE92109EA24DC" xlink:type="arc" />
    <loc xlink:href="mtrx-20130906.xsd#mtrx_CustomerBasedMember" xlink:label="loc_mtrx_CustomerBasedMember_24014B1D43B19933C989E92109EAC873" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_0C68ECDBFC582AD55541E92109EAE2CC" xlink:to="loc_mtrx_CustomerBasedMember_24014B1D43B19933C989E92109EAC873" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_RangeAxis" xlink:label="loc_us-gaap_RangeAxis_23AA1305526FDA8CD0D6E92109EA687C" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfGoodwillTable_364A8468042C3262E7CEE92109EA18CF" xlink:to="loc_us-gaap_RangeAxis_23AA1305526FDA8CD0D6E92109EA687C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_E75BCAE0AEB87E1DF10FE92109EAA704_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RangeAxis_23AA1305526FDA8CD0D6E92109EA687C" xlink:to="loc_us-gaap_RangeMember_E75BCAE0AEB87E1DF10FE92109EAA704_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_E75BCAE0AEB87E1DF10FE92109EAA704" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RangeAxis_23AA1305526FDA8CD0D6E92109EA687C" xlink:to="loc_us-gaap_RangeMember_E75BCAE0AEB87E1DF10FE92109EAA704" xlink:type="arc" />
    <loc xlink:href="mtrx-20130906.xsd#mtrx_PelichemIndustrialCleaningServicesLlcMember" xlink:label="loc_mtrx_PelichemIndustrialCleaningServicesLlcMember_87D2E7A88A2B4C015196E92109EA7FB4" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_E75BCAE0AEB87E1DF10FE92109EAA704" xlink:to="loc_mtrx_PelichemIndustrialCleaningServicesLlcMember_87D2E7A88A2B4C015196E92109EA7FB4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsFairValueDisclosure" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsFairValueDisclosure_82A239CB14459AF4C18FE92109EAB0E7" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillLineItems_CF95CF89923D325B0930E92109EAEE8E" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsFairValueDisclosure_82A239CB14459AF4C18FE92109EAB0E7" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetUsefulLife" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetUsefulLife_D4FBF1E43E7CEDC39839E92109EA51B8" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillLineItems_CF95CF89923D325B0930E92109EAEE8E" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetUsefulLife_D4FBF1E43E7CEDC39839E92109EA51B8" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.matrixservice.com/role/GoodwillAndOtherIntangibleAssetsTables" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservice.com/role/IncomeTaxes" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservice.com/role/IncomeTaxesDetails" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservice.com/role/IncomeTaxesDetails1" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservice.com/role/IncomeTaxesDetails2" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservice.com/role/IncomeTaxesDetails3" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservice.com/role/IncomeTaxesDetails4" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservice.com/role/IncomeTaxesDetailsTextual" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservice.com/role/IncomeTaxesTables" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservice.com/role/Leases" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservice.com/role/LeasesDetailsTextual" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservice.com/role/QuarterlyFinancialDataUnauditedDetails" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservice.com/role/QuarterlyFinancialDataUnauditedDetails1" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaap_StatementLineItems_C262BF4F528F6702BBDBE9AAC6AFBB4B" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaap_StatementTable_E3A35C8F9D02B8BF67DCE9AAC6AF0699" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_C262BF4F528F6702BBDBE9AAC6AFBB4B" xlink:to="loc_us-gaap_StatementTable_E3A35C8F9D02B8BF67DCE9AAC6AF0699" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_MajorCustomersAxis" xlink:label="loc_us-gaap_MajorCustomersAxis_7848CDA6487EAE70BFB3E9AAC6AF5CE3" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_E3A35C8F9D02B8BF67DCE9AAC6AF0699" xlink:to="loc_us-gaap_MajorCustomersAxis_7848CDA6487EAE70BFB3E9AAC6AF5CE3" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_NameOfMajorCustomerDomain" xlink:label="loc_us-gaap_NameOfMajorCustomerDomain_6E829D5CE45CE60DB650E9AAC6AF86B2_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_MajorCustomersAxis_7848CDA6487EAE70BFB3E9AAC6AF5CE3" xlink:to="loc_us-gaap_NameOfMajorCustomerDomain_6E829D5CE45CE60DB650E9AAC6AF86B2_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_NameOfMajorCustomerDomain" xlink:label="loc_us-gaap_NameOfMajorCustomerDomain_6E829D5CE45CE60DB650E9AAC6AF86B2" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_MajorCustomersAxis_7848CDA6487EAE70BFB3E9AAC6AF5CE3" xlink:to="loc_us-gaap_NameOfMajorCustomerDomain_6E829D5CE45CE60DB650E9AAC6AF86B2" xlink:type="arc" />
    <loc xlink:href="mtrx-20130906.xsd#mtrx_WesternCanadaAbovegroundStorageTankProjectMember" xlink:label="loc_mtrx_WesternCanadaAbovegroundStorageTankProjectMember_FD28C64639F8E9ECDA4FE9AAC6AF70DA" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NameOfMajorCustomerDomain_6E829D5CE45CE60DB650E9AAC6AF86B2" xlink:to="loc_mtrx_WesternCanadaAbovegroundStorageTankProjectMember_FD28C64639F8E9ECDA4FE9AAC6AF70DA" xlink:type="arc" />
    <loc xlink:href="mtrx-20130906.xsd#mtrx_ChangeInAccountingEstimateFinancialEffectOperatingIncome" xlink:label="loc_mtrx_ChangeInAccountingEstimateFinancialEffectOperatingIncome_59D5157E4EA02957C4D4E9AAC6AFB112" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_C262BF4F528F6702BBDBE9AAC6AFBB4B" xlink:to="loc_mtrx_ChangeInAccountingEstimateFinancialEffectOperatingIncome_59D5157E4EA02957C4D4E9AAC6AFB112" xlink:type="arc" />
    <loc xlink:href="mtrx-20130906.xsd#mtrx_IncomeTaxAdjustmentCurrentYear" xlink:label="loc_mtrx_IncomeTaxAdjustmentCurrentYear_C03CA5356029DED0A48BE9AAC6B053C6" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_C262BF4F528F6702BBDBE9AAC6AFBB4B" xlink:to="loc_mtrx_IncomeTaxAdjustmentCurrentYear_C03CA5356029DED0A48BE9AAC6B053C6" xlink:type="arc" />
    <loc xlink:href="mtrx-20130906.xsd#mtrx_IncomeTaxAdjustmentPriorYears" xlink:label="loc_mtrx_IncomeTaxAdjustmentPriorYears_872AB7A709ABA261A364E9AAC6B0FFCD" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_C262BF4F528F6702BBDBE9AAC6AFBB4B" xlink:to="loc_mtrx_IncomeTaxAdjustmentPriorYears_872AB7A709ABA261A364E9AAC6B0FFCD" xlink:type="arc" />
    <loc xlink:href="mtrx-20130906.xsd#mtrx_IncomeTaxAdjustmentFourthQuarter" xlink:label="loc_mtrx_IncomeTaxAdjustmentFourthQuarter_48305AA041D5B8887F2EE9AAC6B0EBCE" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_C262BF4F528F6702BBDBE9AAC6AFBB4B" xlink:to="loc_mtrx_IncomeTaxAdjustmentFourthQuarter_48305AA041D5B8887F2EE9AAC6B0EBCE" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.matrixservice.com/role/QuarterlyFinancialDataUnauditedNotes" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservice.com/role/QuarterlyFinancialDataUnauditedTables" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservice.com/role/SegmentInformation" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservice.com/role/SegmentInformationDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_SegmentReportingInformationLineItems" xlink:label="loc_us-gaap_SegmentReportingInformationLineItems_2C94A008B19056E0B2DCE4B285B1D8E6" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable" xlink:label="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_FA1FC17E79F914D05A72E4B285B15715" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_2C94A008B19056E0B2DCE4B285B1D8E6" xlink:to="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_FA1FC17E79F914D05A72E4B285B15715" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_StatementBusinessSegmentsAxis" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_F4CC06D2EB8D5F2EF07EE4B285B1377E" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_FA1FC17E79F914D05A72E4B285B15715" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_F4CC06D2EB8D5F2EF07EE4B285B1377E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_B3D23C92EC90648D7D7EE4B285B11550_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_F4CC06D2EB8D5F2EF07EE4B285B1377E" xlink:to="loc_us-gaap_SegmentDomain_B3D23C92EC90648D7D7EE4B285B11550_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_B3D23C92EC90648D7D7EE4B285B11550" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_F4CC06D2EB8D5F2EF07EE4B285B1377E" xlink:to="loc_us-gaap_SegmentDomain_B3D23C92EC90648D7D7EE4B285B11550" xlink:type="arc" />
    <loc xlink:href="mtrx-20130906.xsd#mtrx_ElectricalInfrastructureMember" xlink:label="loc_mtrx_ElectricalInfrastructureMember_9BE80DA9C38AC490DF28E4B285B109F2" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_B3D23C92EC90648D7D7EE4B285B11550" xlink:to="loc_mtrx_ElectricalInfrastructureMember_9BE80DA9C38AC490DF28E4B285B109F2" xlink:type="arc" />
    <loc xlink:href="mtrx-20130906.xsd#mtrx_OilGasAndChemicalMember" xlink:label="loc_mtrx_OilGasAndChemicalMember_E0B64D2AF9F40F30138FE4B285B17BE4" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_B3D23C92EC90648D7D7EE4B285B11550" xlink:to="loc_mtrx_OilGasAndChemicalMember_E0B64D2AF9F40F30138FE4B285B17BE4" xlink:type="arc" />
    <loc xlink:href="mtrx-20130906.xsd#mtrx_StorageSolutionsMember" xlink:label="loc_mtrx_StorageSolutionsMember_6D8A8134E86FEF072B2EE4B285B14C3D" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_B3D23C92EC90648D7D7EE4B285B11550" xlink:to="loc_mtrx_StorageSolutionsMember_6D8A8134E86FEF072B2EE4B285B14C3D" xlink:type="arc" />
    <loc xlink:href="mtrx-20130906.xsd#mtrx_IndustrialMember" xlink:label="loc_mtrx_IndustrialMember_4D7D7882DEEA2EFF2BD0E4B285B12AE8" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_B3D23C92EC90648D7D7EE4B285B11550" xlink:to="loc_mtrx_IndustrialMember_4D7D7882DEEA2EFF2BD0E4B285B12AE8" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_AllOtherSegmentsMember" xlink:label="loc_us-gaap_AllOtherSegmentsMember_0A31A2033096550AFA92E4B285B14508" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_B3D23C92EC90648D7D7EE4B285B11550" xlink:to="loc_us-gaap_AllOtherSegmentsMember_0A31A2033096550AFA92E4B285B14508" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_SegmentReportingInformationProfitLossAbstract" xlink:label="loc_us-gaap_SegmentReportingInformationProfitLossAbstract_B01BDE045D5F5E3A5CE1E4B285B1326C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_2C94A008B19056E0B2DCE4B285B1D8E6" xlink:to="loc_us-gaap_SegmentReportingInformationProfitLossAbstract_B01BDE045D5F5E3A5CE1E4B285B1326C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_Revenues" xlink:label="loc_us-gaap_Revenues_106E8F062485D951EE91E4B285B1BDD5" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationProfitLossAbstract_B01BDE045D5F5E3A5CE1E4B285B1326C" xlink:to="loc_us-gaap_Revenues_106E8F062485D951EE91E4B285B1BDD5" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_RevenuesFromTransactionsWithOtherOperatingSegmentsOfSameEntity" xlink:label="loc_us-gaap_RevenuesFromTransactionsWithOtherOperatingSegmentsOfSameEntity_EF8092BE95BC72E44F69E4B285B1F7BC" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationProfitLossAbstract_B01BDE045D5F5E3A5CE1E4B285B1326C" xlink:to="loc_us-gaap_RevenuesFromTransactionsWithOtherOperatingSegmentsOfSameEntity_EF8092BE95BC72E44F69E4B285B1F7BC" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_SalesRevenueServicesNet" xlink:label="loc_us-gaap_SalesRevenueServicesNet_0908BEA9DAE308783384E4B285B188D6" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationProfitLossAbstract_B01BDE045D5F5E3A5CE1E4B285B1326C" xlink:to="loc_us-gaap_SalesRevenueServicesNet_0908BEA9DAE308783384E4B285B188D6" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_GrossProfit" xlink:label="loc_us-gaap_GrossProfit_522DF965ACF03DD1F24BE4B285B12791" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationProfitLossAbstract_B01BDE045D5F5E3A5CE1E4B285B1326C" xlink:to="loc_us-gaap_GrossProfit_522DF965ACF03DD1F24BE4B285B12791" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_OperatingIncomeLoss" xlink:label="loc_us-gaap_OperatingIncomeLoss_A6E0386D9F23E23A3AD4E4B285B2C42C" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationProfitLossAbstract_B01BDE045D5F5E3A5CE1E4B285B1326C" xlink:to="loc_us-gaap_OperatingIncomeLoss_A6E0386D9F23E23A3AD4E4B285B2C42C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_Assets" xlink:label="loc_us-gaap_Assets_A26E99E4E5E506C954B2E4B285B22E8B" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationProfitLossAbstract_B01BDE045D5F5E3A5CE1E4B285B1326C" xlink:to="loc_us-gaap_Assets_A26E99E4E5E506C954B2E4B285B22E8B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment" xlink:label="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_8B3C4D3C441CA9C0E1EDE4B285B211AF" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationProfitLossAbstract_B01BDE045D5F5E3A5CE1E4B285B1326C" xlink:to="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_8B3C4D3C441CA9C0E1EDE4B285B211AF" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_DepreciationDepletionAndAmortization" xlink:label="loc_us-gaap_DepreciationDepletionAndAmortization_BA356E534E0B746E81DCE4B285B2CCDF" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationProfitLossAbstract_B01BDE045D5F5E3A5CE1E4B285B1326C" xlink:to="loc_us-gaap_DepreciationDepletionAndAmortization_BA356E534E0B746E81DCE4B285B2CCDF" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.matrixservice.com/role/SegmentInformationDetails1" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_RevenuesFromExternalCustomersAndLongLivedAssetsLineItems" xlink:label="loc_us-gaap_RevenuesFromExternalCustomersAndLongLivedAssetsLineItems_936FE3EBEADCF14547ADD35E3151E50C" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ScheduleOfRevenuesFromExternalCustomersAndLongLivedAssetsTable" xlink:label="loc_us-gaap_ScheduleOfRevenuesFromExternalCustomersAndLongLivedAssetsTable_349B533C425A7E331E2CD35E315026F2" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RevenuesFromExternalCustomersAndLongLivedAssetsLineItems_936FE3EBEADCF14547ADD35E3151E50C" xlink:to="loc_us-gaap_ScheduleOfRevenuesFromExternalCustomersAndLongLivedAssetsTable_349B533C425A7E331E2CD35E315026F2" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_StatementGeographicalAxis" xlink:label="loc_us-gaap_StatementGeographicalAxis_EA427A482D1BBA33ED78D35E3151C087" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRevenuesFromExternalCustomersAndLongLivedAssetsTable_349B533C425A7E331E2CD35E315026F2" xlink:to="loc_us-gaap_StatementGeographicalAxis_EA427A482D1BBA33ED78D35E3151C087" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_SegmentGeographicalDomain" xlink:label="loc_us-gaap_SegmentGeographicalDomain_4BDC2ED6F2236711DDF1D35E315135E7_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementGeographicalAxis_EA427A482D1BBA33ED78D35E3151C087" xlink:to="loc_us-gaap_SegmentGeographicalDomain_4BDC2ED6F2236711DDF1D35E315135E7_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_SegmentGeographicalDomain" xlink:label="loc_us-gaap_SegmentGeographicalDomain_4BDC2ED6F2236711DDF1D35E315135E7" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementGeographicalAxis_EA427A482D1BBA33ED78D35E3151C087" xlink:to="loc_us-gaap_SegmentGeographicalDomain_4BDC2ED6F2236711DDF1D35E315135E7" xlink:type="arc" />
    <loc xlink:href="mtrx-20130906.xsd#mtrx_DomesticMember" xlink:label="loc_mtrx_DomesticMember_7D73652BEE6BC514D256D35E3151DA85" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentGeographicalDomain_4BDC2ED6F2236711DDF1D35E315135E7" xlink:to="loc_mtrx_DomesticMember_7D73652BEE6BC514D256D35E3151DA85" xlink:type="arc" />
    <loc xlink:href="mtrx-20130906.xsd#mtrx_InternationalMember" xlink:label="loc_mtrx_InternationalMember_C63ED5D3A7953BA5D77FD35E3151454C" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentGeographicalDomain_4BDC2ED6F2236711DDF1D35E315135E7" xlink:to="loc_mtrx_InternationalMember_C63ED5D3A7953BA5D77FD35E3151454C" xlink:type="arc" />
    <loc xlink:href="mtrx-20130906.xsd#mtrx_ScheduleOfSegmentReportingInformationByGeographicAreasAbstract" xlink:label="loc_mtrx_ScheduleOfSegmentReportingInformationByGeographicAreasAbstract_71B5C25481DA5641DF3BD35E3151BB42" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenuesFromExternalCustomersAndLongLivedAssetsLineItems_936FE3EBEADCF14547ADD35E3151E50C" xlink:to="loc_mtrx_ScheduleOfSegmentReportingInformationByGeographicAreasAbstract_71B5C25481DA5641DF3BD35E3151BB42" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_SalesRevenueServicesNet" xlink:label="loc_us-gaap_SalesRevenueServicesNet_8D80929BB2F3A08BF770D35E3151B833" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_ScheduleOfSegmentReportingInformationByGeographicAreasAbstract_71B5C25481DA5641DF3BD35E3151BB42" xlink:to="loc_us-gaap_SalesRevenueServicesNet_8D80929BB2F3A08BF770D35E3151B833" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_NoncurrentAssets" xlink:label="loc_us-gaap_NoncurrentAssets_770E01A4F158CBF7734CD35E3151DD01" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_ScheduleOfSegmentReportingInformationByGeographicAreasAbstract_71B5C25481DA5641DF3BD35E3151BB42" xlink:to="loc_us-gaap_NoncurrentAssets_770E01A4F158CBF7734CD35E3151DD01" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.matrixservice.com/role/SegmentInformationDetailsTextual" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_EntityWideRevenueMajorCustomerLineItems" xlink:label="loc_us-gaap_EntityWideRevenueMajorCustomerLineItems_76542D90DE6044924B3FE4B285A31C51" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ScheduleOfEntityWideRevenueByMajorCustomersByReportingSegmentsTable" xlink:label="loc_us-gaap_ScheduleOfEntityWideRevenueByMajorCustomersByReportingSegmentsTable_9377516EC747FBA7AE28E4B285A2245F" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_EntityWideRevenueMajorCustomerLineItems_76542D90DE6044924B3FE4B285A31C51" xlink:to="loc_us-gaap_ScheduleOfEntityWideRevenueByMajorCustomersByReportingSegmentsTable_9377516EC747FBA7AE28E4B285A2245F" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_StatementBusinessSegmentsAxis" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_DFC4A05E30EBCAD60B92E4B285A2DDBA" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfEntityWideRevenueByMajorCustomersByReportingSegmentsTable_9377516EC747FBA7AE28E4B285A2245F" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_DFC4A05E30EBCAD60B92E4B285A2DDBA" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_D857E488833128712478E4B285A277D2_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_DFC4A05E30EBCAD60B92E4B285A2DDBA" xlink:to="loc_us-gaap_SegmentDomain_D857E488833128712478E4B285A277D2_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_D857E488833128712478E4B285A277D2" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_DFC4A05E30EBCAD60B92E4B285A2DDBA" xlink:to="loc_us-gaap_SegmentDomain_D857E488833128712478E4B285A277D2" xlink:type="arc" />
    <loc xlink:href="mtrx-20130906.xsd#mtrx_ElectricalInfrastructureMember" xlink:label="loc_mtrx_ElectricalInfrastructureMember_0F08A60820BB6C83F1F2E4B285A3AEA6" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_D857E488833128712478E4B285A277D2" xlink:to="loc_mtrx_ElectricalInfrastructureMember_0F08A60820BB6C83F1F2E4B285A3AEA6" xlink:type="arc" />
    <loc xlink:href="mtrx-20130906.xsd#mtrx_OilGasAndChemicalMember" xlink:label="loc_mtrx_OilGasAndChemicalMember_9EE1DF521CE8E0090CC0E4B285A375E8" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_D857E488833128712478E4B285A277D2" xlink:to="loc_mtrx_OilGasAndChemicalMember_9EE1DF521CE8E0090CC0E4B285A375E8" xlink:type="arc" />
    <loc xlink:href="mtrx-20130906.xsd#mtrx_StorageSolutionsMember" xlink:label="loc_mtrx_StorageSolutionsMember_3BA8E1845A0D6FB65B98E4B285A3E834" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_D857E488833128712478E4B285A277D2" xlink:to="loc_mtrx_StorageSolutionsMember_3BA8E1845A0D6FB65B98E4B285A3E834" xlink:type="arc" />
    <loc xlink:href="mtrx-20130906.xsd#mtrx_IndustrialMember" xlink:label="loc_mtrx_IndustrialMember_34F8B6542B7C126AC4E9E4B285A35333" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_D857E488833128712478E4B285A277D2" xlink:to="loc_mtrx_IndustrialMember_34F8B6542B7C126AC4E9E4B285A35333" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_MajorCustomersAxis" xlink:label="loc_us-gaap_MajorCustomersAxis_2ADA5F1F73252421E8A8E4B285A37038" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfEntityWideRevenueByMajorCustomersByReportingSegmentsTable_9377516EC747FBA7AE28E4B285A2245F" xlink:to="loc_us-gaap_MajorCustomersAxis_2ADA5F1F73252421E8A8E4B285A37038" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_NameOfMajorCustomerDomain" xlink:label="loc_us-gaap_NameOfMajorCustomerDomain_B427E7B87E1317204D41E4B285A37BD2_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_MajorCustomersAxis_2ADA5F1F73252421E8A8E4B285A37038" xlink:to="loc_us-gaap_NameOfMajorCustomerDomain_B427E7B87E1317204D41E4B285A37BD2_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_NameOfMajorCustomerDomain" xlink:label="loc_us-gaap_NameOfMajorCustomerDomain_B427E7B87E1317204D41E4B285A37BD2" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_MajorCustomersAxis_2ADA5F1F73252421E8A8E4B285A37038" xlink:to="loc_us-gaap_NameOfMajorCustomerDomain_B427E7B87E1317204D41E4B285A37BD2" xlink:type="arc" />
    <loc xlink:href="mtrx-20130906.xsd#mtrx_WesternCanadaAbovegroundStorageTankProjectMember" xlink:label="loc_mtrx_WesternCanadaAbovegroundStorageTankProjectMember_054CD1045234C207E4AEE4B285A37475" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NameOfMajorCustomerDomain_B427E7B87E1317204D41E4B285A37BD2" xlink:to="loc_mtrx_WesternCanadaAbovegroundStorageTankProjectMember_054CD1045234C207E4AEE4B285A37475" xlink:type="arc" />
    <loc xlink:href="mtrx-20130906.xsd#mtrx_CustomerOneMember" xlink:label="loc_mtrx_CustomerOneMember_ADDE821F680656707AC9E4B285A331F6" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NameOfMajorCustomerDomain_B427E7B87E1317204D41E4B285A37BD2" xlink:to="loc_mtrx_CustomerOneMember_ADDE821F680656707AC9E4B285A331F6" xlink:type="arc" />
    <loc xlink:href="mtrx-20130906.xsd#mtrx_CustomerTwoMember" xlink:label="loc_mtrx_CustomerTwoMember_F09C46913BBBAD54509FE4B285A35B8D" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NameOfMajorCustomerDomain_B427E7B87E1317204D41E4B285A37BD2" xlink:to="loc_mtrx_CustomerTwoMember_F09C46913BBBAD54509FE4B285A35B8D" xlink:type="arc" />
    <loc xlink:href="mtrx-20130906.xsd#mtrx_CustomerThreeMember" xlink:label="loc_mtrx_CustomerThreeMember_0B16738A694D97D406E4E4B285A30989" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NameOfMajorCustomerDomain_B427E7B87E1317204D41E4B285A37BD2" xlink:to="loc_mtrx_CustomerThreeMember_0B16738A694D97D406E4E4B285A30989" xlink:type="arc" />
    <loc xlink:href="mtrx-20130906.xsd#mtrx_CustomerFourMember" xlink:label="loc_mtrx_CustomerFourMember_BD19750B4582F9E615F1E4B285A3A0B2" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NameOfMajorCustomerDomain_B427E7B87E1317204D41E4B285A37BD2" xlink:to="loc_mtrx_CustomerFourMember_BD19750B4582F9E615F1E4B285A3A0B2" xlink:type="arc" />
    <loc xlink:href="mtrx-20130906.xsd#mtrx_AnotherCustomerMember" xlink:label="loc_mtrx_AnotherCustomerMember_11496DCC6295293309CEE4B285A339FB" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NameOfMajorCustomerDomain_B427E7B87E1317204D41E4B285A37BD2" xlink:to="loc_mtrx_AnotherCustomerMember_11496DCC6295293309CEE4B285A339FB" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_EntityWideRevenueMajorCustomerPercentage" xlink:label="loc_us-gaap_EntityWideRevenueMajorCustomerPercentage_DB0FF2D90926AFE9B3D1E4B285A37FC4" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EntityWideRevenueMajorCustomerLineItems_76542D90DE6044924B3FE4B285A31C51" xlink:to="loc_us-gaap_EntityWideRevenueMajorCustomerPercentage_DB0FF2D90926AFE9B3D1E4B285A37FC4" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.matrixservice.com/role/SegmentInformationTables" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservice.com/role/StockBasedCompensation" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservice.com/role/StockBasedCompensationDetails" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservice.com/role/StockBasedCompensationDetails1" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservice.com/role/StockBasedCompensationDetails2" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLineItems_7A10E889065B8F487F0EE4B286472497" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeTable_56ABDB04F2188FA342EBE4B28647D061" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLineItems_7A10E889065B8F487F0EE4B286472497" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeTable_56ABDB04F2188FA342EBE4B28647D061" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis" xlink:label="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis_8C5C68EF45204C814BB2E4B2864729CF" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeTable_56ABDB04F2188FA342EBE4B28647D061" xlink:to="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis_8C5C68EF45204C814BB2E4B2864729CF" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain" xlink:label="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_7462AAD37B93D8ED52B6E4B286476A5E_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis_8C5C68EF45204C814BB2E4B2864729CF" xlink:to="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_7462AAD37B93D8ED52B6E4B286476A5E_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain" xlink:label="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_7462AAD37B93D8ED52B6E4B286476A5E" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis_8C5C68EF45204C814BB2E4B2864729CF" xlink:to="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_7462AAD37B93D8ED52B6E4B286476A5E" xlink:type="arc" />
    <loc xlink:href="mtrx-20130906.xsd#mtrx_RangeOneMember" xlink:label="loc_mtrx_RangeOneMember_2375B43230CF398BDE8AE4B286470C4A" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_7462AAD37B93D8ED52B6E4B286476A5E" xlink:to="loc_mtrx_RangeOneMember_2375B43230CF398BDE8AE4B286470C4A" xlink:type="arc" />
    <loc xlink:href="mtrx-20130906.xsd#mtrx_RangeTwoMember" xlink:label="loc_mtrx_RangeTwoMember_8765F49C0AF9B7136B63E4B28647BD49" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_7462AAD37B93D8ED52B6E4B286476A5E" xlink:to="loc_mtrx_RangeTwoMember_8765F49C0AF9B7136B63E4B28647BD49" xlink:type="arc" />
    <loc xlink:href="mtrx-20130906.xsd#mtrx_ScheduleOfShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAbstract" xlink:label="loc_mtrx_ScheduleOfShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAbstract_364A89B84648D3F9D151E4B28647C18C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLineItems_7A10E889065B8F487F0EE4B286472497" xlink:to="loc_mtrx_ScheduleOfShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAbstract_364A89B84648D3F9D151E4B28647C18C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLowerRangeLimit" xlink:label="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLowerRangeLimit_DEE59169A2F7A507EAEBE4B2864776EE" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_ScheduleOfShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAbstract_364A89B84648D3F9D151E4B28647C18C" xlink:to="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLowerRangeLimit_DEE59169A2F7A507EAEBE4B2864776EE" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeUpperRangeLimit" xlink:label="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeUpperRangeLimit_7415BEA45FDD38138BA5E4B28647DA0B" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_ScheduleOfShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAbstract_364A89B84648D3F9D151E4B28647C18C" xlink:to="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeUpperRangeLimit_7415BEA45FDD38138BA5E4B28647DA0B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber_23CA6C5DB5B73D039D55E4B286473101" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_ScheduleOfShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAbstract_364A89B84648D3F9D151E4B28647C18C" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber_23CA6C5DB5B73D039D55E4B286473101" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_SharebasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeOutstandingOptionsWeightedAverageExercisePriceBeginningBalance1" xlink:label="loc_us-gaap_SharebasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeOutstandingOptionsWeightedAverageExercisePriceBeginningBalance1_BF1303D070FE564BFCABE4B28648586F" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_ScheduleOfShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAbstract_364A89B84648D3F9D151E4B28647C18C" xlink:to="loc_us-gaap_SharebasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeOutstandingOptionsWeightedAverageExercisePriceBeginningBalance1_BF1303D070FE564BFCABE4B28648586F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTerm2" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTerm2_13EDCE1C213471B7DED6E4B28648445B" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_ScheduleOfShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAbstract_364A89B84648D3F9D151E4B28647C18C" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTerm2_13EDCE1C213471B7DED6E4B28648445B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableNumber" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableNumber_C8495F6C2441E851928BE4B286487AF6" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_ScheduleOfShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAbstract_364A89B84648D3F9D151E4B28647C18C" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableNumber_C8495F6C2441E851928BE4B286487AF6" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableWeightedAverageExercisePrice" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableWeightedAverageExercisePrice_054E3CB2709E1701F311E4B28648A467" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_ScheduleOfShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAbstract_364A89B84648D3F9D151E4B28647C18C" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableWeightedAverageExercisePrice_054E3CB2709E1701F311E4B28648A467" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableWeightedAverageRemainingContractualTerm1" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableWeightedAverageRemainingContractualTerm1_6CDA40A423E6E98D0A72E4B28648CC9B" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_ScheduleOfShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAbstract_364A89B84648D3F9D151E4B28647C18C" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableWeightedAverageRemainingContractualTerm1_6CDA40A423E6E98D0A72E4B28648CC9B" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.matrixservice.com/role/StockBasedCompensationDetails3" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservice.com/role/StockBasedCompensationDetailsTextual" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_AE6547AC9EF1E0D97A7EF3F850CC766B" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_273F2508B71684B4328CF3F850CCBE5D" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_AE6547AC9EF1E0D97A7EF3F850CC766B" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_273F2508B71684B4328CF3F850CCBE5D" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_PlanNameAxis" xlink:label="loc_us-gaap_PlanNameAxis_2D02B8D8251D999223EFF3F850CCF230" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_273F2508B71684B4328CF3F850CCBE5D" xlink:to="loc_us-gaap_PlanNameAxis_2D02B8D8251D999223EFF3F850CCF230" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_PlanNameDomain" xlink:label="loc_us-gaap_PlanNameDomain_734EF5B3A92A3271F16BF3F850CCD467_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PlanNameAxis_2D02B8D8251D999223EFF3F850CCF230" xlink:to="loc_us-gaap_PlanNameDomain_734EF5B3A92A3271F16BF3F850CCD467_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_PlanNameDomain" xlink:label="loc_us-gaap_PlanNameDomain_734EF5B3A92A3271F16BF3F850CCD467" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PlanNameAxis_2D02B8D8251D999223EFF3F850CCF230" xlink:to="loc_us-gaap_PlanNameDomain_734EF5B3A92A3271F16BF3F850CCD467" xlink:type="arc" />
    <loc xlink:href="mtrx-20130906.xsd#mtrx_MatrixServiceCompanys2004StockandIncentiveCompensationPlanMember" xlink:label="loc_mtrx_MatrixServiceCompanys2004StockandIncentiveCompensationPlanMember_A55FFEAADED6646FFC0BF3F850CCDD98" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_734EF5B3A92A3271F16BF3F850CCD467" xlink:to="loc_mtrx_MatrixServiceCompanys2004StockandIncentiveCompensationPlanMember_A55FFEAADED6646FFC0BF3F850CCDD98" xlink:type="arc" />
    <loc xlink:href="mtrx-20130906.xsd#mtrx_MatrixServiceCompanys2012StockandIncentiveCompensationPlanMember" xlink:label="loc_mtrx_MatrixServiceCompanys2012StockandIncentiveCompensationPlanMember_10D6DD2E33218C9FE6CFF3F850CC0ACF" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_734EF5B3A92A3271F16BF3F850CCD467" xlink:to="loc_mtrx_MatrixServiceCompanys2012StockandIncentiveCompensationPlanMember_10D6DD2E33218C9FE6CFF3F850CC0ACF" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_A04EDDBB878C6EE8F4A4F3F850CC60D3" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_273F2508B71684B4328CF3F850CCBE5D" xlink:to="loc_us-gaap_AwardTypeAxis_A04EDDBB878C6EE8F4A4F3F850CC60D3" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_F1E53B4B5C763478068FF3F850CC0860_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_A04EDDBB878C6EE8F4A4F3F850CC60D3" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_F1E53B4B5C763478068FF3F850CC0860_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_F1E53B4B5C763478068FF3F850CC0860" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_A04EDDBB878C6EE8F4A4F3F850CC60D3" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_F1E53B4B5C763478068FF3F850CC0860" xlink:type="arc" />
    <loc xlink:href="mtrx-20130906.xsd#mtrx_MarketBasedAwardsMember" xlink:label="loc_mtrx_MarketBasedAwardsMember_97DF56D0D4815E82987AF3F850CC7050" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_F1E53B4B5C763478068FF3F850CC0860" xlink:to="loc_mtrx_MarketBasedAwardsMember_97DF56D0D4815E82987AF3F850CC7050" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_DeferredCompensationArrangementWithIndividualShareBasedPaymentsByTypeOfDeferredCompensationAxis" xlink:label="loc_us-gaap_DeferredCompensationArrangementWithIndividualShareBasedPaymentsByTypeOfDeferredCompensationAxis_C33D2037F5A53635D8BEF3F850CCFF26" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_273F2508B71684B4328CF3F850CCBE5D" xlink:to="loc_us-gaap_DeferredCompensationArrangementWithIndividualShareBasedPaymentsByTypeOfDeferredCompensationAxis_C33D2037F5A53635D8BEF3F850CCFF26" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_TypeOfDeferredCompensationDomain" xlink:label="loc_us-gaap_TypeOfDeferredCompensationDomain_A801E9B08D23EB779C58F3F850CC2607_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DeferredCompensationArrangementWithIndividualShareBasedPaymentsByTypeOfDeferredCompensationAxis_C33D2037F5A53635D8BEF3F850CCFF26" xlink:to="loc_us-gaap_TypeOfDeferredCompensationDomain_A801E9B08D23EB779C58F3F850CC2607_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_TypeOfDeferredCompensationDomain" xlink:label="loc_us-gaap_TypeOfDeferredCompensationDomain_A801E9B08D23EB779C58F3F850CC2607" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DeferredCompensationArrangementWithIndividualShareBasedPaymentsByTypeOfDeferredCompensationAxis_C33D2037F5A53635D8BEF3F850CCFF26" xlink:to="loc_us-gaap_TypeOfDeferredCompensationDomain_A801E9B08D23EB779C58F3F850CC2607" xlink:type="arc" />
    <loc xlink:href="mtrx-20130906.xsd#mtrx_EmployeeAwardMember" xlink:label="loc_mtrx_EmployeeAwardMember_7C2BC46BA0CD79BED85CF3F850CC05AA" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfDeferredCompensationDomain_A801E9B08D23EB779C58F3F850CC2607" xlink:to="loc_mtrx_EmployeeAwardMember_7C2BC46BA0CD79BED85CF3F850CC05AA" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_RangeAxis" xlink:label="loc_us-gaap_RangeAxis_B6949D8C51324E3E6309F3F850CCD233" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_273F2508B71684B4328CF3F850CCBE5D" xlink:to="loc_us-gaap_RangeAxis_B6949D8C51324E3E6309F3F850CCD233" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_795B6E9D94AF3FBBF866F3F850CC83F6_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RangeAxis_B6949D8C51324E3E6309F3F850CCD233" xlink:to="loc_us-gaap_RangeMember_795B6E9D94AF3FBBF866F3F850CC83F6_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_795B6E9D94AF3FBBF866F3F850CC83F6" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RangeAxis_B6949D8C51324E3E6309F3F850CCD233" xlink:to="loc_us-gaap_RangeMember_795B6E9D94AF3FBBF866F3F850CC83F6" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_MinimumMember" xlink:label="loc_us-gaap_MinimumMember_6370D9FB7B33410EF681F3F850CCE445" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_795B6E9D94AF3FBBF866F3F850CC83F6" xlink:to="loc_us-gaap_MinimumMember_6370D9FB7B33410EF681F3F850CCE445" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_MaximumMember" xlink:label="loc_us-gaap_MaximumMember_94B9929B71FFA8D339BCF3F850CC11A7" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_795B6E9D94AF3FBBF866F3F850CC83F6" xlink:to="loc_us-gaap_MaximumMember_94B9929B71FFA8D339BCF3F850CC11A7" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ShareBasedCompensation" xlink:label="loc_us-gaap_ShareBasedCompensation_B9132D5346C557CDEB10F3F850CC187F" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_AE6547AC9EF1E0D97A7EF3F850CC766B" xlink:to="loc_us-gaap_ShareBasedCompensation_B9132D5346C557CDEB10F3F850CC187F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized_15E0A607FD8A94EE72B9F3F850CCFEBE" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_AE6547AC9EF1E0D97A7EF3F850CC766B" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized_15E0A607FD8A94EE72B9F3F850CCFEBE" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions_915934C7F3F17FD1F376F3F850CC31AD" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_AE6547AC9EF1E0D97A7EF3F850CC766B" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions_915934C7F3F17FD1F376F3F850CC31AD" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedStockOptions" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedStockOptions_E51CDEE2B990159C6A3AF3F850CC73E4" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_AE6547AC9EF1E0D97A7EF3F850CC766B" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedStockOptions_E51CDEE2B990159C6A3AF3F850CC73E4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_35F1F1B1C57FE0902875F3F850CC9CA4" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_AE6547AC9EF1E0D97A7EF3F850CC766B" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_35F1F1B1C57FE0902875F3F850CC9CA4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationTaxBenefitFromCompensationExpense" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationTaxBenefitFromCompensationExpense_8E3F6ED676CB33246EB4F3F850CC28F9" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_AE6547AC9EF1E0D97A7EF3F850CC766B" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationTaxBenefitFromCompensationExpense_8E3F6ED676CB33246EB4F3F850CC28F9" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized_BB6B8B8C4E5A385A832AF3F850CCC146" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_AE6547AC9EF1E0D97A7EF3F850CC766B" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized_BB6B8B8C4E5A385A832AF3F850CCC146" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant_A35E2303F753D660F672F3F850CC6B53" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_AE6547AC9EF1E0D97A7EF3F850CC766B" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant_A35E2303F753D660F672F3F850CC6B53" xlink:type="arc" />
    <loc xlink:href="mtrx-20130906.xsd#mtrx_ShareBasedCompensationArrangementByShareBasedPaymentAwardExpirationPeriod" xlink:label="loc_mtrx_ShareBasedCompensationArrangementByShareBasedPaymentAwardExpirationPeriod_522240430A9EB0A23D5FF3F850CCF6BD" xlink:type="locator" />
    <definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_AE6547AC9EF1E0D97A7EF3F850CC766B" xlink:to="loc_mtrx_ShareBasedCompensationArrangementByShareBasedPaymentAwardExpirationPeriod_522240430A9EB0A23D5FF3F850CCF6BD" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue_532B636D18ED4921B3A9F3F850CCB1BE" xlink:type="locator" />
    <definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_AE6547AC9EF1E0D97A7EF3F850CC766B" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue_532B636D18ED4921B3A9F3F850CCB1BE" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_48EAF29ADBD7EBDA2C3FF3F850CC42D8" xlink:type="locator" />
    <definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_AE6547AC9EF1E0D97A7EF3F850CC766B" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_48EAF29ADBD7EBDA2C3FF3F850CC42D8" xlink:type="arc" />
    <loc xlink:href="mtrx-20130906.xsd#mtrx_ShareBasedCompensationArrangementByShareBasedPaymentAwardInstallmentPeriodForVesting" xlink:label="loc_mtrx_ShareBasedCompensationArrangementByShareBasedPaymentAwardInstallmentPeriodForVesting_B4912C334DED02197696F3F850CC36CD" xlink:type="locator" />
    <definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_AE6547AC9EF1E0D97A7EF3F850CC766B" xlink:to="loc_mtrx_ShareBasedCompensationArrangementByShareBasedPaymentAwardInstallmentPeriodForVesting_B4912C334DED02197696F3F850CC36CD" xlink:type="arc" />
    <loc xlink:href="mtrx-20130906.xsd#mtrx_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriodOfDirectorAwards" xlink:label="loc_mtrx_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriodOfDirectorAwards_37FBABAC3D76F454F4CAF3F850CC7965" xlink:type="locator" />
    <definitionArc order="13" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_AE6547AC9EF1E0D97A7EF3F850CC766B" xlink:to="loc_mtrx_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriodOfDirectorAwards_37FBABAC3D76F454F4CAF3F850CC7965" xlink:type="arc" />
    <loc xlink:href="mtrx-20130906.xsd#mtrx_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardDescriptionofVestingPeriodofDirectorAwards" xlink:label="loc_mtrx_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardDescriptionofVestingPeriodofDirectorAwards_B1945A72C2DD6C0FBBF3F3F850CCC375" xlink:type="locator" />
    <definitionArc order="14" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_AE6547AC9EF1E0D97A7EF3F850CC766B" xlink:to="loc_mtrx_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardDescriptionofVestingPeriodofDirectorAwards_B1945A72C2DD6C0FBBF3F3F850CCC375" xlink:type="arc" />
    <loc xlink:href="mtrx-20130906.xsd#mtrx_PayoutAsPercentageOfOriginalAwardMinimum" xlink:label="loc_mtrx_PayoutAsPercentageOfOriginalAwardMinimum_7B0DAE766361FFF65F01F3F850CC3511" xlink:type="locator" />
    <definitionArc order="15" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_AE6547AC9EF1E0D97A7EF3F850CC766B" xlink:to="loc_mtrx_PayoutAsPercentageOfOriginalAwardMinimum_7B0DAE766361FFF65F01F3F850CC3511" xlink:type="arc" />
    <loc xlink:href="mtrx-20130906.xsd#mtrx_PayoutAsPercentageOfOriginalAwardMaximum" xlink:label="loc_mtrx_PayoutAsPercentageOfOriginalAwardMaximum_BC7669BAE68AB812DD79F3F850CCB426" xlink:type="locator" />
    <definitionArc order="16" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_AE6547AC9EF1E0D97A7EF3F850CC766B" xlink:to="loc_mtrx_PayoutAsPercentageOfOriginalAwardMaximum_BC7669BAE68AB812DD79F3F850CCB426" xlink:type="arc" />
    <loc xlink:href="mtrx-20130906.xsd#mtrx_MinimumThresholdSharesScheduledToVestForPerformanceBasedShares" xlink:label="loc_mtrx_MinimumThresholdSharesScheduledToVestForPerformanceBasedShares_768D1A27024A7B9B8A8CF3F850CC0F96" xlink:type="locator" />
    <definitionArc order="17" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_AE6547AC9EF1E0D97A7EF3F850CC766B" xlink:to="loc_mtrx_MinimumThresholdSharesScheduledToVestForPerformanceBasedShares_768D1A27024A7B9B8A8CF3F850CC0F96" xlink:type="arc" />
    <loc xlink:href="mtrx-20130906.xsd#mtrx_ShareBasedCompensationArrangementByShareBasedPaymentAwardDeferredGrantsInPeriod" xlink:label="loc_mtrx_ShareBasedCompensationArrangementByShareBasedPaymentAwardDeferredGrantsInPeriod_C2B2CB92450E446ADDF2F3F850CC5BD3" xlink:type="locator" />
    <definitionArc order="18" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_AE6547AC9EF1E0D97A7EF3F850CC766B" xlink:to="loc_mtrx_ShareBasedCompensationArrangementByShareBasedPaymentAwardDeferredGrantsInPeriod_C2B2CB92450E446ADDF2F3F850CC5BD3" xlink:type="arc" />
    <loc xlink:href="mtrx-20130906.xsd#mtrx_ShareBasedCompensationArrangementByShareBasedPaymentAwardDeferredWeightedAverageGrantDateFairValue" xlink:label="loc_mtrx_ShareBasedCompensationArrangementByShareBasedPaymentAwardDeferredWeightedAverageGrantDateFairValue_FF9D5D85680C16E4D79AF3F850CCDC93" xlink:type="locator" />
    <definitionArc order="19" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_AE6547AC9EF1E0D97A7EF3F850CC766B" xlink:to="loc_mtrx_ShareBasedCompensationArrangementByShareBasedPaymentAwardDeferredWeightedAverageGrantDateFairValue_FF9D5D85680C16E4D79AF3F850CCDC93" xlink:type="arc" />
    <loc xlink:href="mtrx-20130906.xsd#mtrx_ShareBasedCompensationArrangementByShareBasedPaymentAwardDeferredSharesVestedAndReleased" xlink:label="loc_mtrx_ShareBasedCompensationArrangementByShareBasedPaymentAwardDeferredSharesVestedAndReleased_50054D3AA078D474A91DF3F850CC9262" xlink:type="locator" />
    <definitionArc order="20" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_AE6547AC9EF1E0D97A7EF3F850CC766B" xlink:to="loc_mtrx_ShareBasedCompensationArrangementByShareBasedPaymentAwardDeferredSharesVestedAndReleased_50054D3AA078D474A91DF3F850CC9262" xlink:type="arc" />
    <loc xlink:href="mtrx-20130906.xsd#mtrx_ShareBasedCompensationArrangementByShareBasedPaymentAwardDeferredSharesVestedAndReleasedWeightedAverageGrantDateFairValue" xlink:label="loc_mtrx_ShareBasedCompensationArrangementByShareBasedPaymentAwardDeferredSharesVestedAndReleasedWeightedAverageGrantDateFairValue_827A8D21D28EDE0A4141F3F850CC262F" xlink:type="locator" />
    <definitionArc order="21" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_AE6547AC9EF1E0D97A7EF3F850CC766B" xlink:to="loc_mtrx_ShareBasedCompensationArrangementByShareBasedPaymentAwardDeferredSharesVestedAndReleasedWeightedAverageGrantDateFairValue_827A8D21D28EDE0A4141F3F850CC262F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsMethodUsed" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsMethodUsed_FF80586391EF1B48ED17F3FA28E88B5B" xlink:type="locator" />
    <definitionArc order="22" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_AE6547AC9EF1E0D97A7EF3F850CC766B" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsMethodUsed_FF80586391EF1B48ED17F3FA28E88B5B" xlink:type="arc" />
    <loc xlink:href="mtrx-20130906.xsd#mtrx_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueMethodNumberofSimulationsUsed" xlink:label="loc_mtrx_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueMethodNumberofSimulationsUsed_7BF126707ADF9493F8E5F41F97B2C1A3" xlink:type="locator" />
    <definitionArc order="23" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_AE6547AC9EF1E0D97A7EF3F850CC766B" xlink:to="loc_mtrx_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueMethodNumberofSimulationsUsed_7BF126707ADF9493F8E5F41F97B2C1A3" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.matrixservice.com/role/StockBasedCompensationTables" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservice.com/role/StockholdersEquity" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservice.com/role/StockholdersEquityDetailsTextual" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservice.com/role/SummaryOfSignificantAccountingPolicies" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservice.com/role/SummaryOfSignificantAccountingPoliciesDetailsTextual" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_PropertyPlantAndEquipmentLineItems" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentLineItems_D2B6C148E81A4EAC5AC5E4B286E0EBD5" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ScheduleOfPropertyPlantAndEquipmentTable" xlink:label="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_E07454A324A3A21D9A9BE4B286DF3DF6" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_D2B6C148E81A4EAC5AC5E4B286E0EBD5" xlink:to="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_E07454A324A3A21D9A9BE4B286DF3DF6" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_PropertyPlantAndEquipmentByTypeAxis" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_FB7BABD0EE0079E6F42FE4B286DFE6DA" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_E07454A324A3A21D9A9BE4B286DF3DF6" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_FB7BABD0EE0079E6F42FE4B286DFE6DA" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_0F3BB1DD58D96F8B21ECE4B286DF1ECF_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_FB7BABD0EE0079E6F42FE4B286DFE6DA" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_0F3BB1DD58D96F8B21ECE4B286DF1ECF_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_0F3BB1DD58D96F8B21ECE4B286DF1ECF" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_FB7BABD0EE0079E6F42FE4B286DFE6DA" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_0F3BB1DD58D96F8B21ECE4B286DF1ECF" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_BuildingMember" xlink:label="loc_us-gaap_BuildingMember_E48939AC83239553DC99E4B286DFC76D" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_0F3BB1DD58D96F8B21ECE4B286DF1ECF" xlink:to="loc_us-gaap_BuildingMember_E48939AC83239553DC99E4B286DFC76D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_EquipmentMember" xlink:label="loc_us-gaap_EquipmentMember_42E216AA5EB44EA3C0ABE4B286DF905F" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_0F3BB1DD58D96F8B21ECE4B286DF1ECF" xlink:to="loc_us-gaap_EquipmentMember_42E216AA5EB44EA3C0ABE4B286DF905F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_TransportationEquipmentMember" xlink:label="loc_us-gaap_TransportationEquipmentMember_D8D243F014518DB1A0EFE4B286DFDBE3" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_0F3BB1DD58D96F8B21ECE4B286DF1ECF" xlink:to="loc_us-gaap_TransportationEquipmentMember_D8D243F014518DB1A0EFE4B286DFDBE3" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_FurnitureAndFixturesMember" xlink:label="loc_us-gaap_FurnitureAndFixturesMember_28F6FD07F6789108E1E1E4B286DF1145" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_0F3BB1DD58D96F8B21ECE4B286DF1ECF" xlink:to="loc_us-gaap_FurnitureAndFixturesMember_28F6FD07F6789108E1E1E4B286DF1145" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_RangeAxis" xlink:label="loc_us-gaap_RangeAxis_0DC4745E0237016E8F7AE4B286DFCF8F" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_E07454A324A3A21D9A9BE4B286DF3DF6" xlink:to="loc_us-gaap_RangeAxis_0DC4745E0237016E8F7AE4B286DFCF8F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_96E0A14D26A95F1F7D2CE4B286DF142D_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RangeAxis_0DC4745E0237016E8F7AE4B286DFCF8F" xlink:to="loc_us-gaap_RangeMember_96E0A14D26A95F1F7D2CE4B286DF142D_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_96E0A14D26A95F1F7D2CE4B286DF142D" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RangeAxis_0DC4745E0237016E8F7AE4B286DFCF8F" xlink:to="loc_us-gaap_RangeMember_96E0A14D26A95F1F7D2CE4B286DF142D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_MaximumMember" xlink:label="loc_us-gaap_MaximumMember_C61E2E3E37D0FB9402D1E4B286E0FE5D" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_96E0A14D26A95F1F7D2CE4B286DF142D" xlink:to="loc_us-gaap_MaximumMember_C61E2E3E37D0FB9402D1E4B286E0FE5D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_MinimumMember" xlink:label="loc_us-gaap_MinimumMember_692485C4D72C02D6EE5AE4B286E02E81" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_96E0A14D26A95F1F7D2CE4B286DF142D" xlink:to="loc_us-gaap_MinimumMember_692485C4D72C02D6EE5AE4B286E02E81" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_PropertyPlantAndEquipmentUsefulLife" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentUsefulLife_BAB47C0090D93358FB39E4B286E091A9" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_D2B6C148E81A4EAC5AC5E4B286E0EBD5" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentUsefulLife_BAB47C0090D93358FB39E4B286E091A9" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetUsefulLife" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetUsefulLife_415A44996A11FC183DEEE4B286E00119" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_D2B6C148E81A4EAC5AC5E4B286E0EBD5" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetUsefulLife_415A44996A11FC183DEEE4B286E00119" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.matrixservice.com/role/SummaryOfSignificantAccountingPoliciesPolicies" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservice.com/role/ValuationAndQualifyingAccounts" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservice.com/role/ValuationAndQualifyingAccountsDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ValuationAndQualifyingAccountsDisclosureLineItems" xlink:label="loc_us-gaap_ValuationAndQualifyingAccountsDisclosureLineItems_79F9D646D10CC5AB5C5CE637148D6B88" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ValuationAndQualifyingAccountsDisclosureTable" xlink:label="loc_us-gaap_ValuationAndQualifyingAccountsDisclosureTable_923470E9290CE42A3C8EE637148D13F6" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ValuationAndQualifyingAccountsDisclosureLineItems_79F9D646D10CC5AB5C5CE637148D6B88" xlink:to="loc_us-gaap_ValuationAndQualifyingAccountsDisclosureTable_923470E9290CE42A3C8EE637148D13F6" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ValuationAllowancesAndReservesTypeAxis" xlink:label="loc_us-gaap_ValuationAllowancesAndReservesTypeAxis_55998B0C2618C988E229E637148D2850" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ValuationAndQualifyingAccountsDisclosureTable_923470E9290CE42A3C8EE637148D13F6" xlink:to="loc_us-gaap_ValuationAllowancesAndReservesTypeAxis_55998B0C2618C988E229E637148D2850" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ValuationAllowancesAndReservesDomain" xlink:label="loc_us-gaap_ValuationAllowancesAndReservesDomain_C126C75B9CF921570A67E637148D1F10_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ValuationAllowancesAndReservesTypeAxis_55998B0C2618C988E229E637148D2850" xlink:to="loc_us-gaap_ValuationAllowancesAndReservesDomain_C126C75B9CF921570A67E637148D1F10_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ValuationAllowancesAndReservesDomain" xlink:label="loc_us-gaap_ValuationAllowancesAndReservesDomain_C126C75B9CF921570A67E637148D1F10" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ValuationAllowancesAndReservesTypeAxis_55998B0C2618C988E229E637148D2850" xlink:to="loc_us-gaap_ValuationAllowancesAndReservesDomain_C126C75B9CF921570A67E637148D1F10" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_AllowanceForDoubtfulAccountsMember" xlink:label="loc_us-gaap_AllowanceForDoubtfulAccountsMember_4CFB770D5A0E155D2FDBE637148DECEA" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ValuationAllowancesAndReservesDomain_C126C75B9CF921570A67E637148D1F10" xlink:to="loc_us-gaap_AllowanceForDoubtfulAccountsMember_4CFB770D5A0E155D2FDBE637148DECEA" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ValuationAllowanceOfDeferredTaxAssetsMember" xlink:label="loc_us-gaap_ValuationAllowanceOfDeferredTaxAssetsMember_FDB6FB780438CC18DA9CE637148DCF7A" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ValuationAllowancesAndReservesDomain_C126C75B9CF921570A67E637148D1F10" xlink:to="loc_us-gaap_ValuationAllowanceOfDeferredTaxAssetsMember_FDB6FB780438CC18DA9CE637148DCF7A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_MovementInValuationAllowancesAndReservesRollForward" xlink:label="loc_us-gaap_MovementInValuationAllowancesAndReservesRollForward_A1EA2840B08B0E2BD011E6383B2F3CCA" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ValuationAndQualifyingAccountsDisclosureLineItems_79F9D646D10CC5AB5C5CE637148D6B88" xlink:to="loc_us-gaap_MovementInValuationAllowancesAndReservesRollForward_A1EA2840B08B0E2BD011E6383B2F3CCA" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ValuationAllowancesAndReservesBalance" xlink:label="loc_us-gaap_ValuationAllowancesAndReservesBalance_CE456139456F09F4BCEFE637148DDE62" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MovementInValuationAllowancesAndReservesRollForward_A1EA2840B08B0E2BD011E6383B2F3CCA" xlink:to="loc_us-gaap_ValuationAllowancesAndReservesBalance_CE456139456F09F4BCEFE637148DDE62" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ValuationAllowancesAndReservesChargedToCostAndExpense" xlink:label="loc_us-gaap_ValuationAllowancesAndReservesChargedToCostAndExpense_A87825E6AA0AA2DF4977E637148D8D87" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MovementInValuationAllowancesAndReservesRollForward_A1EA2840B08B0E2BD011E6383B2F3CCA" xlink:to="loc_us-gaap_ValuationAllowancesAndReservesChargedToCostAndExpense_A87825E6AA0AA2DF4977E637148D8D87" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ValuationAllowancesAndReservesChargedToOtherAccounts" xlink:label="loc_us-gaap_ValuationAllowancesAndReservesChargedToOtherAccounts_46DF970C942B0FCEE89CE637148DCA8A" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MovementInValuationAllowancesAndReservesRollForward_A1EA2840B08B0E2BD011E6383B2F3CCA" xlink:to="loc_us-gaap_ValuationAllowancesAndReservesChargedToOtherAccounts_46DF970C942B0FCEE89CE637148DCA8A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2012/elts/us-gaap-2012-01-31.xsd#us-gaap_ValuationAllowancesAndReservesDeductions" xlink:label="loc_us-gaap_ValuationAllowancesAndReservesDeductions_53E86BAF689CC7AB53D2E637148D5A46" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MovementInValuationAllowancesAndReservesRollForward_A1EA2840B08B0E2BD011E6383B2F3CCA" xlink:to="loc_us-gaap_ValuationAllowancesAndReservesDeductions_53E86BAF689CC7AB53D2E637148D5A46" xlink:type="arc" />
  </definitionLink>
</linkbase>
