2.4.0.82412403 - Disclosure - Employee Benefit Plans (Details Textual)truefalsefalse1false USDfalsefalse$D2013Q4YTDhttp://www.sec.gov/CIK0000866273duration2012-07-01T00:00:002013-06-30T00:00:00sharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0numberStandardhttp://www.xbrl.org/2003/instancepurexbrli0usdStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$2false USDfalsefalse$D2012Q4YTDhttp://www.sec.gov/CIK0000866273duration2011-07-01T00:00:002012-06-30T00:00:00sharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0usdStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$3false USDfalsefalse$D2011Q4YTDhttp://www.sec.gov/CIK0000866273duration2010-07-01T00:00:002011-06-30T00:00:00sharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0usdStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$1true 2mtrx_EmployeeBenefitPlansTextualAbstractmtrx_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse02false 3mtrx_DefinedContributionPlanMaximumAnnualContributionByEmployeePercentmtrx_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truetruefalse0.250.25falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsenum:percentItemTypepureMaximum percentage of employee gross pay, by the terms of the plan, that the employee may contribute to a defined contribution plan.No definition available.false03false 3us-gaap_DefinedContributionPlanEmployerMatchingContributionPercentus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truetruefalse1.001.00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsenum:percentItemTypepurePercentage of employees' gross pay for which the employer contributes a matching contribution to a defined contribution plan.No definition available.false04false 3mtrx_PercentageOfEmployeeContributionAsBaseForEmployerContributionsmtrx_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truetruefalse0.030.03falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsenum:percentItemTypepurePercentage of employee contribution as base for employer contributions.No definition available.false05false 3mtrx_DefinedContributionPlanEmployerMatchingContributionPercentForTwoPercentOfEmployeeContributionmtrx_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truetruefalse0.50.5falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsenum:percentItemTypepureDefined contribution plan employer matching contribution percent for next two percent of employee contribution.No definition available.false06false 3mtrx_PercentageOfEmployeeContributionAsBaseForEmployerContributionToMatchmtrx_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truetruefalse0.020.02falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsenum:percentItemTypepurePercentage of employee contribution as base for employer contribution to matchNo definition available.false07false 3us-gaap_DefinedContributionPlanCostRecognizedus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truefalsefalse34000003400000USD$falsetruefalse2truefalsefalse33000003300000USD$falsetruefalse3truefalsefalse30000003000000USD$falsetruefalsexbrli:monetaryItemTypemonetaryThe amount of the cost recognized during the period for defined contribution plans.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 715 -SubTopic 70 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=6414718&loc=d3e28014-114942 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 132R -Paragraph 11 -LegacyDoc This reference is SUPERSEDED by the Accounting Standards Codification effective for interim and annual periods ending after September 15, 2009. This reference is included to help users transition from the previous accounting hierarchy and will be removed from future versions of this taxonomy. false28false 3mtrx_EmployeeStockPurchasePlanMaximumAnnualSharePurchaseLimitedToAggregateMarketValuemtrx_falsedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse00falsefalsefalse2truefalsefalse6000060000USD$falsetruefalse3falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryEmployee stock purchase plan per participant maximum annual share purchase limited to aggregate market value.No definition available.false29false 3mtrx_EmployeeStockPurchasePlanMaximumNumberOfSharesAvailableForIssuancemtrx_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse00falsefalsefalse2truefalsefalse10000001000000falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:sharesItemTypesharesEmployee stock purchase plan maximum number of shares available for issuance.No definition available.false110false 3mtrx_EmployeeStockPurchasePlanTerminationDatemtrx_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse002021-01-02falsefalsetrue2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:dateItemTypedateEmployee Stock Purchase Plan, Termination DateNo definition available.false011false 3us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlansus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truefalsefalse44524452falsefalsefalse2truefalsefalse43954395falsefalsefalse3truefalsefalse699699falsefalsefalsexbrli:sharesItemTypesharesNumber of shares issued during the period as a result of an employee stock purchase plan.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher AICPA -Name Accounting Principles Board Opinion (APB) -Number 12 -Paragraph 10 -LegacyDoc This reference is SUPERSEDED by the Accounting Standards Codification effective for interim and annual periods ending after September 15, 2009. This reference is included to help users transition from the previous accounting hierarchy and will be removed from future versions of this taxonomy. Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 04 -Article 3 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=6928386&loc=d3e21463-112644 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -URI http://asc.fasb.org/extlink&oid=6959260&loc=d3e187085-122770 Reference 5: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 129 -Paragraph 5 -LegacyDoc This reference is SUPERSEDED by the Accounting Standards Codification effective for interim and annual periods ending after September 15, 2009. This reference is included to help users transition from the previous accounting hierarchy and will be removed from future versions of this taxonomy. Reference 6: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph 29, 30 -Article 5 false112false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4false truefalseD2013Q4YTD_mtrx_MultiemployerPlanZoneByTypeAxis_mtrx_ZoneRedMemberhttp://www.sec.gov/CIK0000866273duration2012-07-01T00:00:002013-06-30T00:00:00falsefalseZone Red [Member]mtrx_MultiemployerPlanZoneByTypeAxisxbrldihttp://xbrl.org/2006/xbrldimtrx_ZoneRedMembermtrx_MultiemployerPlanZoneByTypeAxisexplicitMembernumberStandardhttp://www.xbrl.org/2003/instancepurexbrli0nanafalse013true 3us-gaap_MultiemployerPlansLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse014false 4mtrx_PercentageOfPlanFundedmtrx_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truetruefalse0.650.65falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsenum:percentItemTypepurePercentage of plan funded.No definition available.false015false 4mtrx_DescriptionOfFundedPortionOfPlanmtrx_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse00less than 65 percentfalsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringDescription of funded portion of plan.No definition available.false016false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse5false truefalseD2013Q4YTD_mtrx_MultiemployerPlanZoneByTypeAxis_mtrx_ZoneYellowMemberhttp://www.sec.gov/CIK0000866273duration2012-07-01T00:00:002013-06-30T00:00:00falsefalseZone Yellow [Member]mtrx_MultiemployerPlanZoneByTypeAxisxbrldihttp://xbrl.org/2006/xbrldimtrx_ZoneYellowMembermtrx_MultiemployerPlanZoneByTypeAxisexplicitMembernumberStandardhttp://www.xbrl.org/2003/instancepurexbrli0nanafalse017true 3us-gaap_MultiemployerPlansLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse018false 4mtrx_PercentageOfPlanFundedmtrx_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truetruefalse0.800.80falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsenum:percentItemTypepurePercentage of plan funded.No definition available.false019false 4mtrx_DescriptionOfFundedPortionOfPlanmtrx_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse00less than 80 percentfalsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringDescription of funded portion of plan.No definition available.false020false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse6false truefalseD2013Q4YTD_mtrx_MultiemployerPlanZoneByTypeAxis_mtrx_ZoneGreenMemberhttp://www.sec.gov/CIK0000866273duration2012-07-01T00:00:002013-06-30T00:00:00falsefalseZone Green [Member]mtrx_MultiemployerPlanZoneByTypeAxisxbrldihttp://xbrl.org/2006/xbrldimtrx_ZoneGreenMembermtrx_MultiemployerPlanZoneByTypeAxisexplicitMembernumberStandardhttp://www.xbrl.org/2003/instancepurexbrli0nanafalse021true 3us-gaap_MultiemployerPlansLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse022false 4mtrx_PercentageOfPlanFundedmtrx_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truetruefalse0.800.80falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsenum:percentItemTypepurePercentage of plan funded.No definition available.false023false 4mtrx_DescriptionOfFundedPortionOfPlanmtrx_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse00at least 80 percentfalsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringDescription of funded portion of plan.No definition available.false0falseEmployee Benefit Plans (Details Textual) (USD $)NoRoundingNoRoundingUnKnownUnKnowntruefalsefalseSheethttp://www.matrixservice.com/role/EmployeeBenefitPlansDetailsTextual323