<?xml version="1.0" encoding="US-ASCII"?>
<!--XBRL Document Created with Wdesk from Workiva-->
<!-- -->
<linkbase xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd" xmlns="http://www.xbrl.org/2003/linkbase" xmlns:xbrldt="http://xbrl.org/2005/xbrldt" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <roleRef roleURI="http://www.matrixservicecompany.com/role/Acquisitions" xlink:href="mtrx-20150630.xsd#Acquisitions" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/AcquisitionsDetails" xlink:href="mtrx-20150630.xsd#AcquisitionsDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/AcquisitionsDetailsTextual" xlink:href="mtrx-20150630.xsd#AcquisitionsDetailsTextual" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/AcquisitionsTables" xlink:href="mtrx-20150630.xsd#AcquisitionsTables" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/ConsolidatedBalanceSheets" xlink:href="mtrx-20150630.xsd#ConsolidatedBalanceSheets" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/ConsolidatedBalanceSheetsParenthetical" xlink:href="mtrx-20150630.xsd#ConsolidatedBalanceSheetsParenthetical" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/ConsolidatedStatementsOfCashFlows" xlink:href="mtrx-20150630.xsd#ConsolidatedStatementsOfCashFlows" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/ConsolidatedStatementsOfChangesInStockholdersEquity" xlink:href="mtrx-20150630.xsd#ConsolidatedStatementsOfChangesInStockholdersEquity" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/ConsolidatedStatementsOfChangesInStockholdersEquityParenthetical" xlink:href="mtrx-20150630.xsd#ConsolidatedStatementsOfChangesInStockholdersEquityParenthetical" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/ConsolidatedStatementsOfComprehensiveIncome" xlink:href="mtrx-20150630.xsd#ConsolidatedStatementsOfComprehensiveIncome" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/ConsolidatedStatementsOfComprehensiveIncomeParentheticals" xlink:href="mtrx-20150630.xsd#ConsolidatedStatementsOfComprehensiveIncomeParentheticals" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/ConsolidatedStatementsOfIncome" xlink:href="mtrx-20150630.xsd#ConsolidatedStatementsOfIncome" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/Contingencies" xlink:href="mtrx-20150630.xsd#Contingencies" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/ContingenciesDetailsTextual" xlink:href="mtrx-20150630.xsd#ContingenciesDetailsTextual" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/CustomerContracts" xlink:href="mtrx-20150630.xsd#CustomerContracts" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/CustomerContractsDetails" xlink:href="mtrx-20150630.xsd#CustomerContractsDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/CustomerContractsDetailsTextual" xlink:href="mtrx-20150630.xsd#CustomerContractsDetailsTextual" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/CustomerContractsTables" xlink:href="mtrx-20150630.xsd#CustomerContractsTables" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/Debt" xlink:href="mtrx-20150630.xsd#Debt" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/DebtDetails" xlink:href="mtrx-20150630.xsd#DebtDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/DebtDetailsTextual" xlink:href="mtrx-20150630.xsd#DebtDetailsTextual" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/DebtTables" xlink:href="mtrx-20150630.xsd#DebtTables" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/DocumentAndEntityInformation" xlink:href="mtrx-20150630.xsd#DocumentAndEntityInformation" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/EarningsPerCommonShare" xlink:href="mtrx-20150630.xsd#EarningsPerCommonShare" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/EarningsPerCommonShareDetails" xlink:href="mtrx-20150630.xsd#EarningsPerCommonShareDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/EarningsPerCommonShareDetails1" xlink:href="mtrx-20150630.xsd#EarningsPerCommonShareDetails1" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/EarningsPerCommonShareTables" xlink:href="mtrx-20150630.xsd#EarningsPerCommonShareTables" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/EmployeeBenefitPlans" xlink:href="mtrx-20150630.xsd#EmployeeBenefitPlans" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/EmployeeBenefitPlansDetails" xlink:href="mtrx-20150630.xsd#EmployeeBenefitPlansDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/EmployeeBenefitPlansDetailsTextual" xlink:href="mtrx-20150630.xsd#EmployeeBenefitPlansDetailsTextual" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/EmployeeBenefitPlansTables" xlink:href="mtrx-20150630.xsd#EmployeeBenefitPlansTables" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/GoodwillAndOtherIntangibleAssets" xlink:href="mtrx-20150630.xsd#GoodwillAndOtherIntangibleAssets" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/GoodwillAndOtherIntangibleAssetsDetails" xlink:href="mtrx-20150630.xsd#GoodwillAndOtherIntangibleAssetsDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/GoodwillAndOtherIntangibleAssetsDetails1" xlink:href="mtrx-20150630.xsd#GoodwillAndOtherIntangibleAssetsDetails1" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/GoodwillAndOtherIntangibleAssetsDetailsTextual" xlink:href="mtrx-20150630.xsd#GoodwillAndOtherIntangibleAssetsDetailsTextual" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/GoodwillAndOtherIntangibleAssetsTables" xlink:href="mtrx-20150630.xsd#GoodwillAndOtherIntangibleAssetsTables" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/IncomeTaxes" xlink:href="mtrx-20150630.xsd#IncomeTaxes" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/IncomeTaxesDetails" xlink:href="mtrx-20150630.xsd#IncomeTaxesDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/IncomeTaxesDetails1" xlink:href="mtrx-20150630.xsd#IncomeTaxesDetails1" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/IncomeTaxesDetails2" xlink:href="mtrx-20150630.xsd#IncomeTaxesDetails2" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/IncomeTaxesDetails3" xlink:href="mtrx-20150630.xsd#IncomeTaxesDetails3" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/IncomeTaxesDetails4" xlink:href="mtrx-20150630.xsd#IncomeTaxesDetails4" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/IncomeTaxesDetailsTextual" xlink:href="mtrx-20150630.xsd#IncomeTaxesDetailsTextual" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/IncomeTaxesTables" xlink:href="mtrx-20150630.xsd#IncomeTaxesTables" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/OperatingLeases" xlink:href="mtrx-20150630.xsd#OperatingLeases" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/OperatingLeasesDetailsTextual" xlink:href="mtrx-20150630.xsd#OperatingLeasesDetailsTextual" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/QuarterlyFinancialDataUnauditedDetails" xlink:href="mtrx-20150630.xsd#QuarterlyFinancialDataUnauditedDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/QuarterlyFinancialDataUnauditedQuarterlyFinancialDataUnaudited" xlink:href="mtrx-20150630.xsd#QuarterlyFinancialDataUnauditedQuarterlyFinancialDataUnaudited" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/QuarterlyFinancialDataUnauditedTables" xlink:href="mtrx-20150630.xsd#QuarterlyFinancialDataUnauditedTables" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/SegmentInformation" xlink:href="mtrx-20150630.xsd#SegmentInformation" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/SegmentInformationDetails" xlink:href="mtrx-20150630.xsd#SegmentInformationDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/SegmentInformationDetails1" xlink:href="mtrx-20150630.xsd#SegmentInformationDetails1" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/SegmentInformationDetailsTextual" xlink:href="mtrx-20150630.xsd#SegmentInformationDetailsTextual" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/SegmentInformationTables" xlink:href="mtrx-20150630.xsd#SegmentInformationTables" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/StockBasedCompensation" xlink:href="mtrx-20150630.xsd#StockBasedCompensation" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/StockBasedCompensationDetails" xlink:href="mtrx-20150630.xsd#StockBasedCompensationDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/StockBasedCompensationDetails1" xlink:href="mtrx-20150630.xsd#StockBasedCompensationDetails1" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/StockBasedCompensationDetails2" xlink:href="mtrx-20150630.xsd#StockBasedCompensationDetails2" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/StockBasedCompensationDetails3" xlink:href="mtrx-20150630.xsd#StockBasedCompensationDetails3" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/StockBasedCompensationDetailsTextual" xlink:href="mtrx-20150630.xsd#StockBasedCompensationDetailsTextual" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/StockBasedCompensationTables" xlink:href="mtrx-20150630.xsd#StockBasedCompensationTables" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/StockholdersEquity" xlink:href="mtrx-20150630.xsd#StockholdersEquity" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/StockholdersEquityDetailsTextual" xlink:href="mtrx-20150630.xsd#StockholdersEquityDetailsTextual" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/SummaryOfSignificantAccountingPolicies" xlink:href="mtrx-20150630.xsd#SummaryOfSignificantAccountingPolicies" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/SummaryOfSignificantAccountingPoliciesDetailsTextual" xlink:href="mtrx-20150630.xsd#SummaryOfSignificantAccountingPoliciesDetailsTextual" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/SummaryOfSignificantAccountingPoliciesPolicies" xlink:href="mtrx-20150630.xsd#SummaryOfSignificantAccountingPoliciesPolicies" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/ValuationAndQualifyingAccounts" xlink:href="mtrx-20150630.xsd#ValuationAndQualifyingAccounts" xlink:type="simple" />
  <roleRef roleURI="http://www.matrixservicecompany.com/role/ValuationAndQualifyingAccountsDetails" xlink:href="mtrx-20150630.xsd#ValuationAndQualifyingAccountsDetails" xlink:type="simple" />
  <arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/all" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#all" xlink:type="simple" />
  <arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-default" xlink:type="simple" />
  <arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-domain" xlink:type="simple" />
  <arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/domain-member" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#domain-member" xlink:type="simple" />
  <arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#hypercube-dimension" xlink:type="simple" />
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/Acquisitions" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/AcquisitionsDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_BusinessAcquisitionLineItems" xlink:label="loc_us-gaap_BusinessAcquisitionLineItems_B5DA49CD8BF21D4979AF6FC298028F61" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_B99520DDE46D76E705F16FC298017BBA" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_B5DA49CD8BF21D4979AF6FC298028F61" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_B99520DDE46D76E705F16FC298017BBA" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_01EDC071FD7EED75AB426FC29802942D" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_B99520DDE46D76E705F16FC298017BBA" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_01EDC071FD7EED75AB426FC29802942D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_9CEE4C705D525BFDB0BF6FC2980215FD_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_01EDC071FD7EED75AB426FC29802942D" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_9CEE4C705D525BFDB0BF6FC2980215FD_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_9CEE4C705D525BFDB0BF6FC2980215FD" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_01EDC071FD7EED75AB426FC29802942D" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_9CEE4C705D525BFDB0BF6FC2980215FD" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_HDBInc.Member" xlink:label="loc_mtrx_HDBInc.Member_070D7F7B76161DA8F3786FC29802C57C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_9CEE4C705D525BFDB0BF6FC2980215FD" xlink:to="loc_mtrx_HDBInc.Member_070D7F7B76161DA8F3786FC29802C57C" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_KvaernerNorthAmericanConstructionMember" xlink:label="loc_mtrx_KvaernerNorthAmericanConstructionMember_91D6D8A393C0739751136FC298024AAA" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_9CEE4C705D525BFDB0BF6FC2980215FD" xlink:to="loc_mtrx_KvaernerNorthAmericanConstructionMember_91D6D8A393C0739751136FC298024AAA" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_PelichemIndustrialCleaningServicesLlcMember" xlink:label="loc_mtrx_PelichemIndustrialCleaningServicesLlcMember_1138768BE9D36A793D226FC29802653B" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_9CEE4C705D525BFDB0BF6FC2980215FD" xlink:to="loc_mtrx_PelichemIndustrialCleaningServicesLlcMember_1138768BE9D36A793D226FC29802653B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssets" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssets_D8C659904A5106B08B036FC298027026" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_B5DA49CD8BF21D4979AF6FC298028F61" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssets_D8C659904A5106B08B036FC298027026" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment_2796DC9E236780E7428A6FC29802BD8A" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_B5DA49CD8BF21D4979AF6FC298028F61" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment_2796DC9E236780E7428A6FC29802BD8A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_Goodwill" xlink:label="loc_us-gaap_Goodwill_B62F4491F478A626BCE16FC29802FF37" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_B5DA49CD8BF21D4979AF6FC298028F61" xlink:to="loc_us-gaap_Goodwill_B62F4491F478A626BCE16FC29802FF37" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_BusinessAcquisitionPurchasePriceAllocationGoodwillExpectedTaxDeductibleAmount" xlink:label="loc_us-gaap_BusinessAcquisitionPurchasePriceAllocationGoodwillExpectedTaxDeductibleAmount_564C9CF162011A115B8B6FC29802F447" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_B5DA49CD8BF21D4979AF6FC298028F61" xlink:to="loc_us-gaap_BusinessAcquisitionPurchasePriceAllocationGoodwillExpectedTaxDeductibleAmount_564C9CF162011A115B8B6FC29802F447" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles_03211B6A0267B245AF746FC298021322" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_B5DA49CD8BF21D4979AF6FC298028F61" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles_03211B6A0267B245AF746FC298021322" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets_729E398008D7D9CEFB126FC2980216B3" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_B5DA49CD8BF21D4979AF6FC298028F61" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets_729E398008D7D9CEFB126FC2980216B3" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilities" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilities_F3A88BC709D53184BAB96FC29802F814" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_B5DA49CD8BF21D4979AF6FC298028F61" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilities_F3A88BC709D53184BAB96FC29802F814" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilitiesNoncurrent" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilitiesNoncurrent_4FE32F0EE1DFDF3B448B6FC298025293" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_B5DA49CD8BF21D4979AF6FC298028F61" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilitiesNoncurrent_4FE32F0EE1DFDF3B448B6FC298025293" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_BusinessCombinationAcquisitionOfLessThan100PercentNoncontrollingInterestFairValue" xlink:label="loc_us-gaap_BusinessCombinationAcquisitionOfLessThan100PercentNoncontrollingInterestFairValue_4969D28849D64A32AA256FC29802F021" xlink:type="locator" />
    <definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_B5DA49CD8BF21D4979AF6FC298028F61" xlink:to="loc_us-gaap_BusinessCombinationAcquisitionOfLessThan100PercentNoncontrollingInterestFairValue_4969D28849D64A32AA256FC29802F021" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_B1880E128B831C634AB46FC29802F87F" xlink:type="locator" />
    <definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_B5DA49CD8BF21D4979AF6FC298028F61" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_B1880E128B831C634AB46FC29802F87F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents_9E27C18A5FE48EFBFE716FC29803D68A" xlink:type="locator" />
    <definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_B5DA49CD8BF21D4979AF6FC298028F61" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents_9E27C18A5FE48EFBFE716FC29803D68A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_BusinessAcquisitionProFormaInformationAbstract" xlink:label="loc_us-gaap_BusinessAcquisitionProFormaInformationAbstract_A8A529CAD6A1DCADA3276FC29803C389" xlink:type="locator" />
    <definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_B5DA49CD8BF21D4979AF6FC298028F61" xlink:to="loc_us-gaap_BusinessAcquisitionProFormaInformationAbstract_A8A529CAD6A1DCADA3276FC29803C389" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_BusinessAcquisitionsProFormaRevenue" xlink:label="loc_us-gaap_BusinessAcquisitionsProFormaRevenue_7573C7B082A250FF36496FC298038D30" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionProFormaInformationAbstract_A8A529CAD6A1DCADA3276FC29803C389" xlink:to="loc_us-gaap_BusinessAcquisitionsProFormaRevenue_7573C7B082A250FF36496FC298038D30" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_BusinessAcquisitionsProFormaNetIncomeLoss" xlink:label="loc_us-gaap_BusinessAcquisitionsProFormaNetIncomeLoss_08E57A37763F1278E8D86FC298035715" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionProFormaInformationAbstract_A8A529CAD6A1DCADA3276FC29803C389" xlink:to="loc_us-gaap_BusinessAcquisitionsProFormaNetIncomeLoss_08E57A37763F1278E8D86FC298035715" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_BusinessAcquisitionProFormaEarningsPerShareBasic" xlink:label="loc_us-gaap_BusinessAcquisitionProFormaEarningsPerShareBasic_A902833A3B47CCC0A3AD6FC29803A01D" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionProFormaInformationAbstract_A8A529CAD6A1DCADA3276FC29803C389" xlink:to="loc_us-gaap_BusinessAcquisitionProFormaEarningsPerShareBasic_A902833A3B47CCC0A3AD6FC29803A01D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_BusinessAcquisitionProFormaEarningsPerShareDiluted" xlink:label="loc_us-gaap_BusinessAcquisitionProFormaEarningsPerShareDiluted_CA308E4A1B73A0BA39196FC2980371D1" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionProFormaInformationAbstract_A8A529CAD6A1DCADA3276FC29803C389" xlink:to="loc_us-gaap_BusinessAcquisitionProFormaEarningsPerShareDiluted_CA308E4A1B73A0BA39196FC2980371D1" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/AcquisitionsDetailsTextual" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_BusinessAcquisitionLineItems" xlink:label="loc_us-gaap_BusinessAcquisitionLineItems_385D70E8CD9C0A0BAE4E6A36FCD7F337" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_52FF3D3AF5FF851898496A36FCD70B59" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_385D70E8CD9C0A0BAE4E6A36FCD7F337" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_52FF3D3AF5FF851898496A36FCD70B59" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis" xlink:label="loc_us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_E04CA7FEE3A1D38B78616A36FCD78E49" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_52FF3D3AF5FF851898496A36FCD70B59" xlink:to="loc_us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_E04CA7FEE3A1D38B78616A36FCD78E49" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_EquityMethodInvesteeNameDomain" xlink:label="loc_us-gaap_EquityMethodInvesteeNameDomain_338D7A0302D3BBE1D3226A36FCD7B0AD_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_E04CA7FEE3A1D38B78616A36FCD78E49" xlink:to="loc_us-gaap_EquityMethodInvesteeNameDomain_338D7A0302D3BBE1D3226A36FCD7B0AD_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_EquityMethodInvesteeNameDomain" xlink:label="loc_us-gaap_EquityMethodInvesteeNameDomain_338D7A0302D3BBE1D3226A36FCD7B0AD" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_E04CA7FEE3A1D38B78616A36FCD78E49" xlink:to="loc_us-gaap_EquityMethodInvesteeNameDomain_338D7A0302D3BBE1D3226A36FCD7B0AD" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_MXPBPowerPartnersMember" xlink:label="loc_mtrx_MXPBPowerPartnersMember_B208F846163472AB52876A36FCD74C89" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityMethodInvesteeNameDomain_338D7A0302D3BBE1D3226A36FCD7B0AD" xlink:to="loc_mtrx_MXPBPowerPartnersMember_B208F846163472AB52876A36FCD74C89" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_E7D37B28B8DBFBBD4B186A36FCD765EE" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_52FF3D3AF5FF851898496A36FCD70B59" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_E7D37B28B8DBFBBD4B186A36FCD765EE" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_FD31D8F9F79EF74537E06A36FCD7961C_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_E7D37B28B8DBFBBD4B186A36FCD765EE" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_FD31D8F9F79EF74537E06A36FCD7961C_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_FD31D8F9F79EF74537E06A36FCD7961C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_E7D37B28B8DBFBBD4B186A36FCD765EE" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_FD31D8F9F79EF74537E06A36FCD7961C" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_HDBInc.Member" xlink:label="loc_mtrx_HDBInc.Member_A04043DB374E04A0ACE66A36FCD7C849" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_FD31D8F9F79EF74537E06A36FCD7961C" xlink:to="loc_mtrx_HDBInc.Member_A04043DB374E04A0ACE66A36FCD7C849" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_KvaernerNorthAmericanConstructionMember" xlink:label="loc_mtrx_KvaernerNorthAmericanConstructionMember_D06F9B43565C4A8A5E746A36FCD705C9" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_FD31D8F9F79EF74537E06A36FCD7961C" xlink:to="loc_mtrx_KvaernerNorthAmericanConstructionMember_D06F9B43565C4A8A5E746A36FCD705C9" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_BusinessCombinationConsiderationTransferred1" xlink:label="loc_us-gaap_BusinessCombinationConsiderationTransferred1_1ED4B50ED62D196390A56A51DB6EB599" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_385D70E8CD9C0A0BAE4E6A36FCD7F337" xlink:to="loc_us-gaap_BusinessCombinationConsiderationTransferred1_1ED4B50ED62D196390A56A51DB6EB599" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_BusinessAcquisitionEffectiveDateOfAcquisition1" xlink:label="loc_us-gaap_BusinessAcquisitionEffectiveDateOfAcquisition1_C8B2E7B6987AEA4CCB226A36FCD7A73E" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_385D70E8CD9C0A0BAE4E6A36FCD7F337" xlink:to="loc_us-gaap_BusinessAcquisitionEffectiveDateOfAcquisition1_C8B2E7B6987AEA4CCB226A36FCD7A73E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_BusinessAcquisitionPercentageOfVotingInterestsAcquired" xlink:label="loc_us-gaap_BusinessAcquisitionPercentageOfVotingInterestsAcquired_D628E13A7C6F057807D56A36FCD72E66" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_385D70E8CD9C0A0BAE4E6A36FCD7F337" xlink:to="loc_us-gaap_BusinessAcquisitionPercentageOfVotingInterestsAcquired_D628E13A7C6F057807D56A36FCD72E66" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_5FB443246FA747E49DAB6A36FCD759F1" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_385D70E8CD9C0A0BAE4E6A36FCD7F337" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_5FB443246FA747E49DAB6A36FCD759F1" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_Goodwill" xlink:label="loc_us-gaap_Goodwill_0A6A000ABF82B3B586AF6A36FCD7C826" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_385D70E8CD9C0A0BAE4E6A36FCD7F337" xlink:to="loc_us-gaap_Goodwill_0A6A000ABF82B3B586AF6A36FCD7C826" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_BusinessAcquisitionPurchasePriceAllocationGoodwillExpectedTaxDeductibleAmount" xlink:label="loc_us-gaap_BusinessAcquisitionPurchasePriceAllocationGoodwillExpectedTaxDeductibleAmount_02FD41340527522711356A36FCD73319" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_385D70E8CD9C0A0BAE4E6A36FCD7F337" xlink:to="loc_us-gaap_BusinessAcquisitionPurchasePriceAllocationGoodwillExpectedTaxDeductibleAmount_02FD41340527522711356A36FCD73319" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_EquityMethodInvestmentOwnershipPercentage" xlink:label="loc_us-gaap_EquityMethodInvestmentOwnershipPercentage_DDD32B8EFC68E85CB8E86A36FCD7FE81" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_385D70E8CD9C0A0BAE4E6A36FCD7F337" xlink:to="loc_us-gaap_EquityMethodInvestmentOwnershipPercentage_DDD32B8EFC68E85CB8E86A36FCD7FE81" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_Mtrx_JointVentureValue" xlink:label="loc_mtrx_Mtrx_JointVentureValue_977665A9368D451846476A36FCD77043" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_385D70E8CD9C0A0BAE4E6A36FCD7F337" xlink:to="loc_mtrx_Mtrx_JointVentureValue_977665A9368D451846476A36FCD77043" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_Mtrx_ControllingInterestOfJointVentureValue" xlink:label="loc_mtrx_Mtrx_ControllingInterestOfJointVentureValue_D4FA9C3DB8FF628DBA886A36FCD7F193" xlink:type="locator" />
    <definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_385D70E8CD9C0A0BAE4E6A36FCD7F337" xlink:to="loc_mtrx_Mtrx_ControllingInterestOfJointVentureValue_D4FA9C3DB8FF628DBA886A36FCD7F193" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_MinorityInterestInJointVentures" xlink:label="loc_us-gaap_MinorityInterestInJointVentures_E0B3AE10653047188C176A36FCD73777" xlink:type="locator" />
    <definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_385D70E8CD9C0A0BAE4E6A36FCD7F337" xlink:to="loc_us-gaap_MinorityInterestInJointVentures_E0B3AE10653047188C176A36FCD73777" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_Revenues" xlink:label="loc_us-gaap_Revenues_78EB8E022587333CFFDB6A36FCD7D63E" xlink:type="locator" />
    <definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_385D70E8CD9C0A0BAE4E6A36FCD7F337" xlink:to="loc_us-gaap_Revenues_78EB8E022587333CFFDB6A36FCD7D63E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_OperatingIncomeLoss" xlink:label="loc_us-gaap_OperatingIncomeLoss_CA81C7E78B3B161336ED6A36FCD7E7E9" xlink:type="locator" />
    <definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_385D70E8CD9C0A0BAE4E6A36FCD7F337" xlink:to="loc_us-gaap_OperatingIncomeLoss_CA81C7E78B3B161336ED6A36FCD7E7E9" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_BusinessCombinationSeparatelyRecognizedTransactionsAdditionalDisclosuresAcquisitionCostExpensed" xlink:label="loc_us-gaap_BusinessCombinationSeparatelyRecognizedTransactionsAdditionalDisclosuresAcquisitionCostExpensed_EC9D520171D23F365DA46A36FCD73398" xlink:type="locator" />
    <definitionArc order="13" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_385D70E8CD9C0A0BAE4E6A36FCD7F337" xlink:to="loc_us-gaap_BusinessCombinationSeparatelyRecognizedTransactionsAdditionalDisclosuresAcquisitionCostExpensed_EC9D520171D23F365DA46A36FCD73398" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_BusinessAcquisitionProFormaAmortizationofIntangibleAssets" xlink:label="loc_mtrx_BusinessAcquisitionProFormaAmortizationofIntangibleAssets_7289C72F20566BB92CE86A36FCD74C29" xlink:type="locator" />
    <definitionArc order="14" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_385D70E8CD9C0A0BAE4E6A36FCD7F337" xlink:to="loc_mtrx_BusinessAcquisitionProFormaAmortizationofIntangibleAssets_7289C72F20566BB92CE86A36FCD74C29" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_BusinessAcquisitionProFormaDepreciationExpense" xlink:label="loc_mtrx_BusinessAcquisitionProFormaDepreciationExpense_EF2F62690B8447B9DE546A36FCD718AA" xlink:type="locator" />
    <definitionArc order="15" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_385D70E8CD9C0A0BAE4E6A36FCD7F337" xlink:to="loc_mtrx_BusinessAcquisitionProFormaDepreciationExpense_EF2F62690B8447B9DE546A36FCD718AA" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_BusinessAcquisitionProFormaIncomefromTaxSettlement" xlink:label="loc_mtrx_BusinessAcquisitionProFormaIncomefromTaxSettlement_25B7D8B56E925CE0F3826A36FCD7C225" xlink:type="locator" />
    <definitionArc order="16" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_385D70E8CD9C0A0BAE4E6A36FCD7F337" xlink:to="loc_mtrx_BusinessAcquisitionProFormaIncomefromTaxSettlement_25B7D8B56E925CE0F3826A36FCD7C225" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/AcquisitionsTables" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_BusinessAcquisitionLineItems" xlink:label="loc_us-gaap_BusinessAcquisitionLineItems_546DD9AC02F8C015226F61C0B6275A0A" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_A95A6F6EFE2E8D40CF6161C0B627A327" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_546DD9AC02F8C015226F61C0B6275A0A" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_A95A6F6EFE2E8D40CF6161C0B627A327" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_1F1321AA0DE52259112F61C0B6278302" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_A95A6F6EFE2E8D40CF6161C0B627A327" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_1F1321AA0DE52259112F61C0B6278302" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_605D1FDC99FCA3772D8961C0B62711DE_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_1F1321AA0DE52259112F61C0B6278302" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_605D1FDC99FCA3772D8961C0B62711DE_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_605D1FDC99FCA3772D8961C0B62711DE" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_1F1321AA0DE52259112F61C0B6278302" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_605D1FDC99FCA3772D8961C0B62711DE" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_HDBInc.Member" xlink:label="loc_mtrx_HDBInc.Member_78511C41901845247A8B61CB7426472C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_605D1FDC99FCA3772D8961C0B62711DE" xlink:to="loc_mtrx_HDBInc.Member_78511C41901845247A8B61CB7426472C" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_KvaernerNorthAmericanConstructionMember" xlink:label="loc_mtrx_KvaernerNorthAmericanConstructionMember_3A0623AFDA2EC176B0FB61C0B62740D9" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_605D1FDC99FCA3772D8961C0B62711DE" xlink:to="loc_mtrx_KvaernerNorthAmericanConstructionMember_3A0623AFDA2EC176B0FB61C0B62740D9" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_PelichemIndustrialCleaningServicesLlcMember" xlink:label="loc_mtrx_PelichemIndustrialCleaningServicesLlcMember_2F1B3C0678A07C9FDA2A61C0B6274EA7" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_605D1FDC99FCA3772D8961C0B62711DE" xlink:to="loc_mtrx_PelichemIndustrialCleaningServicesLlcMember_2F1B3C0678A07C9FDA2A61C0B6274EA7" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ScheduleOfRecognizedIdentifiedAssetsAcquiredAndLiabilitiesAssumedTableTextBlock" xlink:label="loc_us-gaap_ScheduleOfRecognizedIdentifiedAssetsAcquiredAndLiabilitiesAssumedTableTextBlock_CBD0B8CED866AD9F7CC261CAE15C07AD" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_546DD9AC02F8C015226F61C0B6275A0A" xlink:to="loc_us-gaap_ScheduleOfRecognizedIdentifiedAssetsAcquiredAndLiabilitiesAssumedTableTextBlock_CBD0B8CED866AD9F7CC261CAE15C07AD" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTextBlock" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTextBlock_298F12EABA5E4303E3EC61C0B6271A0F" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_546DD9AC02F8C015226F61C0B6275A0A" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTextBlock_298F12EABA5E4303E3EC61C0B6271A0F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_BusinessAcquisitionProFormaInformationTextBlock" xlink:label="loc_us-gaap_BusinessAcquisitionProFormaInformationTextBlock_17261BF110E3E029A0CB61C0B627722A" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_546DD9AC02F8C015226F61C0B6275A0A" xlink:to="loc_us-gaap_BusinessAcquisitionProFormaInformationTextBlock_17261BF110E3E029A0CB61C0B627722A" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/ConsolidatedBalanceSheets" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/ConsolidatedBalanceSheetsParenthetical" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/ConsolidatedStatementsOfCashFlows" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/ConsolidatedStatementsOfChangesInStockholdersEquity" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaap_StatementLineItems_409F6DE2FA38E94FC85E667995843E22" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaap_StatementTable_C64F411DF3C20F7EE86A66799584A296" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_409F6DE2FA38E94FC85E667995843E22" xlink:to="loc_us-gaap_StatementTable_C64F411DF3C20F7EE86A66799584A296" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_StatementEquityComponentsAxis" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_854F1541FA05207BFD8D667995848A71" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_C64F411DF3C20F7EE86A66799584A296" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_854F1541FA05207BFD8D667995848A71" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_9121D97388905D6588DB6679958457BC_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_854F1541FA05207BFD8D667995848A71" xlink:to="loc_us-gaap_EquityComponentDomain_9121D97388905D6588DB6679958457BC_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_9121D97388905D6588DB6679958457BC" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_854F1541FA05207BFD8D667995848A71" xlink:to="loc_us-gaap_EquityComponentDomain_9121D97388905D6588DB6679958457BC" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_CommonStockMember" xlink:label="loc_us-gaap_CommonStockMember_503ABBA78432C7472A6066799584B761" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_9121D97388905D6588DB6679958457BC" xlink:to="loc_us-gaap_CommonStockMember_503ABBA78432C7472A6066799584B761" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_AdditionalPaidInCapitalMember" xlink:label="loc_us-gaap_AdditionalPaidInCapitalMember_D2099746F017146CD41566799584B802" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_9121D97388905D6588DB6679958457BC" xlink:to="loc_us-gaap_AdditionalPaidInCapitalMember_D2099746F017146CD41566799584B802" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_RetainedEarningsMember" xlink:label="loc_us-gaap_RetainedEarningsMember_76E4E16723FAD7F84F7966799584D7D8" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_9121D97388905D6588DB6679958457BC" xlink:to="loc_us-gaap_RetainedEarningsMember_76E4E16723FAD7F84F7966799584D7D8" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_TreasuryStockMember" xlink:label="loc_us-gaap_TreasuryStockMember_658B331A5671A71FB5FB66799584B1A3" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_9121D97388905D6588DB6679958457BC" xlink:to="loc_us-gaap_TreasuryStockMember_658B331A5671A71FB5FB66799584B1A3" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeMember" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_255B25849B5B18886D59667995848A43" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_9121D97388905D6588DB6679958457BC" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_255B25849B5B18886D59667995848A43" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_NoncontrollingInterestMember" xlink:label="loc_us-gaap_NoncontrollingInterestMember_29ED033863A20508A6DE667995843A50" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_9121D97388905D6588DB6679958457BC" xlink:to="loc_us-gaap_NoncontrollingInterestMember_29ED033863A20508A6DE667995843A50" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_IncreaseDecreaseInStockholdersEquityRollForward" xlink:label="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_4CFF7A60D66B93F62B3B667995845C64" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_409F6DE2FA38E94FC85E667995843E22" xlink:to="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_4CFF7A60D66B93F62B3B667995845C64" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_76855FCBDE130A534E9666799584B1BC" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_4CFF7A60D66B93F62B3B667995845C64" xlink:to="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_76855FCBDE130A534E9666799584B1BC" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ProfitLoss" xlink:label="loc_us-gaap_ProfitLoss_ED4C6811A37A294D351C6679958490F3" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_4CFF7A60D66B93F62B3B667995845C64" xlink:to="loc_us-gaap_ProfitLoss_ED4C6811A37A294D351C6679958490F3" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_NoncontrollingInterestIncreaseFromSubsidiaryEquityIssuance" xlink:label="loc_us-gaap_NoncontrollingInterestIncreaseFromSubsidiaryEquityIssuance_63C12A2FCEC98BF60EF3667C88DC8417" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_4CFF7A60D66B93F62B3B667995845C64" xlink:to="loc_us-gaap_NoncontrollingInterestIncreaseFromSubsidiaryEquityIssuance_63C12A2FCEC98BF60EF3667C88DC8417" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_F158D6EB9A85F1FA7BF366799584FF1E" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_4CFF7A60D66B93F62B3B667995845C64" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_F158D6EB9A85F1FA7BF366799584FF1E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_PaymentsToAcquireInterestInJointVenture" xlink:label="loc_us-gaap_PaymentsToAcquireInterestInJointVenture_C216332235F63E317B2E66799584AC2B" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_4CFF7A60D66B93F62B3B667995845C64" xlink:to="loc_us-gaap_PaymentsToAcquireInterestInJointVenture_C216332235F63E317B2E66799584AC2B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised_103C475472B87326B799667995842E95" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_4CFF7A60D66B93F62B3B667995845C64" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised_103C475472B87326B799667995842E95" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_AdjustmentsToAdditionalPaidInCapitalTaxEffectFromShareBasedCompensation" xlink:label="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalTaxEffectFromShareBasedCompensation_3AF3BB54E708DD398379667995845AA5" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_4CFF7A60D66B93F62B3B667995845C64" xlink:to="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalTaxEffectFromShareBasedCompensation_3AF3BB54E708DD398379667995845AA5" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_IssuanceOfDeferredShares" xlink:label="loc_mtrx_IssuanceOfDeferredShares_3C943F27E94818ABBB54667995847B8E" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_4CFF7A60D66B93F62B3B667995845C64" xlink:to="loc_mtrx_IssuanceOfDeferredShares_3C943F27E94818ABBB54667995847B8E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_StockIssuedDuringPeriodValueEmployeeStockPurchasePlan" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueEmployeeStockPurchasePlan_30D964E9A00A4D12091266799584FAB4" xlink:type="locator" />
    <definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_4CFF7A60D66B93F62B3B667995845C64" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueEmployeeStockPurchasePlan_30D964E9A00A4D12091266799584FAB4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_TreasuryStockValueAcquiredCostMethod" xlink:label="loc_us-gaap_TreasuryStockValueAcquiredCostMethod_24C52463A072F6FB35A766799584216B" xlink:type="locator" />
    <definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_4CFF7A60D66B93F62B3B667995845C64" xlink:to="loc_us-gaap_TreasuryStockValueAcquiredCostMethod_24C52463A072F6FB35A766799584216B" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_OtherTreasurySharePurchases" xlink:label="loc_mtrx_OtherTreasurySharePurchases_EF69D4F97C7A1BA4B413667995843650" xlink:type="locator" />
    <definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_4CFF7A60D66B93F62B3B667995845C64" xlink:to="loc_mtrx_OtherTreasurySharePurchases_EF69D4F97C7A1BA4B413667995843650" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue" xlink:label="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_E1CA1F5CEB6A432AAA2D667995843D8D" xlink:type="locator" />
    <definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_4CFF7A60D66B93F62B3B667995845C64" xlink:to="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_E1CA1F5CEB6A432AAA2D667995843D8D" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/ConsolidatedStatementsOfChangesInStockholdersEquityParenthetical" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaap_StatementLineItems_09DB62FB86B52EBEA23A66799777C8EE" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaap_StatementTable_5FC32144ED3ACA03DC03667997774605" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_09DB62FB86B52EBEA23A66799777C8EE" xlink:to="loc_us-gaap_StatementTable_5FC32144ED3ACA03DC03667997774605" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_StatementEquityComponentsAxis" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_36ECA0FC4076B266970366799777FCE7" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_5FC32144ED3ACA03DC03667997774605" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_36ECA0FC4076B266970366799777FCE7" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_DB9F7B46378D0D82844F66799777C249_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_36ECA0FC4076B266970366799777FCE7" xlink:to="loc_us-gaap_EquityComponentDomain_DB9F7B46378D0D82844F66799777C249_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_DB9F7B46378D0D82844F66799777C249" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_36ECA0FC4076B266970366799777FCE7" xlink:to="loc_us-gaap_EquityComponentDomain_DB9F7B46378D0D82844F66799777C249" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_AdditionalPaidInCapitalMember" xlink:label="loc_us-gaap_AdditionalPaidInCapitalMember_00B3984C0A8FF433DB1B667997776584" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_DB9F7B46378D0D82844F66799777C249" xlink:to="loc_us-gaap_AdditionalPaidInCapitalMember_00B3984C0A8FF433DB1B667997776584" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_RetainedEarningsMember" xlink:label="loc_us-gaap_RetainedEarningsMember_A5C6D3A635EEEE0AE15566799777D56B" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_DB9F7B46378D0D82844F66799777C249" xlink:to="loc_us-gaap_RetainedEarningsMember_A5C6D3A635EEEE0AE15566799777D56B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_TreasuryStockMember" xlink:label="loc_us-gaap_TreasuryStockMember_09451A65E19452D79D2A66799777E5D1" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_DB9F7B46378D0D82844F66799777C249" xlink:to="loc_us-gaap_TreasuryStockMember_09451A65E19452D79D2A66799777E5D1" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_7D197510F6AEB016720866799777786B" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_09DB62FB86B52EBEA23A66799777C8EE" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_7D197510F6AEB016720866799777786B" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_DeferredSharesIssued" xlink:label="loc_mtrx_DeferredSharesIssued_BE4038E39731AEB7CD866679977780BE" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_09DB62FB86B52EBEA23A66799777C8EE" xlink:to="loc_mtrx_DeferredSharesIssued_BE4038E39731AEB7CD866679977780BE" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans_6A1E356E98D2E486EE86667997778FF0" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_09DB62FB86B52EBEA23A66799777C8EE" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans_6A1E356E98D2E486EE86667997778FF0" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_TreasuryStockSharesAcquired" xlink:label="loc_us-gaap_TreasuryStockSharesAcquired_3AEF4D064D707A50190B66799777488A" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_09DB62FB86B52EBEA23A66799777C8EE" xlink:to="loc_us-gaap_TreasuryStockSharesAcquired_3AEF4D064D707A50190B66799777488A" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_OtherTreasurySharesAcquired" xlink:label="loc_mtrx_OtherTreasurySharesAcquired_9D20B76FE3005EFE132466799777D87B" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_09DB62FB86B52EBEA23A66799777C8EE" xlink:to="loc_mtrx_OtherTreasurySharesAcquired_9D20B76FE3005EFE132466799777D87B" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/ConsolidatedStatementsOfComprehensiveIncome" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/ConsolidatedStatementsOfComprehensiveIncomeParentheticals" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/ConsolidatedStatementsOfIncome" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/Contingencies" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/ContingenciesDetailsTextual" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/CustomerContracts" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/CustomerContractsDetails" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/CustomerContractsDetailsTextual" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_BusinessAcquisitionLineItems" xlink:label="loc_us-gaap_BusinessAcquisitionLineItems_EE9A5ABF3CB6FA41F47965B8C49AB2ED" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_2C54C9C653E1A066128865B8C49A49F5" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_EE9A5ABF3CB6FA41F47965B8C49AB2ED" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_2C54C9C653E1A066128865B8C49A49F5" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_MajorCustomersAxis" xlink:label="loc_us-gaap_MajorCustomersAxis_BCD3EEFE2F2A2832637A65B8C49A8586" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_2C54C9C653E1A066128865B8C49A49F5" xlink:to="loc_us-gaap_MajorCustomersAxis_BCD3EEFE2F2A2832637A65B8C49A8586" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_NameOfMajorCustomerDomain" xlink:label="loc_us-gaap_NameOfMajorCustomerDomain_5C65FCB6F4F4F6AF9A2765B8C49AF168_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_MajorCustomersAxis_BCD3EEFE2F2A2832637A65B8C49A8586" xlink:to="loc_us-gaap_NameOfMajorCustomerDomain_5C65FCB6F4F4F6AF9A2765B8C49AF168_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_NameOfMajorCustomerDomain" xlink:label="loc_us-gaap_NameOfMajorCustomerDomain_5C65FCB6F4F4F6AF9A2765B8C49AF168" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_MajorCustomersAxis_BCD3EEFE2F2A2832637A65B8C49A8586" xlink:to="loc_us-gaap_NameOfMajorCustomerDomain_5C65FCB6F4F4F6AF9A2765B8C49AF168" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_SMElectricCompanyMember" xlink:label="loc_mtrx_SMElectricCompanyMember_DC3CDB42E12E04E1FDFA65B8C49AB2D7" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NameOfMajorCustomerDomain_5C65FCB6F4F4F6AF9A2765B8C49AF168" xlink:to="loc_mtrx_SMElectricCompanyMember_DC3CDB42E12E04E1FDFA65B8C49AB2D7" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_F5B0EB62CBF4825AFCE965B8C49AC2CC" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_2C54C9C653E1A066128865B8C49A49F5" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_F5B0EB62CBF4825AFCE965B8C49AC2CC" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_8052423A6E7743AD3C1565B8C49AE101_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_F5B0EB62CBF4825AFCE965B8C49AC2CC" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_8052423A6E7743AD3C1565B8C49AE101_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_8052423A6E7743AD3C1565B8C49AE101" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_F5B0EB62CBF4825AFCE965B8C49AC2CC" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_8052423A6E7743AD3C1565B8C49AE101" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_SmeMember" xlink:label="loc_mtrx_SmeMember_50C60CEBC33DCB7065D065B8C49A4447" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_8052423A6E7743AD3C1565B8C49AE101" xlink:to="loc_mtrx_SmeMember_50C60CEBC33DCB7065D065B8C49A4447" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_ChangeInAccountingEstimateFinancialEffectOperatingIncome" xlink:label="loc_mtrx_ChangeInAccountingEstimateFinancialEffectOperatingIncome_9EF79372CE985DACDA1665B8C49A6287" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_EE9A5ABF3CB6FA41F47965B8C49AB2ED" xlink:to="loc_mtrx_ChangeInAccountingEstimateFinancialEffectOperatingIncome_9EF79372CE985DACDA1665B8C49A6287" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_ChangeinAccountingEstimateFinancialEffectNetIncome" xlink:label="loc_mtrx_ChangeinAccountingEstimateFinancialEffectNetIncome_7AE22F0E6C890C3D7F3A65B8C49AA337" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_EE9A5ABF3CB6FA41F47965B8C49AB2ED" xlink:to="loc_mtrx_ChangeinAccountingEstimateFinancialEffectNetIncome_7AE22F0E6C890C3D7F3A65B8C49AA337" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_BusinessCombinationClaimSettlementReceivables" xlink:label="loc_mtrx_BusinessCombinationClaimSettlementReceivables_0ED8F8BB8CE8CC46C6A765B8C49A2D63" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_EE9A5ABF3CB6FA41F47965B8C49AB2ED" xlink:to="loc_mtrx_BusinessCombinationClaimSettlementReceivables_0ED8F8BB8CE8CC46C6A765B8C49A2D63" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ContractsReceivableClaimsAndUncertainAmountsExpectedToBeCollectedInNextRollingTwelveMonths" xlink:label="loc_us-gaap_ContractsReceivableClaimsAndUncertainAmountsExpectedToBeCollectedInNextRollingTwelveMonths_052AA44935193690FFA065B8C49AA845" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_EE9A5ABF3CB6FA41F47965B8C49AB2ED" xlink:to="loc_us-gaap_ContractsReceivableClaimsAndUncertainAmountsExpectedToBeCollectedInNextRollingTwelveMonths_052AA44935193690FFA065B8C49AA845" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_LossOnContracts" xlink:label="loc_us-gaap_LossOnContracts_EB2F2CAFE9899A7A3BA065B8C49A7CFF" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_EE9A5ABF3CB6FA41F47965B8C49AB2ED" xlink:to="loc_us-gaap_LossOnContracts_EB2F2CAFE9899A7A3BA065B8C49A7CFF" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/CustomerContractsTables" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/Debt" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/DebtDetails" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/DebtDetailsTextual" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_LineOfCreditFacilityLineItems" xlink:label="loc_us-gaap_LineOfCreditFacilityLineItems_0E541C04ACB4C50A71D8C501923C918E" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ScheduleOfAcquiredIndefiniteLivedIntangibleAssetsByMajorClassTable" xlink:label="loc_us-gaap_ScheduleOfAcquiredIndefiniteLivedIntangibleAssetsByMajorClassTable_65D3FF9508CC9744A9A8C501923C565F" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_0E541C04ACB4C50A71D8C501923C918E" xlink:to="loc_us-gaap_ScheduleOfAcquiredIndefiniteLivedIntangibleAssetsByMajorClassTable_65D3FF9508CC9744A9A8C501923C565F" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_VariableRateAxis" xlink:label="loc_us-gaap_VariableRateAxis_7239C8D1D2EAB9D5A7EDC501923C69E3" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAcquiredIndefiniteLivedIntangibleAssetsByMajorClassTable_65D3FF9508CC9744A9A8C501923C565F" xlink:to="loc_us-gaap_VariableRateAxis_7239C8D1D2EAB9D5A7EDC501923C69E3" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_VariableRateDomain" xlink:label="loc_us-gaap_VariableRateDomain_4FD1C15058FCD74D14D9C501923CB499_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_VariableRateAxis_7239C8D1D2EAB9D5A7EDC501923C69E3" xlink:to="loc_us-gaap_VariableRateDomain_4FD1C15058FCD74D14D9C501923CB499_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_VariableRateDomain" xlink:label="loc_us-gaap_VariableRateDomain_4FD1C15058FCD74D14D9C501923CB499" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_VariableRateAxis_7239C8D1D2EAB9D5A7EDC501923C69E3" xlink:to="loc_us-gaap_VariableRateDomain_4FD1C15058FCD74D14D9C501923CB499" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_CdorRateMember" xlink:label="loc_mtrx_CdorRateMember_06591D718DFE72618170C501923C15C9" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableRateDomain_4FD1C15058FCD74D14D9C501923CB499" xlink:to="loc_mtrx_CdorRateMember_06591D718DFE72618170C501923C15C9" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_CanadianPrimeRateMember" xlink:label="loc_mtrx_CanadianPrimeRateMember_76A11D44854254589291C501923CF8A8" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableRateDomain_4FD1C15058FCD74D14D9C501923CB499" xlink:to="loc_mtrx_CanadianPrimeRateMember_76A11D44854254589291C501923CF8A8" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_RangeAxis" xlink:label="loc_us-gaap_RangeAxis_8291F40B9AD1CBFBA326C501923C169B" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAcquiredIndefiniteLivedIntangibleAssetsByMajorClassTable_65D3FF9508CC9744A9A8C501923C565F" xlink:to="loc_us-gaap_RangeAxis_8291F40B9AD1CBFBA326C501923C169B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_FB200955AB3FC013FE1AC501923C7538_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RangeAxis_8291F40B9AD1CBFBA326C501923C169B" xlink:to="loc_us-gaap_RangeMember_FB200955AB3FC013FE1AC501923C7538_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_FB200955AB3FC013FE1AC501923C7538" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RangeAxis_8291F40B9AD1CBFBA326C501923C169B" xlink:to="loc_us-gaap_RangeMember_FB200955AB3FC013FE1AC501923C7538" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_MinimumMember" xlink:label="loc_us-gaap_MinimumMember_30C82FEEB654DECF29DFC501923CFBA2" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_FB200955AB3FC013FE1AC501923C7538" xlink:to="loc_us-gaap_MinimumMember_30C82FEEB654DECF29DFC501923CFBA2" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_MaximumMember" xlink:label="loc_us-gaap_MaximumMember_D93700D8E7ED14C478A6C501923CBB17" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_FB200955AB3FC013FE1AC501923C7538" xlink:to="loc_us-gaap_MaximumMember_D93700D8E7ED14C478A6C501923CBB17" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DebtInstrumentBasisSpreadOnVariableRate1" xlink:label="loc_us-gaap_DebtInstrumentBasisSpreadOnVariableRate1_B85FC5EDBBB29C205E8AC501923C1C8D" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_0E541C04ACB4C50A71D8C501923C918E" xlink:to="loc_us-gaap_DebtInstrumentBasisSpreadOnVariableRate1_B85FC5EDBBB29C205E8AC501923C1C8D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_LineOfCreditFacilityUnusedCapacityCommitmentFeePercentage" xlink:label="loc_us-gaap_LineOfCreditFacilityUnusedCapacityCommitmentFeePercentage_4AD90BCA277E10DFC720C501923C450A" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_0E541C04ACB4C50A71D8C501923C918E" xlink:to="loc_us-gaap_LineOfCreditFacilityUnusedCapacityCommitmentFeePercentage_4AD90BCA277E10DFC720C501923C450A" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_LineOfCreditFacilityMaximumBorrowingCapacityAfterConsiderationOfCapacityConstraint" xlink:label="loc_mtrx_LineOfCreditFacilityMaximumBorrowingCapacityAfterConsiderationOfCapacityConstraint_DFD293BEEFCBEB975358C501923CD876" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_0E541C04ACB4C50A71D8C501923C918E" xlink:to="loc_mtrx_LineOfCreditFacilityMaximumBorrowingCapacityAfterConsiderationOfCapacityConstraint_DFD293BEEFCBEB975358C501923CD876" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_DebtTextualAbstract" xlink:label="loc_mtrx_DebtTextualAbstract_2E69D5A043A6E719311AC501923CABA3" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_0E541C04ACB4C50A71D8C501923C918E" xlink:to="loc_mtrx_DebtTextualAbstract_2E69D5A043A6E719311AC501923CABA3" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity" xlink:label="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_777FDE4B4A7FB8031C51C501923CFE5B" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_DebtTextualAbstract_2E69D5A043A6E719311AC501923CABA3" xlink:to="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_777FDE4B4A7FB8031C51C501923CFE5B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_LineOfCreditFacilityExpirationDate1" xlink:label="loc_us-gaap_LineOfCreditFacilityExpirationDate1_E62F2943DDFB373CA1EAC501923C492E" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_DebtTextualAbstract_2E69D5A043A6E719311AC501923CABA3" xlink:to="loc_us-gaap_LineOfCreditFacilityExpirationDate1_E62F2943DDFB373CA1EAC501923C492E" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_SeniorLeverageRatioMaximum" xlink:label="loc_mtrx_SeniorLeverageRatioMaximum_992A62E482A2AB270777C501923CA530" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_DebtTextualAbstract_2E69D5A043A6E719311AC501923CABA3" xlink:to="loc_mtrx_SeniorLeverageRatioMaximum_992A62E482A2AB270777C501923CA530" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_SeniorLeverageRatioMinimum" xlink:label="loc_mtrx_SeniorLeverageRatioMinimum_15A6F78B6090FF82ED6BC501923C05B2" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_DebtTextualAbstract_2E69D5A043A6E719311AC501923CABA3" xlink:to="loc_mtrx_SeniorLeverageRatioMinimum_15A6F78B6090FF82ED6BC501923C05B2" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_FixedChargeCoverageRatioMaximum" xlink:label="loc_mtrx_FixedChargeCoverageRatioMaximum_4B1B7F7758915F0B5A12C501923C9A33" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_DebtTextualAbstract_2E69D5A043A6E719311AC501923CABA3" xlink:to="loc_mtrx_FixedChargeCoverageRatioMaximum_4B1B7F7758915F0B5A12C501923C9A33" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_FixedChargeCoverageRatioMinimum" xlink:label="loc_mtrx_FixedChargeCoverageRatioMinimum_672042F44CCA4708B9EEC501923CAB68" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_DebtTextualAbstract_2E69D5A043A6E719311AC501923CABA3" xlink:to="loc_mtrx_FixedChargeCoverageRatioMinimum_672042F44CCA4708B9EEC501923CAB68" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_AmountOfLimitOnAssetDispositions" xlink:label="loc_mtrx_AmountOfLimitOnAssetDispositions_98B3852D71961DB2DF8FC501923C23C6" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_DebtTextualAbstract_2E69D5A043A6E719311AC501923CABA3" xlink:to="loc_mtrx_AmountOfLimitOnAssetDispositions_98B3852D71961DB2DF8FC501923C23C6" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_LineOfCreditBasisSpreadOnAlternateBaseRateMinimum" xlink:label="loc_mtrx_LineOfCreditBasisSpreadOnAlternateBaseRateMinimum_6DC4F135B41C82D06231C501923C2D86" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_DebtTextualAbstract_2E69D5A043A6E719311AC501923CABA3" xlink:to="loc_mtrx_LineOfCreditBasisSpreadOnAlternateBaseRateMinimum_6DC4F135B41C82D06231C501923C2D86" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_LineOfCreditBasisSpreadOnAlternateBaseRateMaximum" xlink:label="loc_mtrx_LineOfCreditBasisSpreadOnAlternateBaseRateMaximum_040C25A95C5708CD0DE3C501923CDDC7" xlink:type="locator" />
    <definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_DebtTextualAbstract_2E69D5A043A6E719311AC501923CABA3" xlink:to="loc_mtrx_LineOfCreditBasisSpreadOnAlternateBaseRateMaximum_040C25A95C5708CD0DE3C501923CDDC7" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_LineOfCreditBasisSpreadOnLondonInterbankOfferedRateMinimum" xlink:label="loc_mtrx_LineOfCreditBasisSpreadOnLondonInterbankOfferedRateMinimum_108BFBFE76AFD03172A6C501923CAB21" xlink:type="locator" />
    <definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_DebtTextualAbstract_2E69D5A043A6E719311AC501923CABA3" xlink:to="loc_mtrx_LineOfCreditBasisSpreadOnLondonInterbankOfferedRateMinimum_108BFBFE76AFD03172A6C501923CAB21" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_LineOfCreditBasisSpreadOnLondonInterbankOfferedRateMaximum" xlink:label="loc_mtrx_LineOfCreditBasisSpreadOnLondonInterbankOfferedRateMaximum_2A7A62BF350229D59D0AC501923CCCB9" xlink:type="locator" />
    <definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_DebtTextualAbstract_2E69D5A043A6E719311AC501923CABA3" xlink:to="loc_mtrx_LineOfCreditBasisSpreadOnLondonInterbankOfferedRateMaximum_2A7A62BF350229D59D0AC501923CCCB9" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_AmountOfLimitOnCanadianDollarBorrowings" xlink:label="loc_mtrx_AmountOfLimitOnCanadianDollarBorrowings_B5FD612B5A024E0F4B9EC501923C8D8C" xlink:type="locator" />
    <definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_DebtTextualAbstract_2E69D5A043A6E719311AC501923CABA3" xlink:to="loc_mtrx_AmountOfLimitOnCanadianDollarBorrowings_B5FD612B5A024E0F4B9EC501923C8D8C" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_LineOfCreditBasisSpreadOnCanadianDepositOfferedRateMinimum" xlink:label="loc_mtrx_LineOfCreditBasisSpreadOnCanadianDepositOfferedRateMinimum_36F562E4B81BE4AA76E3C501923C48E1" xlink:type="locator" />
    <definitionArc order="13" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_DebtTextualAbstract_2E69D5A043A6E719311AC501923CABA3" xlink:to="loc_mtrx_LineOfCreditBasisSpreadOnCanadianDepositOfferedRateMinimum_36F562E4B81BE4AA76E3C501923C48E1" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_LineOfCreditBasisSpreadOnCanadianDepositOfferedRateMaximum" xlink:label="loc_mtrx_LineOfCreditBasisSpreadOnCanadianDepositOfferedRateMaximum_F2A74F6368534C497D82C501923CAE38" xlink:type="locator" />
    <definitionArc order="14" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_DebtTextualAbstract_2E69D5A043A6E719311AC501923CABA3" xlink:to="loc_mtrx_LineOfCreditBasisSpreadOnCanadianDepositOfferedRateMaximum_F2A74F6368534C497D82C501923CAE38" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_LineOfCreditBasisSpreadOnCanadianPrimeRateMinimum" xlink:label="loc_mtrx_LineOfCreditBasisSpreadOnCanadianPrimeRateMinimum_A189C7E8349275999859C501923CA2BC" xlink:type="locator" />
    <definitionArc order="15" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_DebtTextualAbstract_2E69D5A043A6E719311AC501923CABA3" xlink:to="loc_mtrx_LineOfCreditBasisSpreadOnCanadianPrimeRateMinimum_A189C7E8349275999859C501923CA2BC" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_LineOfCreditBasisSpreadOnCanadianPrimeRateMaximum" xlink:label="loc_mtrx_LineOfCreditBasisSpreadOnCanadianPrimeRateMaximum_8A8E317FD727DF7CF710C501923C476E" xlink:type="locator" />
    <definitionArc order="16" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_DebtTextualAbstract_2E69D5A043A6E719311AC501923CABA3" xlink:to="loc_mtrx_LineOfCreditBasisSpreadOnCanadianPrimeRateMaximum_8A8E317FD727DF7CF710C501923C476E" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_MaximumLimitOfConsolidatedFundedIndebtedness" xlink:label="loc_mtrx_MaximumLimitOfConsolidatedFundedIndebtedness_76AD189DBA18D65838F5C501923C40C8" xlink:type="locator" />
    <definitionArc order="17" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_DebtTextualAbstract_2E69D5A043A6E719311AC501923CABA3" xlink:to="loc_mtrx_MaximumLimitOfConsolidatedFundedIndebtedness_76AD189DBA18D65838F5C501923C40C8" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_ConsolidatedEarningsBeforeInterestTaxesDepreciationAndAmortizationPerCreditAgreement" xlink:label="loc_mtrx_ConsolidatedEarningsBeforeInterestTaxesDepreciationAndAmortizationPerCreditAgreement_B4CB4B6D991E9C11A47BC501924696CD" xlink:type="locator" />
    <definitionArc order="18" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_DebtTextualAbstract_2E69D5A043A6E719311AC501923CABA3" xlink:to="loc_mtrx_ConsolidatedEarningsBeforeInterestTaxesDepreciationAndAmortizationPerCreditAgreement_B4CB4B6D991E9C11A47BC501924696CD" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_ConsolidatedFundedIndebtedness" xlink:label="loc_mtrx_ConsolidatedFundedIndebtedness_8AE6A91CE425FDF69A2BC50192467F93" xlink:type="locator" />
    <definitionArc order="19" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_DebtTextualAbstract_2E69D5A043A6E719311AC501923CABA3" xlink:to="loc_mtrx_ConsolidatedFundedIndebtedness_8AE6A91CE425FDF69A2BC50192467F93" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_LineOfCreditFacilityCanadianDepositOfferedRateDescription" xlink:label="loc_mtrx_LineOfCreditFacilityCanadianDepositOfferedRateDescription_5152EDED249312CDB52AC501924611F1" xlink:type="locator" />
    <definitionArc order="20" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_DebtTextualAbstract_2E69D5A043A6E719311AC501923CABA3" xlink:to="loc_mtrx_LineOfCreditFacilityCanadianDepositOfferedRateDescription_5152EDED249312CDB52AC501924611F1" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_LineOfCreditFacilityCanadianPrimeRateDescription" xlink:label="loc_mtrx_LineOfCreditFacilityCanadianPrimeRateDescription_0D9DCCE78DCB321A7833C50192467107" xlink:type="locator" />
    <definitionArc order="21" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_DebtTextualAbstract_2E69D5A043A6E719311AC501923CABA3" xlink:to="loc_mtrx_LineOfCreditFacilityCanadianPrimeRateDescription_0D9DCCE78DCB321A7833C50192467107" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/DebtTables" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/DocumentAndEntityInformation" xlink:type="extended">
    <loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityInformationLineItems" xlink:label="loc_dei_EntityInformationLineItems_732351C5AA470731DC77C50192F01EAA" xlink:type="locator" />
    <loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntitiesTable" xlink:label="loc_dei_EntitiesTable_A6334B7879E1C12624E9C50192F0D962" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_dei_EntityInformationLineItems_732351C5AA470731DC77C50192F01EAA" xlink:to="loc_dei_EntitiesTable_A6334B7879E1C12624E9C50192F0D962" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_LegalEntityAxis" xlink:label="loc_dei_LegalEntityAxis_C9D5E2F81A4D1BAA8ACCC50192F094B1" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_dei_EntitiesTable_A6334B7879E1C12624E9C50192F0D962" xlink:to="loc_dei_LegalEntityAxis_C9D5E2F81A4D1BAA8ACCC50192F094B1" xlink:type="arc" />
    <loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_E9CE64755CF9F18C373FC50192F0DEE5_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_C9D5E2F81A4D1BAA8ACCC50192F094B1" xlink:to="loc_dei_EntityDomain_E9CE64755CF9F18C373FC50192F0DEE5_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_E9CE64755CF9F18C373FC50192F0DEE5" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_C9D5E2F81A4D1BAA8ACCC50192F094B1" xlink:to="loc_dei_EntityDomain_E9CE64755CF9F18C373FC50192F0DEE5" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/EarningsPerCommonShare" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/EarningsPerCommonShareDetails" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/EarningsPerCommonShareDetails1" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_956278A774710F4FD3D3C50192E6E14C" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable" xlink:label="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_176A4F66901BF627B969C50192E6ED71" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_956278A774710F4FD3D3C50192E6E14C" xlink:to="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_176A4F66901BF627B969C50192E6ED71" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_6E78C6A6998E1261EF7CC50192E6C6C2" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_176A4F66901BF627B969C50192E6ED71" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_6E78C6A6998E1261EF7CC50192E6C6C2" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_AntidilutiveSecuritiesNameDomain" xlink:label="loc_us-gaap_AntidilutiveSecuritiesNameDomain_DA53CA259AF234432280C50192E6CE71_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_6E78C6A6998E1261EF7CC50192E6C6C2" xlink:to="loc_us-gaap_AntidilutiveSecuritiesNameDomain_DA53CA259AF234432280C50192E6CE71_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_AntidilutiveSecuritiesNameDomain" xlink:label="loc_us-gaap_AntidilutiveSecuritiesNameDomain_DA53CA259AF234432280C50192E6CE71" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_6E78C6A6998E1261EF7CC50192E6C6C2" xlink:to="loc_us-gaap_AntidilutiveSecuritiesNameDomain_DA53CA259AF234432280C50192E6CE71" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_EmployeeStockOptionMember" xlink:label="loc_us-gaap_EmployeeStockOptionMember_ACB33515B8778BF95C09C50192E61794" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_DA53CA259AF234432280C50192E6CE71" xlink:to="loc_us-gaap_EmployeeStockOptionMember_ACB33515B8778BF95C09C50192E61794" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_NonvestedDeferredSharesMember" xlink:label="loc_mtrx_NonvestedDeferredSharesMember_91A59BBE559210C701D4C50192E6ECE9" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_DA53CA259AF234432280C50192E6CE71" xlink:to="loc_mtrx_NonvestedDeferredSharesMember_91A59BBE559210C701D4C50192E6ECE9" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_AntidilutiveSecuritiesExcludedFromComputationOfDilutedEarningsPerShareAbstract" xlink:label="loc_mtrx_AntidilutiveSecuritiesExcludedFromComputationOfDilutedEarningsPerShareAbstract_1E38113C735A01CE840AC50192E6354F" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_956278A774710F4FD3D3C50192E6E14C" xlink:to="loc_mtrx_AntidilutiveSecuritiesExcludedFromComputationOfDilutedEarningsPerShareAbstract_1E38113C735A01CE840AC50192E6354F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_9AB5CFA36CA9DF93CA12C50192E69CE7" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_AntidilutiveSecuritiesExcludedFromComputationOfDilutedEarningsPerShareAbstract_1E38113C735A01CE840AC50192E6354F" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_9AB5CFA36CA9DF93CA12C50192E69CE7" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/EarningsPerCommonShareTables" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/EmployeeBenefitPlans" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/EmployeeBenefitPlansDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_MultiemployerPlansLineItems" xlink:label="loc_us-gaap_MultiemployerPlansLineItems_9E286AFEDDE2E1D2D46F6FBD8416D33B" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ScheduleOfMultiemployerPlansTable" xlink:label="loc_us-gaap_ScheduleOfMultiemployerPlansTable_8AB0A08DE5A6123F3EC26FBD840D0D64" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_MultiemployerPlansLineItems_9E286AFEDDE2E1D2D46F6FBD8416D33B" xlink:to="loc_us-gaap_ScheduleOfMultiemployerPlansTable_8AB0A08DE5A6123F3EC26FBD840D0D64" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_MultiemployerPlanTypeAxis" xlink:label="loc_us-gaap_MultiemployerPlanTypeAxis_ADF57972EAC0C79173096FBD840E0D34" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfMultiemployerPlansTable_8AB0A08DE5A6123F3EC26FBD840D0D64" xlink:to="loc_us-gaap_MultiemployerPlanTypeAxis_ADF57972EAC0C79173096FBD840E0D34" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_MultiemployerPlansTypeDomain" xlink:label="loc_us-gaap_MultiemployerPlansTypeDomain_72375078795DBF12631E6FBD840EFC84_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_MultiemployerPlanTypeAxis_ADF57972EAC0C79173096FBD840E0D34" xlink:to="loc_us-gaap_MultiemployerPlansTypeDomain_72375078795DBF12631E6FBD840EFC84_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_MultiemployerPlansTypeDomain" xlink:label="loc_us-gaap_MultiemployerPlansTypeDomain_72375078795DBF12631E6FBD840EFC84" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_MultiemployerPlanTypeAxis_ADF57972EAC0C79173096FBD840E0D34" xlink:to="loc_us-gaap_MultiemployerPlansTypeDomain_72375078795DBF12631E6FBD840EFC84" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_JointPensionFundLocalUnionOneSixFourIbewMember" xlink:label="loc_mtrx_JointPensionFundLocalUnionOneSixFourIbewMember_EBE46B4A41079A7DCA956FBD840ECFD8" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MultiemployerPlansTypeDomain_72375078795DBF12631E6FBD840EFC84" xlink:to="loc_mtrx_JointPensionFundLocalUnionOneSixFourIbewMember_EBE46B4A41079A7DCA956FBD840ECFD8" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_BoilermakerBlacksmithNationalPensionTrustMember" xlink:label="loc_mtrx_BoilermakerBlacksmithNationalPensionTrustMember_8DEA07AC414C27C1C5D76FBD840E4E55" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MultiemployerPlansTypeDomain_72375078795DBF12631E6FBD840EFC84" xlink:to="loc_mtrx_BoilermakerBlacksmithNationalPensionTrustMember_8DEA07AC414C27C1C5D76FBD840E4E55" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_JointPensionFundLocalUnionNumberOneZeroTwoMemberDomain" xlink:label="loc_mtrx_JointPensionFundLocalUnionNumberOneZeroTwoMemberDomain_EE7F0B0241E04254B8F06FBD8413C2BE" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MultiemployerPlansTypeDomain_72375078795DBF12631E6FBD840EFC84" xlink:to="loc_mtrx_JointPensionFundLocalUnionNumberOneZeroTwoMemberDomain_EE7F0B0241E04254B8F06FBD8413C2BE" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_IBEWLocalFourFiveSixPensionPlanMemberDomain" xlink:label="loc_mtrx_IBEWLocalFourFiveSixPensionPlanMemberDomain_0B382F397B53CFBF88326FBD84136CE0" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MultiemployerPlansTypeDomain_72375078795DBF12631E6FBD840EFC84" xlink:to="loc_mtrx_IBEWLocalFourFiveSixPensionPlanMemberDomain_0B382F397B53CFBF88326FBD84136CE0" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_LocalThreeFiveOneIbewPensionPlanMember" xlink:label="loc_mtrx_LocalThreeFiveOneIbewPensionPlanMember_6AA23C9F4C6D3CFED01F6FBD84134704" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MultiemployerPlansTypeDomain_72375078795DBF12631E6FBD840EFC84" xlink:to="loc_mtrx_LocalThreeFiveOneIbewPensionPlanMember_6AA23C9F4C6D3CFED01F6FBD84134704" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_SteamfittersLocalUnionNumberFourTwoZeroPensionPlanMemberDomain" xlink:label="loc_mtrx_SteamfittersLocalUnionNumberFourTwoZeroPensionPlanMemberDomain_7DBBD95A99BCFDC44E816FBD841334C9" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MultiemployerPlansTypeDomain_72375078795DBF12631E6FBD840EFC84" xlink:to="loc_mtrx_SteamfittersLocalUnionNumberFourTwoZeroPensionPlanMemberDomain_7DBBD95A99BCFDC44E816FBD841334C9" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_IBEWLocalUnionNineEightPensionPlanMember" xlink:label="loc_mtrx_IBEWLocalUnionNineEightPensionPlanMember_25819F7E09A3DAF1ADCB6FBD84132D32" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MultiemployerPlansTypeDomain_72375078795DBF12631E6FBD840EFC84" xlink:to="loc_mtrx_IBEWLocalUnionNineEightPensionPlanMember_25819F7E09A3DAF1ADCB6FBD84132D32" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_IndianaLaborersPensionFundDomain" xlink:label="loc_mtrx_IndianaLaborersPensionFundDomain_67ACD7B2FEA0536001A66FBD84152517" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MultiemployerPlansTypeDomain_72375078795DBF12631E6FBD840EFC84" xlink:to="loc_mtrx_IndianaLaborersPensionFundDomain_67ACD7B2FEA0536001A66FBD84152517" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_IronworkersMidAmericaPensionPlanMember" xlink:label="loc_mtrx_IronworkersMidAmericaPensionPlanMember_425271254B056AC7DC8A6FBD841515ED" xlink:type="locator" />
    <definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MultiemployerPlansTypeDomain_72375078795DBF12631E6FBD840EFC84" xlink:to="loc_mtrx_IronworkersMidAmericaPensionPlanMember_425271254B056AC7DC8A6FBD841515ED" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_PlumbersandPipefittersLocalUnionSevenFourPensionFundMember" xlink:label="loc_mtrx_PlumbersandPipefittersLocalUnionSevenFourPensionFundMember_38A0E8E4D960424430E36FBD84157C7D" xlink:type="locator" />
    <definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MultiemployerPlansTypeDomain_72375078795DBF12631E6FBD840EFC84" xlink:to="loc_mtrx_PlumbersandPipefittersLocalUnionSevenFourPensionFundMember_38A0E8E4D960424430E36FBD84157C7D" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_PipefittersRetirementFundLocalFiveNineSevenMember" xlink:label="loc_mtrx_PipefittersRetirementFundLocalFiveNineSevenMember_11FC62E5053BFD3DDB386FBD8415024E" xlink:type="locator" />
    <definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MultiemployerPlansTypeDomain_72375078795DBF12631E6FBD840EFC84" xlink:to="loc_mtrx_PipefittersRetirementFundLocalFiveNineSevenMember_11FC62E5053BFD3DDB386FBD8415024E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_MultiemployerPlansCollectiveBargainingArrangementExpirationDateDescription" xlink:label="loc_us-gaap_MultiemployerPlansCollectiveBargainingArrangementExpirationDateDescription_A90B4FAF4A330CA064826FBD84163DE2" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MultiemployerPlansLineItems_9E286AFEDDE2E1D2D46F6FBD8416D33B" xlink:to="loc_us-gaap_MultiemployerPlansCollectiveBargainingArrangementExpirationDateDescription_A90B4FAF4A330CA064826FBD84163DE2" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_MultiemployerPlansAbstract" xlink:label="loc_us-gaap_MultiemployerPlansAbstract_2BB7FAA8CBAEF421F2F06FBD8416FFE3" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MultiemployerPlansLineItems_9E286AFEDDE2E1D2D46F6FBD8416D33B" xlink:to="loc_us-gaap_MultiemployerPlansAbstract_2BB7FAA8CBAEF421F2F06FBD8416FFE3" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_MultiemployerPlansNumber" xlink:label="loc_mtrx_MultiemployerPlansNumber_FE44D965CC4FA64E8B266FBD8416D9D0" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MultiemployerPlansAbstract_2BB7FAA8CBAEF421F2F06FBD8416FFE3" xlink:to="loc_mtrx_MultiemployerPlansNumber_FE44D965CC4FA64E8B266FBD8416D9D0" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_MultiemployerPlansCertifiedZoneStatusDescription" xlink:label="loc_mtrx_MultiemployerPlansCertifiedZoneStatusDescription_E0AD503A5F8DFE3AE7206FBD8416FBEB" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MultiemployerPlansAbstract_2BB7FAA8CBAEF421F2F06FBD8416FFE3" xlink:to="loc_mtrx_MultiemployerPlansCertifiedZoneStatusDescription_E0AD503A5F8DFE3AE7206FBD8416FBEB" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_MultiemployerPlansCertifiedZoneStatus" xlink:label="loc_us-gaap_MultiemployerPlansCertifiedZoneStatus_521726AFCEDD039995996FBD8416A64F" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MultiemployerPlansAbstract_2BB7FAA8CBAEF421F2F06FBD8416FFE3" xlink:to="loc_us-gaap_MultiemployerPlansCertifiedZoneStatus_521726AFCEDD039995996FBD8416A64F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_MultiemployerPlansFundingImprovementPlanAndRehabilitationPlan" xlink:label="loc_us-gaap_MultiemployerPlansFundingImprovementPlanAndRehabilitationPlan_02E5521162894103F1E56FBD8416F39C" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MultiemployerPlansAbstract_2BB7FAA8CBAEF421F2F06FBD8416FFE3" xlink:to="loc_us-gaap_MultiemployerPlansFundingImprovementPlanAndRehabilitationPlan_02E5521162894103F1E56FBD8416F39C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_MultiemployerPlanPeriodContributions" xlink:label="loc_us-gaap_MultiemployerPlanPeriodContributions_442A4CE3D561CC544D406FBD8416D5BA" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MultiemployerPlansAbstract_2BB7FAA8CBAEF421F2F06FBD8416FFE3" xlink:to="loc_us-gaap_MultiemployerPlanPeriodContributions_442A4CE3D561CC544D406FBD8416D5BA" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_MultiemployerPlanSurcharge" xlink:label="loc_mtrx_MultiemployerPlanSurcharge_0EF8DFFE153D8F0EE2786FBD8416E30D" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MultiemployerPlansAbstract_2BB7FAA8CBAEF421F2F06FBD8416FFE3" xlink:to="loc_mtrx_MultiemployerPlanSurcharge_0EF8DFFE153D8F0EE2786FBD8416E30D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_MultiemployerPlansSurcharge" xlink:label="loc_us-gaap_MultiemployerPlansSurcharge_5CBDC79BD010684CB47F6FBD841665A0" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MultiemployerPlansAbstract_2BB7FAA8CBAEF421F2F06FBD8416FFE3" xlink:to="loc_us-gaap_MultiemployerPlansSurcharge_5CBDC79BD010684CB47F6FBD841665A0" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_MultiemployerPlansCollectiveBargainingArrangementExpirationDate" xlink:label="loc_us-gaap_MultiemployerPlansCollectiveBargainingArrangementExpirationDate_62709B2C60D468A3C7796FBD84168571" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MultiemployerPlansAbstract_2BB7FAA8CBAEF421F2F06FBD8416FFE3" xlink:to="loc_us-gaap_MultiemployerPlansCollectiveBargainingArrangementExpirationDate_62709B2C60D468A3C7796FBD84168571" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_ContributionsToOtherMultiemployerPlans" xlink:label="loc_mtrx_ContributionsToOtherMultiemployerPlans_F2F3396EA16D3952DBEA6FBD8417941E" xlink:type="locator" />
    <definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MultiemployerPlansAbstract_2BB7FAA8CBAEF421F2F06FBD8416FFE3" xlink:to="loc_mtrx_ContributionsToOtherMultiemployerPlans_F2F3396EA16D3952DBEA6FBD8417941E" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/EmployeeBenefitPlansDetailsTextual" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_MultiemployerPlansLineItems" xlink:label="loc_us-gaap_MultiemployerPlansLineItems_085930E3AB96D9DB5AA96B66D85B0944" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ScheduleOfMultiemployerPlansTable" xlink:label="loc_us-gaap_ScheduleOfMultiemployerPlansTable_C0B158C73906B43C99E16B66D85B2CC1" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_MultiemployerPlansLineItems_085930E3AB96D9DB5AA96B66D85B0944" xlink:to="loc_us-gaap_ScheduleOfMultiemployerPlansTable_C0B158C73906B43C99E16B66D85B2CC1" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_MultiemployerPlanTypeAxis" xlink:label="loc_us-gaap_MultiemployerPlanTypeAxis_B8F71B869F7D989F29A36B66D85BC72A" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfMultiemployerPlansTable_C0B158C73906B43C99E16B66D85B2CC1" xlink:to="loc_us-gaap_MultiemployerPlanTypeAxis_B8F71B869F7D989F29A36B66D85BC72A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_MultiemployerPlansTypeDomain" xlink:label="loc_us-gaap_MultiemployerPlansTypeDomain_C8D13A4836E0D5CF78306B66D85B2A5A_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_MultiemployerPlanTypeAxis_B8F71B869F7D989F29A36B66D85BC72A" xlink:to="loc_us-gaap_MultiemployerPlansTypeDomain_C8D13A4836E0D5CF78306B66D85B2A5A_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_MultiemployerPlansTypeDomain" xlink:label="loc_us-gaap_MultiemployerPlansTypeDomain_C8D13A4836E0D5CF78306B66D85B2A5A" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_MultiemployerPlanTypeAxis_B8F71B869F7D989F29A36B66D85BC72A" xlink:to="loc_us-gaap_MultiemployerPlansTypeDomain_C8D13A4836E0D5CF78306B66D85B2A5A" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_PlumbersandPipefittersLocalUnionSevenFourPensionFundMember" xlink:label="loc_mtrx_PlumbersandPipefittersLocalUnionSevenFourPensionFundMember_A0DFBF39B673FDECED846B6864A667D1" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MultiemployerPlansTypeDomain_C8D13A4836E0D5CF78306B66D85B2A5A" xlink:to="loc_mtrx_PlumbersandPipefittersLocalUnionSevenFourPensionFundMember_A0DFBF39B673FDECED846B6864A667D1" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_MultiemployerPlanZoneByTypeAxis" xlink:label="loc_mtrx_MultiemployerPlanZoneByTypeAxis_5A449904F454F39960C26B66D85B52A2" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfMultiemployerPlansTable_C0B158C73906B43C99E16B66D85B2CC1" xlink:to="loc_mtrx_MultiemployerPlanZoneByTypeAxis_5A449904F454F39960C26B66D85B52A2" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_MultiemployerPlanZoneByTypeDomain" xlink:label="loc_mtrx_MultiemployerPlanZoneByTypeDomain_4044617BEAF1C0C50B736B66D85BB8EF_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_mtrx_MultiemployerPlanZoneByTypeAxis_5A449904F454F39960C26B66D85B52A2" xlink:to="loc_mtrx_MultiemployerPlanZoneByTypeDomain_4044617BEAF1C0C50B736B66D85BB8EF_default" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_MultiemployerPlanZoneByTypeDomain" xlink:label="loc_mtrx_MultiemployerPlanZoneByTypeDomain_4044617BEAF1C0C50B736B66D85BB8EF" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_mtrx_MultiemployerPlanZoneByTypeAxis_5A449904F454F39960C26B66D85B52A2" xlink:to="loc_mtrx_MultiemployerPlanZoneByTypeDomain_4044617BEAF1C0C50B736B66D85BB8EF" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_ZoneRedMember" xlink:label="loc_mtrx_ZoneRedMember_BC0183C042E10BE08C136B66D85BF73E" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_MultiemployerPlanZoneByTypeDomain_4044617BEAF1C0C50B736B66D85BB8EF" xlink:to="loc_mtrx_ZoneRedMember_BC0183C042E10BE08C136B66D85BF73E" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_ZoneYellowMember" xlink:label="loc_mtrx_ZoneYellowMember_31FC8838F0E489BBCF5A6B66D85B707B" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_MultiemployerPlanZoneByTypeDomain_4044617BEAF1C0C50B736B66D85BB8EF" xlink:to="loc_mtrx_ZoneYellowMember_31FC8838F0E489BBCF5A6B66D85B707B" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_ZoneGreenMember" xlink:label="loc_mtrx_ZoneGreenMember_335D56D15478C346A2E76B66D85B226E" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_MultiemployerPlanZoneByTypeDomain_4044617BEAF1C0C50B736B66D85BB8EF" xlink:to="loc_mtrx_ZoneGreenMember_335D56D15478C346A2E76B66D85B226E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_MultiemployerPlansFundingImprovementPlanAndRehabilitationPlan" xlink:label="loc_us-gaap_MultiemployerPlansFundingImprovementPlanAndRehabilitationPlan_DC65DAEFB071DF45D22B6B66D85B8C22" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MultiemployerPlansLineItems_085930E3AB96D9DB5AA96B66D85B0944" xlink:to="loc_us-gaap_MultiemployerPlansFundingImprovementPlanAndRehabilitationPlan_DC65DAEFB071DF45D22B6B66D85B8C22" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_PercentageOfPlanFunded" xlink:label="loc_mtrx_PercentageOfPlanFunded_9BCE77CFFB6EB465FECE6B66D85B4004" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MultiemployerPlansLineItems_085930E3AB96D9DB5AA96B66D85B0944" xlink:to="loc_mtrx_PercentageOfPlanFunded_9BCE77CFFB6EB465FECE6B66D85B4004" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_DescriptionOfFundedPortionOfPlan" xlink:label="loc_mtrx_DescriptionOfFundedPortionOfPlan_C48844635706AA764D816B66D85BC7A0" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MultiemployerPlansLineItems_085930E3AB96D9DB5AA96B66D85B0944" xlink:to="loc_mtrx_DescriptionOfFundedPortionOfPlan_C48844635706AA764D816B66D85BC7A0" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/EmployeeBenefitPlansTables" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/GoodwillAndOtherIntangibleAssets" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/GoodwillAndOtherIntangibleAssetsDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_GoodwillLineItems" xlink:label="loc_us-gaap_GoodwillLineItems_50282EB06AF469F584146C0E2D6A86A2" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ScheduleOfGoodwillTable" xlink:label="loc_us-gaap_ScheduleOfGoodwillTable_AF06D7AE076AE4EF33BC6C0E2D6999E4" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_GoodwillLineItems_50282EB06AF469F584146C0E2D6A86A2" xlink:to="loc_us-gaap_ScheduleOfGoodwillTable_AF06D7AE076AE4EF33BC6C0E2D6999E4" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_StatementBusinessSegmentsAxis" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_B6A3A5C0EF62F985AE276C0E2D6A93FC" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfGoodwillTable_AF06D7AE076AE4EF33BC6C0E2D6999E4" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_B6A3A5C0EF62F985AE276C0E2D6A93FC" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_38CACD5DE7F43FAA0C216C0E2D6A3637_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_B6A3A5C0EF62F985AE276C0E2D6A93FC" xlink:to="loc_us-gaap_SegmentDomain_38CACD5DE7F43FAA0C216C0E2D6A3637_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_38CACD5DE7F43FAA0C216C0E2D6A3637" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_B6A3A5C0EF62F985AE276C0E2D6A93FC" xlink:to="loc_us-gaap_SegmentDomain_38CACD5DE7F43FAA0C216C0E2D6A3637" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_ElectricalInfrastructureMember" xlink:label="loc_mtrx_ElectricalInfrastructureMember_9D7BC0D0A36DB561F0F06C0E2D6A2DAF" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_38CACD5DE7F43FAA0C216C0E2D6A3637" xlink:to="loc_mtrx_ElectricalInfrastructureMember_9D7BC0D0A36DB561F0F06C0E2D6A2DAF" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_OilGasAndChemicalMember" xlink:label="loc_mtrx_OilGasAndChemicalMember_5B60DDCAB84837DD8AF46C0E2D6AE9CF" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_38CACD5DE7F43FAA0C216C0E2D6A3637" xlink:to="loc_mtrx_OilGasAndChemicalMember_5B60DDCAB84837DD8AF46C0E2D6AE9CF" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_StorageSolutionsMember" xlink:label="loc_mtrx_StorageSolutionsMember_EDB6E810E54D01A78A5F6C0E2D6AF058" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_38CACD5DE7F43FAA0C216C0E2D6A3637" xlink:to="loc_mtrx_StorageSolutionsMember_EDB6E810E54D01A78A5F6C0E2D6AF058" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_IndustrialMember" xlink:label="loc_mtrx_IndustrialMember_EF9938CEA7CE710AB02D6C0E2D6A5948" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_38CACD5DE7F43FAA0C216C0E2D6A3637" xlink:to="loc_mtrx_IndustrialMember_EF9938CEA7CE710AB02D6C0E2D6A5948" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_AcquisitionRelatedAdjustmentForFinalWorkingCapitalSettlement" xlink:label="loc_mtrx_AcquisitionRelatedAdjustmentForFinalWorkingCapitalSettlement_550BCD3418F333B33A1B6C0E2D6BAC63" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillLineItems_50282EB06AF469F584146C0E2D6A86A2" xlink:to="loc_mtrx_AcquisitionRelatedAdjustmentForFinalWorkingCapitalSettlement_550BCD3418F333B33A1B6C0E2D6BAC63" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_GoodwillRollForward" xlink:label="loc_us-gaap_GoodwillRollForward_CFA2750BCE510EBA71236C0E2D6BFB48" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillLineItems_50282EB06AF469F584146C0E2D6A86A2" xlink:to="loc_us-gaap_GoodwillRollForward_CFA2750BCE510EBA71236C0E2D6BFB48" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_GoodwillGross" xlink:label="loc_us-gaap_GoodwillGross_75223E193105626206986C0E2D6B74A0" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillRollForward_CFA2750BCE510EBA71236C0E2D6BFB48" xlink:to="loc_us-gaap_GoodwillGross_75223E193105626206986C0E2D6B74A0" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_GoodwillImpairedAccumulatedImpairmentLoss" xlink:label="loc_us-gaap_GoodwillImpairedAccumulatedImpairmentLoss_EB15C3FAF84BA93685F56C0E2D6B3094" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillRollForward_CFA2750BCE510EBA71236C0E2D6BFB48" xlink:to="loc_us-gaap_GoodwillImpairedAccumulatedImpairmentLoss_EB15C3FAF84BA93685F56C0E2D6B3094" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_Goodwill" xlink:label="loc_us-gaap_Goodwill_FDF12000D5E223F325786C0E2D6B1842" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillRollForward_CFA2750BCE510EBA71236C0E2D6BFB48" xlink:to="loc_us-gaap_Goodwill_FDF12000D5E223F325786C0E2D6B1842" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_GoodwillAcquiredDuringPeriod" xlink:label="loc_us-gaap_GoodwillAcquiredDuringPeriod_96D6A7AEA875E8DE51006C0E2D6B29B0" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillRollForward_CFA2750BCE510EBA71236C0E2D6BFB48" xlink:to="loc_us-gaap_GoodwillAcquiredDuringPeriod_96D6A7AEA875E8DE51006C0E2D6B29B0" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_GoodwillTranslationAdjustments" xlink:label="loc_us-gaap_GoodwillTranslationAdjustments_3905864A48AB855642336C0E2D6BFD34" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillRollForward_CFA2750BCE510EBA71236C0E2D6BFB48" xlink:to="loc_us-gaap_GoodwillTranslationAdjustments_3905864A48AB855642336C0E2D6BFD34" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/GoodwillAndOtherIntangibleAssetsDetails1" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsLineItems" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_5E123820FFB2BCA0049D6A5B52B587F6" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable" xlink:label="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_6C406F2E4772799471326A5B52B5AD45" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_5E123820FFB2BCA0049D6A5B52B587F6" xlink:to="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_6C406F2E4772799471326A5B52B5AD45" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_3DC1CEFEB419750C278A6A5B52B595E3" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_6C406F2E4772799471326A5B52B5AD45" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_3DC1CEFEB419750C278A6A5B52B595E3" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_B5C845785701A8272B836A5B52B5028E_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_3DC1CEFEB419750C278A6A5B52B595E3" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_B5C845785701A8272B836A5B52B5028E_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_B5C845785701A8272B836A5B52B5028E" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_3DC1CEFEB419750C278A6A5B52B595E3" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_B5C845785701A8272B836A5B52B5028E" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_SMElectricTradeNameMember" xlink:label="loc_mtrx_SMElectricTradeNameMember_8A31FC215B6DB07EB7116A5B52B56BC7" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_B5C845785701A8272B836A5B52B5028E" xlink:to="loc_mtrx_SMElectricTradeNameMember_8A31FC215B6DB07EB7116A5B52B56BC7" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_IntellectualPropertyMember" xlink:label="loc_us-gaap_IntellectualPropertyMember_2616120358FDC66333486A5B52B5E84B" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_B5C845785701A8272B836A5B52B5028E" xlink:to="loc_us-gaap_IntellectualPropertyMember_2616120358FDC66333486A5B52B5E84B" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_CustomerBasedMember" xlink:label="loc_mtrx_CustomerBasedMember_FAC78647647EB6BBAD066A5B52B50A4F" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_B5C845785701A8272B836A5B52B5028E" xlink:to="loc_mtrx_CustomerBasedMember_FAC78647647EB6BBAD066A5B52B50A4F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_NoncompeteAgreementsMember" xlink:label="loc_us-gaap_NoncompeteAgreementsMember_E6BF247E0B279A8B9DCF6A5B52B5E839" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_B5C845785701A8272B836A5B52B5028E" xlink:to="loc_us-gaap_NoncompeteAgreementsMember_E6BF247E0B279A8B9DCF6A5B52B5E839" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_TradeNamesMember" xlink:label="loc_us-gaap_TradeNamesMember_36C590BC37199162552F6A5B52B5A02B" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_B5C845785701A8272B836A5B52B5028E" xlink:to="loc_us-gaap_TradeNamesMember_36C590BC37199162552F6A5B52B5A02B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis_34BEBF856FAFA1F320B26A5B52B54E76" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_6C406F2E4772799471326A5B52B5AD45" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis_34BEBF856FAFA1F320B26A5B52B54E76" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_396D26874D943382C1856A5B52B542FA_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis_34BEBF856FAFA1F320B26A5B52B54E76" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_396D26874D943382C1856A5B52B542FA_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_396D26874D943382C1856A5B52B542FA" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis_34BEBF856FAFA1F320B26A5B52B54E76" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_396D26874D943382C1856A5B52B542FA" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_TradeNamesMember" xlink:label="loc_us-gaap_TradeNamesMember_A24D862D034B1F21E8F26A5B52B5EDD0" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_396D26874D943382C1856A5B52B542FA" xlink:to="loc_us-gaap_TradeNamesMember_A24D862D034B1F21E8F26A5B52B5EDD0" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_RangeAxis" xlink:label="loc_us-gaap_RangeAxis_B562CB4EE83D7E4884DE6A5B52B5366E" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_6C406F2E4772799471326A5B52B5AD45" xlink:to="loc_us-gaap_RangeAxis_B562CB4EE83D7E4884DE6A5B52B5366E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_C38B7E4A7E369E1F273B6A5B52B56031_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RangeAxis_B562CB4EE83D7E4884DE6A5B52B5366E" xlink:to="loc_us-gaap_RangeMember_C38B7E4A7E369E1F273B6A5B52B56031_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_C38B7E4A7E369E1F273B6A5B52B56031" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RangeAxis_B562CB4EE83D7E4884DE6A5B52B5366E" xlink:to="loc_us-gaap_RangeMember_C38B7E4A7E369E1F273B6A5B52B56031" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_MinimumMember" xlink:label="loc_us-gaap_MinimumMember_6612237E2FD5C0A9CEF86A5B52B5B498" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_C38B7E4A7E369E1F273B6A5B52B56031" xlink:to="loc_us-gaap_MinimumMember_6612237E2FD5C0A9CEF86A5B52B5B498" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_MaximumMember" xlink:label="loc_us-gaap_MaximumMember_79E013B070084CEB40C36A5B52B569F6" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_C38B7E4A7E369E1F273B6A5B52B56031" xlink:to="loc_us-gaap_MaximumMember_79E013B070084CEB40C36A5B52B569F6" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_FiniteLivedTradeNamesGross" xlink:label="loc_us-gaap_FiniteLivedTradeNamesGross_AF535698C8587E8E0E436A5B52B57B60" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_5E123820FFB2BCA0049D6A5B52B587F6" xlink:to="loc_us-gaap_FiniteLivedTradeNamesGross_AF535698C8587E8E0E436A5B52B57B60" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsFairValueDisclosure" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsFairValueDisclosure_F645855B309F8B0718EE6A5B52B58D44" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_5E123820FFB2BCA0049D6A5B52B587F6" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsFairValueDisclosure_F645855B309F8B0718EE6A5B52B58D44" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwillAbstract" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwillAbstract_E3858635B0FE1259041C6A5B52B55D60" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_5E123820FFB2BCA0049D6A5B52B587F6" xlink:to="loc_us-gaap_IntangibleAssetsNetExcludingGoodwillAbstract_E3858635B0FE1259041C6A5B52B55D60" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetUsefulLife" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetUsefulLife_ED6D4188A2D2D686621D6A5B52B54EF0" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IntangibleAssetsNetExcludingGoodwillAbstract_E3858635B0FE1259041C6A5B52B55D60" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetUsefulLife_ED6D4188A2D2D686621D6A5B52B54EF0" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsGross" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsGross_7A1F30C7CBA1DDD5CBA76A5B52B5B7B6" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IntangibleAssetsNetExcludingGoodwillAbstract_E3858635B0FE1259041C6A5B52B55D60" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsGross_7A1F30C7CBA1DDD5CBA76A5B52B5B7B6" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_95CD73BEF00242585F2D6A5B52B55B25" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IntangibleAssetsNetExcludingGoodwillAbstract_E3858635B0FE1259041C6A5B52B55D60" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_95CD73BEF00242585F2D6A5B52B55B25" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsNet" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_07067F33E55A6D170FA86A5B52B500FB" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IntangibleAssetsNetExcludingGoodwillAbstract_E3858635B0FE1259041C6A5B52B55D60" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsNet_07067F33E55A6D170FA86A5B52B500FB" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_IndefiniteLivedTradeNames" xlink:label="loc_us-gaap_IndefiniteLivedTradeNames_E71534CD1FA0ED71FC556A5B52B53A75" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IntangibleAssetsNetExcludingGoodwillAbstract_E3858635B0FE1259041C6A5B52B55D60" xlink:to="loc_us-gaap_IndefiniteLivedTradeNames_E71534CD1FA0ED71FC556A5B52B53A75" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_IntangibleAssetsGrossExcludingGoodwill" xlink:label="loc_us-gaap_IntangibleAssetsGrossExcludingGoodwill_B2013BCE5FD943A566676A5B52B559BC" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IntangibleAssetsNetExcludingGoodwillAbstract_E3858635B0FE1259041C6A5B52B55D60" xlink:to="loc_us-gaap_IntangibleAssetsGrossExcludingGoodwill_B2013BCE5FD943A566676A5B52B559BC" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_IntangibleAssetsAccumulatedAmortizationExcludingGoodwill" xlink:label="loc_mtrx_IntangibleAssetsAccumulatedAmortizationExcludingGoodwill_E8ECA9F4B0F56FB38F036A5B52B5B6C9" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IntangibleAssetsNetExcludingGoodwillAbstract_E3858635B0FE1259041C6A5B52B55D60" xlink:to="loc_mtrx_IntangibleAssetsAccumulatedAmortizationExcludingGoodwill_E8ECA9F4B0F56FB38F036A5B52B5B6C9" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_BF2C8E50A772F213F0A46A5B52B53F4A" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IntangibleAssetsNetExcludingGoodwillAbstract_E3858635B0FE1259041C6A5B52B55D60" xlink:to="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_BF2C8E50A772F213F0A46A5B52B53F4A" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/GoodwillAndOtherIntangibleAssetsDetailsTextual" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_GoodwillLineItems" xlink:label="loc_us-gaap_GoodwillLineItems_40DDCF485241BB53F16961E1318A74AD" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ScheduleOfGoodwillTable" xlink:label="loc_us-gaap_ScheduleOfGoodwillTable_FDFED712B232FB8CB4E861E1318A2E9C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_GoodwillLineItems_40DDCF485241BB53F16961E1318A74AD" xlink:to="loc_us-gaap_ScheduleOfGoodwillTable_FDFED712B232FB8CB4E861E1318A2E9C" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_66C691CFBF894A1D521D61E1318A3827" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfGoodwillTable_FDFED712B232FB8CB4E861E1318A2E9C" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_66C691CFBF894A1D521D61E1318A3827" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_7FCDC798A5D5B2531AEE61E1318AD67F_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_66C691CFBF894A1D521D61E1318A3827" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_7FCDC798A5D5B2531AEE61E1318AD67F_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_7FCDC798A5D5B2531AEE61E1318AD67F" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_66C691CFBF894A1D521D61E1318A3827" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_7FCDC798A5D5B2531AEE61E1318AD67F" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_MatrixNACMember" xlink:label="loc_mtrx_MatrixNACMember_45413C1C84F8A6ABE75761E1318A538A" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_7FCDC798A5D5B2531AEE61E1318AD67F" xlink:to="loc_mtrx_MatrixNACMember_45413C1C84F8A6ABE75761E1318A538A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_3B2B045CDB6AECDACA2C61E1318A079C" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfGoodwillTable_FDFED712B232FB8CB4E861E1318A2E9C" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_3B2B045CDB6AECDACA2C61E1318A079C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_609A40A941DCE26F699961E1318A17E1_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_3B2B045CDB6AECDACA2C61E1318A079C" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_609A40A941DCE26F699961E1318A17E1_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_609A40A941DCE26F699961E1318A17E1" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_3B2B045CDB6AECDACA2C61E1318A079C" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_609A40A941DCE26F699961E1318A17E1" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_CustomerBasedMember" xlink:label="loc_mtrx_CustomerBasedMember_372BBCA596DC5323CE9D61E1318A7FC2" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_609A40A941DCE26F699961E1318A17E1" xlink:to="loc_mtrx_CustomerBasedMember_372BBCA596DC5323CE9D61E1318A7FC2" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_NoncompeteAgreementsMember" xlink:label="loc_us-gaap_NoncompeteAgreementsMember_A9EF0457B31D7AC5E5F661E1318A7B9F" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_609A40A941DCE26F699961E1318A17E1" xlink:to="loc_us-gaap_NoncompeteAgreementsMember_A9EF0457B31D7AC5E5F661E1318A7B9F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_RangeAxis" xlink:label="loc_us-gaap_RangeAxis_BF4A81B9FC30079BED6161E1318ADF0E" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfGoodwillTable_FDFED712B232FB8CB4E861E1318A2E9C" xlink:to="loc_us-gaap_RangeAxis_BF4A81B9FC30079BED6161E1318ADF0E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_AB342FC1195AA4F3892261E1318A2532_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RangeAxis_BF4A81B9FC30079BED6161E1318ADF0E" xlink:to="loc_us-gaap_RangeMember_AB342FC1195AA4F3892261E1318A2532_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_AB342FC1195AA4F3892261E1318A2532" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RangeAxis_BF4A81B9FC30079BED6161E1318ADF0E" xlink:to="loc_us-gaap_RangeMember_AB342FC1195AA4F3892261E1318A2532" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_MinimumMember" xlink:label="loc_us-gaap_MinimumMember_3DA72D209694F5254C4061E1318A73DF" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_AB342FC1195AA4F3892261E1318A2532" xlink:to="loc_us-gaap_MinimumMember_3DA72D209694F5254C4061E1318A73DF" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_MaximumMember" xlink:label="loc_us-gaap_MaximumMember_1F44A0B29F1DA4E51A2861E1318AF473" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_AB342FC1195AA4F3892261E1318A2532" xlink:to="loc_us-gaap_MaximumMember_1F44A0B29F1DA4E51A2861E1318AF473" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsFairValueDisclosure" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsFairValueDisclosure_02855F6B8409E206F43B61E1318A3D6A" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillLineItems_40DDCF485241BB53F16961E1318A74AD" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsFairValueDisclosure_02855F6B8409E206F43B61E1318A3D6A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetUsefulLife" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetUsefulLife_64F4FB8535D63268E91161E1318B7FBF" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillLineItems_40DDCF485241BB53F16961E1318A74AD" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetUsefulLife_64F4FB8535D63268E91161E1318B7FBF" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ImpairmentOfIntangibleAssetsFinitelived" xlink:label="loc_us-gaap_ImpairmentOfIntangibleAssetsFinitelived_E97A44B1A866E1CDD64D61E1318BFDCC" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillLineItems_40DDCF485241BB53F16961E1318A74AD" xlink:to="loc_us-gaap_ImpairmentOfIntangibleAssetsFinitelived_E97A44B1A866E1CDD64D61E1318BFDCC" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_GoodwillAndOtherIntangibleAssetsTextualAbstract" xlink:label="loc_mtrx_GoodwillAndOtherIntangibleAssetsTextualAbstract_C0E227E8E1C744F452BD61E1318B69AE" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillLineItems_40DDCF485241BB53F16961E1318A74AD" xlink:to="loc_mtrx_GoodwillAndOtherIntangibleAssetsTextualAbstract_C0E227E8E1C744F452BD61E1318B69AE" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_AmortizationOfIntangibleAssets" xlink:label="loc_us-gaap_AmortizationOfIntangibleAssets_4CA015C399AFB057106161E1318B5DA0" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_GoodwillAndOtherIntangibleAssetsTextualAbstract_C0E227E8E1C744F452BD61E1318B69AE" xlink:to="loc_us-gaap_AmortizationOfIntangibleAssets_4CA015C399AFB057106161E1318B5DA0" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths_62692FFFFB7C1F269E5861E1318B565E" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_GoodwillAndOtherIntangibleAssetsTextualAbstract_C0E227E8E1C744F452BD61E1318B69AE" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths_62692FFFFB7C1F269E5861E1318B565E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo_C65000326405C06064C061E1318B5079" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_GoodwillAndOtherIntangibleAssetsTextualAbstract_C0E227E8E1C744F452BD61E1318B69AE" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo_C65000326405C06064C061E1318B5079" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree_2A8B44152F039A4FAB6D61E1318B3584" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_GoodwillAndOtherIntangibleAssetsTextualAbstract_C0E227E8E1C744F452BD61E1318B69AE" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree_2A8B44152F039A4FAB6D61E1318B3584" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour_90A13B9E8BF0BA1C0A5E61E1318B8472" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_GoodwillAndOtherIntangibleAssetsTextualAbstract_C0E227E8E1C744F452BD61E1318B69AE" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour_90A13B9E8BF0BA1C0A5E61E1318B8472" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFive" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFive_D05A03ABDD61ABF1FA7B61E1318B794D" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_GoodwillAndOtherIntangibleAssetsTextualAbstract_C0E227E8E1C744F452BD61E1318B69AE" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFive_D05A03ABDD61ABF1FA7B61E1318B794D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFive" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFive_1DA7CCE1F00C6810E69A61E1318BC0DB" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_GoodwillAndOtherIntangibleAssetsTextualAbstract_C0E227E8E1C744F452BD61E1318B69AE" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFive_1DA7CCE1F00C6810E69A61E1318BC0DB" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsNet" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_1BB7E5F6516E0225118761E1318BF15E" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_GoodwillAndOtherIntangibleAssetsTextualAbstract_C0E227E8E1C744F452BD61E1318B69AE" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsNet_1BB7E5F6516E0225118761E1318BF15E" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/GoodwillAndOtherIntangibleAssetsTables" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/IncomeTaxes" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/IncomeTaxesDetails" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/IncomeTaxesDetails1" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/IncomeTaxesDetails2" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/IncomeTaxesDetails3" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/IncomeTaxesDetails4" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/IncomeTaxesDetailsTextual" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/IncomeTaxesTables" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/OperatingLeases" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/OperatingLeasesDetailsTextual" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/QuarterlyFinancialDataUnauditedDetails" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/QuarterlyFinancialDataUnauditedQuarterlyFinancialDataUnaudited" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/QuarterlyFinancialDataUnauditedTables" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/SegmentInformation" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/SegmentInformationDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_SegmentReportingInformationLineItems" xlink:label="loc_us-gaap_SegmentReportingInformationLineItems_140C8433D5C97BF3BFA2C501928C55F7" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable" xlink:label="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_C1DE8038274E8844478EC501928CB60F" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_140C8433D5C97BF3BFA2C501928C55F7" xlink:to="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_C1DE8038274E8844478EC501928CB60F" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ConsolidationItemsAxis" xlink:label="loc_us-gaap_ConsolidationItemsAxis_BC02AC5EC565B108CE50C501928CFEA5" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_C1DE8038274E8844478EC501928CB60F" xlink:to="loc_us-gaap_ConsolidationItemsAxis_BC02AC5EC565B108CE50C501928CFEA5" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ConsolidationItemsDomain" xlink:label="loc_us-gaap_ConsolidationItemsDomain_B6D073702E4F078A1203C501928C7893_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConsolidationItemsAxis_BC02AC5EC565B108CE50C501928CFEA5" xlink:to="loc_us-gaap_ConsolidationItemsDomain_B6D073702E4F078A1203C501928C7893_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ConsolidationItemsDomain" xlink:label="loc_us-gaap_ConsolidationItemsDomain_B6D073702E4F078A1203C501928C7893" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConsolidationItemsAxis_BC02AC5EC565B108CE50C501928CFEA5" xlink:to="loc_us-gaap_ConsolidationItemsDomain_B6D073702E4F078A1203C501928C7893" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_OperatingSegmentsMember" xlink:label="loc_us-gaap_OperatingSegmentsMember_4CFE129CCBA348323E5EC501928C6326" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConsolidationItemsDomain_B6D073702E4F078A1203C501928C7893" xlink:to="loc_us-gaap_OperatingSegmentsMember_4CFE129CCBA348323E5EC501928C6326" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_IndustrialMember" xlink:label="loc_mtrx_IndustrialMember_9CFCF338BAA239A891E9C501928C14EE" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConsolidationItemsDomain_B6D073702E4F078A1203C501928C7893" xlink:to="loc_mtrx_IndustrialMember_9CFCF338BAA239A891E9C501928C14EE" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_StorageSolutionsMember" xlink:label="loc_mtrx_StorageSolutionsMember_037CE7C080A069343269C501928CF18B" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConsolidationItemsDomain_B6D073702E4F078A1203C501928C7893" xlink:to="loc_mtrx_StorageSolutionsMember_037CE7C080A069343269C501928CF18B" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_OilGasAndChemicalMember" xlink:label="loc_mtrx_OilGasAndChemicalMember_7CC6013DEEA83797BF52C501928C7809" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConsolidationItemsDomain_B6D073702E4F078A1203C501928C7893" xlink:to="loc_mtrx_OilGasAndChemicalMember_7CC6013DEEA83797BF52C501928C7809" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_ElectricalInfrastructureMember" xlink:label="loc_mtrx_ElectricalInfrastructureMember_02E5095EE0D4322DC61EC501928C5BE7" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConsolidationItemsDomain_B6D073702E4F078A1203C501928C7893" xlink:to="loc_mtrx_ElectricalInfrastructureMember_02E5095EE0D4322DC61EC501928C5BE7" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_IntersegmentEliminationMember" xlink:label="loc_us-gaap_IntersegmentEliminationMember_DE630FE09CA6D932639FC501928CC011" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConsolidationItemsDomain_B6D073702E4F078A1203C501928C7893" xlink:to="loc_us-gaap_IntersegmentEliminationMember_DE630FE09CA6D932639FC501928CC011" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_StatementBusinessSegmentsAxis" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_A3D92A7722D481350FBBC501928C1825" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_C1DE8038274E8844478EC501928CB60F" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_A3D92A7722D481350FBBC501928C1825" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_BD8C2FB025BF5BADDFEEC501928C4DDF_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_A3D92A7722D481350FBBC501928C1825" xlink:to="loc_us-gaap_SegmentDomain_BD8C2FB025BF5BADDFEEC501928C4DDF_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_BD8C2FB025BF5BADDFEEC501928C4DDF" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_A3D92A7722D481350FBBC501928C1825" xlink:to="loc_us-gaap_SegmentDomain_BD8C2FB025BF5BADDFEEC501928C4DDF" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_ElectricalInfrastructureMember" xlink:label="loc_mtrx_ElectricalInfrastructureMember_5DC11891FF36939BE729C501928CFBB9" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_BD8C2FB025BF5BADDFEEC501928C4DDF" xlink:to="loc_mtrx_ElectricalInfrastructureMember_5DC11891FF36939BE729C501928CFBB9" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_OilGasAndChemicalMember" xlink:label="loc_mtrx_OilGasAndChemicalMember_919D8CAE4215BA318755C501928C3188" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_BD8C2FB025BF5BADDFEEC501928C4DDF" xlink:to="loc_mtrx_OilGasAndChemicalMember_919D8CAE4215BA318755C501928C3188" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_StorageSolutionsMember" xlink:label="loc_mtrx_StorageSolutionsMember_0E71BB0FFB4E91DE7DF5C501928C8728" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_BD8C2FB025BF5BADDFEEC501928C4DDF" xlink:to="loc_mtrx_StorageSolutionsMember_0E71BB0FFB4E91DE7DF5C501928C8728" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_IndustrialMember" xlink:label="loc_mtrx_IndustrialMember_F6A938915C7EAD50C81DC501928CAE4A" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_BD8C2FB025BF5BADDFEEC501928C4DDF" xlink:to="loc_mtrx_IndustrialMember_F6A938915C7EAD50C81DC501928CAE4A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_AllOtherSegmentsMember" xlink:label="loc_us-gaap_AllOtherSegmentsMember_6C066573708D7FC04CD9C501928CE642" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_BD8C2FB025BF5BADDFEEC501928C4DDF" xlink:to="loc_us-gaap_AllOtherSegmentsMember_6C066573708D7FC04CD9C501928CE642" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_SegmentReportingInformationProfitLossAbstract" xlink:label="loc_us-gaap_SegmentReportingInformationProfitLossAbstract_ADBA89B43656FA372167C501928C885F" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_140C8433D5C97BF3BFA2C501928C55F7" xlink:to="loc_us-gaap_SegmentReportingInformationProfitLossAbstract_ADBA89B43656FA372167C501928C885F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_Revenues" xlink:label="loc_us-gaap_Revenues_DAE5979FB3CABE2EAD10C501928CB1D7" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationProfitLossAbstract_ADBA89B43656FA372167C501928C885F" xlink:to="loc_us-gaap_Revenues_DAE5979FB3CABE2EAD10C501928CB1D7" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_GrossProfit" xlink:label="loc_us-gaap_GrossProfit_A4737ECD0489A97E4DBDC501928CC572" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationProfitLossAbstract_ADBA89B43656FA372167C501928C885F" xlink:to="loc_us-gaap_GrossProfit_A4737ECD0489A97E4DBDC501928CC572" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_OperatingIncomeLoss" xlink:label="loc_us-gaap_OperatingIncomeLoss_D4D6DD593B1D57FBB7EFC501928CF9B8" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationProfitLossAbstract_ADBA89B43656FA372167C501928C885F" xlink:to="loc_us-gaap_OperatingIncomeLoss_D4D6DD593B1D57FBB7EFC501928CF9B8" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_Assets" xlink:label="loc_us-gaap_Assets_648C7828B3EA821EAA91C501928CE1BC" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationProfitLossAbstract_ADBA89B43656FA372167C501928C885F" xlink:to="loc_us-gaap_Assets_648C7828B3EA821EAA91C501928CE1BC" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment" xlink:label="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_4AEF3DD3E3D580248D7DC501928CD297" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationProfitLossAbstract_ADBA89B43656FA372167C501928C885F" xlink:to="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_4AEF3DD3E3D580248D7DC501928CD297" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DepreciationDepletionAndAmortization" xlink:label="loc_us-gaap_DepreciationDepletionAndAmortization_DAA6EC9B43227ED93710C501928C2189" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationProfitLossAbstract_ADBA89B43656FA372167C501928C885F" xlink:to="loc_us-gaap_DepreciationDepletionAndAmortization_DAA6EC9B43227ED93710C501928C2189" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/SegmentInformationDetails1" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_RevenuesFromExternalCustomersAndLongLivedAssetsLineItems" xlink:label="loc_us-gaap_RevenuesFromExternalCustomersAndLongLivedAssetsLineItems_FAB15F9144FED56B7CD3C50192FA45FB" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ScheduleOfRevenuesFromExternalCustomersAndLongLivedAssetsTable" xlink:label="loc_us-gaap_ScheduleOfRevenuesFromExternalCustomersAndLongLivedAssetsTable_E2593330EBB3A2C726A1C50192FAA6F8" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RevenuesFromExternalCustomersAndLongLivedAssetsLineItems_FAB15F9144FED56B7CD3C50192FA45FB" xlink:to="loc_us-gaap_ScheduleOfRevenuesFromExternalCustomersAndLongLivedAssetsTable_E2593330EBB3A2C726A1C50192FAA6F8" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_StatementGeographicalAxis" xlink:label="loc_us-gaap_StatementGeographicalAxis_7B9E51D4A0DD3874DA8BC50192FADBF3" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRevenuesFromExternalCustomersAndLongLivedAssetsTable_E2593330EBB3A2C726A1C50192FAA6F8" xlink:to="loc_us-gaap_StatementGeographicalAxis_7B9E51D4A0DD3874DA8BC50192FADBF3" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_SegmentGeographicalDomain" xlink:label="loc_us-gaap_SegmentGeographicalDomain_A235CE77F0B7100739A1C50192FA31EC_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementGeographicalAxis_7B9E51D4A0DD3874DA8BC50192FADBF3" xlink:to="loc_us-gaap_SegmentGeographicalDomain_A235CE77F0B7100739A1C50192FA31EC_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_SegmentGeographicalDomain" xlink:label="loc_us-gaap_SegmentGeographicalDomain_A235CE77F0B7100739A1C50192FA31EC" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementGeographicalAxis_7B9E51D4A0DD3874DA8BC50192FADBF3" xlink:to="loc_us-gaap_SegmentGeographicalDomain_A235CE77F0B7100739A1C50192FA31EC" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_DomesticMember" xlink:label="loc_mtrx_DomesticMember_CF02D864AE77E4C4C362C50192FA9C46" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentGeographicalDomain_A235CE77F0B7100739A1C50192FA31EC" xlink:to="loc_mtrx_DomesticMember_CF02D864AE77E4C4C362C50192FA9C46" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_InternationalMember" xlink:label="loc_mtrx_InternationalMember_FBB3EFA7F442585F8529C50192FAA09B" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentGeographicalDomain_A235CE77F0B7100739A1C50192FA31EC" xlink:to="loc_mtrx_InternationalMember_FBB3EFA7F442585F8529C50192FAA09B" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_ScheduleOfSegmentReportingInformationByGeographicAreasAbstract" xlink:label="loc_mtrx_ScheduleOfSegmentReportingInformationByGeographicAreasAbstract_D3A2F25F61DFD5092EDCC50192FA5071" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenuesFromExternalCustomersAndLongLivedAssetsLineItems_FAB15F9144FED56B7CD3C50192FA45FB" xlink:to="loc_mtrx_ScheduleOfSegmentReportingInformationByGeographicAreasAbstract_D3A2F25F61DFD5092EDCC50192FA5071" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_SalesRevenueServicesNet" xlink:label="loc_us-gaap_SalesRevenueServicesNet_7FB83E6E41FF0A502067C50192FA657D" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_ScheduleOfSegmentReportingInformationByGeographicAreasAbstract_D3A2F25F61DFD5092EDCC50192FA5071" xlink:to="loc_us-gaap_SalesRevenueServicesNet_7FB83E6E41FF0A502067C50192FA657D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_NoncurrentAssets" xlink:label="loc_us-gaap_NoncurrentAssets_3798598449835AA28022C50192FA60F6" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_ScheduleOfSegmentReportingInformationByGeographicAreasAbstract_D3A2F25F61DFD5092EDCC50192FA5071" xlink:to="loc_us-gaap_NoncurrentAssets_3798598449835AA28022C50192FA60F6" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/SegmentInformationDetailsTextual" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_EntityWideRevenueMajorCustomerLineItems" xlink:label="loc_us-gaap_EntityWideRevenueMajorCustomerLineItems_097F839B7B4D688E62D96FE7D2E239F8" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ScheduleOfEntityWideRevenueByMajorCustomersByReportingSegmentsTable" xlink:label="loc_us-gaap_ScheduleOfEntityWideRevenueByMajorCustomersByReportingSegmentsTable_EFD000BDB3A1FCDECE096FE7D2E169BF" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_EntityWideRevenueMajorCustomerLineItems_097F839B7B4D688E62D96FE7D2E239F8" xlink:to="loc_us-gaap_ScheduleOfEntityWideRevenueByMajorCustomersByReportingSegmentsTable_EFD000BDB3A1FCDECE096FE7D2E169BF" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_StatementBusinessSegmentsAxis" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_27463E7C829D210B600E6FE7D2E1F6AE" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfEntityWideRevenueByMajorCustomersByReportingSegmentsTable_EFD000BDB3A1FCDECE096FE7D2E169BF" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_27463E7C829D210B600E6FE7D2E1F6AE" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_BF1567F46104385A28A06FE7D2E172F7_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_27463E7C829D210B600E6FE7D2E1F6AE" xlink:to="loc_us-gaap_SegmentDomain_BF1567F46104385A28A06FE7D2E172F7_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_BF1567F46104385A28A06FE7D2E172F7" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_27463E7C829D210B600E6FE7D2E1F6AE" xlink:to="loc_us-gaap_SegmentDomain_BF1567F46104385A28A06FE7D2E172F7" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_ElectricalInfrastructureMember" xlink:label="loc_mtrx_ElectricalInfrastructureMember_313E9A303BE690D964E86FE7D2E1E287" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_BF1567F46104385A28A06FE7D2E172F7" xlink:to="loc_mtrx_ElectricalInfrastructureMember_313E9A303BE690D964E86FE7D2E1E287" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_OilGasAndChemicalMember" xlink:label="loc_mtrx_OilGasAndChemicalMember_AA0323A940DDCD2D089C6FE7D2E13917" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_BF1567F46104385A28A06FE7D2E172F7" xlink:to="loc_mtrx_OilGasAndChemicalMember_AA0323A940DDCD2D089C6FE7D2E13917" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_StorageSolutionsMember" xlink:label="loc_mtrx_StorageSolutionsMember_FCBC432ACECC31C38D476FE7D2E13F2A" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_BF1567F46104385A28A06FE7D2E172F7" xlink:to="loc_mtrx_StorageSolutionsMember_FCBC432ACECC31C38D476FE7D2E13F2A" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_IndustrialMember" xlink:label="loc_mtrx_IndustrialMember_EEA7D399748DE679538D6FE7D2E13828" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_BF1567F46104385A28A06FE7D2E172F7" xlink:to="loc_mtrx_IndustrialMember_EEA7D399748DE679538D6FE7D2E13828" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_MajorCustomersAxis" xlink:label="loc_us-gaap_MajorCustomersAxis_1AAEB67AD61B06857E7A6FE7D2E1D806" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfEntityWideRevenueByMajorCustomersByReportingSegmentsTable_EFD000BDB3A1FCDECE096FE7D2E169BF" xlink:to="loc_us-gaap_MajorCustomersAxis_1AAEB67AD61B06857E7A6FE7D2E1D806" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_NameOfMajorCustomerDomain" xlink:label="loc_us-gaap_NameOfMajorCustomerDomain_ADAC7EA095562445CF796FE7D2E1B2AE_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_MajorCustomersAxis_1AAEB67AD61B06857E7A6FE7D2E1D806" xlink:to="loc_us-gaap_NameOfMajorCustomerDomain_ADAC7EA095562445CF796FE7D2E1B2AE_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_NameOfMajorCustomerDomain" xlink:label="loc_us-gaap_NameOfMajorCustomerDomain_ADAC7EA095562445CF796FE7D2E1B2AE" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_MajorCustomersAxis_1AAEB67AD61B06857E7A6FE7D2E1D806" xlink:to="loc_us-gaap_NameOfMajorCustomerDomain_ADAC7EA095562445CF796FE7D2E1B2AE" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_CustomerOneMember" xlink:label="loc_mtrx_CustomerOneMember_E48040C1F6863DAB8C336FE7D2E117AA" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NameOfMajorCustomerDomain_ADAC7EA095562445CF796FE7D2E1B2AE" xlink:to="loc_mtrx_CustomerOneMember_E48040C1F6863DAB8C336FE7D2E117AA" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_CustomerTwoMember" xlink:label="loc_mtrx_CustomerTwoMember_394552C2B3ACDDBCE0486FE7D2E15332" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NameOfMajorCustomerDomain_ADAC7EA095562445CF796FE7D2E1B2AE" xlink:to="loc_mtrx_CustomerTwoMember_394552C2B3ACDDBCE0486FE7D2E15332" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_CustomerThreeMember" xlink:label="loc_mtrx_CustomerThreeMember_F8ACB4BC870CD10123D66FE7D2E12911" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NameOfMajorCustomerDomain_ADAC7EA095562445CF796FE7D2E1B2AE" xlink:to="loc_mtrx_CustomerThreeMember_F8ACB4BC870CD10123D66FE7D2E12911" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_CustomerFourMember" xlink:label="loc_mtrx_CustomerFourMember_FB6735D35EB1405E9FE66FE7D2E17A23" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NameOfMajorCustomerDomain_ADAC7EA095562445CF796FE7D2E1B2AE" xlink:to="loc_mtrx_CustomerFourMember_FB6735D35EB1405E9FE66FE7D2E17A23" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_CustomerFiveMemberMember" xlink:label="loc_mtrx_CustomerFiveMemberMember_66BB44D7EA8D70C6B75D6FE7D2E16860" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NameOfMajorCustomerDomain_ADAC7EA095562445CF796FE7D2E1B2AE" xlink:to="loc_mtrx_CustomerFiveMemberMember_66BB44D7EA8D70C6B75D6FE7D2E16860" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_AnotherCustomerMember" xlink:label="loc_mtrx_AnotherCustomerMember_056E16F61DEEC5FC68F46FE7D2E2B4C5" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NameOfMajorCustomerDomain_ADAC7EA095562445CF796FE7D2E1B2AE" xlink:to="loc_mtrx_AnotherCustomerMember_056E16F61DEEC5FC68F46FE7D2E2B4C5" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ConcentrationRiskPercentage1" xlink:label="loc_us-gaap_ConcentrationRiskPercentage1_1E0A4325A1ADDA1ABD586FE7D2E2FB1C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EntityWideRevenueMajorCustomerLineItems_097F839B7B4D688E62D96FE7D2E239F8" xlink:to="loc_us-gaap_ConcentrationRiskPercentage1_1E0A4325A1ADDA1ABD586FE7D2E2FB1C" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/SegmentInformationTables" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/StockBasedCompensation" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/StockBasedCompensationDetails" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/StockBasedCompensationDetails1" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/StockBasedCompensationDetails2" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLineItems_F333C6CE1E3982E264DA6C08A8C1550B" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeTable_3EFF6F940A03C553CD666C08A8C1B5B9" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLineItems_F333C6CE1E3982E264DA6C08A8C1550B" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeTable_3EFF6F940A03C553CD666C08A8C1B5B9" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis" xlink:label="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis_EE2317CAC38EB287064D6C08A8C13D5E" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeTable_3EFF6F940A03C553CD666C08A8C1B5B9" xlink:to="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis_EE2317CAC38EB287064D6C08A8C13D5E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain" xlink:label="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_26381A1580801AB443286C09A1CE72A0_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis_EE2317CAC38EB287064D6C08A8C13D5E" xlink:to="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_26381A1580801AB443286C09A1CE72A0_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain" xlink:label="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_26381A1580801AB443286C09A1CE72A0" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis_EE2317CAC38EB287064D6C08A8C13D5E" xlink:to="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_26381A1580801AB443286C09A1CE72A0" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_RangeThreeMember" xlink:label="loc_mtrx_RangeThreeMember_37CC49A579637D986FB06C08A8C15B02" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_26381A1580801AB443286C09A1CE72A0" xlink:to="loc_mtrx_RangeThreeMember_37CC49A579637D986FB06C08A8C15B02" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_RangeOneMember" xlink:label="loc_mtrx_RangeOneMember_6ECA5F7F3FD83C7B20C26C08A8C16F62" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_26381A1580801AB443286C09A1CE72A0" xlink:to="loc_mtrx_RangeOneMember_6ECA5F7F3FD83C7B20C26C08A8C16F62" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_RangeTwoMember" xlink:label="loc_mtrx_RangeTwoMember_1FEC16B77480FB39E9FA6C08A8C1AB8B" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_26381A1580801AB443286C09A1CE72A0" xlink:to="loc_mtrx_RangeTwoMember_1FEC16B77480FB39E9FA6C08A8C1AB8B" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_ScheduleOfShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAbstract" xlink:label="loc_mtrx_ScheduleOfShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAbstract_F96F2A1CE27C95087C306C08A8C1C57A" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLineItems_F333C6CE1E3982E264DA6C08A8C1550B" xlink:to="loc_mtrx_ScheduleOfShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAbstract_F96F2A1CE27C95087C306C08A8C1C57A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLowerRangeLimit" xlink:label="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLowerRangeLimit_F76F9F15C32F89333B196C08A8C26132" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_ScheduleOfShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAbstract_F96F2A1CE27C95087C306C08A8C1C57A" xlink:to="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLowerRangeLimit_F76F9F15C32F89333B196C08A8C26132" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeUpperRangeLimit" xlink:label="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeUpperRangeLimit_B75986A862113AC726C16C08A8C21FE2" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_ScheduleOfShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAbstract_F96F2A1CE27C95087C306C08A8C1C57A" xlink:to="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeUpperRangeLimit_B75986A862113AC726C16C08A8C21FE2" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber_AC551F816D591EB6C77D6C08A8C2B051" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_ScheduleOfShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAbstract_F96F2A1CE27C95087C306C08A8C1C57A" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber_AC551F816D591EB6C77D6C08A8C2B051" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_SharebasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeOutstandingOptionsWeightedAverageExercisePriceBeginningBalance1" xlink:label="loc_us-gaap_SharebasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeOutstandingOptionsWeightedAverageExercisePriceBeginningBalance1_722729C847417F233D156C08A8C232DC" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_ScheduleOfShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAbstract_F96F2A1CE27C95087C306C08A8C1C57A" xlink:to="loc_us-gaap_SharebasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeOutstandingOptionsWeightedAverageExercisePriceBeginningBalance1_722729C847417F233D156C08A8C232DC" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTerm2" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTerm2_A51F466EA2398BD2B9226C08A8C2D947" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_ScheduleOfShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAbstract_F96F2A1CE27C95087C306C08A8C1C57A" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTerm2_A51F466EA2398BD2B9226C08A8C2D947" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableNumber" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableNumber_55FB432A74985E6EF14C6C08A8C2557D" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_ScheduleOfShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAbstract_F96F2A1CE27C95087C306C08A8C1C57A" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableNumber_55FB432A74985E6EF14C6C08A8C2557D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableWeightedAverageExercisePrice" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableWeightedAverageExercisePrice_20484B55A9FC332D277F6C08A8C26E1B" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_ScheduleOfShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAbstract_F96F2A1CE27C95087C306C08A8C1C57A" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableWeightedAverageExercisePrice_20484B55A9FC332D277F6C08A8C26E1B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableWeightedAverageRemainingContractualTerm1" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableWeightedAverageRemainingContractualTerm1_4246D021597DFB65E85A6C08A8C28124" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtrx_ScheduleOfShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAbstract_F96F2A1CE27C95087C306C08A8C1C57A" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableWeightedAverageRemainingContractualTerm1_4246D021597DFB65E85A6C08A8C28124" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/StockBasedCompensationDetails3" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/StockBasedCompensationDetailsTextual" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_AAA90F6FF0C70C0197F86FCDC674ABF9" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_EF1962C1202E315CCBA26FCDC66E1A3D" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_AAA90F6FF0C70C0197F86FCDC674ABF9" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_EF1962C1202E315CCBA26FCDC66E1A3D" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_PlanNameAxis" xlink:label="loc_us-gaap_PlanNameAxis_606D609A248EA8558C156FCDC66E0797" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_EF1962C1202E315CCBA26FCDC66E1A3D" xlink:to="loc_us-gaap_PlanNameAxis_606D609A248EA8558C156FCDC66E0797" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_PlanNameDomain" xlink:label="loc_us-gaap_PlanNameDomain_38E06F285209971F18816FCDC66EC5AC_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PlanNameAxis_606D609A248EA8558C156FCDC66E0797" xlink:to="loc_us-gaap_PlanNameDomain_38E06F285209971F18816FCDC66EC5AC_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_PlanNameDomain" xlink:label="loc_us-gaap_PlanNameDomain_38E06F285209971F18816FCDC66EC5AC" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PlanNameAxis_606D609A248EA8558C156FCDC66E0797" xlink:to="loc_us-gaap_PlanNameDomain_38E06F285209971F18816FCDC66EC5AC" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_MatrixServiceCompanys2004StockandIncentiveCompensationPlanMember" xlink:label="loc_mtrx_MatrixServiceCompanys2004StockandIncentiveCompensationPlanMember_27A7C270BCD95122609B6FCDC66EB05B" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_38E06F285209971F18816FCDC66EC5AC" xlink:to="loc_mtrx_MatrixServiceCompanys2004StockandIncentiveCompensationPlanMember_27A7C270BCD95122609B6FCDC66EB05B" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_MatrixServiceCompanys2012StockandIncentiveCompensationPlanMember" xlink:label="loc_mtrx_MatrixServiceCompanys2012StockandIncentiveCompensationPlanMember_A803E5CF49F313CE63C16FCDC66ECD42" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_38E06F285209971F18816FCDC66EC5AC" xlink:to="loc_mtrx_MatrixServiceCompanys2012StockandIncentiveCompensationPlanMember_A803E5CF49F313CE63C16FCDC66ECD42" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_64CEB1D1AA16A38BC73A6FCDC66E3FE9" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_EF1962C1202E315CCBA26FCDC66E1A3D" xlink:to="loc_us-gaap_AwardTypeAxis_64CEB1D1AA16A38BC73A6FCDC66E3FE9" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_736F13D788E096AA76E86FCDC66E3A2E_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_64CEB1D1AA16A38BC73A6FCDC66E3FE9" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_736F13D788E096AA76E86FCDC66E3A2E_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_736F13D788E096AA76E86FCDC66E3A2E" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_64CEB1D1AA16A38BC73A6FCDC66E3FE9" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_736F13D788E096AA76E86FCDC66E3A2E" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_MarketBasedAwardsMember" xlink:label="loc_mtrx_MarketBasedAwardsMember_9675297D5B482139A20E6FCDC6731E0C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_736F13D788E096AA76E86FCDC66E3A2E" xlink:to="loc_mtrx_MarketBasedAwardsMember_9675297D5B482139A20E6FCDC6731E0C" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_Vestin2016Member" xlink:label="loc_mtrx_Vestin2016Member_4803B366C82547E2E7776FCDC674CDF2" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_736F13D788E096AA76E86FCDC66E3A2E" xlink:to="loc_mtrx_Vestin2016Member_4803B366C82547E2E7776FCDC674CDF2" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_Vestin2017Member" xlink:label="loc_mtrx_Vestin2017Member_B1991251EF84DF7A3D146FCDC674C4B6" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_736F13D788E096AA76E86FCDC66E3A2E" xlink:to="loc_mtrx_Vestin2017Member_B1991251EF84DF7A3D146FCDC674C4B6" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_Vestin2018Member" xlink:label="loc_mtrx_Vestin2018Member_CD6547054F5F1AA7D0E76FCDC67429AD" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_736F13D788E096AA76E86FCDC66E3A2E" xlink:to="loc_mtrx_Vestin2018Member_CD6547054F5F1AA7D0E76FCDC67429AD" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DeferredCompensationArrangementWithIndividualShareBasedPaymentsByTypeOfDeferredCompensationAxis" xlink:label="loc_us-gaap_DeferredCompensationArrangementWithIndividualShareBasedPaymentsByTypeOfDeferredCompensationAxis_8EC11F99DEF243666FB46FCDC67490DC" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_EF1962C1202E315CCBA26FCDC66E1A3D" xlink:to="loc_us-gaap_DeferredCompensationArrangementWithIndividualShareBasedPaymentsByTypeOfDeferredCompensationAxis_8EC11F99DEF243666FB46FCDC67490DC" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_EquityBasedArrangementsIndividualContractsTypeOfDeferredCompensationDomain" xlink:label="loc_us-gaap_EquityBasedArrangementsIndividualContractsTypeOfDeferredCompensationDomain_F8D09D1C1F0719809B496FCDC674AB96_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DeferredCompensationArrangementWithIndividualShareBasedPaymentsByTypeOfDeferredCompensationAxis_8EC11F99DEF243666FB46FCDC67490DC" xlink:to="loc_us-gaap_EquityBasedArrangementsIndividualContractsTypeOfDeferredCompensationDomain_F8D09D1C1F0719809B496FCDC674AB96_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_EquityBasedArrangementsIndividualContractsTypeOfDeferredCompensationDomain" xlink:label="loc_us-gaap_EquityBasedArrangementsIndividualContractsTypeOfDeferredCompensationDomain_F8D09D1C1F0719809B496FCDC674AB96" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DeferredCompensationArrangementWithIndividualShareBasedPaymentsByTypeOfDeferredCompensationAxis_8EC11F99DEF243666FB46FCDC67490DC" xlink:to="loc_us-gaap_EquityBasedArrangementsIndividualContractsTypeOfDeferredCompensationDomain_F8D09D1C1F0719809B496FCDC674AB96" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_EmployeeAwardMember" xlink:label="loc_mtrx_EmployeeAwardMember_11898AD0A6EC86EEA32F6FCDC6742FE6" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityBasedArrangementsIndividualContractsTypeOfDeferredCompensationDomain_F8D09D1C1F0719809B496FCDC674AB96" xlink:to="loc_mtrx_EmployeeAwardMember_11898AD0A6EC86EEA32F6FCDC6742FE6" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_RangeAxis" xlink:label="loc_us-gaap_RangeAxis_EC5928EB6E7B7030FFBE6FCDC67451AE" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_EF1962C1202E315CCBA26FCDC66E1A3D" xlink:to="loc_us-gaap_RangeAxis_EC5928EB6E7B7030FFBE6FCDC67451AE" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_3F8A741BD1130D0025DE6FCDC6749A30_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RangeAxis_EC5928EB6E7B7030FFBE6FCDC67451AE" xlink:to="loc_us-gaap_RangeMember_3F8A741BD1130D0025DE6FCDC6749A30_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_3F8A741BD1130D0025DE6FCDC6749A30" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RangeAxis_EC5928EB6E7B7030FFBE6FCDC67451AE" xlink:to="loc_us-gaap_RangeMember_3F8A741BD1130D0025DE6FCDC6749A30" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_MinimumMember" xlink:label="loc_us-gaap_MinimumMember_88AF3BD6C971F3A6B7A16FCDC6740E8A" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_3F8A741BD1130D0025DE6FCDC6749A30" xlink:to="loc_us-gaap_MinimumMember_88AF3BD6C971F3A6B7A16FCDC6740E8A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_MaximumMember" xlink:label="loc_us-gaap_MaximumMember_9249E7613D184FC11C216FCDC674D4BE" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_3F8A741BD1130D0025DE6FCDC6749A30" xlink:to="loc_us-gaap_MaximumMember_9249E7613D184FC11C216FCDC674D4BE" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ShareBasedCompensation" xlink:label="loc_us-gaap_ShareBasedCompensation_7DD23253D4A113A442B66FCDC67474CF" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_AAA90F6FF0C70C0197F86FCDC674ABF9" xlink:to="loc_us-gaap_ShareBasedCompensation_7DD23253D4A113A442B66FCDC67474CF" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized_AB6F4910A81A92A4BF6F6FCDC674A331" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_AAA90F6FF0C70C0197F86FCDC674ABF9" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized_AB6F4910A81A92A4BF6F6FCDC674A331" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions_BF08830470A73BB34E296FCDC67455E7" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_AAA90F6FF0C70C0197F86FCDC674ABF9" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions_BF08830470A73BB34E296FCDC67455E7" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedStockOptions" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedStockOptions_FBCF54CF095A61B83C286FCDC674FD94" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_AAA90F6FF0C70C0197F86FCDC674ABF9" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedStockOptions_FBCF54CF095A61B83C286FCDC674FD94" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_41DD70D8CAA74893A8BA6FCDC6758E1A" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_AAA90F6FF0C70C0197F86FCDC674ABF9" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_41DD70D8CAA74893A8BA6FCDC6758E1A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationTaxBenefitFromCompensationExpense" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationTaxBenefitFromCompensationExpense_6D2C1D0F087754B407256FCDC6759836" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_AAA90F6FF0C70C0197F86FCDC674ABF9" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationTaxBenefitFromCompensationExpense_6D2C1D0F087754B407256FCDC6759836" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized_7F00545C29A4D3F7CEE96FCDC675A757" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_AAA90F6FF0C70C0197F86FCDC674ABF9" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized_7F00545C29A4D3F7CEE96FCDC675A757" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant_C9A922AFBD761BEC47056FCDC6752810" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_AAA90F6FF0C70C0197F86FCDC674ABF9" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant_C9A922AFBD761BEC47056FCDC6752810" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod_4F455AA960AC73A1FF8B6FCDC67552AB" xlink:type="locator" />
    <definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_AAA90F6FF0C70C0197F86FCDC674ABF9" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod_4F455AA960AC73A1FF8B6FCDC67552AB" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue_524A811C15FB34F55BC96FCDC67A3691" xlink:type="locator" />
    <definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_AAA90F6FF0C70C0197F86FCDC674ABF9" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue_524A811C15FB34F55BC96FCDC67A3691" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_D55F2DC882AC9ED7DF1A6FCDC67A715E" xlink:type="locator" />
    <definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_AAA90F6FF0C70C0197F86FCDC674ABF9" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_D55F2DC882AC9ED7DF1A6FCDC67A715E" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_ShareBasedCompensationArrangementByShareBasedPaymentAwardInstallmentPeriodForVesting" xlink:label="loc_mtrx_ShareBasedCompensationArrangementByShareBasedPaymentAwardInstallmentPeriodForVesting_3795EA0DB3C02DDEF1E86FCDC67AC0BC" xlink:type="locator" />
    <definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_AAA90F6FF0C70C0197F86FCDC674ABF9" xlink:to="loc_mtrx_ShareBasedCompensationArrangementByShareBasedPaymentAwardInstallmentPeriodForVesting_3795EA0DB3C02DDEF1E86FCDC67AC0BC" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriodOfDirectorAwards" xlink:label="loc_mtrx_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriodOfDirectorAwards_05AE2F79BCBA484E7F7B6FCDC67ABD01" xlink:type="locator" />
    <definitionArc order="13" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_AAA90F6FF0C70C0197F86FCDC674ABF9" xlink:to="loc_mtrx_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriodOfDirectorAwards_05AE2F79BCBA484E7F7B6FCDC67ABD01" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardDescriptionofVestingPeriodofDirectorAwards" xlink:label="loc_mtrx_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardDescriptionofVestingPeriodofDirectorAwards_6AE1E8E43E2E6E1516EC6FCDC67AB716" xlink:type="locator" />
    <definitionArc order="14" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_AAA90F6FF0C70C0197F86FCDC674ABF9" xlink:to="loc_mtrx_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardDescriptionofVestingPeriodofDirectorAwards_6AE1E8E43E2E6E1516EC6FCDC67AB716" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_PayoutAsPercentageOfOriginalAwardMinimum" xlink:label="loc_mtrx_PayoutAsPercentageOfOriginalAwardMinimum_4CFD006D543CBC628C3D6FCDC67A0660" xlink:type="locator" />
    <definitionArc order="15" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_AAA90F6FF0C70C0197F86FCDC674ABF9" xlink:to="loc_mtrx_PayoutAsPercentageOfOriginalAwardMinimum_4CFD006D543CBC628C3D6FCDC67A0660" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_PayoutAsPercentageOfOriginalAwardMaximum" xlink:label="loc_mtrx_PayoutAsPercentageOfOriginalAwardMaximum_A6D86B4CA45D6DE81D616FCDC67A0687" xlink:type="locator" />
    <definitionArc order="16" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_AAA90F6FF0C70C0197F86FCDC674ABF9" xlink:to="loc_mtrx_PayoutAsPercentageOfOriginalAwardMaximum_A6D86B4CA45D6DE81D616FCDC67A0687" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_MinimumThresholdSharesScheduledToVestForPerformanceBasedShares" xlink:label="loc_mtrx_MinimumThresholdSharesScheduledToVestForPerformanceBasedShares_3E1F9F41D45A6013035D6FCDC67A01CC" xlink:type="locator" />
    <definitionArc order="17" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_AAA90F6FF0C70C0197F86FCDC674ABF9" xlink:to="loc_mtrx_MinimumThresholdSharesScheduledToVestForPerformanceBasedShares_3E1F9F41D45A6013035D6FCDC67A01CC" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_ShareBasedCompensationArrangementByShareBasedPaymentAwardDeferredGrantsInPeriod" xlink:label="loc_mtrx_ShareBasedCompensationArrangementByShareBasedPaymentAwardDeferredGrantsInPeriod_35650329C4931794FCA46FCDC67A793E" xlink:type="locator" />
    <definitionArc order="18" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_AAA90F6FF0C70C0197F86FCDC674ABF9" xlink:to="loc_mtrx_ShareBasedCompensationArrangementByShareBasedPaymentAwardDeferredGrantsInPeriod_35650329C4931794FCA46FCDC67A793E" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_ShareBasedCompensationArrangementByShareBasedPaymentAwardDeferredWeightedAverageGrantDateFairValue" xlink:label="loc_mtrx_ShareBasedCompensationArrangementByShareBasedPaymentAwardDeferredWeightedAverageGrantDateFairValue_92E7F28D71B3B99A75C86FCDC67A2D76" xlink:type="locator" />
    <definitionArc order="19" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_AAA90F6FF0C70C0197F86FCDC674ABF9" xlink:to="loc_mtrx_ShareBasedCompensationArrangementByShareBasedPaymentAwardDeferredWeightedAverageGrantDateFairValue_92E7F28D71B3B99A75C86FCDC67A2D76" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_ShareBasedCompensationArrangementByShareBasedPaymentAwardDeferredSharesVestedAndReleased" xlink:label="loc_mtrx_ShareBasedCompensationArrangementByShareBasedPaymentAwardDeferredSharesVestedAndReleased_D2919A781C0D19013B516FCDC67BE89B" xlink:type="locator" />
    <definitionArc order="20" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_AAA90F6FF0C70C0197F86FCDC674ABF9" xlink:to="loc_mtrx_ShareBasedCompensationArrangementByShareBasedPaymentAwardDeferredSharesVestedAndReleased_D2919A781C0D19013B516FCDC67BE89B" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_ShareBasedCompensationArrangementByShareBasedPaymentAwardDeferredSharesVestedAndReleasedWeightedAverageGrantDateFairValue" xlink:label="loc_mtrx_ShareBasedCompensationArrangementByShareBasedPaymentAwardDeferredSharesVestedAndReleasedWeightedAverageGrantDateFairValue_28F4894928313B1204276FCDC67B8C46" xlink:type="locator" />
    <definitionArc order="21" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_AAA90F6FF0C70C0197F86FCDC674ABF9" xlink:to="loc_mtrx_ShareBasedCompensationArrangementByShareBasedPaymentAwardDeferredSharesVestedAndReleasedWeightedAverageGrantDateFairValue_28F4894928313B1204276FCDC67B8C46" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsMethodUsed" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsMethodUsed_120F79F89658148708546FCDC67B08B1" xlink:type="locator" />
    <definitionArc order="22" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_AAA90F6FF0C70C0197F86FCDC674ABF9" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsMethodUsed_120F79F89658148708546FCDC67B08B1" xlink:type="arc" />
    <loc xlink:href="mtrx-20150630.xsd#mtrx_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueMethodNumberofSimulationsUsed" xlink:label="loc_mtrx_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueMethodNumberofSimulationsUsed_D279697669137EF69B466FCDC67BB38A" xlink:type="locator" />
    <definitionArc order="23" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_AAA90F6FF0C70C0197F86FCDC674ABF9" xlink:to="loc_mtrx_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueMethodNumberofSimulationsUsed_D279697669137EF69B466FCDC67BB38A" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/StockBasedCompensationTables" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/StockholdersEquity" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/StockholdersEquityDetailsTextual" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_EquityClassOfTreasuryStockLineItems" xlink:label="loc_us-gaap_EquityClassOfTreasuryStockLineItems_5D5C1128219077B3561F6FB171BC55C4" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ClassOfTreasuryStockTable" xlink:label="loc_us-gaap_ClassOfTreasuryStockTable_178608078B02909883FA6FB171B7E3BC" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_EquityClassOfTreasuryStockLineItems_5D5C1128219077B3561F6FB171BC55C4" xlink:to="loc_us-gaap_ClassOfTreasuryStockTable_178608078B02909883FA6FB171B7E3BC" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_StatementClassOfStockAxis" xlink:label="loc_us-gaap_StatementClassOfStockAxis_1D9E7120E0DEAD2824766FB171B7E46B" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ClassOfTreasuryStockTable_178608078B02909883FA6FB171B7E3BC" xlink:to="loc_us-gaap_StatementClassOfStockAxis_1D9E7120E0DEAD2824766FB171B7E46B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_1DEA318B3908A2FDEFAC6FB171BCB080_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_1D9E7120E0DEAD2824766FB171B7E46B" xlink:to="loc_us-gaap_ClassOfStockDomain_1DEA318B3908A2FDEFAC6FB171BCB080_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_1DEA318B3908A2FDEFAC6FB171BCB080" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_1D9E7120E0DEAD2824766FB171B7E46B" xlink:to="loc_us-gaap_ClassOfStockDomain_1DEA318B3908A2FDEFAC6FB171BCB080" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ShareRepurchaseProgramAxis" xlink:label="loc_us-gaap_ShareRepurchaseProgramAxis_55F363AA5673657881ED6FB171BC7ABE" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ClassOfTreasuryStockTable_178608078B02909883FA6FB171B7E3BC" xlink:to="loc_us-gaap_ShareRepurchaseProgramAxis_55F363AA5673657881ED6FB171BC7ABE" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ShareRepurchaseProgramDomain" xlink:label="loc_us-gaap_ShareRepurchaseProgramDomain_82944982A3F17FBA9F786FB171BCD29D_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ShareRepurchaseProgramAxis_55F363AA5673657881ED6FB171BC7ABE" xlink:to="loc_us-gaap_ShareRepurchaseProgramDomain_82944982A3F17FBA9F786FB171BCD29D_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ShareRepurchaseProgramDomain" xlink:label="loc_us-gaap_ShareRepurchaseProgramDomain_82944982A3F17FBA9F786FB171BCD29D" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ShareRepurchaseProgramAxis_55F363AA5673657881ED6FB171BC7ABE" xlink:to="loc_us-gaap_ShareRepurchaseProgramDomain_82944982A3F17FBA9F786FB171BCD29D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_StockRepurchaseProgramExpirationDate" xlink:label="loc_us-gaap_StockRepurchaseProgramExpirationDate_0EF0888D167446A3F5B16FB171BCA598" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityClassOfTreasuryStockLineItems_5D5C1128219077B3561F6FB171BC55C4" xlink:to="loc_us-gaap_StockRepurchaseProgramExpirationDate_0EF0888D167446A3F5B16FB171BCA598" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/SummaryOfSignificantAccountingPolicies" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/SummaryOfSignificantAccountingPoliciesDetailsTextual" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_PropertyPlantAndEquipmentLineItems" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentLineItems_6F25A5C1A57E85B9171166A13842B419" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ScheduleOfPropertyPlantAndEquipmentTable" xlink:label="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_73F12EAFFD619639F21766A13842C2A6" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_6F25A5C1A57E85B9171166A13842B419" xlink:to="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_73F12EAFFD619639F21766A13842C2A6" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_PropertyPlantAndEquipmentByTypeAxis" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_7540578B26FD647BC3C066A138429EBD" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_73F12EAFFD619639F21766A13842C2A6" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_7540578B26FD647BC3C066A138429EBD" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_056ED9D52061C1CF6F8366A138425BF4_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_7540578B26FD647BC3C066A138429EBD" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_056ED9D52061C1CF6F8366A138425BF4_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_056ED9D52061C1CF6F8366A138425BF4" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_7540578B26FD647BC3C066A138429EBD" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_056ED9D52061C1CF6F8366A138425BF4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_BuildingMember" xlink:label="loc_us-gaap_BuildingMember_752B5E063040D986F32D66A138421D4E" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_056ED9D52061C1CF6F8366A138425BF4" xlink:to="loc_us-gaap_BuildingMember_752B5E063040D986F32D66A138421D4E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_EquipmentMember" xlink:label="loc_us-gaap_EquipmentMember_EDDDD87996F602CA1DB666A138420D2D" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_056ED9D52061C1CF6F8366A138425BF4" xlink:to="loc_us-gaap_EquipmentMember_EDDDD87996F602CA1DB666A138420D2D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_TransportationEquipmentMember" xlink:label="loc_us-gaap_TransportationEquipmentMember_F785BB2CEAA8CF64143066A13842929F" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_056ED9D52061C1CF6F8366A138425BF4" xlink:to="loc_us-gaap_TransportationEquipmentMember_F785BB2CEAA8CF64143066A13842929F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_FurnitureAndFixturesMember" xlink:label="loc_us-gaap_FurnitureAndFixturesMember_FFDD3DB8B7216C85EB7D66A13842AE10" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_056ED9D52061C1CF6F8366A138425BF4" xlink:to="loc_us-gaap_FurnitureAndFixturesMember_FFDD3DB8B7216C85EB7D66A13842AE10" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_RangeAxis" xlink:label="loc_us-gaap_RangeAxis_6E3680F3F2ABD7971A7966A138425D45" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_73F12EAFFD619639F21766A13842C2A6" xlink:to="loc_us-gaap_RangeAxis_6E3680F3F2ABD7971A7966A138425D45" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_9AB3ABDBAFBF9BFD29F266A13842C6C8_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RangeAxis_6E3680F3F2ABD7971A7966A138425D45" xlink:to="loc_us-gaap_RangeMember_9AB3ABDBAFBF9BFD29F266A13842C6C8_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_9AB3ABDBAFBF9BFD29F266A13842C6C8" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RangeAxis_6E3680F3F2ABD7971A7966A138425D45" xlink:to="loc_us-gaap_RangeMember_9AB3ABDBAFBF9BFD29F266A13842C6C8" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_MinimumMember" xlink:label="loc_us-gaap_MinimumMember_CF38FA0FAA0027E09BC666A13842ABEF" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_9AB3ABDBAFBF9BFD29F266A13842C6C8" xlink:to="loc_us-gaap_MinimumMember_CF38FA0FAA0027E09BC666A13842ABEF" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_MaximumMember" xlink:label="loc_us-gaap_MaximumMember_899CCE66B89C81F1794666A138420268" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_9AB3ABDBAFBF9BFD29F266A13842C6C8" xlink:to="loc_us-gaap_MaximumMember_899CCE66B89C81F1794666A138420268" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_PropertyPlantAndEquipmentUsefulLife" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentUsefulLife_9B51BE9D1BC3EB800B2566A13842FEF9" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_6F25A5C1A57E85B9171166A13842B419" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentUsefulLife_9B51BE9D1BC3EB800B2566A13842FEF9" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetUsefulLife" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetUsefulLife_EA6CD5EC9565545BF96666A13842730C" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_6F25A5C1A57E85B9171166A13842B419" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetUsefulLife_EA6CD5EC9565545BF96666A13842730C" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/SummaryOfSignificantAccountingPoliciesPolicies" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/ValuationAndQualifyingAccounts" xlink:type="extended" />
  <definitionLink xlink:role="http://www.matrixservicecompany.com/role/ValuationAndQualifyingAccountsDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ValuationAndQualifyingAccountsDisclosureLineItems" xlink:label="loc_us-gaap_ValuationAndQualifyingAccountsDisclosureLineItems_4143F80AE4E5BF6CECB6C5019246E7D0" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ValuationAndQualifyingAccountsDisclosureTable" xlink:label="loc_us-gaap_ValuationAndQualifyingAccountsDisclosureTable_D2768F84984825C8C354C501924623C9" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ValuationAndQualifyingAccountsDisclosureLineItems_4143F80AE4E5BF6CECB6C5019246E7D0" xlink:to="loc_us-gaap_ValuationAndQualifyingAccountsDisclosureTable_D2768F84984825C8C354C501924623C9" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ValuationAllowancesAndReservesTypeAxis" xlink:label="loc_us-gaap_ValuationAllowancesAndReservesTypeAxis_27C0E7DEDA2554C5F9B4C5019246A59C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ValuationAndQualifyingAccountsDisclosureTable_D2768F84984825C8C354C501924623C9" xlink:to="loc_us-gaap_ValuationAllowancesAndReservesTypeAxis_27C0E7DEDA2554C5F9B4C5019246A59C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ValuationAllowancesAndReservesDomain" xlink:label="loc_us-gaap_ValuationAllowancesAndReservesDomain_52A356AB7B3512687A00C5019246B0B1_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ValuationAllowancesAndReservesTypeAxis_27C0E7DEDA2554C5F9B4C5019246A59C" xlink:to="loc_us-gaap_ValuationAllowancesAndReservesDomain_52A356AB7B3512687A00C5019246B0B1_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ValuationAllowancesAndReservesDomain" xlink:label="loc_us-gaap_ValuationAllowancesAndReservesDomain_52A356AB7B3512687A00C5019246B0B1" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ValuationAllowancesAndReservesTypeAxis_27C0E7DEDA2554C5F9B4C5019246A59C" xlink:to="loc_us-gaap_ValuationAllowancesAndReservesDomain_52A356AB7B3512687A00C5019246B0B1" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_AllowanceForDoubtfulAccountsMember" xlink:label="loc_us-gaap_AllowanceForDoubtfulAccountsMember_60902EC9D7C35A7068D3C501924629E6" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ValuationAllowancesAndReservesDomain_52A356AB7B3512687A00C5019246B0B1" xlink:to="loc_us-gaap_AllowanceForDoubtfulAccountsMember_60902EC9D7C35A7068D3C501924629E6" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ValuationAllowanceOfDeferredTaxAssetsMember" xlink:label="loc_us-gaap_ValuationAllowanceOfDeferredTaxAssetsMember_54E95A54E2477F51B44FC5019246E427" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ValuationAllowancesAndReservesDomain_52A356AB7B3512687A00C5019246B0B1" xlink:to="loc_us-gaap_ValuationAllowanceOfDeferredTaxAssetsMember_54E95A54E2477F51B44FC5019246E427" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_MovementInValuationAllowancesAndReservesRollForward" xlink:label="loc_us-gaap_MovementInValuationAllowancesAndReservesRollForward_C280A3874D21E59F64FEC50192462FD9" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ValuationAndQualifyingAccountsDisclosureLineItems_4143F80AE4E5BF6CECB6C5019246E7D0" xlink:to="loc_us-gaap_MovementInValuationAllowancesAndReservesRollForward_C280A3874D21E59F64FEC50192462FD9" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ValuationAllowancesAndReservesBalance" xlink:label="loc_us-gaap_ValuationAllowancesAndReservesBalance_40663C4CEDB77B474BDAC50192469A05" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MovementInValuationAllowancesAndReservesRollForward_C280A3874D21E59F64FEC50192462FD9" xlink:to="loc_us-gaap_ValuationAllowancesAndReservesBalance_40663C4CEDB77B474BDAC50192469A05" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ValuationAllowancesAndReservesChargedToCostAndExpense" xlink:label="loc_us-gaap_ValuationAllowancesAndReservesChargedToCostAndExpense_78C86F927F7DF893FD6CC5019246452D" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MovementInValuationAllowancesAndReservesRollForward_C280A3874D21E59F64FEC50192462FD9" xlink:to="loc_us-gaap_ValuationAllowancesAndReservesChargedToCostAndExpense_78C86F927F7DF893FD6CC5019246452D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ValuationAllowancesAndReservesChargedToOtherAccounts" xlink:label="loc_us-gaap_ValuationAllowancesAndReservesChargedToOtherAccounts_DA56C4DAD88A9858909AC5019246B429" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MovementInValuationAllowancesAndReservesRollForward_C280A3874D21E59F64FEC50192462FD9" xlink:to="loc_us-gaap_ValuationAllowancesAndReservesChargedToOtherAccounts_DA56C4DAD88A9858909AC5019246B429" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ValuationAllowancesAndReservesDeductions" xlink:label="loc_us-gaap_ValuationAllowancesAndReservesDeductions_8C08A8F6F81B4B1D9834C5019246DF6D" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MovementInValuationAllowancesAndReservesRollForward_C280A3874D21E59F64FEC50192462FD9" xlink:to="loc_us-gaap_ValuationAllowancesAndReservesDeductions_8C08A8F6F81B4B1D9834C5019246DF6D" xlink:type="arc" />
  </definitionLink>
</linkbase>
