2.4.0.82415402 - Disclosure - Common Stock Activity (Summary of Share Activity) (Details)truefalsefalse1falsefalsefalseD2013Q2YTDhttp://www.sec.gov/CIK0000015615duration2013-01-01T00:00:002013-06-30T00:00:00sharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli02falsefalsefalseD2012Q2YTDhttp://www.sec.gov/CIK0000015615duration2012-01-01T00:00:002012-06-30T00:00:00sharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli03falsefalsefalseD2012Q4YTDhttp://www.sec.gov/CIK0000015615duration2012-01-01T00:00:002012-12-31T00:00:00sharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli04falsefalsefalseD2011Q4YTDhttp://www.sec.gov/CIK0000015615duration2011-01-01T00:00:002011-12-31T00:00:00sharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli01true4us-gaap_IncreaseDecreaseInStockholdersEquityRollForwardus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse02false5us-gaap_CommonStockSharesOutstandingus-gaap_truenainstantfalsefalsefalsefalsefalsetruefalsefalseperiodStartLabel1truefalsefalse7644800076448000falsefalsefalse2truefalsefalse8056900080569000falsefalsefalse3truefalsefalse8056900080569000falsefalsefalse4falsefalsefalse00falsefalsefalsexbrli:sharesItemTypesharesNumber of shares of common stock outstanding. Common stock represent the ownership interest in a corporation.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 Accounting Standards Codification
-Topic 210
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SX 210.5-02.29)
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
Reference 6: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 30
-Article 5
false13false5us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercisedus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse313303313303falsefalsefalse2truefalsefalse3200032000falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalsexbrli:sharesItemTypesharesNumber of share options (or share units) exercised during the current period.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 04
-Article 3
Reference 2: 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 3: 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 4: 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.28,29)
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
Reference 5: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 718
-SubTopic 10
-Section 50
-Paragraph 2
-Subparagraph (c)(1)(iv)(2)
-URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901
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
false14false5us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardGrossus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse3577235772falsefalsefalse2truefalsefalse129126129126falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalsexbrli:sharesItemTypesharesTotal number of shares issued during the period, including shares forfeited, as a result of Restricted Stock Awards.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 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 3: 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 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 129
-Paragraph 4, 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.
false15false5us-gaap_StockIssuedDuringPeriodSharesOtherus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse130000130000falsefalsefalse2truefalsefalse50005000falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalsexbrli:sharesItemTypesharesNumber of shares of stock issued during the period that is attributable to transactions involving issuance of stock not separately disclosed.No definition available.false16false5us-gaap_TreasuryStockSharesAcquiredus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel1falsefalsefalse00falsefalsefalse2truefalsefalse-2906000-2906000[1]falsefalsefalse3truefalsefalse-4900000-4900000falsefalsefalse4truefalsefalse-4600000-4600000falsefalsefalsexbrli:sharesItemTypesharesNumber of shares that have been repurchased during the period and are being held in treasury.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 SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 29, 30
-Article 5
false17false5us-gaap_CommonStockSharesOutstandingus-gaap_truenainstantfalsefalsefalsefalsefalsefalsetruefalseperiodEndLabel1truefalsefalse7672700076727000falsefalsefalse2truefalsefalse7782900077829000falsefalsefalse3truefalsefalse7644800076448000falsefalsefalse4truefalsefalse8056900080569000falsefalsefalsexbrli:sharesItemTypesharesNumber of shares of common stock outstanding. Common stock represent the ownership interest in a corporation.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 Accounting Standards Codification
-Topic 210
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SX 210.5-02.29)
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
Reference 6: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 30
-Article 5
false18false5us-gaap_TreasuryStockSharesus-gaap_truenainstantfalsefalsefalsefalsefalsetruefalsefalseperiodStartLabel1truefalsefalse94672869467286falsefalsefalse2truefalsefalse45940004594000falsefalsefalse3truefalsefalse45940004594000falsefalsefalse4falsefalsefalse00falsefalsefalsexbrli:sharesItemTypesharesNumber of common and preferred shares that were previously issued and that were repurchased by the issuing entity and held in treasury on the financial statement date. This stock has no voting rights and receives no dividends.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.28,29)
-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 29, 30
-Article 5
false19false5us-gaap_TreasuryStockSharesus-gaap_truenainstantfalsefalsefalsefalsefalsefalsetruefalseperiodEndLabel1truefalsefalse94672869467286falsefalsefalse2truefalsefalse75000007500000falsefalsefalse3truefalsefalse94672869467286falsefalsefalse4truefalsefalse45940004594000falsefalsefalsexbrli:sharesItemTypesharesNumber of common and preferred shares that were previously issued and that were repurchased by the issuing entity and held in treasury on the financial statement date. This stock has no voting rights and receives no dividends.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.28,29)
-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 29, 30
-Article 5
false110false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsetruefalseD2013Q2YTD_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_us-gaap_InvestorMember_us-gaap_StatementEquityComponentsAxis_mtz_CommonStockOutstandingMemberhttp://www.sec.gov/CIK0000015615duration2013-01-01T00:00:002013-06-30T00:00:00falsefalseInvestor [Member]us-gaap_RelatedPartyTransactionsByRelatedPartyAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_InvestorMemberus-gaap_RelatedPartyTransactionsByRelatedPartyAxisexplicitMemberfalsefalseCommon Stock Outstanding [Member]us-gaap_StatementEquityComponentsAxisxbrldihttp://xbrl.org/2006/xbrldimtz_CommonStockOutstandingMemberus-gaap_StatementEquityComponentsAxisexplicitMembersharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0nanafalse011true4us-gaap_IncreaseDecreaseInStockholdersEquityRollForwardus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse012false5mtz_CommonStockSharesContributedmtz_falsenadurationfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel1truefalsefalse-200000-200000[2]falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalsexbrli:sharesItemTypesharesIncrease or decrease to outstanding shares resulting from contributed share transactions during the periodNo definition available.false11(1) See Note 2 - Earnings Per Share for share repurchase plan details.2(2) See Note 12 - Stock-Based Compensation and Other Employee Benefit Plans for contributed share details.falseCommon Stock Activity (Summary of Share Activity) (Details)UnKnownNoRoundingUnKnownUnKnowntruefalsefalseSheethttp://www.mastec.com/role/CommonStockActivitySummaryOfShareActivityDetails412