2.4.0.82405402 - Disclosure - Debt (Details)truefalseIn Thousands, unless otherwise specifiedfalse1falseUSDfalsefalse$I2013Q4http://www.sec.gov/CIK0000866273instant2013-06-30T00:00:000001-01-01T00:00:00usdStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$2falseUSDfalsefalse$I2012Q4http://www.sec.gov/CIK0000866273instant2012-06-30T00:00:000001-01-01T00:00:00usdStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$1true2us-gaap_LineOfCreditFacilityAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse02false3us-gaap_LineOfCreditFacilityMaximumBorrowingCapacityus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truefalsefalse125000000125000USD$falsetruefalse2truefalsefalse125000000125000USD$falsetruefalsexbrli:monetaryItemTypemonetaryMaximum borrowing capacity under the credit facility without consideration of any current restrictions on the amount that could be borrowed or the amounts currently outstanding under the facility.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 129
-Paragraph 2, 4
-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 FASB
-Name Accounting Standards Codification
-Topic 210
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SX 210.5-02.19(b),22(b))
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 19, 22
-Article 5
false23false3mtrx_CapacityConstraintDueToSeniorLeverageRatiomtrx_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truefalsefalse00falsefalsefalse2truefalsefalse96620009662falsefalsefalsexbrli:monetaryItemTypemonetaryCapacity constraint due to the Senior Leverage Ratio.No definition available.false24false3mtrx_LineOfCreditFacilityMaximumBorrowingCapacityAfterConsiderationOfCapacityConstraintmtrx_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse125000000125000falsefalsefalse2truefalsefalse115338000115338falsefalsefalsexbrli:monetaryItemTypemonetaryLine of credit facility maximum borrowing capacity after consideration of capacity constraint.No definition available.true25false3mtrx_LettersOfCreditIssuedmtrx_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse1337200013372falsefalsefalse2truefalsefalse84990008499falsefalsefalsexbrli:monetaryItemTypemonetaryLetters of credit issued.No definition available.false26false3us-gaap_LineOfCreditFacilityRemainingBorrowingCapacityus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse111628000111628USD$falsetruefalse2truefalsefalse106839000106839USD$falsetruefalsexbrli:monetaryItemTypemonetaryAmount of borrowing capacity currently available under the credit facility (current borrowing capacity less the amount of borrowings outstanding).Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 210
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SX 210.5-02.19(b),22(b))
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 19, 22
-Article 5
false2falseDebt (Details) (USD $)ThousandsUnKnownUnKnownUnKnowntruefalsefalseSheethttp://www.matrixservice.com/role/DebtDetails26