2.4.0.82413405 - Disclosure - Stock-Based Compensation and Other Employee Benefit Plans (Summary of Employee Stock Purchase Plan Activity) (Details)truefalseIn Millions, except Share data, unless otherwise specifiedfalse1false USDfalsefalse$D2013Q2YTD_us-gaap_AwardTypeAxis_us-gaap_EmployeeStockMember_us-gaap_PlanNameAxis_mtz_ESPPsMemberhttp://www.sec.gov/CIK0000015615duration2013-01-01T00:00:002013-06-30T00:00:00sharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0usdStandardhttp://www.xbrl.org/2003/iso4217USDiso42170usdPerShareDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instancesharesxbrli0USDUSD$2false USDfalsefalse$D2012Q2YTD_us-gaap_AwardTypeAxis_us-gaap_EmployeeStockMember_us-gaap_PlanNameAxis_mtz_ESPPsMemberhttp://www.sec.gov/CIK0000015615duration2012-01-01T00:00:002012-06-30T00:00:00sharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0usdStandardhttp://www.xbrl.org/2003/iso4217USDiso42170usdPerShareDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instancesharesxbrli0USDUSD$1true 3us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse02false 4us-gaap_ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlansus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truefalsefalse55000005.5USD$falsetruefalse2truefalsefalse5000000.5USD$falsetruefalsexbrli:monetaryItemTypemonetaryThe cash inflow associated with the amount received from holders to acquire the entity's shares under incentive and share awards other than stock option exercises. This item inherently excludes any excess tax benefit, which the entity may have realized and reported separately.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 123R -Paragraph A240 -Subparagraph i -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. false23false 4us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardSharesPurchasedForAwardus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse416400416400falsefalsefalse2truefalsefalse3490034900falsefalsefalsexbrli:sharesItemTypesharesThe number of shares purchased on the open market during the period for issuance to employees under the plan.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5047-113901 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 123R -Paragraph 64, 65 -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 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 123R -Paragraph A240 -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. false14false 4us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardPerShareWeightedAveragePriceOfSharesPurchasedus-gaap_truenainstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse13.1013.10USD$falsetruefalse2truefalsefalse14.0214.02USD$falsetruefalsenum:perShareItemTypedecimalThe weighted average of per share prices paid for shares purchased on the open market for issuance to employees under the plan.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5047-113901 false35false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3false USDtruefalse$I2013Q2_us-gaap_AwardTypeAxis_us-gaap_EmployeeStockMember_us-gaap_PlanNameAxis_mtz_ESPPsMember_us-gaap_RangeAxis_us-gaap_WeightedAverageMemberhttp://www.sec.gov/CIK0000015615instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseESPPs [Member]us-gaap_PlanNameAxisxbrldihttp://xbrl.org/2006/xbrldimtz_ESPPsMemberus-gaap_PlanNameAxisexplicitMemberfalsefalseEmployee Stock Purchase [Member]us-gaap_AwardTypeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_EmployeeStockMemberus-gaap_AwardTypeAxisexplicitMemberfalsefalseWeighted Average [Member]us-gaap_RangeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_WeightedAverageMemberus-gaap_RangeAxisexplicitMemberusdPerShareDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instancesharesxbrli0USDUSD$nanafalse06true 3us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse07false 4us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExercisePriceus-gaap_truenainstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse5.495.49USD$falsetruefalse2truefalsefalse4.084.08USD$falsetruefalsenum:perShareItemTypedecimalAgreed-upon price for the exchange of the underlying asset relating to the share-based payment award.No definition available.false3falseStock-Based Compensation and Other Employee Benefit Plans (Summary of Employee Stock Purchase Plan Activity) (Details) (ESPPs [Member], Employee Stock Purchase [Member], USD $)HundredThousandsNoRoundingNoRoundingUnKnowntruefalsefalseSheethttp://www.mastec.com/role/StockBasedCompensationAndOtherEmployeeBenefitPlansSummaryOfEmployeeStockPurchasePlanActivityDetails27