2.4.0.82408406 - Disclosure - Debt - Convertible Notes (Narrative) (Details)truefalsefalse1falseUSDtruefalse$I2013Q2_us-gaap_DebtInstrumentAxis_mtz_NewFourPointZeroPercentageSeniorConvertibleNotesMember_us-gaap_LongtermDebtTypeAxis_us-gaap_ConvertibleDebtMemberhttp://www.sec.gov/CIK0000015615instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseConvertible Debt [Member]us-gaap_LongtermDebtTypeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_ConvertibleDebtMemberus-gaap_LongtermDebtTypeAxisexplicitMemberfalsefalseNew 4.0% Notes [Member]us-gaap_DebtInstrumentAxisxbrldihttp://xbrl.org/2006/xbrldimtz_NewFourPointZeroPercentageSeniorConvertibleNotesMemberus-gaap_DebtInstrumentAxisexplicitMemberusdStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$2falseUSDtruefalse$I2012Q4_us-gaap_DebtInstrumentAxis_mtz_NewFourPointZeroPercentageSeniorConvertibleNotesMember_us-gaap_LongtermDebtTypeAxis_us-gaap_ConvertibleDebtMemberhttp://www.sec.gov/CIK0000015615instant2012-12-31T00:00:000001-01-01T00:00:00falsefalseConvertible Debt [Member]us-gaap_LongtermDebtTypeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_ConvertibleDebtMemberus-gaap_LongtermDebtTypeAxisexplicitMemberfalsefalseNew 4.0% Notes [Member]us-gaap_DebtInstrumentAxisxbrldihttp://xbrl.org/2006/xbrldimtz_NewFourPointZeroPercentageSeniorConvertibleNotesMemberus-gaap_DebtInstrumentAxisexplicitMemberusdStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$3falseUSDtruefalse$I2012Q2_us-gaap_DebtInstrumentAxis_mtz_NewFourPointZeroPercentageSeniorConvertibleNotesMember_us-gaap_LongtermDebtTypeAxis_us-gaap_ConvertibleDebtMemberhttp://www.sec.gov/CIK0000015615instant2012-06-30T00:00:000001-01-01T00:00:00falsefalseConvertible Debt [Member]us-gaap_LongtermDebtTypeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_ConvertibleDebtMemberus-gaap_LongtermDebtTypeAxisexplicitMemberfalsefalseNew 4.0% Notes [Member]us-gaap_DebtInstrumentAxisxbrldihttp://xbrl.org/2006/xbrldimtz_NewFourPointZeroPercentageSeniorConvertibleNotesMemberus-gaap_DebtInstrumentAxisexplicitMemberusdStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$4falseUSDtruefalse$I2013Q2_us-gaap_DebtInstrumentAxis_mtz_NewFourPointTwoFivePercentageSeniorConvertibleNotesMember_us-gaap_LongtermDebtTypeAxis_us-gaap_ConvertibleDebtMemberhttp://www.sec.gov/CIK0000015615instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseConvertible Debt [Member]us-gaap_LongtermDebtTypeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_ConvertibleDebtMemberus-gaap_LongtermDebtTypeAxisexplicitMemberfalsefalseNew 4.25% Notes [Member]us-gaap_DebtInstrumentAxisxbrldihttp://xbrl.org/2006/xbrldimtz_NewFourPointTwoFivePercentageSeniorConvertibleNotesMemberus-gaap_DebtInstrumentAxisexplicitMemberusdStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$5falseUSDtruefalse$I2012Q4_us-gaap_DebtInstrumentAxis_mtz_NewFourPointTwoFivePercentageSeniorConvertibleNotesMember_us-gaap_LongtermDebtTypeAxis_us-gaap_ConvertibleDebtMemberhttp://www.sec.gov/CIK0000015615instant2012-12-31T00:00:000001-01-01T00:00:00falsefalseConvertible Debt [Member]us-gaap_LongtermDebtTypeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_ConvertibleDebtMemberus-gaap_LongtermDebtTypeAxisexplicitMemberfalsefalseNew 4.25% Notes [Member]us-gaap_DebtInstrumentAxisxbrldihttp://xbrl.org/2006/xbrldimtz_NewFourPointTwoFivePercentageSeniorConvertibleNotesMemberus-gaap_DebtInstrumentAxisexplicitMemberusdStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$6falseUSDtruefalse$I2012Q2_us-gaap_DebtInstrumentAxis_mtz_NewFourPointTwoFivePercentageSeniorConvertibleNotesMember_us-gaap_LongtermDebtTypeAxis_us-gaap_ConvertibleDebtMemberhttp://www.sec.gov/CIK0000015615instant2012-06-30T00:00:000001-01-01T00:00:00falsefalseConvertible Debt [Member]us-gaap_LongtermDebtTypeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_ConvertibleDebtMemberus-gaap_LongtermDebtTypeAxisexplicitMemberfalsefalseNew 4.25% Notes [Member]us-gaap_DebtInstrumentAxisxbrldihttp://xbrl.org/2006/xbrldimtz_NewFourPointTwoFivePercentageSeniorConvertibleNotesMemberus-gaap_DebtInstrumentAxisexplicitMemberusdStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$7falseUSDtruefalse$I2013Q2_us-gaap_DebtInstrumentAxis_mtz_OriginalFourPointZeroPercentageSeniorConvertibleNotesMember_us-gaap_LongtermDebtTypeAxis_us-gaap_ConvertibleDebtMemberhttp://www.sec.gov/CIK0000015615instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseConvertible Debt [Member]us-gaap_LongtermDebtTypeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_ConvertibleDebtMemberus-gaap_LongtermDebtTypeAxisexplicitMemberfalsefalseOriginal 4.0% Notes [Member]us-gaap_DebtInstrumentAxisxbrldihttp://xbrl.org/2006/xbrldimtz_OriginalFourPointZeroPercentageSeniorConvertibleNotesMemberus-gaap_DebtInstrumentAxisexplicitMemberusdStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$8falseUSDtruefalse$I2012Q2_us-gaap_DebtInstrumentAxis_mtz_OriginalFourPointZeroPercentageSeniorConvertibleNotesMember_us-gaap_LongtermDebtTypeAxis_us-gaap_ConvertibleDebtMemberhttp://www.sec.gov/CIK0000015615instant2012-06-30T00:00:000001-01-01T00:00:00falsefalseConvertible Debt [Member]us-gaap_LongtermDebtTypeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_ConvertibleDebtMemberus-gaap_LongtermDebtTypeAxisexplicitMemberfalsefalseOriginal 4.0% Notes [Member]us-gaap_DebtInstrumentAxisxbrldihttp://xbrl.org/2006/xbrldimtz_OriginalFourPointZeroPercentageSeniorConvertibleNotesMemberus-gaap_DebtInstrumentAxisexplicitMemberusdStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$9falseUSDtruefalse$I2013Q2_us-gaap_DebtInstrumentAxis_mtz_OriginalFourPointTwoFivePercentageSeniorConvertibleNotesMember_us-gaap_LongtermDebtTypeAxis_us-gaap_ConvertibleDebtMemberhttp://www.sec.gov/CIK0000015615instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseConvertible Debt [Member]us-gaap_LongtermDebtTypeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_ConvertibleDebtMemberus-gaap_LongtermDebtTypeAxisexplicitMemberfalsefalseOriginal 4.25% Notes [Member]us-gaap_DebtInstrumentAxisxbrldihttp://xbrl.org/2006/xbrldimtz_OriginalFourPointTwoFivePercentageSeniorConvertibleNotesMemberus-gaap_DebtInstrumentAxisexplicitMemberusdStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$10falseUSDtruefalse$I2012Q2_us-gaap_DebtInstrumentAxis_mtz_OriginalFourPointTwoFivePercentageSeniorConvertibleNotesMember_us-gaap_LongtermDebtTypeAxis_us-gaap_ConvertibleDebtMemberhttp://www.sec.gov/CIK0000015615instant2012-06-30T00:00:000001-01-01T00:00:00falsefalseConvertible Debt [Member]us-gaap_LongtermDebtTypeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_ConvertibleDebtMemberus-gaap_LongtermDebtTypeAxisexplicitMemberfalsefalseOriginal 4.25% Notes [Member]us-gaap_DebtInstrumentAxisxbrldihttp://xbrl.org/2006/xbrldimtz_OriginalFourPointTwoFivePercentageSeniorConvertibleNotesMemberus-gaap_DebtInstrumentAxisexplicitMemberusdStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$11falsetruefalseD2013Q2YTD_us-gaap_DebtInstrumentAxis_mtz_TotalNewSeniorConvertibleNotesMember_us-gaap_LongtermDebtTypeAxis_us-gaap_ConvertibleDebtMemberhttp://www.sec.gov/CIK0000015615duration2013-01-01T00:00:002013-06-30T00:00:00falsefalseConvertible Debt [Member]us-gaap_LongtermDebtTypeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_ConvertibleDebtMemberus-gaap_LongtermDebtTypeAxisexplicitMemberfalsefalseTotal New Senior Convertible Notes [Member]us-gaap_DebtInstrumentAxisxbrldihttp://xbrl.org/2006/xbrldimtz_TotalNewSeniorConvertibleNotesMemberus-gaap_DebtInstrumentAxisexplicitMembernumberStandardhttp://www.xbrl.org/2003/instancepurexbrli012falseUSDtruefalse$I2011Q1_us-gaap_DebtInstrumentAxis_mtz_TotalNewSeniorConvertibleNotesMember_us-gaap_LongtermDebtTypeAxis_us-gaap_ConvertibleDebtMemberhttp://www.sec.gov/CIK0000015615instant2011-03-31T00:00:000001-01-01T00:00:00falsefalseConvertible Debt [Member]us-gaap_LongtermDebtTypeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_ConvertibleDebtMemberus-gaap_LongtermDebtTypeAxisexplicitMemberfalsefalseTotal New Senior Convertible Notes [Member]us-gaap_DebtInstrumentAxisxbrldihttp://xbrl.org/2006/xbrldimtz_TotalNewSeniorConvertibleNotesMemberus-gaap_DebtInstrumentAxisexplicitMemberusdStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$13falsetruefalseD2013Q2YTD_us-gaap_DebtInstrumentAxis_mtz_TotalNewSeniorConvertibleNotesMember_us-gaap_LongtermDebtTypeAxis_us-gaap_ConvertibleDebtMember_us-gaap_RangeAxis_us-gaap_WeightedAverageMemberhttp://www.sec.gov/CIK0000015615duration2013-01-01T00:00:002013-06-30T00:00:00falsefalseWeighted Average [Member]us-gaap_RangeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_WeightedAverageMemberus-gaap_RangeAxisexplicitMemberfalsefalseConvertible Debt [Member]us-gaap_LongtermDebtTypeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_ConvertibleDebtMemberus-gaap_LongtermDebtTypeAxisexplicitMemberfalsefalseTotal New Senior Convertible Notes [Member]us-gaap_DebtInstrumentAxisxbrldihttp://xbrl.org/2006/xbrldimtz_TotalNewSeniorConvertibleNotesMemberus-gaap_DebtInstrumentAxisexplicitMember1true3us-gaap_DebtInstrumentLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse7falsefalsefalse00falsefalsefalse8falsefalsefalse00falsefalsefalse9falsefalsefalse00falsefalsefalse10falsefalsefalse00falsefalsefalse11falsefalsefalse00falsefalsefalse12falsefalsefalse00falsefalsefalse13falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse02false4us-gaap_DebtInstrumentFaceAmountus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truefalsefalse105322000105322000[1]USD$falsetruefalse2truefalsefalse105300000105300000USD$falsetruefalse3truefalsefalse105322000105322000[1]USD$falsetruefalse4truefalsefalse9700000097000000[1]USD$falsetruefalse5truefalsefalse9700000097000000USD$falsetruefalse6truefalsefalse9700000097000000[1]USD$falsetruefalse7truefalsefalse96000009600000[2]USD$falsetruefalse8truefalsefalse97000009700000[2]USD$falsetruefalse9truefalsefalse30000003000000[2]USD$falsetruefalse10truefalsefalse30000003000000[2]USD$falsetruefalse11falsefalsefalse00falsefalsefalse12falsefalsefalse00falsefalsefalse13falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryThe stated principal amount of the debt instrument at time of issuance, which may vary from the carrying amount because of unamortized premium or discount.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 835
-SubTopic 30
-Section 45
-Paragraph 2
-URI http://asc.fasb.org/extlink&oid=6451184&loc=d3e28551-108399
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 835
-SubTopic 30
-Section 55
-Paragraph 8
-URI http://asc.fasb.org/extlink&oid=6584090&loc=d3e28878-108400
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher AICPA
-Name Accounting Principles Board Opinion (APB)
-Number 21
-Paragraph 16, 20
-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.
false23false4us-gaap_DebtInstrumentUnamortizedDiscountus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse30000003000000USD$falsetruefalse2truefalsefalse44000004400000USD$falsetruefalse3falsefalsefalse00falsefalsefalse4truefalsefalse37000003700000USD$falsetruefalse5truefalsefalse49000004900000USD$falsetruefalse6falsefalsefalse00falsefalsefalse7falsefalsefalse00falsefalsefalse8falsefalsefalse00falsefalsefalse9falsefalsefalse00falsefalsefalse10falsefalsefalse00falsefalsefalse11falsefalsefalse00falsefalsefalse12truefalsefalse1740000017400000USD$falsetruefalse13falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryThe amount of debt discount that was originally recognized at the issuance of the instrument that has yet to be amortized.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 835
-SubTopic 30
-Section 45
-Paragraph 1A
-URI http://asc.fasb.org/extlink&oid=6451184&loc=d3e28541-108399
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name FASB Staff Position (FSP)
-Number APB14-1
-Paragraph 31
-Subparagraph b
-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 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 835
-SubTopic 30
-Section 55
-Paragraph 8
-URI http://asc.fasb.org/extlink&oid=6584090&loc=d3e28878-108400
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher AICPA
-Name Accounting Principles Board Opinion (APB)
-Number 21
-Paragraph 16, 20
-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.
false24false4us-gaap_DebtInstrumentConvertibleEffectiveInterestRateus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsetruefalse00falsefalsefalse2falsetruefalse00falsefalsefalse3falsetruefalse00falsefalsefalse4falsetruefalse00falsefalsefalse5falsetruefalse00falsefalsefalse6falsetruefalse00falsefalsefalse7falsetruefalse00falsefalsefalse8falsetruefalse00falsefalsefalse9falsetruefalse00falsefalsefalse10falsetruefalse00falsefalsefalse11truetruefalse0.06730.0673falsefalsefalse12falsetruefalse00falsefalsefalse13falsetruefalse00falsefalsefalsenum:percentItemTypepureThe effective interest rate on the liability component of convertible debt instrument which may be settled in cash upon conversion, including partial cash settlement.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 470
-SubTopic 20
-Section 50
-Paragraph 6
-Subparagraph (a)
-URI http://asc.fasb.org/extlink&oid=6928298&loc=SL6036836-161870
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name FASB Staff Position (FSP)
-Number APB14-1
-Paragraph 33
-Subparagraph a
-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.
false05false4us-gaap_DebtInstrumentConvertibleRemainingDiscountAmortizationPeriod1us-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse7falsefalsefalse00falsefalsefalse8falsefalsefalse00falsefalsefalse9falsefalsefalse00falsefalsefalse10falsefalsefalse00falsefalsefalse11falsefalsefalse00falsefalsefalse12falsefalsefalse00falsefalsefalse13falsefalsefalse001 year 2 months 12 daysfalsefalsefalsexbrli:durationItemTypenaRemaining amortization period for discount on the liability component of convertible debt which may be settled in cash upon conversion, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 470
-SubTopic 20
-Section 50
-Paragraph 5
-Subparagraph (a)
-URI http://asc.fasb.org/extlink&oid=6928298&loc=SL6031898-161870
false01Dilutive shares associated with the New Convertible Notes are attributable to the weighted average premium value, in shares, of the conversion shares underlying the New Convertible Notes in excess of the respective principal amounts thereof.2Dilutive shares associated with the Original Convertible Notes are attributable to the underlying principal amounts.falseDebt - Convertible Notes (Narrative) (Details) (Convertible Debt [Member], USD $)NoRoundingUnKnownUnKnownUnKnowntruefalsefalseNoteshttp://www.mastec.com/role/DebtConvertibleNotesNarrativeDetails135