<?xml version="1.0" encoding="UTF-8"?>

<!--XBRL Document Created with Wdesk from Workiva-->
<!--Copyright 2022 Workiva-->
<!--r:a18e7752-34fb-4a37-8663-5e0faa590335,g:cc992c87-65ef-4e65-ad4b-793684e7180d-->
<link:linkbase xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xbrldt="http://xbrl.org/2005/xbrldt" xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd">
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/all" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#all"/>
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#hypercube-dimension"/>
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-default"/>
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-domain"/>
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/domain-member" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#domain-member"/>
  <link:roleRef roleURI="http://www.mastec.com/role/ConsolidatedBalanceSheetsParenthetical" xlink:type="simple" xlink:href="mtz-20220331.xsd#ConsolidatedBalanceSheetsParenthetical"/>
  <link:definitionLink xlink:role="http://www.mastec.com/role/ConsolidatedBalanceSheetsParenthetical" xlink:type="extended" id="i99035cc465df4220b662da3414ddce00_ConsolidatedBalanceSheetsParenthetical">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_7614913a-6ad2-4541-a710-4e52164ddcf8" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StatementLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockParOrStatedValuePerShare_37fe5c22-d45a-46b6-8c2a-001231ce360c" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PreferredStockParOrStatedValuePerShare"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_7614913a-6ad2-4541-a710-4e52164ddcf8" xlink:to="loc_us-gaap_PreferredStockParOrStatedValuePerShare_37fe5c22-d45a-46b6-8c2a-001231ce360c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockSharesAuthorized_91be457d-10b3-4d00-940c-203b13796a8b" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PreferredStockSharesAuthorized"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_7614913a-6ad2-4541-a710-4e52164ddcf8" xlink:to="loc_us-gaap_PreferredStockSharesAuthorized_91be457d-10b3-4d00-940c-203b13796a8b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockSharesIssued_13280756-db16-4ace-9747-dc749e07b6ca" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PreferredStockSharesIssued"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_7614913a-6ad2-4541-a710-4e52164ddcf8" xlink:to="loc_us-gaap_PreferredStockSharesIssued_13280756-db16-4ace-9747-dc749e07b6ca" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockSharesOutstanding_26d9d803-5066-48e4-96e1-6b8743ca4219" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PreferredStockSharesOutstanding"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_7614913a-6ad2-4541-a710-4e52164ddcf8" xlink:to="loc_us-gaap_PreferredStockSharesOutstanding_26d9d803-5066-48e4-96e1-6b8743ca4219" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockParOrStatedValuePerShare_a22e32fb-10a3-4330-a076-347756d79d27" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CommonStockParOrStatedValuePerShare"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_7614913a-6ad2-4541-a710-4e52164ddcf8" xlink:to="loc_us-gaap_CommonStockParOrStatedValuePerShare_a22e32fb-10a3-4330-a076-347756d79d27" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockSharesAuthorized_ab2eb4f8-749f-462f-adbd-deb75ca58e69" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CommonStockSharesAuthorized"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_7614913a-6ad2-4541-a710-4e52164ddcf8" xlink:to="loc_us-gaap_CommonStockSharesAuthorized_ab2eb4f8-749f-462f-adbd-deb75ca58e69" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockSharesIssued_1969f9a7-6afb-43c9-af23-ef76985bcc67" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CommonStockSharesIssued"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_7614913a-6ad2-4541-a710-4e52164ddcf8" xlink:to="loc_us-gaap_CommonStockSharesIssued_1969f9a7-6afb-43c9-af23-ef76985bcc67" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_8e5afccf-82c3-45ce-8969-1cb753c7ad49" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_7614913a-6ad2-4541-a710-4e52164ddcf8" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_8e5afccf-82c3-45ce-8969-1cb753c7ad49" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockCommonShares_0c967000-78b0-41b3-94a8-a8efbd15e60b" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_TreasuryStockCommonShares"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_7614913a-6ad2-4541-a710-4e52164ddcf8" xlink:to="loc_us-gaap_TreasuryStockCommonShares_0c967000-78b0-41b3-94a8-a8efbd15e60b" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementTable_3dec1e0c-cfe0-4b77-a4bf-aedca3dafbc5" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StatementTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_7614913a-6ad2-4541-a710-4e52164ddcf8" xlink:to="loc_us-gaap_StatementTable_3dec1e0c-cfe0-4b77-a4bf-aedca3dafbc5" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_d91995c4-203a-48ed-8eb6-47c089170a88" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AwardTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_3dec1e0c-cfe0-4b77-a4bf-aedca3dafbc5" xlink:to="loc_us-gaap_AwardTypeAxis_d91995c4-203a-48ed-8eb6-47c089170a88" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_d91995c4-203a-48ed-8eb6-47c089170a88_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_d91995c4-203a-48ed-8eb6-47c089170a88" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_d91995c4-203a-48ed-8eb6-47c089170a88_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_b313692b-cf8c-40bd-a2de-07597258f486" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_d91995c4-203a-48ed-8eb6-47c089170a88" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_b313692b-cf8c-40bd-a2de-07597258f486" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedStockMember_3850d92a-b226-4ba7-b0e1-5b6c79e93373" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RestrictedStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_b313692b-cf8c-40bd-a2de-07597258f486" xlink:to="loc_us-gaap_RestrictedStockMember_3850d92a-b226-4ba7-b0e1-5b6c79e93373" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_843fea65-15ab-4ac7-aa2b-312271361715" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StatementEquityComponentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_3dec1e0c-cfe0-4b77-a4bf-aedca3dafbc5" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_843fea65-15ab-4ac7-aa2b-312271361715" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_843fea65-15ab-4ac7-aa2b-312271361715_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_843fea65-15ab-4ac7-aa2b-312271361715" xlink:to="loc_us-gaap_EquityComponentDomain_843fea65-15ab-4ac7-aa2b-312271361715_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_ab53d966-22a4-4744-b590-5e2690256100" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_843fea65-15ab-4ac7-aa2b-312271361715" xlink:to="loc_us-gaap_EquityComponentDomain_ab53d966-22a4-4744-b590-5e2690256100" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockMember_3d5794e1-c359-4036-b187-8a12506f9478" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CommonStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_ab53d966-22a4-4744-b590-5e2690256100" xlink:to="loc_us-gaap_CommonStockMember_3d5794e1-c359-4036-b187-8a12506f9478" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mastec.com/role/ConsolidatedStatementsofEquity" xlink:type="simple" xlink:href="mtz-20220331.xsd#ConsolidatedStatementsofEquity"/>
  <link:definitionLink xlink:role="http://www.mastec.com/role/ConsolidatedStatementsofEquity" xlink:type="extended" id="ief26730eb0df4d53ba66db0782650f79_ConsolidatedStatementsofEquity">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_6d5c13b8-ba0f-4d34-8f51-bb34c6aba7c1" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StatementLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_7dc12313-43f5-43e0-b166-29c0bc751492" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncreaseDecreaseInStockholdersEquityRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_6d5c13b8-ba0f-4d34-8f51-bb34c6aba7c1" xlink:to="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_7dc12313-43f5-43e0-b166-29c0bc751492" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockSharesIssued_68382877-9ea3-4bb1-acab-755cfcf34d5f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CommonStockSharesIssued"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_7dc12313-43f5-43e0-b166-29c0bc751492" xlink:to="loc_us-gaap_CommonStockSharesIssued_68382877-9ea3-4bb1-acab-755cfcf34d5f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_6b86586b-e99f-4685-bcc5-5f112a386889" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_7dc12313-43f5-43e0-b166-29c0bc751492" xlink:to="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_6b86586b-e99f-4685-bcc5-5f112a386889" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockCommonShares_2639da26-55fd-46e4-9775-3ce1d9c00818" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_TreasuryStockCommonShares"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_7dc12313-43f5-43e0-b166-29c0bc751492" xlink:to="loc_us-gaap_TreasuryStockCommonShares_2639da26-55fd-46e4-9775-3ce1d9c00818" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_0a1449f9-7178-4775-8d08-94899d5edee4" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProfitLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_7dc12313-43f5-43e0-b166-29c0bc751492" xlink:to="loc_us-gaap_ProfitLoss_0a1449f9-7178-4775-8d08-94899d5edee4" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_f754823c-b45c-4ca5-8f54-7950e1537099" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_7dc12313-43f5-43e0-b166-29c0bc751492" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_f754823c-b45c-4ca5-8f54-7950e1537099" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_2c9f4a6c-0736-47a3-8c27-3900490e50e7" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_7dc12313-43f5-43e0-b166-29c0bc751492" xlink:to="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_2c9f4a6c-0736-47a3-8c27-3900490e50e7" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardNetOfForfeitures_df3cf163-9a4e-475f-aa2a-59312fbf40f7" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardNetOfForfeitures"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_7dc12313-43f5-43e0-b166-29c0bc751492" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardNetOfForfeitures_df3cf163-9a4e-475f-aa2a-59312fbf40f7" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueRestrictedStockAwardNetOfForfeitures_2d452196-61b2-4a17-afa9-402e4570dd89" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StockIssuedDuringPeriodValueRestrictedStockAwardNetOfForfeitures"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_7dc12313-43f5-43e0-b166-29c0bc751492" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueRestrictedStockAwardNetOfForfeitures_2d452196-61b2-4a17-afa9-402e4570dd89" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesOther_d39fae89-9b2a-4d6d-9f06-36e48266a83f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesOther"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_7dc12313-43f5-43e0-b166-29c0bc751492" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesOther_d39fae89-9b2a-4d6d-9f06-36e48266a83f" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueOther_45ef2c09-4de5-4683-8789-a8e43a980521" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StockIssuedDuringPeriodValueOther"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_7dc12313-43f5-43e0-b166-29c0bc751492" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueOther_45ef2c09-4de5-4683-8789-a8e43a980521" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockSharesAcquired_d13c0b07-f0e2-4b59-bd71-4263f3023f23" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_TreasuryStockSharesAcquired"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_7dc12313-43f5-43e0-b166-29c0bc751492" xlink:to="loc_us-gaap_TreasuryStockSharesAcquired_d13c0b07-f0e2-4b59-bd71-4263f3023f23" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockValueAcquiredCostMethod_bdd2cf77-542a-46e6-aea1-956cdaa8d92b" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_TreasuryStockValueAcquiredCostMethod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_7dc12313-43f5-43e0-b166-29c0bc751492" xlink:to="loc_us-gaap_TreasuryStockValueAcquiredCostMethod_bdd2cf77-542a-46e6-aea1-956cdaa8d92b" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockSharesIssued_7cea385f-4a0d-4254-a202-ad276f233940" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CommonStockSharesIssued"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_b57475ab-234e-44f5-b2d2-ca5969287cec" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockCommonShares_d30162be-c2d3-4a88-b112-5b7ad6c07199" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_TreasuryStockCommonShares"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementTable_377b8299-4ef0-4776-a00d-125dd5d6df73" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StatementTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_6d5c13b8-ba0f-4d34-8f51-bb34c6aba7c1" xlink:to="loc_us-gaap_StatementTable_377b8299-4ef0-4776-a00d-125dd5d6df73" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_951e2fe6-644a-44d1-9ff8-1ba364cd4d03" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StatementEquityComponentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_377b8299-4ef0-4776-a00d-125dd5d6df73" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_951e2fe6-644a-44d1-9ff8-1ba364cd4d03" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_951e2fe6-644a-44d1-9ff8-1ba364cd4d03_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_951e2fe6-644a-44d1-9ff8-1ba364cd4d03" xlink:to="loc_us-gaap_EquityComponentDomain_951e2fe6-644a-44d1-9ff8-1ba364cd4d03_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_f5594542-7a1d-497b-bf5c-9d465bfb3b58" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_951e2fe6-644a-44d1-9ff8-1ba364cd4d03" xlink:to="loc_us-gaap_EquityComponentDomain_f5594542-7a1d-497b-bf5c-9d465bfb3b58" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockMember_33970693-2e8a-4a4b-8292-602360666055" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CommonStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_f5594542-7a1d-497b-bf5c-9d465bfb3b58" xlink:to="loc_us-gaap_CommonStockMember_33970693-2e8a-4a4b-8292-602360666055" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockCommonMember_3ba60c81-e97b-4309-98a5-2dd8e6457b6a" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_TreasuryStockCommonMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_f5594542-7a1d-497b-bf5c-9d465bfb3b58" xlink:to="loc_us-gaap_TreasuryStockCommonMember_3ba60c81-e97b-4309-98a5-2dd8e6457b6a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapitalMember_72ba3b71-6e2e-46b8-a37e-21e866fac3d8" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AdditionalPaidInCapitalMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_f5594542-7a1d-497b-bf5c-9d465bfb3b58" xlink:to="loc_us-gaap_AdditionalPaidInCapitalMember_72ba3b71-6e2e-46b8-a37e-21e866fac3d8" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsMember_13752a08-1a45-4c57-826e-5b44cbc1891b" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RetainedEarningsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_f5594542-7a1d-497b-bf5c-9d465bfb3b58" xlink:to="loc_us-gaap_RetainedEarningsMember_13752a08-1a45-4c57-826e-5b44cbc1891b" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_6d5e1f08-4ee1-4a0b-a8d3-4e4cfc8c1683" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_f5594542-7a1d-497b-bf5c-9d465bfb3b58" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_6d5e1f08-4ee1-4a0b-a8d3-4e4cfc8c1683" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ParentMember_9a38c320-7bbd-4491-82fa-a27a8a050d62" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ParentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_f5594542-7a1d-497b-bf5c-9d465bfb3b58" xlink:to="loc_us-gaap_ParentMember_9a38c320-7bbd-4491-82fa-a27a8a050d62" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoncontrollingInterestMember_50278dff-1391-4c88-af51-3eb69850f133" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NoncontrollingInterestMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_f5594542-7a1d-497b-bf5c-9d465bfb3b58" xlink:to="loc_us-gaap_NoncontrollingInterestMember_50278dff-1391-4c88-af51-3eb69850f133" xlink:type="arc" order="6"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mastec.com/role/BusinessBasisofPresentationandSignificantAccountingPoliciesRevenueRecognitionDetails" xlink:type="simple" xlink:href="mtz-20220331.xsd#BusinessBasisofPresentationandSignificantAccountingPoliciesRevenueRecognitionDetails"/>
  <link:definitionLink xlink:role="http://www.mastec.com/role/BusinessBasisofPresentationandSignificantAccountingPoliciesRevenueRecognitionDetails" xlink:type="extended" id="ifc672a6d58e54ca5ab046336bd8784f7_BusinessBasisofPresentationandSignificantAccountingPoliciesRevenueRecognitionDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisaggregationOfRevenueLineItems_c32bfcc0-301a-4110-9ebf-e8f283663255" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DisaggregationOfRevenueLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskPercentage1_5689fd4f-4840-4afb-bfdb-369f50a89334" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ConcentrationRiskPercentage1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_c32bfcc0-301a-4110-9ebf-e8f283663255" xlink:to="loc_us-gaap_ConcentrationRiskPercentage1_5689fd4f-4840-4afb-bfdb-369f50a89334" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_ChangesInContractEstimatesCostToCostMeasureOfProgressFinancialEffectPercentage_c03f7454-0739-4e79-bd83-8101154c712a" xlink:href="mtz-20220331.xsd#mtz_ChangesInContractEstimatesCostToCostMeasureOfProgressFinancialEffectPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_c32bfcc0-301a-4110-9ebf-e8f283663255" xlink:to="loc_mtz_ChangesInContractEstimatesCostToCostMeasureOfProgressFinancialEffectPercentage_c03f7454-0739-4e79-bd83-8101154c712a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerPerformanceObligationSatisfiedInPreviousPeriod_a9b1bcfc-cb78-4702-900d-79a828b5798e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ContractWithCustomerPerformanceObligationSatisfiedInPreviousPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_c32bfcc0-301a-4110-9ebf-e8f283663255" xlink:to="loc_us-gaap_ContractWithCustomerPerformanceObligationSatisfiedInPreviousPeriod_a9b1bcfc-cb78-4702-900d-79a828b5798e" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CapitalizedContractCostNet_77ae6650-4215-4e2f-bd45-72417ee1d016" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CapitalizedContractCostNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_c32bfcc0-301a-4110-9ebf-e8f283663255" xlink:to="loc_us-gaap_CapitalizedContractCostNet_77ae6650-4215-4e2f-bd45-72417ee1d016" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionPeriod1_4b8e4c98-f4a8-4d63-badd-501b5cf22efe" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionPeriod1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_c32bfcc0-301a-4110-9ebf-e8f283663255" xlink:to="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionPeriod1_4b8e4c98-f4a8-4d63-badd-501b5cf22efe" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueRemainingPerformanceObligation_a306e196-10db-48cd-9604-950b395ae560" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RevenueRemainingPerformanceObligation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_c32bfcc0-301a-4110-9ebf-e8f283663255" xlink:to="loc_us-gaap_RevenueRemainingPerformanceObligation_a306e196-10db-48cd-9604-950b395ae560" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractsReceivableClaimsAndUncertainAmountsExpectedToBeCollectedWithinOneYear_7af95dcb-bab1-4b8e-af74-9dac23bbd10b" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ContractsReceivableClaimsAndUncertainAmountsExpectedToBeCollectedWithinOneYear"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_c32bfcc0-301a-4110-9ebf-e8f283663255" xlink:to="loc_us-gaap_ContractsReceivableClaimsAndUncertainAmountsExpectedToBeCollectedWithinOneYear_7af95dcb-bab1-4b8e-af74-9dac23bbd10b" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_UnapprovedChangeOrdersAndOrClaimsExpectedTermForApproval_a8f5b3cd-ee68-4936-a194-dd9ad1fd395a" xlink:href="mtz-20220331.xsd#mtz_UnapprovedChangeOrdersAndOrClaimsExpectedTermForApproval"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_c32bfcc0-301a-4110-9ebf-e8f283663255" xlink:to="loc_mtz_UnapprovedChangeOrdersAndOrClaimsExpectedTermForApproval_a8f5b3cd-ee68-4936-a194-dd9ad1fd395a" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisaggregationOfRevenueTable_16a1242b-f454-445b-9313-10ca3291b055" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DisaggregationOfRevenueTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_c32bfcc0-301a-4110-9ebf-e8f283663255" xlink:to="loc_us-gaap_DisaggregationOfRevenueTable_16a1242b-f454-445b-9313-10ca3291b055" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis_75169306-0c66-43bb-bd9a-43fba24f8d6a" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_16a1242b-f454-445b-9313-10ca3291b055" xlink:to="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis_75169306-0c66-43bb-bd9a-43fba24f8d6a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_daa82428-23c5-48f9-ad9f-9698032b5bb8" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ConcentrationRiskByBenchmarkAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_16a1242b-f454-445b-9313-10ca3291b055" xlink:to="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_daa82428-23c5-48f9-ad9f-9698032b5bb8" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskBenchmarkDomain_daa82428-23c5-48f9-ad9f-9698032b5bb8_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ConcentrationRiskBenchmarkDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_daa82428-23c5-48f9-ad9f-9698032b5bb8" xlink:to="loc_us-gaap_ConcentrationRiskBenchmarkDomain_daa82428-23c5-48f9-ad9f-9698032b5bb8_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskBenchmarkDomain_c6b6960d-59cc-4847-8340-582956c7f893" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ConcentrationRiskBenchmarkDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_daa82428-23c5-48f9-ad9f-9698032b5bb8" xlink:to="loc_us-gaap_ConcentrationRiskBenchmarkDomain_c6b6960d-59cc-4847-8340-582956c7f893" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SalesRevenueNetMember_84377153-ba03-40cb-8163-a40009ce4d6b" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SalesRevenueNetMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskBenchmarkDomain_c6b6960d-59cc-4847-8340-582956c7f893" xlink:to="loc_us-gaap_SalesRevenueNetMember_84377153-ba03-40cb-8163-a40009ce4d6b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskByTypeAxis_1bab8a00-ea05-4b51-92d3-5abbf4504381" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ConcentrationRiskByTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_16a1242b-f454-445b-9313-10ca3291b055" xlink:to="loc_us-gaap_ConcentrationRiskByTypeAxis_1bab8a00-ea05-4b51-92d3-5abbf4504381" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskTypeDomain_1bab8a00-ea05-4b51-92d3-5abbf4504381_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ConcentrationRiskTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConcentrationRiskByTypeAxis_1bab8a00-ea05-4b51-92d3-5abbf4504381" xlink:to="loc_us-gaap_ConcentrationRiskTypeDomain_1bab8a00-ea05-4b51-92d3-5abbf4504381_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskTypeDomain_4ccac0a9-4ebe-4da4-941e-6dbfd6ea0005" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ConcentrationRiskTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConcentrationRiskByTypeAxis_1bab8a00-ea05-4b51-92d3-5abbf4504381" xlink:to="loc_us-gaap_ConcentrationRiskTypeDomain_4ccac0a9-4ebe-4da4-941e-6dbfd6ea0005" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProductConcentrationRiskMember_ac8f4567-33cf-45c0-b942-ad021e275b79" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProductConcentrationRiskMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskTypeDomain_4ccac0a9-4ebe-4da4-941e-6dbfd6ea0005" xlink:to="loc_us-gaap_ProductConcentrationRiskMember_ac8f4567-33cf-45c0-b942-ad021e275b79" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductOrServiceAxis_e05166c9-1a44-4401-bec2-15a3abceb6e9" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_ProductOrServiceAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_16a1242b-f454-445b-9313-10ca3291b055" xlink:to="loc_srt_ProductOrServiceAxis_e05166c9-1a44-4401-bec2-15a3abceb6e9" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_e05166c9-1a44-4401-bec2-15a3abceb6e9_default" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ProductOrServiceAxis_e05166c9-1a44-4401-bec2-15a3abceb6e9" xlink:to="loc_srt_ProductsAndServicesDomain_e05166c9-1a44-4401-bec2-15a3abceb6e9_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_c0812a6b-9739-4054-9909-b7a724065018" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ProductOrServiceAxis_e05166c9-1a44-4401-bec2-15a3abceb6e9" xlink:to="loc_srt_ProductsAndServicesDomain_c0812a6b-9739-4054-9909-b7a724065018" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_MasterServiceAndOtherServiceAgreementsMember_9bf4d024-292b-46f1-99b3-a557b3f141f8" xlink:href="mtz-20220331.xsd#mtz_MasterServiceAndOtherServiceAgreementsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_c0812a6b-9739-4054-9909-b7a724065018" xlink:to="loc_mtz_MasterServiceAndOtherServiceAgreementsMember_9bf4d024-292b-46f1-99b3-a557b3f141f8" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimingOfTransferOfGoodOrServiceAxis_5c0f2c31-e30e-4fd7-b260-d61ea5e08830" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_TimingOfTransferOfGoodOrServiceAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_16a1242b-f454-445b-9313-10ca3291b055" xlink:to="loc_us-gaap_TimingOfTransferOfGoodOrServiceAxis_5c0f2c31-e30e-4fd7-b260-d61ea5e08830" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimingOfTransferOfGoodOrServiceDomain_5c0f2c31-e30e-4fd7-b260-d61ea5e08830_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_TimingOfTransferOfGoodOrServiceDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_TimingOfTransferOfGoodOrServiceAxis_5c0f2c31-e30e-4fd7-b260-d61ea5e08830" xlink:to="loc_us-gaap_TimingOfTransferOfGoodOrServiceDomain_5c0f2c31-e30e-4fd7-b260-d61ea5e08830_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimingOfTransferOfGoodOrServiceDomain_b98ab68d-b522-4972-b26f-00591a7e0a9c" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_TimingOfTransferOfGoodOrServiceDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_TimingOfTransferOfGoodOrServiceAxis_5c0f2c31-e30e-4fd7-b260-d61ea5e08830" xlink:to="loc_us-gaap_TimingOfTransferOfGoodOrServiceDomain_b98ab68d-b522-4972-b26f-00591a7e0a9c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransferredAtPointInTimeMember_cbe05ead-1502-4773-84ef-a057fcadc751" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_TransferredAtPointInTimeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TimingOfTransferOfGoodOrServiceDomain_b98ab68d-b522-4972-b26f-00591a7e0a9c" xlink:to="loc_us-gaap_TransferredAtPointInTimeMember_cbe05ead-1502-4773-84ef-a057fcadc751" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_f8e96b36-a969-4a54-9738-b31aef25e56e" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_16a1242b-f454-445b-9313-10ca3291b055" xlink:to="loc_srt_RangeAxis_f8e96b36-a969-4a54-9738-b31aef25e56e" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_f8e96b36-a969-4a54-9738-b31aef25e56e_default" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_f8e96b36-a969-4a54-9738-b31aef25e56e" xlink:to="loc_srt_RangeMember_f8e96b36-a969-4a54-9738-b31aef25e56e_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_e1235606-d03f-4f00-9788-13c140fd1c1e" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_f8e96b36-a969-4a54-9738-b31aef25e56e" xlink:to="loc_srt_RangeMember_e1235606-d03f-4f00-9788-13c140fd1c1e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_211afb73-b243-4b1b-b06b-3ef477725dd0" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_e1235606-d03f-4f00-9788-13c140fd1c1e" xlink:to="loc_srt_MaximumMember_211afb73-b243-4b1b-b06b-3ef477725dd0" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CapitalizedContractCostAxis_fb102b0b-76eb-41d9-91af-0a04ec318513" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CapitalizedContractCostAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_16a1242b-f454-445b-9313-10ca3291b055" xlink:to="loc_us-gaap_CapitalizedContractCostAxis_fb102b0b-76eb-41d9-91af-0a04ec318513" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CapitalizedContractCostDomain_fb102b0b-76eb-41d9-91af-0a04ec318513_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CapitalizedContractCostDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_CapitalizedContractCostAxis_fb102b0b-76eb-41d9-91af-0a04ec318513" xlink:to="loc_us-gaap_CapitalizedContractCostDomain_fb102b0b-76eb-41d9-91af-0a04ec318513_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CapitalizedContractCostDomain_7dd6c905-2609-4162-9bf1-9db9da84840d" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CapitalizedContractCostDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_CapitalizedContractCostAxis_fb102b0b-76eb-41d9-91af-0a04ec318513" xlink:to="loc_us-gaap_CapitalizedContractCostDomain_7dd6c905-2609-4162-9bf1-9db9da84840d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_MobilizationCostsMember_303395f4-3e0f-4b76-8f65-09b7a07ed13a" xlink:href="mtz-20220331.xsd#mtz_MobilizationCostsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CapitalizedContractCostDomain_7dd6c905-2609-4162-9bf1-9db9da84840d" xlink:to="loc_mtz_MobilizationCostsMember_303395f4-3e0f-4b76-8f65-09b7a07ed13a" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mastec.com/role/BusinessBasisofPresentationandSignificantAccountingPoliciesRevenueRecognitionDetails_1" xlink:type="simple" xlink:href="mtz-20220331.xsd#BusinessBasisofPresentationandSignificantAccountingPoliciesRevenueRecognitionDetails_1"/>
  <link:definitionLink xlink:role="http://www.mastec.com/role/BusinessBasisofPresentationandSignificantAccountingPoliciesRevenueRecognitionDetails_1" xlink:type="extended" id="ia8e77d4a456e4f20bec5cc4171cb18c2_BusinessBasisofPresentationandSignificantAccountingPoliciesRevenueRecognitionDetails_1">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisaggregationOfRevenueLineItems_c32bfcc0-301a-4110-9ebf-e8f283663255" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DisaggregationOfRevenueLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskPercentage1_5689fd4f-4840-4afb-bfdb-369f50a89334" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ConcentrationRiskPercentage1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_c32bfcc0-301a-4110-9ebf-e8f283663255" xlink:to="loc_us-gaap_ConcentrationRiskPercentage1_5689fd4f-4840-4afb-bfdb-369f50a89334" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_ChangesInContractEstimatesCostToCostMeasureOfProgressFinancialEffectPercentage_c03f7454-0739-4e79-bd83-8101154c712a" xlink:href="mtz-20220331.xsd#mtz_ChangesInContractEstimatesCostToCostMeasureOfProgressFinancialEffectPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_c32bfcc0-301a-4110-9ebf-e8f283663255" xlink:to="loc_mtz_ChangesInContractEstimatesCostToCostMeasureOfProgressFinancialEffectPercentage_c03f7454-0739-4e79-bd83-8101154c712a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerPerformanceObligationSatisfiedInPreviousPeriod_a9b1bcfc-cb78-4702-900d-79a828b5798e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ContractWithCustomerPerformanceObligationSatisfiedInPreviousPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_c32bfcc0-301a-4110-9ebf-e8f283663255" xlink:to="loc_us-gaap_ContractWithCustomerPerformanceObligationSatisfiedInPreviousPeriod_a9b1bcfc-cb78-4702-900d-79a828b5798e" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CapitalizedContractCostNet_77ae6650-4215-4e2f-bd45-72417ee1d016" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CapitalizedContractCostNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_c32bfcc0-301a-4110-9ebf-e8f283663255" xlink:to="loc_us-gaap_CapitalizedContractCostNet_77ae6650-4215-4e2f-bd45-72417ee1d016" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionPeriod1_4b8e4c98-f4a8-4d63-badd-501b5cf22efe" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionPeriod1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_c32bfcc0-301a-4110-9ebf-e8f283663255" xlink:to="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionPeriod1_4b8e4c98-f4a8-4d63-badd-501b5cf22efe" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueRemainingPerformanceObligation_a306e196-10db-48cd-9604-950b395ae560" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RevenueRemainingPerformanceObligation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_c32bfcc0-301a-4110-9ebf-e8f283663255" xlink:to="loc_us-gaap_RevenueRemainingPerformanceObligation_a306e196-10db-48cd-9604-950b395ae560" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractsReceivableClaimsAndUncertainAmountsExpectedToBeCollectedWithinOneYear_7af95dcb-bab1-4b8e-af74-9dac23bbd10b" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ContractsReceivableClaimsAndUncertainAmountsExpectedToBeCollectedWithinOneYear"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_c32bfcc0-301a-4110-9ebf-e8f283663255" xlink:to="loc_us-gaap_ContractsReceivableClaimsAndUncertainAmountsExpectedToBeCollectedWithinOneYear_7af95dcb-bab1-4b8e-af74-9dac23bbd10b" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_UnapprovedChangeOrdersAndOrClaimsExpectedTermForApproval_a8f5b3cd-ee68-4936-a194-dd9ad1fd395a" xlink:href="mtz-20220331.xsd#mtz_UnapprovedChangeOrdersAndOrClaimsExpectedTermForApproval"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_c32bfcc0-301a-4110-9ebf-e8f283663255" xlink:to="loc_mtz_UnapprovedChangeOrdersAndOrClaimsExpectedTermForApproval_a8f5b3cd-ee68-4936-a194-dd9ad1fd395a" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisaggregationOfRevenueTable_16a1242b-f454-445b-9313-10ca3291b055" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DisaggregationOfRevenueTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_c32bfcc0-301a-4110-9ebf-e8f283663255" xlink:to="loc_us-gaap_DisaggregationOfRevenueTable_16a1242b-f454-445b-9313-10ca3291b055" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_daa82428-23c5-48f9-ad9f-9698032b5bb8" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ConcentrationRiskByBenchmarkAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_16a1242b-f454-445b-9313-10ca3291b055" xlink:to="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_daa82428-23c5-48f9-ad9f-9698032b5bb8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskBenchmarkDomain_daa82428-23c5-48f9-ad9f-9698032b5bb8_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ConcentrationRiskBenchmarkDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_daa82428-23c5-48f9-ad9f-9698032b5bb8" xlink:to="loc_us-gaap_ConcentrationRiskBenchmarkDomain_daa82428-23c5-48f9-ad9f-9698032b5bb8_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskBenchmarkDomain_c6b6960d-59cc-4847-8340-582956c7f893" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ConcentrationRiskBenchmarkDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_daa82428-23c5-48f9-ad9f-9698032b5bb8" xlink:to="loc_us-gaap_ConcentrationRiskBenchmarkDomain_c6b6960d-59cc-4847-8340-582956c7f893" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SalesRevenueNetMember_84377153-ba03-40cb-8163-a40009ce4d6b" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SalesRevenueNetMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskBenchmarkDomain_c6b6960d-59cc-4847-8340-582956c7f893" xlink:to="loc_us-gaap_SalesRevenueNetMember_84377153-ba03-40cb-8163-a40009ce4d6b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskByTypeAxis_1bab8a00-ea05-4b51-92d3-5abbf4504381" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ConcentrationRiskByTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_16a1242b-f454-445b-9313-10ca3291b055" xlink:to="loc_us-gaap_ConcentrationRiskByTypeAxis_1bab8a00-ea05-4b51-92d3-5abbf4504381" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskTypeDomain_1bab8a00-ea05-4b51-92d3-5abbf4504381_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ConcentrationRiskTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConcentrationRiskByTypeAxis_1bab8a00-ea05-4b51-92d3-5abbf4504381" xlink:to="loc_us-gaap_ConcentrationRiskTypeDomain_1bab8a00-ea05-4b51-92d3-5abbf4504381_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskTypeDomain_4ccac0a9-4ebe-4da4-941e-6dbfd6ea0005" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ConcentrationRiskTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConcentrationRiskByTypeAxis_1bab8a00-ea05-4b51-92d3-5abbf4504381" xlink:to="loc_us-gaap_ConcentrationRiskTypeDomain_4ccac0a9-4ebe-4da4-941e-6dbfd6ea0005" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProductConcentrationRiskMember_ac8f4567-33cf-45c0-b942-ad021e275b79" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProductConcentrationRiskMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskTypeDomain_4ccac0a9-4ebe-4da4-941e-6dbfd6ea0005" xlink:to="loc_us-gaap_ProductConcentrationRiskMember_ac8f4567-33cf-45c0-b942-ad021e275b79" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductOrServiceAxis_e05166c9-1a44-4401-bec2-15a3abceb6e9" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_ProductOrServiceAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_16a1242b-f454-445b-9313-10ca3291b055" xlink:to="loc_srt_ProductOrServiceAxis_e05166c9-1a44-4401-bec2-15a3abceb6e9" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_e05166c9-1a44-4401-bec2-15a3abceb6e9_default" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ProductOrServiceAxis_e05166c9-1a44-4401-bec2-15a3abceb6e9" xlink:to="loc_srt_ProductsAndServicesDomain_e05166c9-1a44-4401-bec2-15a3abceb6e9_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_c0812a6b-9739-4054-9909-b7a724065018" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ProductOrServiceAxis_e05166c9-1a44-4401-bec2-15a3abceb6e9" xlink:to="loc_srt_ProductsAndServicesDomain_c0812a6b-9739-4054-9909-b7a724065018" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_MasterServiceAndOtherServiceAgreementsMember_9bf4d024-292b-46f1-99b3-a557b3f141f8" xlink:href="mtz-20220331.xsd#mtz_MasterServiceAndOtherServiceAgreementsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_c0812a6b-9739-4054-9909-b7a724065018" xlink:to="loc_mtz_MasterServiceAndOtherServiceAgreementsMember_9bf4d024-292b-46f1-99b3-a557b3f141f8" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimingOfTransferOfGoodOrServiceAxis_5c0f2c31-e30e-4fd7-b260-d61ea5e08830" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_TimingOfTransferOfGoodOrServiceAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_16a1242b-f454-445b-9313-10ca3291b055" xlink:to="loc_us-gaap_TimingOfTransferOfGoodOrServiceAxis_5c0f2c31-e30e-4fd7-b260-d61ea5e08830" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimingOfTransferOfGoodOrServiceDomain_5c0f2c31-e30e-4fd7-b260-d61ea5e08830_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_TimingOfTransferOfGoodOrServiceDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_TimingOfTransferOfGoodOrServiceAxis_5c0f2c31-e30e-4fd7-b260-d61ea5e08830" xlink:to="loc_us-gaap_TimingOfTransferOfGoodOrServiceDomain_5c0f2c31-e30e-4fd7-b260-d61ea5e08830_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimingOfTransferOfGoodOrServiceDomain_b98ab68d-b522-4972-b26f-00591a7e0a9c" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_TimingOfTransferOfGoodOrServiceDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_TimingOfTransferOfGoodOrServiceAxis_5c0f2c31-e30e-4fd7-b260-d61ea5e08830" xlink:to="loc_us-gaap_TimingOfTransferOfGoodOrServiceDomain_b98ab68d-b522-4972-b26f-00591a7e0a9c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransferredAtPointInTimeMember_cbe05ead-1502-4773-84ef-a057fcadc751" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_TransferredAtPointInTimeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TimingOfTransferOfGoodOrServiceDomain_b98ab68d-b522-4972-b26f-00591a7e0a9c" xlink:to="loc_us-gaap_TransferredAtPointInTimeMember_cbe05ead-1502-4773-84ef-a057fcadc751" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_f8e96b36-a969-4a54-9738-b31aef25e56e" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_16a1242b-f454-445b-9313-10ca3291b055" xlink:to="loc_srt_RangeAxis_f8e96b36-a969-4a54-9738-b31aef25e56e" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_f8e96b36-a969-4a54-9738-b31aef25e56e_default" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_f8e96b36-a969-4a54-9738-b31aef25e56e" xlink:to="loc_srt_RangeMember_f8e96b36-a969-4a54-9738-b31aef25e56e_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_e1235606-d03f-4f00-9788-13c140fd1c1e" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_f8e96b36-a969-4a54-9738-b31aef25e56e" xlink:to="loc_srt_RangeMember_e1235606-d03f-4f00-9788-13c140fd1c1e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_211afb73-b243-4b1b-b06b-3ef477725dd0" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_e1235606-d03f-4f00-9788-13c140fd1c1e" xlink:to="loc_srt_MaximumMember_211afb73-b243-4b1b-b06b-3ef477725dd0" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CapitalizedContractCostAxis_fb102b0b-76eb-41d9-91af-0a04ec318513" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CapitalizedContractCostAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_16a1242b-f454-445b-9313-10ca3291b055" xlink:to="loc_us-gaap_CapitalizedContractCostAxis_fb102b0b-76eb-41d9-91af-0a04ec318513" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CapitalizedContractCostDomain_fb102b0b-76eb-41d9-91af-0a04ec318513_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CapitalizedContractCostDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_CapitalizedContractCostAxis_fb102b0b-76eb-41d9-91af-0a04ec318513" xlink:to="loc_us-gaap_CapitalizedContractCostDomain_fb102b0b-76eb-41d9-91af-0a04ec318513_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CapitalizedContractCostDomain_7dd6c905-2609-4162-9bf1-9db9da84840d" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CapitalizedContractCostDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_CapitalizedContractCostAxis_fb102b0b-76eb-41d9-91af-0a04ec318513" xlink:to="loc_us-gaap_CapitalizedContractCostDomain_7dd6c905-2609-4162-9bf1-9db9da84840d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_MobilizationCostsMember_303395f4-3e0f-4b76-8f65-09b7a07ed13a" xlink:href="mtz-20220331.xsd#mtz_MobilizationCostsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CapitalizedContractCostDomain_7dd6c905-2609-4162-9bf1-9db9da84840d" xlink:to="loc_mtz_MobilizationCostsMember_303395f4-3e0f-4b76-8f65-09b7a07ed13a" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mastec.com/role/EarningsPerShareScheduleofEarningsPerShareDetails" xlink:type="simple" xlink:href="mtz-20220331.xsd#EarningsPerShareScheduleofEarningsPerShareDetails"/>
  <link:definitionLink xlink:role="http://www.mastec.com/role/EarningsPerShareScheduleofEarningsPerShareDetails" xlink:type="extended" id="i12f1666263e544c9a34217b8d31ba813_EarningsPerShareScheduleofEarningsPerShareDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionLineItems_851c3836-735b-4faf-87e7-1cb7e862f7df" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BusinessAcquisitionLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAttributableToParentDilutedAbstract_3f49ff7f-ddb8-4355-9c7c-2748376357d2" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetIncomeLossAttributableToParentDilutedAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_851c3836-735b-4faf-87e7-1cb7e862f7df" xlink:to="loc_us-gaap_NetIncomeLossAttributableToParentDilutedAbstract_3f49ff7f-ddb8-4355-9c7c-2748376357d2" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_9b87064b-40bc-45bb-8d8a-cd5bbe66e019" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetIncomeLossAttributableToParentDilutedAbstract_3f49ff7f-ddb8-4355-9c7c-2748376357d2" xlink:to="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_9b87064b-40bc-45bb-8d8a-cd5bbe66e019" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted_c31fcc47-25ba-45a1-a642-580a0077cae1" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetIncomeLossAttributableToParentDilutedAbstract_3f49ff7f-ddb8-4355-9c7c-2748376357d2" xlink:to="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted_c31fcc47-25ba-45a1-a642-580a0077cae1" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingAbstract_c099e75a-1e08-4b89-a195-9b85fbc76ee3" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_851c3836-735b-4faf-87e7-1cb7e862f7df" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingAbstract_c099e75a-1e08-4b89-a195-9b85fbc76ee3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_b7e75842-4e1e-4364-8992-b87b167c6ea7" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasic"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingAbstract_c099e75a-1e08-4b89-a195-9b85fbc76ee3" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_b7e75842-4e1e-4364-8992-b87b167c6ea7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustment_9a595715-de43-47ee-a2ee-9021fdffa1d8" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustment"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingAbstract_c099e75a-1e08-4b89-a195-9b85fbc76ee3" xlink:to="loc_us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustment_9a595715-de43-47ee-a2ee-9021fdffa1d8" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_a8f9045d-d58f-42a1-a4f5-933ef10bf3d4" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingAbstract_c099e75a-1e08-4b89-a195-9b85fbc76ee3" xlink:to="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_a8f9045d-d58f-42a1-a4f5-933ef10bf3d4" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_014e2a7e-050a-491d-9180-87843e021e5c" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasic"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_a4896cd4-51aa-4bae-91cb-eb62faabd6fe" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_851c3836-735b-4faf-87e7-1cb7e862f7df" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_a4896cd4-51aa-4bae-91cb-eb62faabd6fe" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustment_efa7b43a-cbaf-4efa-81c8-03e74904ca93" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_dde6f8be-760f-4ae8-8ffe-5d2668f6ed81" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_851c3836-735b-4faf-87e7-1cb7e862f7df" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_dde6f8be-760f-4ae8-8ffe-5d2668f6ed81" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_38c365e9-d51d-4665-958f-9db2b50f7bfa" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BusinessAcquisitionAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_dde6f8be-760f-4ae8-8ffe-5d2668f6ed81" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_38c365e9-d51d-4665-958f-9db2b50f7bfa" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_38c365e9-d51d-4665-958f-9db2b50f7bfa_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_38c365e9-d51d-4665-958f-9db2b50f7bfa" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_38c365e9-d51d-4665-958f-9db2b50f7bfa_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_31ff9348-9ce3-4beb-90e1-1fd7f3f225b1" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_38c365e9-d51d-4665-958f-9db2b50f7bfa" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_31ff9348-9ce3-4beb-90e1-1fd7f3f225b1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_A2021AcquisitionAcquisitionOneMember_e8a04f03-93ab-4b50-9560-95f177648c0a" xlink:href="mtz-20220331.xsd#mtz_A2021AcquisitionAcquisitionOneMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_31ff9348-9ce3-4beb-90e1-1fd7f3f225b1" xlink:to="loc_mtz_A2021AcquisitionAcquisitionOneMember_e8a04f03-93ab-4b50-9560-95f177648c0a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_814d06b2-1439-4ceb-8618-1f79f0c0c2a0" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RelatedPartyTransactionsByRelatedPartyAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_dde6f8be-760f-4ae8-8ffe-5d2668f6ed81" xlink:to="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_814d06b2-1439-4ceb-8618-1f79f0c0c2a0" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyDomain_814d06b2-1439-4ceb-8618-1f79f0c0c2a0_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RelatedPartyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_814d06b2-1439-4ceb-8618-1f79f0c0c2a0" xlink:to="loc_us-gaap_RelatedPartyDomain_814d06b2-1439-4ceb-8618-1f79f0c0c2a0_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyDomain_7df53033-9665-4d2d-8d86-0d26ff7df917" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RelatedPartyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_814d06b2-1439-4ceb-8618-1f79f0c0c2a0" xlink:to="loc_us-gaap_RelatedPartyDomain_7df53033-9665-4d2d-8d86-0d26ff7df917" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_FormerOwnerOfAcquiredBusinessMember_734e6814-fa55-41e8-8865-bb173f4e9112" xlink:href="mtz-20220331.xsd#mtz_FormerOwnerOfAcquiredBusinessMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyDomain_7df53033-9665-4d2d-8d86-0d26ff7df917" xlink:to="loc_mtz_FormerOwnerOfAcquiredBusinessMember_734e6814-fa55-41e8-8865-bb173f4e9112" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mastec.com/role/EarningsPerShareNarrativeDetails" xlink:type="simple" xlink:href="mtz-20220331.xsd#EarningsPerShareNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.mastec.com/role/EarningsPerShareNarrativeDetails" xlink:type="extended" id="i27c4aa1fab104e9a90ea79286a6a50c8_EarningsPerShareNarrativeDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionLineItems_604712c5-61fd-4f76-9989-f16bdc5df179" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BusinessAcquisitionLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_fccd1d43-8f00-4891-b673-313073f1bc58" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_604712c5-61fd-4f76-9989-f16bdc5df179" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_fccd1d43-8f00-4891-b673-313073f1bc58" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockSharesAcquired_5af1c787-e294-4f9d-a5cf-7fbeba3e6c91" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_TreasuryStockSharesAcquired"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_604712c5-61fd-4f76-9989-f16bdc5df179" xlink:to="loc_us-gaap_TreasuryStockSharesAcquired_5af1c787-e294-4f9d-a5cf-7fbeba3e6c91" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionEquityInterestsIssuedOrIssuableNumberOfSharesIssued_57f035fc-e89b-46b4-a407-7c448c128359" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BusinessAcquisitionEquityInterestsIssuedOrIssuableNumberOfSharesIssued"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_604712c5-61fd-4f76-9989-f16bdc5df179" xlink:to="loc_us-gaap_BusinessAcquisitionEquityInterestsIssuedOrIssuableNumberOfSharesIssued_57f035fc-e89b-46b4-a407-7c448c128359" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_121db021-253f-4c9e-b933-77ad29692c2d" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_604712c5-61fd-4f76-9989-f16bdc5df179" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_121db021-253f-4c9e-b933-77ad29692c2d" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_936d6380-03a7-4770-b4b9-259cbdce0fca" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BusinessAcquisitionAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_121db021-253f-4c9e-b933-77ad29692c2d" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_936d6380-03a7-4770-b4b9-259cbdce0fca" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_936d6380-03a7-4770-b4b9-259cbdce0fca_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_936d6380-03a7-4770-b4b9-259cbdce0fca" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_936d6380-03a7-4770-b4b9-259cbdce0fca_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_f4fe3af5-ca64-485c-bc0e-2d3bf2e58623" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_936d6380-03a7-4770-b4b9-259cbdce0fca" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_f4fe3af5-ca64-485c-bc0e-2d3bf2e58623" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_A2021AcquisitionsHenkelsMcCoyGroupIncMember_6d0fba5d-a565-4b9e-8b55-285bfab4b559" xlink:href="mtz-20220331.xsd#mtz_A2021AcquisitionsHenkelsMcCoyGroupIncMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_f4fe3af5-ca64-485c-bc0e-2d3bf2e58623" xlink:to="loc_mtz_A2021AcquisitionsHenkelsMcCoyGroupIncMember_6d0fba5d-a565-4b9e-8b55-285bfab4b559" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mastec.com/role/AcquisitionsGoodwillandOtherIntangibleAssetsRollforwardofGoodwillbySegmentDetails" xlink:type="simple" xlink:href="mtz-20220331.xsd#AcquisitionsGoodwillandOtherIntangibleAssetsRollforwardofGoodwillbySegmentDetails"/>
  <link:definitionLink xlink:role="http://www.mastec.com/role/AcquisitionsGoodwillandOtherIntangibleAssetsRollforwardofGoodwillbySegmentDetails" xlink:type="extended" id="i4fe2c167aec54d1b8e1328bd602aaaae_AcquisitionsGoodwillandOtherIntangibleAssetsRollforwardofGoodwillbySegmentDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GoodwillLineItems_5a40b3f5-5ab5-4a39-9306-ca617a4443a4" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_GoodwillLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GoodwillGross_ac4ff4aa-9b5c-4231-9087-8930c9969ae2" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_GoodwillGross"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillLineItems_5a40b3f5-5ab5-4a39-9306-ca617a4443a4" xlink:to="loc_us-gaap_GoodwillGross_ac4ff4aa-9b5c-4231-9087-8930c9969ae2" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GoodwillImpairedAccumulatedImpairmentLoss_937a2cf9-520b-4552-a1fb-90ab987e4f88" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_GoodwillImpairedAccumulatedImpairmentLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillLineItems_5a40b3f5-5ab5-4a39-9306-ca617a4443a4" xlink:to="loc_us-gaap_GoodwillImpairedAccumulatedImpairmentLoss_937a2cf9-520b-4552-a1fb-90ab987e4f88" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_83fbfe0c-fc14-4eac-84b1-c88d76974c6c" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_Goodwill"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillLineItems_5a40b3f5-5ab5-4a39-9306-ca617a4443a4" xlink:to="loc_us-gaap_Goodwill_83fbfe0c-fc14-4eac-84b1-c88d76974c6c" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GoodwillRollForward_300148c8-ddef-4125-a706-748845f5ce3d" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_GoodwillRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillLineItems_5a40b3f5-5ab5-4a39-9306-ca617a4443a4" xlink:to="loc_us-gaap_GoodwillRollForward_300148c8-ddef-4125-a706-748845f5ce3d" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_90945136-f067-4a3b-8f8b-35edb1be2b6d" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_Goodwill"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GoodwillAcquiredDuringPeriod_b07e9da9-991b-4cc1-8332-333f6899e34a" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_GoodwillAcquiredDuringPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillRollForward_300148c8-ddef-4125-a706-748845f5ce3d" xlink:to="loc_us-gaap_GoodwillAcquiredDuringPeriod_b07e9da9-991b-4cc1-8332-333f6899e34a" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GoodwillPurchaseAccountingAdjustments_d0bdbd8c-90b9-47f5-8551-08d060392e62" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_GoodwillPurchaseAccountingAdjustments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillRollForward_300148c8-ddef-4125-a706-748845f5ce3d" xlink:to="loc_us-gaap_GoodwillPurchaseAccountingAdjustments_d0bdbd8c-90b9-47f5-8551-08d060392e62" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GoodwillForeignCurrencyTranslationGainLoss_92d2bb31-cf48-4d2d-ae22-78ad2143bf23" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_GoodwillForeignCurrencyTranslationGainLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillRollForward_300148c8-ddef-4125-a706-748845f5ce3d" xlink:to="loc_us-gaap_GoodwillForeignCurrencyTranslationGainLoss_92d2bb31-cf48-4d2d-ae22-78ad2143bf23" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_9b7eaf83-17f1-4ba1-8d4f-4fb25d0ba821" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_Goodwill"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GoodwillPeriodIncreaseDecrease_af6e3f96-9433-4f9f-a82c-127df66bb31e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_GoodwillPeriodIncreaseDecrease"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillLineItems_5a40b3f5-5ab5-4a39-9306-ca617a4443a4" xlink:to="loc_us-gaap_GoodwillPeriodIncreaseDecrease_af6e3f96-9433-4f9f-a82c-127df66bb31e" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfGoodwillTable_3b01f2d0-383e-4c66-b829-1d5d648b48d7" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ScheduleOfGoodwillTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_GoodwillLineItems_5a40b3f5-5ab5-4a39-9306-ca617a4443a4" xlink:to="loc_us-gaap_ScheduleOfGoodwillTable_3b01f2d0-383e-4c66-b829-1d5d648b48d7" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_da5ba185-27ee-47b0-8183-0142d7773338" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StatementBusinessSegmentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfGoodwillTable_3b01f2d0-383e-4c66-b829-1d5d648b48d7" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_da5ba185-27ee-47b0-8183-0142d7773338" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_da5ba185-27ee-47b0-8183-0142d7773338_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_da5ba185-27ee-47b0-8183-0142d7773338" xlink:to="loc_us-gaap_SegmentDomain_da5ba185-27ee-47b0-8183-0142d7773338_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_c6cd1885-2522-4cf1-87c0-d21d74ed1407" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_da5ba185-27ee-47b0-8183-0142d7773338" xlink:to="loc_us-gaap_SegmentDomain_c6cd1885-2522-4cf1-87c0-d21d74ed1407" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_CommunicationsSegmentMember_3a28875d-6f02-4118-b02f-b27a284ab838" xlink:href="mtz-20220331.xsd#mtz_CommunicationsSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_c6cd1885-2522-4cf1-87c0-d21d74ed1407" xlink:to="loc_mtz_CommunicationsSegmentMember_3a28875d-6f02-4118-b02f-b27a284ab838" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_CleanEnergyAndInfrastructureSegmentMember_d88cdc28-12e1-4244-a66c-77735924b5ba" xlink:href="mtz-20220331.xsd#mtz_CleanEnergyAndInfrastructureSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_c6cd1885-2522-4cf1-87c0-d21d74ed1407" xlink:to="loc_mtz_CleanEnergyAndInfrastructureSegmentMember_d88cdc28-12e1-4244-a66c-77735924b5ba" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_OilAndGasSegmentMember_fd02ee70-6113-4635-abf7-20724ce4cf13" xlink:href="mtz-20220331.xsd#mtz_OilAndGasSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_c6cd1885-2522-4cf1-87c0-d21d74ed1407" xlink:to="loc_mtz_OilAndGasSegmentMember_fd02ee70-6113-4635-abf7-20724ce4cf13" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_PowerDeliverySegmentMember_99e8770f-43d6-4776-9d48-42ba1d88dc72" xlink:href="mtz-20220331.xsd#mtz_PowerDeliverySegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_c6cd1885-2522-4cf1-87c0-d21d74ed1407" xlink:to="loc_mtz_PowerDeliverySegmentMember_99e8770f-43d6-4776-9d48-42ba1d88dc72" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_89635dfd-a79f-496c-a7a9-7f2bc91b4f95" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BusinessAcquisitionAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfGoodwillTable_3b01f2d0-383e-4c66-b829-1d5d648b48d7" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_89635dfd-a79f-496c-a7a9-7f2bc91b4f95" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_89635dfd-a79f-496c-a7a9-7f2bc91b4f95_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_89635dfd-a79f-496c-a7a9-7f2bc91b4f95" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_89635dfd-a79f-496c-a7a9-7f2bc91b4f95_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_350e8dab-41ed-489a-8e75-f39a63759b63" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_89635dfd-a79f-496c-a7a9-7f2bc91b4f95" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_350e8dab-41ed-489a-8e75-f39a63759b63" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_A2021AcquisitionsHenkelsMcCoyGroupIncMember_85086d0d-739f-4006-a053-b9b2a4561177" xlink:href="mtz-20220331.xsd#mtz_A2021AcquisitionsHenkelsMcCoyGroupIncMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_350e8dab-41ed-489a-8e75-f39a63759b63" xlink:to="loc_mtz_A2021AcquisitionsHenkelsMcCoyGroupIncMember_85086d0d-739f-4006-a053-b9b2a4561177" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mastec.com/role/AcquisitionsGoodwillandOtherIntangibleAssetsRollforwardofOtherIntangibleAssetsDetails" xlink:type="simple" xlink:href="mtz-20220331.xsd#AcquisitionsGoodwillandOtherIntangibleAssetsRollforwardofOtherIntangibleAssetsDetails"/>
  <link:definitionLink xlink:role="http://www.mastec.com/role/AcquisitionsGoodwillandOtherIntangibleAssetsRollforwardofOtherIntangibleAssetsDetails" xlink:type="extended" id="icd70453da31344bb860ea43cb3c1524e_AcquisitionsGoodwillandOtherIntangibleAssetsRollforwardofOtherIntangibleAssetsDetails">
    <link:loc xlink:type="locator" xlink:label="loc_mtz_IntangibleAssetsLineItems_ef707388-bf1a-4e56-b86f-1c9251a78a07" xlink:href="mtz-20220331.xsd#mtz_IntangibleAssetsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill_2a3dc7e6-5dfc-4e0b-81cd-3cbd53869b07" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtz_IntangibleAssetsLineItems_ef707388-bf1a-4e56-b86f-1c9251a78a07" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill_2a3dc7e6-5dfc-4e0b-81cd-3cbd53869b07" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsGross_0183540c-f84a-423c-8aa4-ae4bcaaa559c" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsGross"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtz_IntangibleAssetsLineItems_ef707388-bf1a-4e56-b86f-1c9251a78a07" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsGross_0183540c-f84a-423c-8aa4-ae4bcaaa559c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsGrossExcludingGoodwill_9dbe7d74-3fe3-4d81-b7c3-9f151292f715" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IntangibleAssetsGrossExcludingGoodwill"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtz_IntangibleAssetsLineItems_ef707388-bf1a-4e56-b86f-1c9251a78a07" xlink:to="loc_us-gaap_IntangibleAssetsGrossExcludingGoodwill_9dbe7d74-3fe3-4d81-b7c3-9f151292f715" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_25b50338-5074-436b-826f-5707144a0bc7" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtz_IntangibleAssetsLineItems_ef707388-bf1a-4e56-b86f-1c9251a78a07" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_25b50338-5074-436b-826f-5707144a0bc7" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_IntangibleAssetsExcludingGoodwillRollForward_cfa014db-108a-415e-9013-8a8d17c96304" xlink:href="mtz-20220331.xsd#mtz_IntangibleAssetsExcludingGoodwillRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtz_IntangibleAssetsLineItems_ef707388-bf1a-4e56-b86f-1c9251a78a07" xlink:to="loc_mtz_IntangibleAssetsExcludingGoodwillRollForward_cfa014db-108a-415e-9013-8a8d17c96304" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill_d24b7ae6-8179-4eea-988c-7e26460eef37" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_c5ea224f-48f4-4cb0-a78f-00568e4b45dc" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtz_IntangibleAssetsExcludingGoodwillRollForward_cfa014db-108a-415e-9013-8a8d17c96304" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsNet_c5ea224f-48f4-4cb0-a78f-00568e4b45dc" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_24ec6c53-2ea1-4d5b-a90d-f9b56463c5e8" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtz_IntangibleAssetsExcludingGoodwillRollForward_cfa014db-108a-415e-9013-8a8d17c96304" xlink:to="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_24ec6c53-2ea1-4d5b-a90d-f9b56463c5e8" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IndefinitelivedIntangibleAssetsAcquired_65381d6f-628c-494e-851b-883bb61fca8a" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IndefinitelivedIntangibleAssetsAcquired"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtz_IntangibleAssetsExcludingGoodwillRollForward_cfa014db-108a-415e-9013-8a8d17c96304" xlink:to="loc_us-gaap_IndefinitelivedIntangibleAssetsAcquired_65381d6f-628c-494e-851b-883bb61fca8a" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinitelivedIntangibleAssetsAcquired1_b9c19e6e-719c-46ec-9435-429a5e152895" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinitelivedIntangibleAssetsAcquired1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtz_IntangibleAssetsExcludingGoodwillRollForward_cfa014db-108a-415e-9013-8a8d17c96304" xlink:to="loc_us-gaap_FinitelivedIntangibleAssetsAcquired1_b9c19e6e-719c-46ec-9435-429a5e152895" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_IntangibleAssetsAcquiredGrossExcludingGoodwill_286f3a66-e1d8-4ae7-8970-6db4a9ecb1b8" xlink:href="mtz-20220331.xsd#mtz_IntangibleAssetsAcquiredGrossExcludingGoodwill"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtz_IntangibleAssetsExcludingGoodwillRollForward_cfa014db-108a-415e-9013-8a8d17c96304" xlink:to="loc_mtz_IntangibleAssetsAcquiredGrossExcludingGoodwill_286f3a66-e1d8-4ae7-8970-6db4a9ecb1b8" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsPurchaseAccountingAdjustments_e0430a17-da46-46b9-b03a-0d159247d1fa" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IndefiniteLivedIntangibleAssetsPurchaseAccountingAdjustments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtz_IntangibleAssetsExcludingGoodwillRollForward_cfa014db-108a-415e-9013-8a8d17c96304" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsPurchaseAccountingAdjustments_e0430a17-da46-46b9-b03a-0d159247d1fa" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsPurchaseAccountingAdjustments_89f2b5a2-a0b1-4b12-8024-24dcde87c1fd" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsPurchaseAccountingAdjustments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtz_IntangibleAssetsExcludingGoodwillRollForward_cfa014db-108a-415e-9013-8a8d17c96304" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsPurchaseAccountingAdjustments_89f2b5a2-a0b1-4b12-8024-24dcde87c1fd" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_IntangibleAssetsExcludingGoodwillPurchaseAccountingAdjustments_204a7408-aed5-4d4b-9749-4a8d0c57936e" xlink:href="mtz-20220331.xsd#mtz_IntangibleAssetsExcludingGoodwillPurchaseAccountingAdjustments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtz_IntangibleAssetsExcludingGoodwillRollForward_cfa014db-108a-415e-9013-8a8d17c96304" xlink:to="loc_mtz_IntangibleAssetsExcludingGoodwillPurchaseAccountingAdjustments_204a7408-aed5-4d4b-9749-4a8d0c57936e" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsForeignCurrencyTranslationGainLoss_0659dac6-e833-4fae-a597-0b6a8c109428" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IndefiniteLivedIntangibleAssetsForeignCurrencyTranslationGainLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtz_IntangibleAssetsExcludingGoodwillRollForward_cfa014db-108a-415e-9013-8a8d17c96304" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsForeignCurrencyTranslationGainLoss_0659dac6-e833-4fae-a597-0b6a8c109428" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsForeignCurrencyTranslationGainLoss_b0c1efd2-b45a-4ea3-943e-3a2bdedcc741" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsForeignCurrencyTranslationGainLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtz_IntangibleAssetsExcludingGoodwillRollForward_cfa014db-108a-415e-9013-8a8d17c96304" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsForeignCurrencyTranslationGainLoss_b0c1efd2-b45a-4ea3-943e-3a2bdedcc741" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_IntangibleAssetsGrossExcludingGoodwillTranslationAdjustments_a4fba2f5-c0ef-4f73-a25c-1571593b1ac6" xlink:href="mtz-20220331.xsd#mtz_IntangibleAssetsGrossExcludingGoodwillTranslationAdjustments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtz_IntangibleAssetsExcludingGoodwillRollForward_cfa014db-108a-415e-9013-8a8d17c96304" xlink:to="loc_mtz_IntangibleAssetsGrossExcludingGoodwillTranslationAdjustments_a4fba2f5-c0ef-4f73-a25c-1571593b1ac6" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfIntangibleAssets_e2a42a45-79a0-4218-bf90-b25cdbd6021d" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AmortizationOfIntangibleAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtz_IntangibleAssetsExcludingGoodwillRollForward_cfa014db-108a-415e-9013-8a8d17c96304" xlink:to="loc_us-gaap_AmortizationOfIntangibleAssets_e2a42a45-79a0-4218-bf90-b25cdbd6021d" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill_bcf070ea-5822-4620-bb3f-3bc06800bcfc" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_65b05802-22b8-4000-83bc-8cee90c62c4e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_940538bf-ba3c-4aa3-b019-8922a57fbfb9" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_ScheduleOfIntangibleAssetsTable_023cc51b-a314-4825-b5f4-4e88fe00e288" xlink:href="mtz-20220331.xsd#mtz_ScheduleOfIntangibleAssetsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_mtz_IntangibleAssetsLineItems_ef707388-bf1a-4e56-b86f-1c9251a78a07" xlink:to="loc_mtz_ScheduleOfIntangibleAssetsTable_023cc51b-a314-4825-b5f4-4e88fe00e288" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis_b72b73ad-5b86-4bbc-8d78-fa7b1db649c8" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_mtz_ScheduleOfIntangibleAssetsTable_023cc51b-a314-4825-b5f4-4e88fe00e288" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis_b72b73ad-5b86-4bbc-8d78-fa7b1db649c8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_b72b73ad-5b86-4bbc-8d78-fa7b1db649c8_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis_b72b73ad-5b86-4bbc-8d78-fa7b1db649c8" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_b72b73ad-5b86-4bbc-8d78-fa7b1db649c8_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_c2e78cd2-04c8-484e-b679-f826957bf914" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis_b72b73ad-5b86-4bbc-8d78-fa7b1db649c8" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_c2e78cd2-04c8-484e-b679-f826957bf914" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TradeNamesMember_0f2e5774-7063-4d0b-ab59-7fbc16fe8dff" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_TradeNamesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_c2e78cd2-04c8-484e-b679-f826957bf914" xlink:to="loc_us-gaap_TradeNamesMember_0f2e5774-7063-4d0b-ab59-7fbc16fe8dff" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_628414e5-5f4d-4c79-8f46-d4a34609c88c" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_mtz_ScheduleOfIntangibleAssetsTable_023cc51b-a314-4825-b5f4-4e88fe00e288" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_628414e5-5f4d-4c79-8f46-d4a34609c88c" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_628414e5-5f4d-4c79-8f46-d4a34609c88c_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_628414e5-5f4d-4c79-8f46-d4a34609c88c" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_628414e5-5f4d-4c79-8f46-d4a34609c88c_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_ede6d9de-2665-408c-ae26-b0fa2674c011" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_628414e5-5f4d-4c79-8f46-d4a34609c88c" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_ede6d9de-2665-408c-ae26-b0fa2674c011" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CustomerRelatedIntangibleAssetsMember_656d6dcd-14d5-44e5-9e3f-3137b89b2bee" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CustomerRelatedIntangibleAssetsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_ede6d9de-2665-408c-ae26-b0fa2674c011" xlink:to="loc_us-gaap_CustomerRelatedIntangibleAssetsMember_656d6dcd-14d5-44e5-9e3f-3137b89b2bee" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractualRightsMember_9905da59-c2fd-4b75-b792-4507a786c3c0" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ContractualRightsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_ede6d9de-2665-408c-ae26-b0fa2674c011" xlink:to="loc_us-gaap_ContractualRightsMember_9905da59-c2fd-4b75-b792-4507a786c3c0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherIntangibleAssetsMember_68170921-3176-4f52-bf9e-cdb584887873" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherIntangibleAssetsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_ede6d9de-2665-408c-ae26-b0fa2674c011" xlink:to="loc_us-gaap_OtherIntangibleAssetsMember_68170921-3176-4f52-bf9e-cdb584887873" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mastec.com/role/AcquisitionsGoodwillandOtherIntangibleAssetsQuarterlyAssessmentforIndicatorsofImpairmentNarrativeDetails" xlink:type="simple" xlink:href="mtz-20220331.xsd#AcquisitionsGoodwillandOtherIntangibleAssetsQuarterlyAssessmentforIndicatorsofImpairmentNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.mastec.com/role/AcquisitionsGoodwillandOtherIntangibleAssetsQuarterlyAssessmentforIndicatorsofImpairmentNarrativeDetails" xlink:type="extended" id="i317f81ec6c5d4bd0b2cebdce006d5c92_AcquisitionsGoodwillandOtherIntangibleAssetsQuarterlyAssessmentforIndicatorsofImpairmentNarrativeDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GoodwillLineItems_5074e999-84bb-4627-a4ca-eac3a2ae49d6" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_GoodwillLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NumberOfReportingUnits_4a57e4b2-2180-40e0-ac50-be9a67c54189" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NumberOfReportingUnits"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillLineItems_5074e999-84bb-4627-a4ca-eac3a2ae49d6" xlink:to="loc_us-gaap_NumberOfReportingUnits_4a57e4b2-2180-40e0-ac50-be9a67c54189" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_QuantitativeImpairmentTestingNumberOfReportingUnits_db472d50-8216-4165-93e2-9ac55619b73d" xlink:href="mtz-20220331.xsd#mtz_QuantitativeImpairmentTestingNumberOfReportingUnits"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillLineItems_5074e999-84bb-4627-a4ca-eac3a2ae49d6" xlink:to="loc_mtz_QuantitativeImpairmentTestingNumberOfReportingUnits_db472d50-8216-4165-93e2-9ac55619b73d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfGoodwillTable_ec84df20-44b2-4be6-bb39-4d2bfdf2ee80" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ScheduleOfGoodwillTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_GoodwillLineItems_5074e999-84bb-4627-a4ca-eac3a2ae49d6" xlink:to="loc_us-gaap_ScheduleOfGoodwillTable_ec84df20-44b2-4be6-bb39-4d2bfdf2ee80" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_731f98ef-4670-4d9b-9510-824f19eee7c1" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StatementBusinessSegmentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfGoodwillTable_ec84df20-44b2-4be6-bb39-4d2bfdf2ee80" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_731f98ef-4670-4d9b-9510-824f19eee7c1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_731f98ef-4670-4d9b-9510-824f19eee7c1_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_731f98ef-4670-4d9b-9510-824f19eee7c1" xlink:to="loc_us-gaap_SegmentDomain_731f98ef-4670-4d9b-9510-824f19eee7c1_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_14002d95-2f6d-4f63-8971-5d57ccbbf6d5" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_731f98ef-4670-4d9b-9510-824f19eee7c1" xlink:to="loc_us-gaap_SegmentDomain_14002d95-2f6d-4f63-8971-5d57ccbbf6d5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_OilAndGasSegmentMember_74f85c90-4aa9-4d2d-9a01-bcbb8036a9ad" xlink:href="mtz-20220331.xsd#mtz_OilAndGasSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_14002d95-2f6d-4f63-8971-5d57ccbbf6d5" xlink:to="loc_mtz_OilAndGasSegmentMember_74f85c90-4aa9-4d2d-9a01-bcbb8036a9ad" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mastec.com/role/AcquisitionsGoodwillandOtherIntangibleAssets2022and2021AcquisitionsNarrativeDetails" xlink:type="simple" xlink:href="mtz-20220331.xsd#AcquisitionsGoodwillandOtherIntangibleAssets2022and2021AcquisitionsNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.mastec.com/role/AcquisitionsGoodwillandOtherIntangibleAssets2022and2021AcquisitionsNarrativeDetails" xlink:type="extended" id="i407d2d8baee74d12909c25f6eec88380_AcquisitionsGoodwillandOtherIntangibleAssets2022and2021AcquisitionsNarrativeDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionLineItems_e0efa389-9f66-4acf-aa86-5bc34da92017" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BusinessAcquisitionLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_cca513fd-3958-483c-a308-506eb573a8a5" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_e0efa389-9f66-4acf-aa86-5bc34da92017" xlink:to="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_cca513fd-3958-483c-a308-506eb573a8a5" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationContingentConsiderationLiability_c5550d18-ee56-440d-ac08-e2fa74ae882d" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BusinessCombinationContingentConsiderationLiability"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_e0efa389-9f66-4acf-aa86-5bc34da92017" xlink:to="loc_us-gaap_BusinessCombinationContingentConsiderationLiability_c5550d18-ee56-440d-ac08-e2fa74ae882d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NumberOfBusinessesAcquired_788a6344-ba92-4d99-8b5b-ddf9b7f8717a" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NumberOfBusinessesAcquired"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_e0efa389-9f66-4acf-aa86-5bc34da92017" xlink:to="loc_us-gaap_NumberOfBusinessesAcquired_788a6344-ba92-4d99-8b5b-ddf9b7f8717a" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles_b78c162a-3fdc-4de4-9a20-e97dd1e09bb6" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_e0efa389-9f66-4acf-aa86-5bc34da92017" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles_b78c162a-3fdc-4de4-9a20-e97dd1e09bb6" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife_7f94ca43-6051-4ae3-bf30-80250c95d30b" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_e0efa389-9f66-4acf-aa86-5bc34da92017" xlink:to="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife_7f94ca43-6051-4ae3-bf30-80250c95d30b" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_b3290a16-ec8c-4a91-9643-1fe639c77171" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_Goodwill"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_e0efa389-9f66-4acf-aa86-5bc34da92017" xlink:to="loc_us-gaap_Goodwill_b3290a16-ec8c-4a91-9643-1fe639c77171" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionPurchasePriceAllocationGoodwillExpectedTaxDeductibleAmount_dbcee48f-0931-43b7-acda-cf758c12a05f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BusinessAcquisitionPurchasePriceAllocationGoodwillExpectedTaxDeductibleAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_e0efa389-9f66-4acf-aa86-5bc34da92017" xlink:to="loc_us-gaap_BusinessAcquisitionPurchasePriceAllocationGoodwillExpectedTaxDeductibleAmount_dbcee48f-0931-43b7-acda-cf758c12a05f" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationBargainPurchaseGainRecognizedAmount_e4775686-afbc-4edc-a9bf-48a1b2dbfee3" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BusinessCombinationBargainPurchaseGainRecognizedAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_e0efa389-9f66-4acf-aa86-5bc34da92017" xlink:to="loc_us-gaap_BusinessCombinationBargainPurchaseGainRecognizedAmount_e4775686-afbc-4edc-a9bf-48a1b2dbfee3" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionEquityInterestsIssuedOrIssuableNumberOfSharesIssued_bbeb5a2c-2f84-4008-a2dc-dbd1ef13e491" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BusinessAcquisitionEquityInterestsIssuedOrIssuableNumberOfSharesIssued"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_e0efa389-9f66-4acf-aa86-5bc34da92017" xlink:to="loc_us-gaap_BusinessAcquisitionEquityInterestsIssuedOrIssuableNumberOfSharesIssued_bbeb5a2c-2f84-4008-a2dc-dbd1ef13e491" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationConsiderationTransferredEquityInterestsIssuedAndIssuable_ffe86e72-4a34-4574-8b0c-b31c099dcdc2" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BusinessCombinationConsiderationTransferredEquityInterestsIssuedAndIssuable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_e0efa389-9f66-4acf-aa86-5bc34da92017" xlink:to="loc_us-gaap_BusinessCombinationConsiderationTransferredEquityInterestsIssuedAndIssuable_ffe86e72-4a34-4574-8b0c-b31c099dcdc2" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationConsiderationTransferred1_2cad94b9-d73a-4322-9600-8ff2d3446f42" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BusinessCombinationConsiderationTransferred1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_e0efa389-9f66-4acf-aa86-5bc34da92017" xlink:to="loc_us-gaap_BusinessCombinationConsiderationTransferred1_2cad94b9-d73a-4322-9600-8ff2d3446f42" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationContingentConsiderationLiabilityMeasurementInput_5dda4c55-e2f8-4b3f-90bd-e3ce7567ce7a" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BusinessCombinationContingentConsiderationLiabilityMeasurementInput"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_e0efa389-9f66-4acf-aa86-5bc34da92017" xlink:to="loc_us-gaap_BusinessCombinationContingentConsiderationLiabilityMeasurementInput_5dda4c55-e2f8-4b3f-90bd-e3ce7567ce7a" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationContingentConsiderationArrangementsRangeOfOutcomesValueLow_99b9414c-3c08-4983-9052-907f2f3a4f40" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BusinessCombinationContingentConsiderationArrangementsRangeOfOutcomesValueLow"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_e0efa389-9f66-4acf-aa86-5bc34da92017" xlink:to="loc_us-gaap_BusinessCombinationContingentConsiderationArrangementsRangeOfOutcomesValueLow_99b9414c-3c08-4983-9052-907f2f3a4f40" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationContingentConsiderationArrangementsRangeOfOutcomesValueHigh_726dae0f-62f1-43e7-ae1b-5ebd4224e40e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BusinessCombinationContingentConsiderationArrangementsRangeOfOutcomesValueHigh"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_e0efa389-9f66-4acf-aa86-5bc34da92017" xlink:to="loc_us-gaap_BusinessCombinationContingentConsiderationArrangementsRangeOfOutcomesValueHigh_726dae0f-62f1-43e7-ae1b-5ebd4224e40e" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_ac87c501-cd22-4fac-ba10-aedb9e5cfadb" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_e0efa389-9f66-4acf-aa86-5bc34da92017" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_ac87c501-cd22-4fac-ba10-aedb9e5cfadb" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_ea5aab96-2efc-4b34-b4b4-c5563587dab8" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BusinessAcquisitionAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_ac87c501-cd22-4fac-ba10-aedb9e5cfadb" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_ea5aab96-2efc-4b34-b4b4-c5563587dab8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_ea5aab96-2efc-4b34-b4b4-c5563587dab8_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_ea5aab96-2efc-4b34-b4b4-c5563587dab8" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_ea5aab96-2efc-4b34-b4b4-c5563587dab8_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_2a2b606a-6605-4b34-a7a9-3ad18ce147c4" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_ea5aab96-2efc-4b34-b4b4-c5563587dab8" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_2a2b606a-6605-4b34-a7a9-3ad18ce147c4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_A2021AcquisitionsMember_cbdb3cf8-b2d9-40d2-b7d6-82e4eb0d568a" xlink:href="mtz-20220331.xsd#mtz_A2021AcquisitionsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_2a2b606a-6605-4b34-a7a9-3ad18ce147c4" xlink:to="loc_mtz_A2021AcquisitionsMember_cbdb3cf8-b2d9-40d2-b7d6-82e4eb0d568a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_A2021AcquisitionsHenkelsMcCoyGroupIncMember_2977e0f8-ac41-46e9-894e-7c1c35a5ce97" xlink:href="mtz-20220331.xsd#mtz_A2021AcquisitionsHenkelsMcCoyGroupIncMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtz_A2021AcquisitionsMember_cbdb3cf8-b2d9-40d2-b7d6-82e4eb0d568a" xlink:to="loc_mtz_A2021AcquisitionsHenkelsMcCoyGroupIncMember_2977e0f8-ac41-46e9-894e-7c1c35a5ce97" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_A2021AcquisitionsAllOtherMember_408c6a43-f85f-4241-a9ca-a782f935fdaa" xlink:href="mtz-20220331.xsd#mtz_A2021AcquisitionsAllOtherMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtz_A2021AcquisitionsMember_cbdb3cf8-b2d9-40d2-b7d6-82e4eb0d568a" xlink:to="loc_mtz_A2021AcquisitionsAllOtherMember_408c6a43-f85f-4241-a9ca-a782f935fdaa" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_A2021AcquisitionsAllOtherINTRENMember_350c5a8f-0711-4e27-8d2f-04eb69647d50" xlink:href="mtz-20220331.xsd#mtz_A2021AcquisitionsAllOtherINTRENMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtz_A2021AcquisitionsMember_cbdb3cf8-b2d9-40d2-b7d6-82e4eb0d568a" xlink:to="loc_mtz_A2021AcquisitionsAllOtherINTRENMember_350c5a8f-0711-4e27-8d2f-04eb69647d50" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_A2022AcquisitionsMember_bbdc7eed-f0e6-4f2a-9477-27d5a5346727" xlink:href="mtz-20220331.xsd#mtz_A2022AcquisitionsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_2a2b606a-6605-4b34-a7a9-3ad18ce147c4" xlink:to="loc_mtz_A2022AcquisitionsMember_bbdc7eed-f0e6-4f2a-9477-27d5a5346727" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_4815d88e-e757-43da-9a30-a0bcd6780171" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_ac87c501-cd22-4fac-ba10-aedb9e5cfadb" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_4815d88e-e757-43da-9a30-a0bcd6780171" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_4815d88e-e757-43da-9a30-a0bcd6780171_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_4815d88e-e757-43da-9a30-a0bcd6780171" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_4815d88e-e757-43da-9a30-a0bcd6780171_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_23fa4da0-03d6-47fc-9008-7a3b2f8e320f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_4815d88e-e757-43da-9a30-a0bcd6780171" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_23fa4da0-03d6-47fc-9008-7a3b2f8e320f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CustomerRelationshipsMember_44db55d8-b6d9-4b86-9e0b-9a20456eec47" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CustomerRelationshipsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_23fa4da0-03d6-47fc-9008-7a3b2f8e320f" xlink:to="loc_us-gaap_CustomerRelationshipsMember_44db55d8-b6d9-4b86-9e0b-9a20456eec47" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TradeNamesMember_2d41106b-e0cf-43ac-9373-2d22be8556cc" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_TradeNamesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_23fa4da0-03d6-47fc-9008-7a3b2f8e320f" xlink:to="loc_us-gaap_TradeNamesMember_2d41106b-e0cf-43ac-9373-2d22be8556cc" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_CustomerRelationshipsAndTradeNamesMember_9dbb225f-7b0b-4ab4-827d-f2d75228d4b3" xlink:href="mtz-20220331.xsd#mtz_CustomerRelationshipsAndTradeNamesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_23fa4da0-03d6-47fc-9008-7a3b2f8e320f" xlink:to="loc_mtz_CustomerRelationshipsAndTradeNamesMember_9dbb225f-7b0b-4ab4-827d-f2d75228d4b3" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_f3ff8835-a2bf-47c1-b404-1c127938d559" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_ac87c501-cd22-4fac-ba10-aedb9e5cfadb" xlink:to="loc_srt_RangeAxis_f3ff8835-a2bf-47c1-b404-1c127938d559" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_f3ff8835-a2bf-47c1-b404-1c127938d559_default" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_f3ff8835-a2bf-47c1-b404-1c127938d559" xlink:to="loc_srt_RangeMember_f3ff8835-a2bf-47c1-b404-1c127938d559_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_68dfee55-a835-43f0-8d4b-3701d713b55d" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_f3ff8835-a2bf-47c1-b404-1c127938d559" xlink:to="loc_srt_RangeMember_68dfee55-a835-43f0-8d4b-3701d713b55d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_7fd9c274-dda2-4e9c-9682-ca74114666bb" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_MinimumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_68dfee55-a835-43f0-8d4b-3701d713b55d" xlink:to="loc_srt_MinimumMember_7fd9c274-dda2-4e9c-9682-ca74114666bb" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_b030d47b-60a0-4d5c-8117-a7488eef4bfe" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_68dfee55-a835-43f0-8d4b-3701d713b55d" xlink:to="loc_srt_MaximumMember_b030d47b-60a0-4d5c-8117-a7488eef4bfe" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MeasurementInputTypeAxis_668d3222-b239-4bb3-88c5-deeecc71ec95" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_MeasurementInputTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_ac87c501-cd22-4fac-ba10-aedb9e5cfadb" xlink:to="loc_us-gaap_MeasurementInputTypeAxis_668d3222-b239-4bb3-88c5-deeecc71ec95" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MeasurementInputTypeDomain_668d3222-b239-4bb3-88c5-deeecc71ec95_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_MeasurementInputTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_MeasurementInputTypeAxis_668d3222-b239-4bb3-88c5-deeecc71ec95" xlink:to="loc_us-gaap_MeasurementInputTypeDomain_668d3222-b239-4bb3-88c5-deeecc71ec95_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MeasurementInputTypeDomain_f0eb4e14-4da2-45b4-a3bc-6eb979bc3a21" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_MeasurementInputTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_MeasurementInputTypeAxis_668d3222-b239-4bb3-88c5-deeecc71ec95" xlink:to="loc_us-gaap_MeasurementInputTypeDomain_f0eb4e14-4da2-45b4-a3bc-6eb979bc3a21" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MeasurementInputExpectedTermMember_d26effe4-24ff-4abb-ace5-09801052d6e5" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_MeasurementInputExpectedTermMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MeasurementInputTypeDomain_f0eb4e14-4da2-45b4-a3bc-6eb979bc3a21" xlink:to="loc_us-gaap_MeasurementInputExpectedTermMember_d26effe4-24ff-4abb-ace5-09801052d6e5" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_953b28b6-f0d3-4097-a37a-fb54b27de602" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StatementBusinessSegmentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_ac87c501-cd22-4fac-ba10-aedb9e5cfadb" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_953b28b6-f0d3-4097-a37a-fb54b27de602" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_953b28b6-f0d3-4097-a37a-fb54b27de602_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_953b28b6-f0d3-4097-a37a-fb54b27de602" xlink:to="loc_us-gaap_SegmentDomain_953b28b6-f0d3-4097-a37a-fb54b27de602_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_257e93f6-edc7-488a-af5a-36e67bdbb8c6" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_953b28b6-f0d3-4097-a37a-fb54b27de602" xlink:to="loc_us-gaap_SegmentDomain_257e93f6-edc7-488a-af5a-36e67bdbb8c6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_OilAndGasSegmentMember_06a1f8f9-c0c5-42cb-9402-fdcc649a67d6" xlink:href="mtz-20220331.xsd#mtz_OilAndGasSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_257e93f6-edc7-488a-af5a-36e67bdbb8c6" xlink:to="loc_mtz_OilAndGasSegmentMember_06a1f8f9-c0c5-42cb-9402-fdcc649a67d6" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_PowerDeliverySegmentMember_bf96c188-be0b-40eb-b7db-30b1ebccda67" xlink:href="mtz-20220331.xsd#mtz_PowerDeliverySegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_257e93f6-edc7-488a-af5a-36e67bdbb8c6" xlink:to="loc_mtz_PowerDeliverySegmentMember_bf96c188-be0b-40eb-b7db-30b1ebccda67" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContingentConsiderationByTypeAxis_46852eb6-c59a-4155-b27c-9998827cd961" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ContingentConsiderationByTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_ac87c501-cd22-4fac-ba10-aedb9e5cfadb" xlink:to="loc_us-gaap_ContingentConsiderationByTypeAxis_46852eb6-c59a-4155-b27c-9998827cd961" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContingentConsiderationTypeDomain_46852eb6-c59a-4155-b27c-9998827cd961_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ContingentConsiderationTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ContingentConsiderationByTypeAxis_46852eb6-c59a-4155-b27c-9998827cd961" xlink:to="loc_us-gaap_ContingentConsiderationTypeDomain_46852eb6-c59a-4155-b27c-9998827cd961_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContingentConsiderationTypeDomain_7c100670-3a75-43fe-bdd2-f6e14ae0a1a0" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ContingentConsiderationTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ContingentConsiderationByTypeAxis_46852eb6-c59a-4155-b27c-9998827cd961" xlink:to="loc_us-gaap_ContingentConsiderationTypeDomain_7c100670-3a75-43fe-bdd2-f6e14ae0a1a0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_ContingentConsiderationValueOfCommonStockMember_e0610ac7-e93e-459d-9bd9-161cf0762b05" xlink:href="mtz-20220331.xsd#mtz_ContingentConsiderationValueOfCommonStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ContingentConsiderationTypeDomain_7c100670-3a75-43fe-bdd2-f6e14ae0a1a0" xlink:to="loc_mtz_ContingentConsiderationValueOfCommonStockMember_e0610ac7-e93e-459d-9bd9-161cf0762b05" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_ContingentConsiderationCollectionOfAcquiredReceivablesMember_623de6b2-7b92-47fd-982b-f7498c6ee822" xlink:href="mtz-20220331.xsd#mtz_ContingentConsiderationCollectionOfAcquiredReceivablesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ContingentConsiderationTypeDomain_7c100670-3a75-43fe-bdd2-f6e14ae0a1a0" xlink:to="loc_mtz_ContingentConsiderationCollectionOfAcquiredReceivablesMember_623de6b2-7b92-47fd-982b-f7498c6ee822" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mastec.com/role/AcquisitionsGoodwillandOtherIntangibleAssetsScheduleofRecognizedIdentifiedAssetsAcquiredandLiabilitiesAssumedDetails" xlink:type="simple" xlink:href="mtz-20220331.xsd#AcquisitionsGoodwillandOtherIntangibleAssetsScheduleofRecognizedIdentifiedAssetsAcquiredandLiabilitiesAssumedDetails"/>
  <link:definitionLink xlink:role="http://www.mastec.com/role/AcquisitionsGoodwillandOtherIntangibleAssetsScheduleofRecognizedIdentifiedAssetsAcquiredandLiabilitiesAssumedDetails" xlink:type="extended" id="i759e6dedab4c408d981875aa15e17ac3_AcquisitionsGoodwillandOtherIntangibleAssetsScheduleofRecognizedIdentifiedAssetsAcquiredandLiabilitiesAssumedDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionLineItems_69fb2d10-9a36-4741-8ced-670a57248448" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BusinessAcquisitionLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationConsiderationTransferredAbstract_34b44139-01a2-49b8-8b5a-2d2e9263263f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BusinessCombinationConsiderationTransferredAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_69fb2d10-9a36-4741-8ced-670a57248448" xlink:to="loc_us-gaap_BusinessCombinationConsiderationTransferredAbstract_34b44139-01a2-49b8-8b5a-2d2e9263263f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_e3cb7cf5-0262-443f-8737-b10a1a5a7a30" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationConsiderationTransferredAbstract_34b44139-01a2-49b8-8b5a-2d2e9263263f" xlink:to="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_e3cb7cf5-0262-443f-8737-b10a1a5a7a30" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationConsiderationTransferredEquityInterestsIssuedAndIssuable_42aa59bc-2957-4f00-936a-1c840729657c" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BusinessCombinationConsiderationTransferredEquityInterestsIssuedAndIssuable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationConsiderationTransferredAbstract_34b44139-01a2-49b8-8b5a-2d2e9263263f" xlink:to="loc_us-gaap_BusinessCombinationConsiderationTransferredEquityInterestsIssuedAndIssuable_42aa59bc-2957-4f00-936a-1c840729657c" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationContingentConsiderationLiability_cab1703d-6011-441d-9336-8d50dbb862c0" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BusinessCombinationContingentConsiderationLiability"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationConsiderationTransferredAbstract_34b44139-01a2-49b8-8b5a-2d2e9263263f" xlink:to="loc_us-gaap_BusinessCombinationContingentConsiderationLiability_cab1703d-6011-441d-9336-8d50dbb862c0" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationConsiderationTransferred1_8763f685-c3d8-4059-8d54-1b052b769f53" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BusinessCombinationConsiderationTransferred1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationConsiderationTransferredAbstract_34b44139-01a2-49b8-8b5a-2d2e9263263f" xlink:to="loc_us-gaap_BusinessCombinationConsiderationTransferred1_8763f685-c3d8-4059-8d54-1b052b769f53" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_7c19bf2b-7cb2-4473-ba83-ba0f7aa60272" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_69fb2d10-9a36-4741-8ced-670a57248448" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_7c19bf2b-7cb2-4473-ba83-ba0f7aa60272" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsReceivables_4d74489f-e5e7-46cf-a48b-f0483420d8d1" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsReceivables"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_7c19bf2b-7cb2-4473-ba83-ba0f7aa60272" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsReceivables_4d74489f-e5e7-46cf-a48b-f0483420d8d1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssets_1b7db723-a851-48a8-a516-701c2978dbcb" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_7c19bf2b-7cb2-4473-ba83-ba0f7aa60272" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssets_1b7db723-a851-48a8-a516-701c2978dbcb" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment_74ef8bd9-afb0-4ca8-9c84-d8ebe4e9eec8" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_7c19bf2b-7cb2-4473-ba83-ba0f7aa60272" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment_74ef8bd9-afb0-4ca8-9c84-d8ebe4e9eec8" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLongTermAssetsOperatingRightOfUseAssets_cdff3d43-a7b2-48cc-a1e6-545228f4ae70" xlink:href="mtz-20220331.xsd#mtz_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLongTermAssetsOperatingRightOfUseAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_7c19bf2b-7cb2-4473-ba83-ba0f7aa60272" xlink:to="loc_mtz_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLongTermAssetsOperatingRightOfUseAssets_cdff3d43-a7b2-48cc-a1e6-545228f4ae70" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles_0328662d-df9a-4015-89c4-71c9110b4ff6" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_7c19bf2b-7cb2-4473-ba83-ba0f7aa60272" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles_0328662d-df9a-4015-89c4-71c9110b4ff6" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccountsPayable_159997b6-a172-4b3e-896d-1368996f0539" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccountsPayable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_7c19bf2b-7cb2-4473-ba83-ba0f7aa60272" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccountsPayable_159997b6-a172-4b3e-896d-1368996f0539" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilities_05c7f399-84be-49cc-8140-dceb9d1b4634" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_7c19bf2b-7cb2-4473-ba83-ba0f7aa60272" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilities_05c7f399-84be-49cc-8140-dceb9d1b4634" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilitiesLongTermDebtIncludingLeaseObligations_94873781-4d14-46ec-83f2-78269665da1a" xlink:href="mtz-20220331.xsd#mtz_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilitiesLongTermDebtIncludingLeaseObligations"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_7c19bf2b-7cb2-4473-ba83-ba0f7aa60272" xlink:to="loc_mtz_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilitiesLongTermDebtIncludingLeaseObligations_94873781-4d14-46ec-83f2-78269665da1a" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilities_935c3831-5254-4041-87eb-973d158e85c2" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_7c19bf2b-7cb2-4473-ba83-ba0f7aa60272" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilities_935c3831-5254-4041-87eb-973d158e85c2" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_8ee569da-40d9-46dd-8a59-50de48214410" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_7c19bf2b-7cb2-4473-ba83-ba0f7aa60272" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_8ee569da-40d9-46dd-8a59-50de48214410" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_809bd674-c522-4e93-ab98-f05b5d4bcd63" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_Goodwill"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_7c19bf2b-7cb2-4473-ba83-ba0f7aa60272" xlink:to="loc_us-gaap_Goodwill_809bd674-c522-4e93-ab98-f05b5d4bcd63" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_a7381e37-c2ac-4418-8e2e-6e8b2eeedaa0" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_7c19bf2b-7cb2-4473-ba83-ba0f7aa60272" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_a7381e37-c2ac-4418-8e2e-6e8b2eeedaa0" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationBargainPurchaseGainRecognizedAmount_a77d3689-9129-45f9-aeb6-3da02a423edb" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BusinessCombinationBargainPurchaseGainRecognizedAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_7c19bf2b-7cb2-4473-ba83-ba0f7aa60272" xlink:to="loc_us-gaap_BusinessCombinationBargainPurchaseGainRecognizedAmount_a77d3689-9129-45f9-aeb6-3da02a423edb" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_d76feb7d-2177-4641-92d1-087310cb76a7" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_69fb2d10-9a36-4741-8ced-670a57248448" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_d76feb7d-2177-4641-92d1-087310cb76a7" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_9442c5b3-a6a0-4684-8197-9a35f7c32eb2" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BusinessAcquisitionAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_d76feb7d-2177-4641-92d1-087310cb76a7" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_9442c5b3-a6a0-4684-8197-9a35f7c32eb2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_9442c5b3-a6a0-4684-8197-9a35f7c32eb2_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_9442c5b3-a6a0-4684-8197-9a35f7c32eb2" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_9442c5b3-a6a0-4684-8197-9a35f7c32eb2_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_f99bc1d7-b8e2-4f5f-9a5a-8fc5ba135fda" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_9442c5b3-a6a0-4684-8197-9a35f7c32eb2" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_f99bc1d7-b8e2-4f5f-9a5a-8fc5ba135fda" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_A2021AcquisitionsMember_da9d49c6-846c-41b6-911e-6b75346642ee" xlink:href="mtz-20220331.xsd#mtz_A2021AcquisitionsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_f99bc1d7-b8e2-4f5f-9a5a-8fc5ba135fda" xlink:to="loc_mtz_A2021AcquisitionsMember_da9d49c6-846c-41b6-911e-6b75346642ee" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_A2021AcquisitionsHenkelsMcCoyGroupIncMember_0870b17a-8830-4705-8214-967ac2a9b296" xlink:href="mtz-20220331.xsd#mtz_A2021AcquisitionsHenkelsMcCoyGroupIncMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtz_A2021AcquisitionsMember_da9d49c6-846c-41b6-911e-6b75346642ee" xlink:to="loc_mtz_A2021AcquisitionsHenkelsMcCoyGroupIncMember_0870b17a-8830-4705-8214-967ac2a9b296" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_A2021AcquisitionsAllOtherMember_06484d5a-a6c0-4345-9491-7f5d2cc7ee06" xlink:href="mtz-20220331.xsd#mtz_A2021AcquisitionsAllOtherMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtz_A2021AcquisitionsMember_da9d49c6-846c-41b6-911e-6b75346642ee" xlink:to="loc_mtz_A2021AcquisitionsAllOtherMember_06484d5a-a6c0-4345-9491-7f5d2cc7ee06" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContingentConsiderationByTypeAxis_cc915e2d-e8af-4581-a7bc-9ef0f2cab240" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ContingentConsiderationByTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_d76feb7d-2177-4641-92d1-087310cb76a7" xlink:to="loc_us-gaap_ContingentConsiderationByTypeAxis_cc915e2d-e8af-4581-a7bc-9ef0f2cab240" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContingentConsiderationTypeDomain_cc915e2d-e8af-4581-a7bc-9ef0f2cab240_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ContingentConsiderationTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ContingentConsiderationByTypeAxis_cc915e2d-e8af-4581-a7bc-9ef0f2cab240" xlink:to="loc_us-gaap_ContingentConsiderationTypeDomain_cc915e2d-e8af-4581-a7bc-9ef0f2cab240_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContingentConsiderationTypeDomain_01bcc65c-3cfb-48df-8a6a-c32ee7fabf83" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ContingentConsiderationTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ContingentConsiderationByTypeAxis_cc915e2d-e8af-4581-a7bc-9ef0f2cab240" xlink:to="loc_us-gaap_ContingentConsiderationTypeDomain_01bcc65c-3cfb-48df-8a6a-c32ee7fabf83" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_ContingentConsiderationMember_a7cada0b-bfc7-4eb1-806b-708b96865d05" xlink:href="mtz-20220331.xsd#mtz_ContingentConsiderationMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ContingentConsiderationTypeDomain_01bcc65c-3cfb-48df-8a6a-c32ee7fabf83" xlink:to="loc_mtz_ContingentConsiderationMember_a7cada0b-bfc7-4eb1-806b-708b96865d05" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mastec.com/role/AcquisitionsGoodwillandOtherIntangibleAssetsProFormaFinancialInformationAcquisitionResultsandAcquisitionandIntegrationCostsNarrativeDetails" xlink:type="simple" xlink:href="mtz-20220331.xsd#AcquisitionsGoodwillandOtherIntangibleAssetsProFormaFinancialInformationAcquisitionResultsandAcquisitionandIntegrationCostsNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.mastec.com/role/AcquisitionsGoodwillandOtherIntangibleAssetsProFormaFinancialInformationAcquisitionResultsandAcquisitionandIntegrationCostsNarrativeDetails" xlink:type="extended" id="ic418947fea624db7870b18f7956a3f4a_AcquisitionsGoodwillandOtherIntangibleAssetsProFormaFinancialInformationAcquisitionResultsandAcquisitionandIntegrationCostsNarrativeDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionLineItems_9de51937-66f4-462c-9adb-ba83ad1d802b" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BusinessAcquisitionLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionsProFormaRevenue_d376c656-e12c-4709-8a7f-9fe953bb7c4a" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BusinessAcquisitionsProFormaRevenue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_9de51937-66f4-462c-9adb-ba83ad1d802b" xlink:to="loc_us-gaap_BusinessAcquisitionsProFormaRevenue_d376c656-e12c-4709-8a7f-9fe953bb7c4a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionsProFormaNetIncomeLoss_53b39658-136c-43fa-b400-509158d307c2" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BusinessAcquisitionsProFormaNetIncomeLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_9de51937-66f4-462c-9adb-ba83ad1d802b" xlink:to="loc_us-gaap_BusinessAcquisitionsProFormaNetIncomeLoss_53b39658-136c-43fa-b400-509158d307c2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationProFormaInformationRevenueOfAcquireeSinceAcquisitionDateActual_882af6ee-2941-4f95-ad90-7ba8c8a937ef" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BusinessCombinationProFormaInformationRevenueOfAcquireeSinceAcquisitionDateActual"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_9de51937-66f4-462c-9adb-ba83ad1d802b" xlink:to="loc_us-gaap_BusinessCombinationProFormaInformationRevenueOfAcquireeSinceAcquisitionDateActual_882af6ee-2941-4f95-ad90-7ba8c8a937ef" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationProFormaInformationEarningsOrLossOfAcquireeSinceAcquisitionDateActual_c280820b-8da0-402e-99ee-054c1cc5ba9f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BusinessCombinationProFormaInformationEarningsOrLossOfAcquireeSinceAcquisitionDateActual"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_9de51937-66f4-462c-9adb-ba83ad1d802b" xlink:to="loc_us-gaap_BusinessCombinationProFormaInformationEarningsOrLossOfAcquireeSinceAcquisitionDateActual_c280820b-8da0-402e-99ee-054c1cc5ba9f" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationIntegrationRelatedCosts_f7e0d0a1-6341-4ea7-b246-8222ec881d09" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BusinessCombinationIntegrationRelatedCosts"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_9de51937-66f4-462c-9adb-ba83ad1d802b" xlink:to="loc_us-gaap_BusinessCombinationIntegrationRelatedCosts_f7e0d0a1-6341-4ea7-b246-8222ec881d09" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_BusinessCombinationIntegrationRelatedLiabilities_c2286ed6-f4fe-4695-b29b-9d22769ac794" xlink:href="mtz-20220331.xsd#mtz_BusinessCombinationIntegrationRelatedLiabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_9de51937-66f4-462c-9adb-ba83ad1d802b" xlink:to="loc_mtz_BusinessCombinationIntegrationRelatedLiabilities_c2286ed6-f4fe-4695-b29b-9d22769ac794" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_35920fc7-e07b-4b5b-a610-76303a1d74ec" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_9de51937-66f4-462c-9adb-ba83ad1d802b" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_35920fc7-e07b-4b5b-a610-76303a1d74ec" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_f1be89ef-db8d-44b3-8892-859ba63bd3cf" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BusinessAcquisitionAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_35920fc7-e07b-4b5b-a610-76303a1d74ec" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_f1be89ef-db8d-44b3-8892-859ba63bd3cf" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_f1be89ef-db8d-44b3-8892-859ba63bd3cf_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_f1be89ef-db8d-44b3-8892-859ba63bd3cf" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_f1be89ef-db8d-44b3-8892-859ba63bd3cf_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_2daed093-5574-41de-8a21-05d1601d385b" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_f1be89ef-db8d-44b3-8892-859ba63bd3cf" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_2daed093-5574-41de-8a21-05d1601d385b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_A2021AcquisitionsHenkelsMcCoyGroupIncAndINTRENMember_2084bc04-40b5-43bc-997a-d8c9c9cce2c6" xlink:href="mtz-20220331.xsd#mtz_A2021AcquisitionsHenkelsMcCoyGroupIncAndINTRENMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_2daed093-5574-41de-8a21-05d1601d385b" xlink:to="loc_mtz_A2021AcquisitionsHenkelsMcCoyGroupIncAndINTRENMember_2084bc04-40b5-43bc-997a-d8c9c9cce2c6" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mastec.com/role/FairValueofFinancialInstrumentsAcquisitionRelatedContingentConsiderationandOtherLiabilitiesNarrativeDetails" xlink:type="simple" xlink:href="mtz-20220331.xsd#FairValueofFinancialInstrumentsAcquisitionRelatedContingentConsiderationandOtherLiabilitiesNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.mastec.com/role/FairValueofFinancialInstrumentsAcquisitionRelatedContingentConsiderationandOtherLiabilitiesNarrativeDetails" xlink:type="extended" id="ibe91570e1e954dff8752e6f6da19752d_FairValueofFinancialInstrumentsAcquisitionRelatedContingentConsiderationandOtherLiabilitiesNarrativeDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_6ad42f54-87bf-477a-bd15-e8bb1aba8998" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisObligations_b4f8e403-ec19-4dd8-95bd-da9e870b365c" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisObligations"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_6ad42f54-87bf-477a-bd15-e8bb1aba8998" xlink:to="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisObligations_b4f8e403-ec19-4dd8-95bd-da9e870b365c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationContingentConsiderationLiabilityMeasurementInput_173fe2a6-200f-4f9f-a805-2c28ba542f6e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BusinessCombinationContingentConsiderationLiabilityMeasurementInput"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_6ad42f54-87bf-477a-bd15-e8bb1aba8998" xlink:to="loc_us-gaap_BusinessCombinationContingentConsiderationLiabilityMeasurementInput_173fe2a6-200f-4f9f-a805-2c28ba542f6e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationContingentConsiderationArrangementsRangeOfOutcomesValueLow_924b0926-3785-4923-b7d1-62331bd68205" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BusinessCombinationContingentConsiderationArrangementsRangeOfOutcomesValueLow"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_6ad42f54-87bf-477a-bd15-e8bb1aba8998" xlink:to="loc_us-gaap_BusinessCombinationContingentConsiderationArrangementsRangeOfOutcomesValueLow_924b0926-3785-4923-b7d1-62331bd68205" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationContingentConsiderationArrangementsRangeOfOutcomesValueHigh_2823bdbf-0dba-4684-8cf5-a10f8d6c0f37" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BusinessCombinationContingentConsiderationArrangementsRangeOfOutcomesValueHigh"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_6ad42f54-87bf-477a-bd15-e8bb1aba8998" xlink:to="loc_us-gaap_BusinessCombinationContingentConsiderationArrangementsRangeOfOutcomesValueHigh_2823bdbf-0dba-4684-8cf5-a10f8d6c0f37" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityPurchases_51b348b6-bb87-4e12-aacf-c25b4951c894" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityPurchases"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_6ad42f54-87bf-477a-bd15-e8bb1aba8998" xlink:to="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityPurchases_51b348b6-bb87-4e12-aacf-c25b4951c894" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GoodwillPurchaseAccountingAdjustments_036bb0f5-328a-4838-9634-6fa07a66df82" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_GoodwillPurchaseAccountingAdjustments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_6ad42f54-87bf-477a-bd15-e8bb1aba8998" xlink:to="loc_us-gaap_GoodwillPurchaseAccountingAdjustments_036bb0f5-328a-4838-9634-6fa07a66df82" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityGainLossIncludedInEarnings_61beae17-d9b6-4964-8ecb-b6664fdec891" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityGainLossIncludedInEarnings"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_6ad42f54-87bf-477a-bd15-e8bb1aba8998" xlink:to="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityGainLossIncludedInEarnings_61beae17-d9b6-4964-8ecb-b6664fdec891" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilitySettlements_926648f3-629a-4811-a58e-9bb5806056d0" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilitySettlements"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_6ad42f54-87bf-477a-bd15-e8bb1aba8998" xlink:to="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilitySettlements_926648f3-629a-4811-a58e-9bb5806056d0" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_28836727-cc53-4dcc-85de-f8a1a043e6df" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_6ad42f54-87bf-477a-bd15-e8bb1aba8998" xlink:to="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_28836727-cc53-4dcc-85de-f8a1a043e6df" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContingentConsiderationByTypeAxis_9532c28d-c91d-423e-88fc-75381c04a1eb" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ContingentConsiderationByTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_28836727-cc53-4dcc-85de-f8a1a043e6df" xlink:to="loc_us-gaap_ContingentConsiderationByTypeAxis_9532c28d-c91d-423e-88fc-75381c04a1eb" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContingentConsiderationTypeDomain_9532c28d-c91d-423e-88fc-75381c04a1eb_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ContingentConsiderationTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ContingentConsiderationByTypeAxis_9532c28d-c91d-423e-88fc-75381c04a1eb" xlink:to="loc_us-gaap_ContingentConsiderationTypeDomain_9532c28d-c91d-423e-88fc-75381c04a1eb_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContingentConsiderationTypeDomain_263c436c-2b7c-4ea6-a0c5-ec2e9e43a854" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ContingentConsiderationTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ContingentConsiderationByTypeAxis_9532c28d-c91d-423e-88fc-75381c04a1eb" xlink:to="loc_us-gaap_ContingentConsiderationTypeDomain_263c436c-2b7c-4ea6-a0c5-ec2e9e43a854" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_EarnoutArrangementsMember_2fc82c58-2979-474f-aa8a-e4ee24b100be" xlink:href="mtz-20220331.xsd#mtz_EarnoutArrangementsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ContingentConsiderationTypeDomain_263c436c-2b7c-4ea6-a0c5-ec2e9e43a854" xlink:to="loc_mtz_EarnoutArrangementsMember_2fc82c58-2979-474f-aa8a-e4ee24b100be" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByLiabilityClassAxis_ba2e705c-9e12-466a-b4a8-35371cbb5765" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FairValueByLiabilityClassAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_28836727-cc53-4dcc-85de-f8a1a043e6df" xlink:to="loc_us-gaap_FairValueByLiabilityClassAxis_ba2e705c-9e12-466a-b4a8-35371cbb5765" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain_ba2e705c-9e12-466a-b4a8-35371cbb5765_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByLiabilityClassAxis_ba2e705c-9e12-466a-b4a8-35371cbb5765" xlink:to="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain_ba2e705c-9e12-466a-b4a8-35371cbb5765_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain_b7a21020-d479-472b-beed-5be94bdebb90" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByLiabilityClassAxis_ba2e705c-9e12-466a-b4a8-35371cbb5765" xlink:to="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain_b7a21020-d479-472b-beed-5be94bdebb90" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_MandatorilyRedeemableStockMember_f6295834-331c-4b21-9e78-b1a31c271128" xlink:href="mtz-20220331.xsd#mtz_MandatorilyRedeemableStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain_b7a21020-d479-472b-beed-5be94bdebb90" xlink:to="loc_mtz_MandatorilyRedeemableStockMember_f6295834-331c-4b21-9e78-b1a31c271128" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BalanceSheetLocationAxis_b26dcf9a-c680-482e-9295-31bd1adec895" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BalanceSheetLocationAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_28836727-cc53-4dcc-85de-f8a1a043e6df" xlink:to="loc_us-gaap_BalanceSheetLocationAxis_b26dcf9a-c680-482e-9295-31bd1adec895" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_b26dcf9a-c680-482e-9295-31bd1adec895_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BalanceSheetLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BalanceSheetLocationAxis_b26dcf9a-c680-482e-9295-31bd1adec895" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_b26dcf9a-c680-482e-9295-31bd1adec895_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_79c2a921-a842-4852-ac86-88fab32c3fcd" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BalanceSheetLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BalanceSheetLocationAxis_b26dcf9a-c680-482e-9295-31bd1adec895" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_79c2a921-a842-4852-ac86-88fab32c3fcd" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherCurrentLiabilitiesMember_a8a7a86d-eb59-4a92-b917-47cdecf5e797" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherCurrentLiabilitiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_79c2a921-a842-4852-ac86-88fab32c3fcd" xlink:to="loc_us-gaap_OtherCurrentLiabilitiesMember_a8a7a86d-eb59-4a92-b917-47cdecf5e797" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MeasurementInputTypeAxis_c286905e-e032-4f49-9fc6-c37441c4e53d" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_MeasurementInputTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_28836727-cc53-4dcc-85de-f8a1a043e6df" xlink:to="loc_us-gaap_MeasurementInputTypeAxis_c286905e-e032-4f49-9fc6-c37441c4e53d" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MeasurementInputTypeDomain_c286905e-e032-4f49-9fc6-c37441c4e53d_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_MeasurementInputTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_MeasurementInputTypeAxis_c286905e-e032-4f49-9fc6-c37441c4e53d" xlink:to="loc_us-gaap_MeasurementInputTypeDomain_c286905e-e032-4f49-9fc6-c37441c4e53d_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MeasurementInputTypeDomain_50172ab6-6898-474b-aca5-499c2defb38e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_MeasurementInputTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_MeasurementInputTypeAxis_c286905e-e032-4f49-9fc6-c37441c4e53d" xlink:to="loc_us-gaap_MeasurementInputTypeDomain_50172ab6-6898-474b-aca5-499c2defb38e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MeasurementInputDiscountRateMember_cb9459dd-a6a6-4118-b24b-0f07d9d2bf35" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_MeasurementInputDiscountRateMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MeasurementInputTypeDomain_50172ab6-6898-474b-aca5-499c2defb38e" xlink:to="loc_us-gaap_MeasurementInputDiscountRateMember_cb9459dd-a6a6-4118-b24b-0f07d9d2bf35" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_b9f320d0-fcc8-4e2a-b55c-29aed322b00f" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_28836727-cc53-4dcc-85de-f8a1a043e6df" xlink:to="loc_srt_RangeAxis_b9f320d0-fcc8-4e2a-b55c-29aed322b00f" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_b9f320d0-fcc8-4e2a-b55c-29aed322b00f_default" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_b9f320d0-fcc8-4e2a-b55c-29aed322b00f" xlink:to="loc_srt_RangeMember_b9f320d0-fcc8-4e2a-b55c-29aed322b00f_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_b8664d71-04d3-4199-8f57-03baccee7974" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_b9f320d0-fcc8-4e2a-b55c-29aed322b00f" xlink:to="loc_srt_RangeMember_b8664d71-04d3-4199-8f57-03baccee7974" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_b9c3447f-5e17-489c-8e26-70bacc3a8bbc" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_MinimumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_b8664d71-04d3-4199-8f57-03baccee7974" xlink:to="loc_srt_MinimumMember_b9c3447f-5e17-489c-8e26-70bacc3a8bbc" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_11a700d0-c12a-49ce-b451-d67e7fc4441d" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_b8664d71-04d3-4199-8f57-03baccee7974" xlink:to="loc_srt_MaximumMember_11a700d0-c12a-49ce-b451-d67e7fc4441d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_WeightedAverageMember_4628900a-bb98-472d-a8c7-f89b153bf61b" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_WeightedAverageMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_b8664d71-04d3-4199-8f57-03baccee7974" xlink:to="loc_srt_WeightedAverageMember_4628900a-bb98-472d-a8c7-f89b153bf61b" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_155db7a4-4b12-473f-8c4d-4b64a3714284" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BusinessAcquisitionAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_28836727-cc53-4dcc-85de-f8a1a043e6df" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_155db7a4-4b12-473f-8c4d-4b64a3714284" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_155db7a4-4b12-473f-8c4d-4b64a3714284_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_155db7a4-4b12-473f-8c4d-4b64a3714284" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_155db7a4-4b12-473f-8c4d-4b64a3714284_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_d12dd7c2-f066-4430-9b28-8b34be3143f0" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_155db7a4-4b12-473f-8c4d-4b64a3714284" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_d12dd7c2-f066-4430-9b28-8b34be3143f0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_AllAcquisitionsMember_b7e599f4-fc53-4237-9153-0ce8f88d85bd" xlink:href="mtz-20220331.xsd#mtz_AllAcquisitionsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_d12dd7c2-f066-4430-9b28-8b34be3143f0" xlink:to="loc_mtz_AllAcquisitionsMember_b7e599f4-fc53-4237-9153-0ce8f88d85bd" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mastec.com/role/FairValueofFinancialInstrumentsEquityInvestmentsNarrativeDetails" xlink:type="simple" xlink:href="mtz-20220331.xsd#FairValueofFinancialInstrumentsEquityInvestmentsNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.mastec.com/role/FairValueofFinancialInstrumentsEquityInvestmentsNarrativeDetails" xlink:type="extended" id="i1f83c88b9b93465584d417fada0cdadf_FairValueofFinancialInstrumentsEquityInvestmentsNarrativeDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_3f295ca5-266b-4309-9d58-596b190022b7" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityMethodInvestmentOwnershipPercentage_13c6dc60-56fa-4a6f-badd-f32dc8191ca1" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EquityMethodInvestmentOwnershipPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_3f295ca5-266b-4309-9d58-596b190022b7" xlink:to="loc_us-gaap_EquityMethodInvestmentOwnershipPercentage_13c6dc60-56fa-4a6f-badd-f32dc8191ca1" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_EquityInvestmentWithoutReadilyDeterminableFairValueOwnershipPercentage_3f5e44f8-d912-4309-86bf-337de3a13ef8" xlink:href="mtz-20220331.xsd#mtz_EquityInvestmentWithoutReadilyDeterminableFairValueOwnershipPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_3f295ca5-266b-4309-9d58-596b190022b7" xlink:to="loc_mtz_EquityInvestmentWithoutReadilyDeterminableFairValueOwnershipPercentage_3f5e44f8-d912-4309-86bf-337de3a13ef8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentsInAffiliatesSubsidiariesAssociatesAndJointVentures_46bf2cd9-cd1a-420f-99c2-8db121982c6e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InvestmentsInAffiliatesSubsidiariesAssociatesAndJointVentures"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_3f295ca5-266b-4309-9d58-596b190022b7" xlink:to="loc_us-gaap_InvestmentsInAffiliatesSubsidiariesAssociatesAndJointVentures_46bf2cd9-cd1a-420f-99c2-8db121982c6e" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquitySecuritiesWithoutReadilyDeterminableFairValueAmount_d0263fc7-3753-41ad-9c2e-26dd652fdf18" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EquitySecuritiesWithoutReadilyDeterminableFairValueAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_3f295ca5-266b-4309-9d58-596b190022b7" xlink:to="loc_us-gaap_EquitySecuritiesWithoutReadilyDeterminableFairValueAmount_d0263fc7-3753-41ad-9c2e-26dd652fdf18" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquitySecuritiesWithoutReadilyDeterminableFairValueImpairmentLossAnnualAmount_4050dacb-483a-4efa-bb7f-03bfe9ac1f3e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EquitySecuritiesWithoutReadilyDeterminableFairValueImpairmentLossAnnualAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_3f295ca5-266b-4309-9d58-596b190022b7" xlink:to="loc_us-gaap_EquitySecuritiesWithoutReadilyDeterminableFairValueImpairmentLossAnnualAmount_4050dacb-483a-4efa-bb7f-03bfe9ac1f3e" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_a0593016-1171-4000-84a6-e4e914b79a06" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_3f295ca5-266b-4309-9d58-596b190022b7" xlink:to="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_a0593016-1171-4000-84a6-e4e914b79a06" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_fddef416-786b-430e-9778-b6c85fcea6f5" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_a0593016-1171-4000-84a6-e4e914b79a06" xlink:to="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_fddef416-786b-430e-9778-b6c85fcea6f5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_EquityMethodInvesteeNameDomain_fddef416-786b-430e-9778-b6c85fcea6f5_default" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_EquityMethodInvesteeNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_fddef416-786b-430e-9778-b6c85fcea6f5" xlink:to="loc_srt_EquityMethodInvesteeNameDomain_fddef416-786b-430e-9778-b6c85fcea6f5_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_EquityMethodInvesteeNameDomain_c81e52e4-53b6-4d3d-b41b-db10420cd5e9" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_EquityMethodInvesteeNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_fddef416-786b-430e-9778-b6c85fcea6f5" xlink:to="loc_srt_EquityMethodInvesteeNameDomain_c81e52e4-53b6-4d3d-b41b-db10420cd5e9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_WahaJVsMember_fcfe4652-8e12-4271-a142-073e185456ab" xlink:href="mtz-20220331.xsd#mtz_WahaJVsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_c81e52e4-53b6-4d3d-b41b-db10420cd5e9" xlink:to="loc_mtz_WahaJVsMember_fcfe4652-8e12-4271-a142-073e185456ab" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_CrossCountryInfrastructureMember_76ace528-d58b-406d-b7b4-a9c8e7e4846b" xlink:href="mtz-20220331.xsd#mtz_CrossCountryInfrastructureMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_c81e52e4-53b6-4d3d-b41b-db10420cd5e9" xlink:to="loc_mtz_CrossCountryInfrastructureMember_76ace528-d58b-406d-b7b4-a9c8e7e4846b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_FMTechMember_73594b08-e988-4cfa-9bb7-98db8735b715" xlink:href="mtz-20220331.xsd#mtz_FMTechMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_c81e52e4-53b6-4d3d-b41b-db10420cd5e9" xlink:to="loc_mtz_FMTechMember_73594b08-e988-4cfa-9bb7-98db8735b715" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mastec.com/role/FairValueofFinancialInstrumentsTheWahaJVsNarrativeDetails" xlink:type="simple" xlink:href="mtz-20220331.xsd#FairValueofFinancialInstrumentsTheWahaJVsNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.mastec.com/role/FairValueofFinancialInstrumentsTheWahaJVsNarrativeDetails" xlink:type="extended" id="i0dee93aeb73840df8847ec9bfa1a8efc_FairValueofFinancialInstrumentsTheWahaJVsNarrativeDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_7cf6c5de-6d80-4746-a578-2bab4307d20a" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromEquityMethodInvestments_113547bd-c5eb-4316-a72c-582010fda623" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeLossFromEquityMethodInvestments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_7cf6c5de-6d80-4746-a578-2bab4307d20a" xlink:to="loc_us-gaap_IncomeLossFromEquityMethodInvestments_113547bd-c5eb-4316-a72c-582010fda623" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityMethodInvestmentDividendsOrDistributions_b2fcc418-44c6-489d-a8b2-c617d52bffc0" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EquityMethodInvestmentDividendsOrDistributions"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_7cf6c5de-6d80-4746-a578-2bab4307d20a" xlink:to="loc_us-gaap_EquityMethodInvestmentDividendsOrDistributions_b2fcc418-44c6-489d-a8b2-c617d52bffc0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsUndistributedEarningsFromEquityMethodInvestees_f85e41e4-3d25-415d-8c7f-263f01ef2f15" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RetainedEarningsUndistributedEarningsFromEquityMethodInvestees"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_7cf6c5de-6d80-4746-a578-2bab4307d20a" xlink:to="loc_us-gaap_RetainedEarningsUndistributedEarningsFromEquityMethodInvestees_f85e41e4-3d25-415d-8c7f-263f01ef2f15" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentsInAffiliatesSubsidiariesAssociatesAndJointVentures_8f2e6a4d-74f9-44d5-a8df-744b24102878" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InvestmentsInAffiliatesSubsidiariesAssociatesAndJointVentures"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_7cf6c5de-6d80-4746-a578-2bab4307d20a" xlink:to="loc_us-gaap_InvestmentsInAffiliatesSubsidiariesAssociatesAndJointVentures_8f2e6a4d-74f9-44d5-a8df-744b24102878" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationBeforeTax_a466e4e9-524b-463b-a4ce-8b133812c9f3" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationBeforeTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_7cf6c5de-6d80-4746-a578-2bab4307d20a" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationBeforeTax_a466e4e9-524b-463b-a4ce-8b133812c9f3" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTax_deabda0f-f745-42c1-bd1f-8b8bf7722502" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_7cf6c5de-6d80-4746-a578-2bab4307d20a" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTax_deabda0f-f745-42c1-bd1f-8b8bf7722502" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_5e2f4578-5179-4c28-89ed-613faad740b2" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_7cf6c5de-6d80-4746-a578-2bab4307d20a" xlink:to="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_5e2f4578-5179-4c28-89ed-613faad740b2" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_57fc22cc-6890-4173-962c-22816e9f5872" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_5e2f4578-5179-4c28-89ed-613faad740b2" xlink:to="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_57fc22cc-6890-4173-962c-22816e9f5872" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_EquityMethodInvesteeNameDomain_57fc22cc-6890-4173-962c-22816e9f5872_default" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_EquityMethodInvesteeNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_57fc22cc-6890-4173-962c-22816e9f5872" xlink:to="loc_srt_EquityMethodInvesteeNameDomain_57fc22cc-6890-4173-962c-22816e9f5872_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_EquityMethodInvesteeNameDomain_ba6e5f3a-e17d-4c89-ab64-2779d1433f85" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_EquityMethodInvesteeNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_57fc22cc-6890-4173-962c-22816e9f5872" xlink:to="loc_srt_EquityMethodInvesteeNameDomain_ba6e5f3a-e17d-4c89-ab64-2779d1433f85" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_WahaJVsMember_8ac8c914-5955-487a-9056-25845857abc2" xlink:href="mtz-20220331.xsd#mtz_WahaJVsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_ba6e5f3a-e17d-4c89-ab64-2779d1433f85" xlink:to="loc_mtz_WahaJVsMember_8ac8c914-5955-487a-9056-25845857abc2" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mastec.com/role/FairValueofFinancialInstrumentsOtherInvestmentsAVCTNarrativeDetails" xlink:type="simple" xlink:href="mtz-20220331.xsd#FairValueofFinancialInstrumentsOtherInvestmentsAVCTNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.mastec.com/role/FairValueofFinancialInstrumentsOtherInvestmentsAVCTNarrativeDetails" xlink:type="extended" id="id92c7d119e92415b9195ac3da6d267f5_FairValueofFinancialInstrumentsOtherInvestmentsAVCTNarrativeDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_4c8c9322-456f-4765-8fd7-db3fe5c03de6" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_EquityInvestmentOwnershipPercentage_e1f4eb95-14ec-4ea2-a820-01f9ec96eb9c" xlink:href="mtz-20220331.xsd#mtz_EquityInvestmentOwnershipPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_4c8c9322-456f-4765-8fd7-db3fe5c03de6" xlink:to="loc_mtz_EquityInvestmentOwnershipPercentage_e1f4eb95-14ec-4ea2-a820-01f9ec96eb9c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_BeneficialOwnershipInterestPercentage_9c3d1f37-69e3-4bb6-b0e8-1ffe75b94a48" xlink:href="mtz-20220331.xsd#mtz_BeneficialOwnershipInterestPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_4c8c9322-456f-4765-8fd7-db3fe5c03de6" xlink:to="loc_mtz_BeneficialOwnershipInterestPercentage_9c3d1f37-69e3-4bb6-b0e8-1ffe75b94a48" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquitySecuritiesFvNi_e7238e6d-e0da-4b5f-b12d-23bf874dff05" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EquitySecuritiesFvNi"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_4c8c9322-456f-4765-8fd7-db3fe5c03de6" xlink:to="loc_us-gaap_EquitySecuritiesFvNi_e7238e6d-e0da-4b5f-b12d-23bf874dff05" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquitySecuritiesFvNiCost_ee2092da-00a4-4532-9da0-18147f48b103" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EquitySecuritiesFvNiCost"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_4c8c9322-456f-4765-8fd7-db3fe5c03de6" xlink:to="loc_us-gaap_EquitySecuritiesFvNiCost_ee2092da-00a4-4532-9da0-18147f48b103" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquitySecuritiesFvNiUnrealizedGainLoss_871e5415-77d1-4598-8c7a-1b7f2d783cad" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EquitySecuritiesFvNiUnrealizedGainLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_4c8c9322-456f-4765-8fd7-db3fe5c03de6" xlink:to="loc_us-gaap_EquitySecuritiesFvNiUnrealizedGainLoss_871e5415-77d1-4598-8c7a-1b7f2d783cad" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentBeforeTax_18ca8162-b0a3-4b95-9693-47531147f884" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentBeforeTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_4c8c9322-456f-4765-8fd7-db3fe5c03de6" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentBeforeTax_18ca8162-b0a3-4b95-9693-47531147f884" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax_c98bab57-1eaf-4342-81b2-7f9d9e0b74ed" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_4c8c9322-456f-4765-8fd7-db3fe5c03de6" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax_c98bab57-1eaf-4342-81b2-7f9d9e0b74ed" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_4178ac08-72dd-4664-818e-b5e8d9461070" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_4c8c9322-456f-4765-8fd7-db3fe5c03de6" xlink:to="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_4178ac08-72dd-4664-818e-b5e8d9461070" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_25687bef-8e7f-484a-9377-d4be04f1caf1" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_4178ac08-72dd-4664-818e-b5e8d9461070" xlink:to="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_25687bef-8e7f-484a-9377-d4be04f1caf1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_EquityMethodInvesteeNameDomain_25687bef-8e7f-484a-9377-d4be04f1caf1_default" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_EquityMethodInvesteeNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_25687bef-8e7f-484a-9377-d4be04f1caf1" xlink:to="loc_srt_EquityMethodInvesteeNameDomain_25687bef-8e7f-484a-9377-d4be04f1caf1_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_EquityMethodInvesteeNameDomain_85551124-3898-44e5-8686-e24ac8110251" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_EquityMethodInvesteeNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_25687bef-8e7f-484a-9377-d4be04f1caf1" xlink:to="loc_srt_EquityMethodInvesteeNameDomain_85551124-3898-44e5-8686-e24ac8110251" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_AVCTMember_2f16440d-c65b-4c3e-8b37-c1f283821bba" xlink:href="mtz-20220331.xsd#mtz_AVCTMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_85551124-3898-44e5-8686-e24ac8110251" xlink:to="loc_mtz_AVCTMember_2f16440d-c65b-4c3e-8b37-c1f283821bba" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialInstrumentAxis_47c6832c-069a-4595-b033-1d324da37cd8" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinancialInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_4178ac08-72dd-4664-818e-b5e8d9461070" xlink:to="loc_us-gaap_FinancialInstrumentAxis_47c6832c-069a-4595-b033-1d324da37cd8" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_47c6832c-069a-4595-b033-1d324da37cd8_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancialInstrumentAxis_47c6832c-069a-4595-b033-1d324da37cd8" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_47c6832c-069a-4595-b033-1d324da37cd8_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_e31b3431-be8b-4fb1-8053-3d62e8a20141" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancialInstrumentAxis_47c6832c-069a-4595-b033-1d324da37cd8" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_e31b3431-be8b-4fb1-8053-3d62e8a20141" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockMember_3fdfd96d-1dc6-4aac-94c1-80c3ba80e0ba" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CommonStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_e31b3431-be8b-4fb1-8053-3d62e8a20141" xlink:to="loc_us-gaap_CommonStockMember_3fdfd96d-1dc6-4aac-94c1-80c3ba80e0ba" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mastec.com/role/FairValueofFinancialInstrumentsOtherInvestmentsOtherEquityMethodInvestmentsNarrativeDetails" xlink:type="simple" xlink:href="mtz-20220331.xsd#FairValueofFinancialInstrumentsOtherInvestmentsOtherEquityMethodInvestmentsNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.mastec.com/role/FairValueofFinancialInstrumentsOtherInvestmentsOtherEquityMethodInvestmentsNarrativeDetails" xlink:type="extended" id="i0ae584c5d838490fbe72b68362911887_FairValueofFinancialInstrumentsOtherInvestmentsOtherEquityMethodInvestmentsNarrativeDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_42ffe031-1dcf-4567-9080-d989f513acb6" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractualObligation_7fa8793b-bb81-41b1-9c3f-2f0d416df66e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ContractualObligation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_42ffe031-1dcf-4567-9080-d989f513acb6" xlink:to="loc_us-gaap_ContractualObligation_7fa8793b-bb81-41b1-9c3f-2f0d416df66e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityMethodInvestmentOwnershipPercentage_77db12ed-c7f0-4d3f-aa1e-81daac732a36" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EquityMethodInvestmentOwnershipPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_42ffe031-1dcf-4567-9080-d989f513acb6" xlink:to="loc_us-gaap_EquityMethodInvestmentOwnershipPercentage_77db12ed-c7f0-4d3f-aa1e-81daac732a36" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireEquityMethodInvestments_1e88b24a-5b79-4faf-b60f-9d20389c713a" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PaymentsToAcquireEquityMethodInvestments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_42ffe031-1dcf-4567-9080-d989f513acb6" xlink:to="loc_us-gaap_PaymentsToAcquireEquityMethodInvestments_1e88b24a-5b79-4faf-b60f-9d20389c713a" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromEquityMethodInvestments_ca6a0c3d-e6c2-462e-9d40-28cf680d4f7f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeLossFromEquityMethodInvestments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_42ffe031-1dcf-4567-9080-d989f513acb6" xlink:to="loc_us-gaap_IncomeLossFromEquityMethodInvestments_ca6a0c3d-e6c2-462e-9d40-28cf680d4f7f" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentsInAffiliatesSubsidiariesAssociatesAndJointVentures_8e58564a-678e-4a6e-b6a3-16a741357dbe" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InvestmentsInAffiliatesSubsidiariesAssociatesAndJointVentures"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_42ffe031-1dcf-4567-9080-d989f513acb6" xlink:to="loc_us-gaap_InvestmentsInAffiliatesSubsidiariesAssociatesAndJointVentures_8e58564a-678e-4a6e-b6a3-16a741357dbe" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionExpensesFromTransactionsWithRelatedParty_32a016f3-2516-492f-9098-727b8c0e6af6" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RelatedPartyTransactionExpensesFromTransactionsWithRelatedParty"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_42ffe031-1dcf-4567-9080-d989f513acb6" xlink:to="loc_us-gaap_RelatedPartyTransactionExpensesFromTransactionsWithRelatedParty_32a016f3-2516-492f-9098-727b8c0e6af6" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableRelatedPartiesCurrentAndNoncurrent_9620b5f5-98e7-453c-b4a2-862d6b72fbd2" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AccountsPayableRelatedPartiesCurrentAndNoncurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_42ffe031-1dcf-4567-9080-d989f513acb6" xlink:to="loc_us-gaap_AccountsPayableRelatedPartiesCurrentAndNoncurrent_9620b5f5-98e7-453c-b4a2-862d6b72fbd2" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableRelatedParties_7163218c-f1f5-4621-a3d9-bf61a13efd96" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AccountsReceivableRelatedParties"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_42ffe031-1dcf-4567-9080-d989f513acb6" xlink:to="loc_us-gaap_AccountsReceivableRelatedParties_7163218c-f1f5-4621-a3d9-bf61a13efd96" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForAdvanceToAffiliate_ef17bd31-c306-44cd-aeec-3d76c29a571c" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PaymentsForAdvanceToAffiliate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_42ffe031-1dcf-4567-9080-d989f513acb6" xlink:to="loc_us-gaap_PaymentsForAdvanceToAffiliate_ef17bd31-c306-44cd-aeec-3d76c29a571c" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableRevolving_0fd61561-8f5d-4594-a0ac-884839c9d820" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinancingReceivableRevolving"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_42ffe031-1dcf-4567-9080-d989f513acb6" xlink:to="loc_us-gaap_FinancingReceivableRevolving_0fd61561-8f5d-4594-a0ac-884839c9d820" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_14293bbd-1a31-4292-aba6-979c0de904ec" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_42ffe031-1dcf-4567-9080-d989f513acb6" xlink:to="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_14293bbd-1a31-4292-aba6-979c0de904ec" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_f280f790-3f45-42cf-a981-f50171e0f336" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_14293bbd-1a31-4292-aba6-979c0de904ec" xlink:to="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_f280f790-3f45-42cf-a981-f50171e0f336" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_EquityMethodInvesteeNameDomain_f280f790-3f45-42cf-a981-f50171e0f336_default" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_EquityMethodInvesteeNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_f280f790-3f45-42cf-a981-f50171e0f336" xlink:to="loc_srt_EquityMethodInvesteeNameDomain_f280f790-3f45-42cf-a981-f50171e0f336_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_EquityMethodInvesteeNameDomain_be45adac-f56b-44f5-8e80-2c9398582759" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_EquityMethodInvesteeNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_f280f790-3f45-42cf-a981-f50171e0f336" xlink:to="loc_srt_EquityMethodInvesteeNameDomain_be45adac-f56b-44f5-8e80-2c9398582759" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_ConfluenceMember_5ee1b60a-f78e-43b5-9428-cbce5f710e36" xlink:href="mtz-20220331.xsd#mtz_ConfluenceMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_be45adac-f56b-44f5-8e80-2c9398582759" xlink:to="loc_mtz_ConfluenceMember_5ee1b60a-f78e-43b5-9428-cbce5f710e36" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_FMTechMember_a8f014a9-993e-415f-a12e-9b113d33e5eb" xlink:href="mtz-20220331.xsd#mtz_FMTechMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_be45adac-f56b-44f5-8e80-2c9398582759" xlink:to="loc_mtz_FMTechMember_a8f014a9-993e-415f-a12e-9b113d33e5eb" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_TelecommunicationsEquityMethodInvesteesMember_28d9883f-c0db-498a-a153-0c22887764f1" xlink:href="mtz-20220331.xsd#mtz_TelecommunicationsEquityMethodInvesteesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_be45adac-f56b-44f5-8e80-2c9398582759" xlink:to="loc_mtz_TelecommunicationsEquityMethodInvesteesMember_28d9883f-c0db-498a-a153-0c22887764f1" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_CertainEntitiesEachAccountedForUsingEquityMethodInvestmentsMember_b63474e1-4a88-40c9-9592-32b866a905e8" xlink:href="mtz-20220331.xsd#mtz_CertainEntitiesEachAccountedForUsingEquityMethodInvestmentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_be45adac-f56b-44f5-8e80-2c9398582759" xlink:to="loc_mtz_CertainEntitiesEachAccountedForUsingEquityMethodInvestmentsMember_b63474e1-4a88-40c9-9592-32b866a905e8" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_21666863-e6ea-4123-8cc2-b3475360ad4f" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_14293bbd-1a31-4292-aba6-979c0de904ec" xlink:to="loc_srt_RangeAxis_21666863-e6ea-4123-8cc2-b3475360ad4f" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_21666863-e6ea-4123-8cc2-b3475360ad4f_default" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_21666863-e6ea-4123-8cc2-b3475360ad4f" xlink:to="loc_srt_RangeMember_21666863-e6ea-4123-8cc2-b3475360ad4f_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_f5e4bede-e355-4132-be9c-69494180f02e" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_21666863-e6ea-4123-8cc2-b3475360ad4f" xlink:to="loc_srt_RangeMember_f5e4bede-e355-4132-be9c-69494180f02e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_33faa5d3-fc19-47fc-a784-7a5ddc2fd693" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_f5e4bede-e355-4132-be9c-69494180f02e" xlink:to="loc_srt_MaximumMember_33faa5d3-fc19-47fc-a784-7a5ddc2fd693" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionAxis_59df8f95-95ac-4d43-9278-6451a7fb985b" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RelatedPartyTransactionAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_14293bbd-1a31-4292-aba6-979c0de904ec" xlink:to="loc_us-gaap_RelatedPartyTransactionAxis_59df8f95-95ac-4d43-9278-6451a7fb985b" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionDomain_59df8f95-95ac-4d43-9278-6451a7fb985b_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RelatedPartyTransactionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RelatedPartyTransactionAxis_59df8f95-95ac-4d43-9278-6451a7fb985b" xlink:to="loc_us-gaap_RelatedPartyTransactionDomain_59df8f95-95ac-4d43-9278-6451a7fb985b_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionDomain_a7a9aa86-ca50-48c1-82b5-95d516288cb7" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RelatedPartyTransactionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RelatedPartyTransactionAxis_59df8f95-95ac-4d43-9278-6451a7fb985b" xlink:to="loc_us-gaap_RelatedPartyTransactionDomain_a7a9aa86-ca50-48c1-82b5-95d516288cb7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_SubcontractingArrangementsMember_1e1be776-7023-40d0-bc4b-d345c28cb131" xlink:href="mtz-20220331.xsd#mtz_SubcontractingArrangementsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionDomain_a7a9aa86-ca50-48c1-82b5-95d516288cb7" xlink:to="loc_mtz_SubcontractingArrangementsMember_1e1be776-7023-40d0-bc4b-d345c28cb131" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_EmployeeLeasingAndAdvancedReceivableArrangementMember_b3d85f82-3db8-463d-ba55-9b032c8d5d4d" xlink:href="mtz-20220331.xsd#mtz_EmployeeLeasingAndAdvancedReceivableArrangementMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionDomain_a7a9aa86-ca50-48c1-82b5-95d516288cb7" xlink:to="loc_mtz_EmployeeLeasingAndAdvancedReceivableArrangementMember_b3d85f82-3db8-463d-ba55-9b032c8d5d4d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BalanceSheetLocationAxis_fb2b265c-e928-484b-80c4-bafa835ac87e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BalanceSheetLocationAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_14293bbd-1a31-4292-aba6-979c0de904ec" xlink:to="loc_us-gaap_BalanceSheetLocationAxis_fb2b265c-e928-484b-80c4-bafa835ac87e" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_fb2b265c-e928-484b-80c4-bafa835ac87e_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BalanceSheetLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BalanceSheetLocationAxis_fb2b265c-e928-484b-80c4-bafa835ac87e" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_fb2b265c-e928-484b-80c4-bafa835ac87e_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_60a3163f-ebe7-4cd5-8149-d2526f3d2893" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BalanceSheetLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BalanceSheetLocationAxis_fb2b265c-e928-484b-80c4-bafa835ac87e" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_60a3163f-ebe7-4cd5-8149-d2526f3d2893" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherCurrentAssetsMember_ff59a4d7-270b-47bd-8806-3b6b6faeac47" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherCurrentAssetsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_60a3163f-ebe7-4cd5-8149-d2526f3d2893" xlink:to="loc_us-gaap_OtherCurrentAssetsMember_ff59a4d7-270b-47bd-8806-3b6b6faeac47" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mastec.com/role/FairValueofFinancialInstrumentsSeniorNotesNarrativeDetails" xlink:type="simple" xlink:href="mtz-20220331.xsd#FairValueofFinancialInstrumentsSeniorNotesNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.mastec.com/role/FairValueofFinancialInstrumentsSeniorNotesNarrativeDetails" xlink:type="extended" id="ieaf7f097a4794af392f57a7432d8979a_FairValueofFinancialInstrumentsSeniorNotesNarrativeDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueDisclosureAssetAndLiabilityNotMeasuredAtFairValueLineItems_74a62a0b-6c0c-4e37-991e-5fab349db441" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FairValueDisclosureAssetAndLiabilityNotMeasuredAtFairValueLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_a8ec675b-5deb-4abd-8f5c-45d471341524" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DebtInstrumentInterestRateStatedPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueDisclosureAssetAndLiabilityNotMeasuredAtFairValueLineItems_74a62a0b-6c0c-4e37-991e-5fab349db441" xlink:to="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_a8ec675b-5deb-4abd-8f5c-45d471341524" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SeniorNotes_b5582533-1ed3-4b2e-8ac0-70c57155798f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SeniorNotes"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueDisclosureAssetAndLiabilityNotMeasuredAtFairValueLineItems_74a62a0b-6c0c-4e37-991e-5fab349db441" xlink:to="loc_us-gaap_SeniorNotes_b5582533-1ed3-4b2e-8ac0-70c57155798f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NotesPayableFairValueDisclosure_ea12a27d-fb23-4fb5-87f7-c85001279632" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NotesPayableFairValueDisclosure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueDisclosureAssetAndLiabilityNotMeasuredAtFairValueLineItems_74a62a0b-6c0c-4e37-991e-5fab349db441" xlink:to="loc_us-gaap_NotesPayableFairValueDisclosure_ea12a27d-fb23-4fb5-87f7-c85001279632" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueDisclosureOfAssetAndLiabilityNotMeasuredAtFairValueTable_4c5b6fdc-20a0-46d6-a06d-5ccb0af5ccc0" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FairValueDisclosureOfAssetAndLiabilityNotMeasuredAtFairValueTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueDisclosureAssetAndLiabilityNotMeasuredAtFairValueLineItems_74a62a0b-6c0c-4e37-991e-5fab349db441" xlink:to="loc_us-gaap_FairValueDisclosureOfAssetAndLiabilityNotMeasuredAtFairValueTable_4c5b6fdc-20a0-46d6-a06d-5ccb0af5ccc0" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_0f0ffe92-8017-4b51-ac83-76cff9eac923" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DebtInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueDisclosureOfAssetAndLiabilityNotMeasuredAtFairValueTable_4c5b6fdc-20a0-46d6-a06d-5ccb0af5ccc0" xlink:to="loc_us-gaap_DebtInstrumentAxis_0f0ffe92-8017-4b51-ac83-76cff9eac923" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_0f0ffe92-8017-4b51-ac83-76cff9eac923_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_0f0ffe92-8017-4b51-ac83-76cff9eac923" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_0f0ffe92-8017-4b51-ac83-76cff9eac923_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_f4947fa7-b71d-48a2-b032-13d415498c7d" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_0f0ffe92-8017-4b51-ac83-76cff9eac923" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_f4947fa7-b71d-48a2-b032-13d415498c7d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_FourPointFivePercentSeniorNotesMember_a6fe783e-1d8a-4060-8516-f76c0d100056" xlink:href="mtz-20220331.xsd#mtz_FourPointFivePercentSeniorNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_f4947fa7-b71d-48a2-b032-13d415498c7d" xlink:to="loc_mtz_FourPointFivePercentSeniorNotesMember_a6fe783e-1d8a-4060-8516-f76c0d100056" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_7afeb917-f0bc-4c8e-99fa-729895826511" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LongtermDebtTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueDisclosureOfAssetAndLiabilityNotMeasuredAtFairValueTable_4c5b6fdc-20a0-46d6-a06d-5ccb0af5ccc0" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_7afeb917-f0bc-4c8e-99fa-729895826511" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_7afeb917-f0bc-4c8e-99fa-729895826511_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_7afeb917-f0bc-4c8e-99fa-729895826511" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_7afeb917-f0bc-4c8e-99fa-729895826511_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_85fce4ec-54a8-4de7-a787-bfde4d77d609" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_7afeb917-f0bc-4c8e-99fa-729895826511" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_85fce4ec-54a8-4de7-a787-bfde4d77d609" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SeniorNotesMember_1a9c1918-32ac-40e4-846c-6d646d874102" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SeniorNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_85fce4ec-54a8-4de7-a787-bfde4d77d609" xlink:to="loc_us-gaap_SeniorNotesMember_1a9c1918-32ac-40e4-846c-6d646d874102" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mastec.com/role/AccountsReceivableNetofAllowanceandContractAssetsandLiabilitiesNarrativeDetails" xlink:type="simple" xlink:href="mtz-20220331.xsd#AccountsReceivableNetofAllowanceandContractAssetsandLiabilitiesNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.mastec.com/role/AccountsReceivableNetofAllowanceandContractAssetsandLiabilitiesNarrativeDetails" xlink:type="extended" id="i3a112013d8744747add28ffe58ef6489_AccountsReceivableNetofAllowanceandContractAssetsandLiabilitiesNarrativeDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_945aaf1d-0c23-4bd0-8b0d-7ca8710c3efa" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AccountsNotesAndLoansReceivableLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_RetainagePercentOfContractBillings_4e6145b5-c95b-42bc-aa8d-bf77d47950b9" xlink:href="mtz-20220331.xsd#mtz_RetainagePercentOfContractBillings"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_945aaf1d-0c23-4bd0-8b0d-7ca8710c3efa" xlink:to="loc_mtz_RetainagePercentOfContractBillings_4e6145b5-c95b-42bc-aa8d-bf77d47950b9" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProvisionForDoubtfulAccounts_db5b4899-56f2-4af2-ac74-e719cffc8ef3" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProvisionForDoubtfulAccounts"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_945aaf1d-0c23-4bd0-8b0d-7ca8710c3efa" xlink:to="loc_us-gaap_ProvisionForDoubtfulAccounts_db5b4899-56f2-4af2-ac74-e719cffc8ef3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityCurrent_81f25ae8-8123-4f27-b651-3b108e030ab5" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ContractWithCustomerLiabilityCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_945aaf1d-0c23-4bd0-8b0d-7ca8710c3efa" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityCurrent_81f25ae8-8123-4f27-b651-3b108e030ab5" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_ContractWithCustomerLiabilityDeferredRevenueCurrent_eb7dae44-f2ec-486b-8116-e2a1b70bb88b" xlink:href="mtz-20220331.xsd#mtz_ContractWithCustomerLiabilityDeferredRevenueCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_945aaf1d-0c23-4bd0-8b0d-7ca8710c3efa" xlink:to="loc_mtz_ContractWithCustomerLiabilityDeferredRevenueCurrent_eb7dae44-f2ec-486b-8116-e2a1b70bb88b" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityRevenueRecognized_3006202f-623b-4ba4-b63b-a426abd93718" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ContractWithCustomerLiabilityRevenueRecognized"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_945aaf1d-0c23-4bd0-8b0d-7ca8710c3efa" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityRevenueRecognized_3006202f-623b-4ba4-b63b-a426abd93718" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestRevenueExpenseNet_cbc90a1a-2016-4233-8769-51d393eee4e9" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InterestRevenueExpenseNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_945aaf1d-0c23-4bd0-8b0d-7ca8710c3efa" xlink:to="loc_us-gaap_InterestRevenueExpenseNet_cbc90a1a-2016-4233-8769-51d393eee4e9" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_181636f5-7879-41e9-9a5d-b296d68b9f05" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_945aaf1d-0c23-4bd0-8b0d-7ca8710c3efa" xlink:to="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_181636f5-7879-41e9-9a5d-b296d68b9f05" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_f98ec6b7-97ce-4546-820c-95fa1218f5b4" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_181636f5-7879-41e9-9a5d-b296d68b9f05" xlink:to="loc_srt_RangeAxis_f98ec6b7-97ce-4546-820c-95fa1218f5b4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_f98ec6b7-97ce-4546-820c-95fa1218f5b4_default" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_f98ec6b7-97ce-4546-820c-95fa1218f5b4" xlink:to="loc_srt_RangeMember_f98ec6b7-97ce-4546-820c-95fa1218f5b4_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_3f63882b-7afb-47ef-8dc5-ab366a058ca8" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_f98ec6b7-97ce-4546-820c-95fa1218f5b4" xlink:to="loc_srt_RangeMember_3f63882b-7afb-47ef-8dc5-ab366a058ca8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_70e20c7f-2bae-4f88-b145-2cb7cd97e9db" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_MinimumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_3f63882b-7afb-47ef-8dc5-ab366a058ca8" xlink:to="loc_srt_MinimumMember_70e20c7f-2bae-4f88-b145-2cb7cd97e9db" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_43a3a09c-6f03-47eb-a840-86ae2e8bfd27" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_3f63882b-7afb-47ef-8dc5-ab366a058ca8" xlink:to="loc_srt_MaximumMember_43a3a09c-6f03-47eb-a840-86ae2e8bfd27" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis_755f4b84-fc13-4256-864a-e47c8adec389" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_181636f5-7879-41e9-9a5d-b296d68b9f05" xlink:to="loc_us-gaap_AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis_755f4b84-fc13-4256-864a-e47c8adec389" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReceivableTypeDomain_755f4b84-fc13-4256-864a-e47c8adec389_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ReceivableTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis_755f4b84-fc13-4256-864a-e47c8adec389" xlink:to="loc_us-gaap_ReceivableTypeDomain_755f4b84-fc13-4256-864a-e47c8adec389_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReceivableTypeDomain_9e105a86-a44b-475d-8d36-db5413ae6711" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ReceivableTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis_755f4b84-fc13-4256-864a-e47c8adec389" xlink:to="loc_us-gaap_ReceivableTypeDomain_9e105a86-a44b-475d-8d36-db5413ae6711" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceReceivablesMember_c59115de-ea6b-4c3d-a095-ff456f874f7d" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinanceReceivablesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ReceivableTypeDomain_9e105a86-a44b-475d-8d36-db5413ae6711" xlink:to="loc_us-gaap_FinanceReceivablesMember_c59115de-ea6b-4c3d-a095-ff456f874f7d" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mastec.com/role/PropertyandEquipmentNetScheduleofPropertyandEquipmentNetDetails" xlink:type="simple" xlink:href="mtz-20220331.xsd#PropertyandEquipmentNetScheduleofPropertyandEquipmentNetDetails"/>
  <link:definitionLink xlink:role="http://www.mastec.com/role/PropertyandEquipmentNetScheduleofPropertyandEquipmentNetDetails" xlink:type="extended" id="ia5d79056d0a041bfbfd67786b0c2fa5e_PropertyandEquipmentNetScheduleofPropertyandEquipmentNetDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentLineItems_971e1f37-ca55-4c83-a396-56c3abd974e7" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PropertyPlantAndEquipmentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetBeforeAccumulatedDepreciationAndAmortization_5a5c94da-983d-44c9-b443-c1edb71c885d" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetBeforeAccumulatedDepreciationAndAmortization"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_971e1f37-ca55-4c83-a396-56c3abd974e7" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetBeforeAccumulatedDepreciationAndAmortization_5a5c94da-983d-44c9-b443-c1edb71c885d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAccumulatedDepreciationAndAmortization_d9f055a3-6531-4a8e-bcaa-1dcf85152629" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAccumulatedDepreciationAndAmortization"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_971e1f37-ca55-4c83-a396-56c3abd974e7" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAccumulatedDepreciationAndAmortization_d9f055a3-6531-4a8e-bcaa-1dcf85152629" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization_70f83076-ef8b-4b54-abd7-1eb64a7ae073" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_971e1f37-ca55-4c83-a396-56c3abd974e7" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization_70f83076-ef8b-4b54-abd7-1eb64a7ae073" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_7bd7a240-8db5-4a23-a175-ecabe8a2e2c1" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ScheduleOfPropertyPlantAndEquipmentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_971e1f37-ca55-4c83-a396-56c3abd974e7" xlink:to="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_7bd7a240-8db5-4a23-a175-ecabe8a2e2c1" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_b4a35e3c-0b14-423e-b698-5dfff97e03fe" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PropertyPlantAndEquipmentByTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_7bd7a240-8db5-4a23-a175-ecabe8a2e2c1" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_b4a35e3c-0b14-423e-b698-5dfff97e03fe" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_b4a35e3c-0b14-423e-b698-5dfff97e03fe_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_b4a35e3c-0b14-423e-b698-5dfff97e03fe" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_b4a35e3c-0b14-423e-b698-5dfff97e03fe_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_7e2909a4-eae9-4ad8-9064-8e572a66c613" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_b4a35e3c-0b14-423e-b698-5dfff97e03fe" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_7e2909a4-eae9-4ad8-9064-8e572a66c613" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LandMember_d3e5adb2-d82f-4ee6-996b-0cf727c00e18" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LandMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_7e2909a4-eae9-4ad8-9064-8e572a66c613" xlink:to="loc_us-gaap_LandMember_d3e5adb2-d82f-4ee6-996b-0cf727c00e18" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BuildingAndBuildingImprovementsMember_1a43fd3d-5410-4e54-af49-2e0a157a22a0" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BuildingAndBuildingImprovementsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_7e2909a4-eae9-4ad8-9064-8e572a66c613" xlink:to="loc_us-gaap_BuildingAndBuildingImprovementsMember_1a43fd3d-5410-4e54-af49-2e0a157a22a0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MachineryAndEquipmentMember_50db566c-cfa0-4a24-b4d8-b5b122510c8c" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_MachineryAndEquipmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_7e2909a4-eae9-4ad8-9064-8e572a66c613" xlink:to="loc_us-gaap_MachineryAndEquipmentMember_50db566c-cfa0-4a24-b4d8-b5b122510c8c" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FurnitureAndFixturesMember_5f2f2592-b1a4-4119-8864-3f815190e845" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FurnitureAndFixturesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_7e2909a4-eae9-4ad8-9064-8e572a66c613" xlink:to="loc_us-gaap_FurnitureAndFixturesMember_5f2f2592-b1a4-4119-8864-3f815190e845" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConstructionInProgressMember_f61ca904-7ce2-4e9d-94fb-25d81e87f1b8" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ConstructionInProgressMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_7e2909a4-eae9-4ad8-9064-8e572a66c613" xlink:to="loc_us-gaap_ConstructionInProgressMember_f61ca904-7ce2-4e9d-94fb-25d81e87f1b8" xlink:type="arc" order="4"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mastec.com/role/DebtScheduleofCarryingValuesofDebtDetails" xlink:type="simple" xlink:href="mtz-20220331.xsd#DebtScheduleofCarryingValuesofDebtDetails"/>
  <link:definitionLink xlink:role="http://www.mastec.com/role/DebtScheduleofCarryingValuesofDebtDetails" xlink:type="extended" id="i21684680e7544d8faa2a453042b94fb8_DebtScheduleofCarryingValuesofDebtDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentLineItems_b3c24ecf-cf19-4ab0-936e-c770b16aa468" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DebtInstrumentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentCarryingAmount_d57d2c13-de3b-4f19-8de2-35ca66e9b3ea" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DebtInstrumentCarryingAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_b3c24ecf-cf19-4ab0-936e-c770b16aa468" xlink:to="loc_us-gaap_DebtInstrumentCarryingAmount_d57d2c13-de3b-4f19-8de2-35ca66e9b3ea" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_FinanceLeaseAndOtherObligations_00df406a-afa2-477e-a344-058d73360bf9" xlink:href="mtz-20220331.xsd#mtz_FinanceLeaseAndOtherObligations"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_b3c24ecf-cf19-4ab0-936e-c770b16aa468" xlink:to="loc_mtz_FinanceLeaseAndOtherObligations_00df406a-afa2-477e-a344-058d73360bf9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_LongTermDebtAndFinanceLeaseObligationsIncludingCurrentMaturitiesGross_96b39ca2-cded-42a2-94c9-08d256541fec" xlink:href="mtz-20220331.xsd#mtz_LongTermDebtAndFinanceLeaseObligationsIncludingCurrentMaturitiesGross"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_b3c24ecf-cf19-4ab0-936e-c770b16aa468" xlink:to="loc_mtz_LongTermDebtAndFinanceLeaseObligationsIncludingCurrentMaturitiesGross_96b39ca2-cded-42a2-94c9-08d256541fec" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredFinanceCostsNet_baadcf20-c121-4a89-b998-5ab8a9146fcd" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DeferredFinanceCostsNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_b3c24ecf-cf19-4ab0-936e-c770b16aa468" xlink:to="loc_us-gaap_DeferredFinanceCostsNet_baadcf20-c121-4a89-b998-5ab8a9146fcd" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtAndCapitalLeaseObligationsIncludingCurrentMaturities_da0dd500-5155-4451-9bd8-64110dad54b2" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LongTermDebtAndCapitalLeaseObligationsIncludingCurrentMaturities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_b3c24ecf-cf19-4ab0-936e-c770b16aa468" xlink:to="loc_us-gaap_LongTermDebtAndCapitalLeaseObligationsIncludingCurrentMaturities_da0dd500-5155-4451-9bd8-64110dad54b2" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtAndCapitalLeaseObligationsCurrent_0219dee8-62a5-4cfe-8ca0-fd4b0b1ca2f6" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LongTermDebtAndCapitalLeaseObligationsCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_b3c24ecf-cf19-4ab0-936e-c770b16aa468" xlink:to="loc_us-gaap_LongTermDebtAndCapitalLeaseObligationsCurrent_0219dee8-62a5-4cfe-8ca0-fd4b0b1ca2f6" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtAndCapitalLeaseObligations_1de5a075-a00f-4a59-a5f1-0659f6e06694" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LongTermDebtAndCapitalLeaseObligations"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_b3c24ecf-cf19-4ab0-936e-c770b16aa468" xlink:to="loc_us-gaap_LongTermDebtAndCapitalLeaseObligations_1de5a075-a00f-4a59-a5f1-0659f6e06694" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_2d5d5c36-6dc4-4898-9630-8f4e7b3156ef" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DebtInstrumentInterestRateStatedPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_b3c24ecf-cf19-4ab0-936e-c770b16aa468" xlink:to="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_2d5d5c36-6dc4-4898-9630-8f4e7b3156ef" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentTable_9f16d2fe-4ebc-44f8-b338-c18f307a189e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DebtInstrumentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_b3c24ecf-cf19-4ab0-936e-c770b16aa468" xlink:to="loc_us-gaap_DebtInstrumentTable_9f16d2fe-4ebc-44f8-b338-c18f307a189e" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_9cbc91db-bf86-4518-9c1e-f8da030967c3" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LongtermDebtTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_9f16d2fe-4ebc-44f8-b338-c18f307a189e" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_9cbc91db-bf86-4518-9c1e-f8da030967c3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_9cbc91db-bf86-4518-9c1e-f8da030967c3_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_9cbc91db-bf86-4518-9c1e-f8da030967c3" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_9cbc91db-bf86-4518-9c1e-f8da030967c3_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_b77f7354-6615-4c0b-931c-6467e84e5657" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_9cbc91db-bf86-4518-9c1e-f8da030967c3" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_b77f7354-6615-4c0b-931c-6467e84e5657" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DomesticLineOfCreditMember_a3fb36c9-e11b-44de-a5bf-783d48038972" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DomesticLineOfCreditMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_b77f7354-6615-4c0b-931c-6467e84e5657" xlink:to="loc_us-gaap_DomesticLineOfCreditMember_a3fb36c9-e11b-44de-a5bf-783d48038972" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SeniorNotesMember_9ed29171-64d2-4080-8c2a-da6f1b02b91d" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SeniorNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_b77f7354-6615-4c0b-931c-6467e84e5657" xlink:to="loc_us-gaap_SeniorNotesMember_9ed29171-64d2-4080-8c2a-da6f1b02b91d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityAxis_c07657a1-eae7-46e8-8348-0704c11cf7c4" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CreditFacilityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_9f16d2fe-4ebc-44f8-b338-c18f307a189e" xlink:to="loc_us-gaap_CreditFacilityAxis_c07657a1-eae7-46e8-8348-0704c11cf7c4" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityDomain_c07657a1-eae7-46e8-8348-0704c11cf7c4_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CreditFacilityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_CreditFacilityAxis_c07657a1-eae7-46e8-8348-0704c11cf7c4" xlink:to="loc_us-gaap_CreditFacilityDomain_c07657a1-eae7-46e8-8348-0704c11cf7c4_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityDomain_e75f84e2-ce23-4cb4-a02a-6ab4b17ebdd0" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CreditFacilityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_CreditFacilityAxis_c07657a1-eae7-46e8-8348-0704c11cf7c4" xlink:to="loc_us-gaap_CreditFacilityDomain_e75f84e2-ce23-4cb4-a02a-6ab4b17ebdd0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevolvingCreditFacilityMember_41b36204-3447-4e67-9841-db3ab5c18ce8" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RevolvingCreditFacilityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_e75f84e2-ce23-4cb4-a02a-6ab4b17ebdd0" xlink:to="loc_us-gaap_RevolvingCreditFacilityMember_41b36204-3447-4e67-9841-db3ab5c18ce8" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoansPayableMember_8906ff9f-a195-4d6a-bfb0-5cad7ca235aa" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LoansPayableMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_e75f84e2-ce23-4cb4-a02a-6ab4b17ebdd0" xlink:to="loc_us-gaap_LoansPayableMember_8906ff9f-a195-4d6a-bfb0-5cad7ca235aa" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_90ef51f4-dd5a-4987-98b9-7c5ca4e63c6a" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DebtInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_9f16d2fe-4ebc-44f8-b338-c18f307a189e" xlink:to="loc_us-gaap_DebtInstrumentAxis_90ef51f4-dd5a-4987-98b9-7c5ca4e63c6a" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_90ef51f4-dd5a-4987-98b9-7c5ca4e63c6a_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_90ef51f4-dd5a-4987-98b9-7c5ca4e63c6a" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_90ef51f4-dd5a-4987-98b9-7c5ca4e63c6a_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_6abb4aa7-bbff-46bf-8056-33b950fa2121" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_90ef51f4-dd5a-4987-98b9-7c5ca4e63c6a" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_6abb4aa7-bbff-46bf-8056-33b950fa2121" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_FourPointFivePercentSeniorNotesMember_0fc47334-c4da-400b-8783-976ecfa6eb3f" xlink:href="mtz-20220331.xsd#mtz_FourPointFivePercentSeniorNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_6abb4aa7-bbff-46bf-8056-33b950fa2121" xlink:to="loc_mtz_FourPointFivePercentSeniorNotesMember_0fc47334-c4da-400b-8783-976ecfa6eb3f" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mastec.com/role/DebtSeniorCreditFacilityNarrativeDetails" xlink:type="simple" xlink:href="mtz-20220331.xsd#DebtSeniorCreditFacilityNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.mastec.com/role/DebtSeniorCreditFacilityNarrativeDetails" xlink:type="extended" id="i15ade8312a9b411b95024987c756e862_DebtSeniorCreditFacilityNarrativeDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentLineItems_ffbc932c-e8dc-4c4f-b9f5-4dcdd06b10e9" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DebtInstrumentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_28b208a9-7f4c-479a-af1b-bb2c011d8c6b" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_ffbc932c-e8dc-4c4f-b9f5-4dcdd06b10e9" xlink:to="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_28b208a9-7f4c-479a-af1b-bb2c011d8c6b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityPeriodicPaymentPrincipal_1c316a47-eecd-4b5d-9479-e6c0ace1ca2b" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LineOfCreditFacilityPeriodicPaymentPrincipal"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_ffbc932c-e8dc-4c4f-b9f5-4dcdd06b10e9" xlink:to="loc_us-gaap_LineOfCreditFacilityPeriodicPaymentPrincipal_1c316a47-eecd-4b5d-9479-e6c0ace1ca2b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCredit_4c52c1cf-6276-4665-8522-e91d62af29aa" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LineOfCredit"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_ffbc932c-e8dc-4c4f-b9f5-4dcdd06b10e9" xlink:to="loc_us-gaap_LineOfCredit_4c52c1cf-6276-4665-8522-e91d62af29aa" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtWeightedAverageInterestRate_fc544d7c-518b-4a8d-89e4-b7bbff6469fb" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DebtWeightedAverageInterestRate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_ffbc932c-e8dc-4c4f-b9f5-4dcdd06b10e9" xlink:to="loc_us-gaap_DebtWeightedAverageInterestRate_fc544d7c-518b-4a8d-89e4-b7bbff6469fb" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityInterestRateAtPeriodEnd_8f6aae38-29f2-414d-b3f1-cc251751f82c" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LineOfCreditFacilityInterestRateAtPeriodEnd"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_ffbc932c-e8dc-4c4f-b9f5-4dcdd06b10e9" xlink:to="loc_us-gaap_LineOfCreditFacilityInterestRateAtPeriodEnd_8f6aae38-29f2-414d-b3f1-cc251751f82c" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LettersOfCreditOutstandingAmount_4d4f5704-dd09-4ea1-8363-972c5c637bd8" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LettersOfCreditOutstandingAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_ffbc932c-e8dc-4c4f-b9f5-4dcdd06b10e9" xlink:to="loc_us-gaap_LettersOfCreditOutstandingAmount_4d4f5704-dd09-4ea1-8363-972c5c637bd8" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityRemainingBorrowingCapacity_aad535ca-3d44-4316-9a1a-f79cddfac718" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LineOfCreditFacilityRemainingBorrowingCapacity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_ffbc932c-e8dc-4c4f-b9f5-4dcdd06b10e9" xlink:to="loc_us-gaap_LineOfCreditFacilityRemainingBorrowingCapacity_aad535ca-3d44-4316-9a1a-f79cddfac718" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityCapacityAvailableForSpecificPurposeOtherThanForTradePurchases_14a0412a-f9aa-4b33-9bfe-298a191c31ab" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LineOfCreditFacilityCapacityAvailableForSpecificPurposeOtherThanForTradePurchases"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_ffbc932c-e8dc-4c4f-b9f5-4dcdd06b10e9" xlink:to="loc_us-gaap_LineOfCreditFacilityCapacityAvailableForSpecificPurposeOtherThanForTradePurchases_14a0412a-f9aa-4b33-9bfe-298a191c31ab" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityUnusedCapacityCommitmentFeePercentage_bf7b2f02-e951-48ba-83f1-d1ffcb234f48" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LineOfCreditFacilityUnusedCapacityCommitmentFeePercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_ffbc932c-e8dc-4c4f-b9f5-4dcdd06b10e9" xlink:to="loc_us-gaap_LineOfCreditFacilityUnusedCapacityCommitmentFeePercentage_bf7b2f02-e951-48ba-83f1-d1ffcb234f48" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentTable_4ab773d7-ed36-4abe-b3b6-47a4f9d6364d" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DebtInstrumentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_ffbc932c-e8dc-4c4f-b9f5-4dcdd06b10e9" xlink:to="loc_us-gaap_DebtInstrumentTable_4ab773d7-ed36-4abe-b3b6-47a4f9d6364d" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_d8c4d241-3478-4c1a-bc36-cbdb0dc3c49a" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LongtermDebtTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_4ab773d7-ed36-4abe-b3b6-47a4f9d6364d" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_d8c4d241-3478-4c1a-bc36-cbdb0dc3c49a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_d8c4d241-3478-4c1a-bc36-cbdb0dc3c49a_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_d8c4d241-3478-4c1a-bc36-cbdb0dc3c49a" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_d8c4d241-3478-4c1a-bc36-cbdb0dc3c49a_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_c65a5664-8cb5-4c0a-a4b4-3fc1f543e0bd" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_d8c4d241-3478-4c1a-bc36-cbdb0dc3c49a" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_c65a5664-8cb5-4c0a-a4b4-3fc1f543e0bd" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DomesticLineOfCreditMember_6a1d5710-bfb6-4011-aea5-f854fea19e12" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DomesticLineOfCreditMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_c65a5664-8cb5-4c0a-a4b4-3fc1f543e0bd" xlink:to="loc_us-gaap_DomesticLineOfCreditMember_6a1d5710-bfb6-4011-aea5-f854fea19e12" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityAxis_80cd822c-8b8f-406c-b742-f3d8f41f2918" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CreditFacilityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_4ab773d7-ed36-4abe-b3b6-47a4f9d6364d" xlink:to="loc_us-gaap_CreditFacilityAxis_80cd822c-8b8f-406c-b742-f3d8f41f2918" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityDomain_80cd822c-8b8f-406c-b742-f3d8f41f2918_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CreditFacilityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_CreditFacilityAxis_80cd822c-8b8f-406c-b742-f3d8f41f2918" xlink:to="loc_us-gaap_CreditFacilityDomain_80cd822c-8b8f-406c-b742-f3d8f41f2918_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityDomain_6d09dcfa-01d1-4da0-b04a-9e2de33296f9" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CreditFacilityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_CreditFacilityAxis_80cd822c-8b8f-406c-b742-f3d8f41f2918" xlink:to="loc_us-gaap_CreditFacilityDomain_6d09dcfa-01d1-4da0-b04a-9e2de33296f9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevolvingCreditFacilityMember_56534098-8422-4be5-a1a4-8b5d015c6f79" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RevolvingCreditFacilityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_6d09dcfa-01d1-4da0-b04a-9e2de33296f9" xlink:to="loc_us-gaap_RevolvingCreditFacilityMember_56534098-8422-4be5-a1a4-8b5d015c6f79" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoansPayableMember_eec69765-102e-491b-990a-4bf0b4c1e9e5" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LoansPayableMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_6d09dcfa-01d1-4da0-b04a-9e2de33296f9" xlink:to="loc_us-gaap_LoansPayableMember_eec69765-102e-491b-990a-4bf0b4c1e9e5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_ForeignDenominationMember_0b4fc2c9-7717-459d-8b6e-c07c33855bc6" xlink:href="mtz-20220331.xsd#mtz_ForeignDenominationMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_6d09dcfa-01d1-4da0-b04a-9e2de33296f9" xlink:to="loc_mtz_ForeignDenominationMember_0b4fc2c9-7717-459d-8b6e-c07c33855bc6" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LetterOfCreditMember_a21bdf9f-adf3-4b43-a082-ce29002ee524" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LetterOfCreditMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_6d09dcfa-01d1-4da0-b04a-9e2de33296f9" xlink:to="loc_us-gaap_LetterOfCreditMember_a21bdf9f-adf3-4b43-a082-ce29002ee524" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_StatementScenarioAxis_e0bef6f9-109e-4ce5-8f93-8781253ed3b6" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_StatementScenarioAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_4ab773d7-ed36-4abe-b3b6-47a4f9d6364d" xlink:to="loc_srt_StatementScenarioAxis_e0bef6f9-109e-4ce5-8f93-8781253ed3b6" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ScenarioUnspecifiedDomain_e0bef6f9-109e-4ce5-8f93-8781253ed3b6_default" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_ScenarioUnspecifiedDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_StatementScenarioAxis_e0bef6f9-109e-4ce5-8f93-8781253ed3b6" xlink:to="loc_srt_ScenarioUnspecifiedDomain_e0bef6f9-109e-4ce5-8f93-8781253ed3b6_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ScenarioUnspecifiedDomain_6e43627b-caa3-461c-b59c-b68179d8ac77" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_ScenarioUnspecifiedDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_StatementScenarioAxis_e0bef6f9-109e-4ce5-8f93-8781253ed3b6" xlink:to="loc_srt_ScenarioUnspecifiedDomain_6e43627b-caa3-461c-b59c-b68179d8ac77" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ScenarioForecastMember_b8a9f081-4e92-4af8-a4a9-b9a72d181807" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_ScenarioForecastMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ScenarioUnspecifiedDomain_6e43627b-caa3-461c-b59c-b68179d8ac77" xlink:to="loc_srt_ScenarioForecastMember_b8a9f081-4e92-4af8-a4a9-b9a72d181807" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GuaranteeObligationsByNatureAxis_1c43ce9e-684f-4f39-9bf8-1a3b67beea97" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_GuaranteeObligationsByNatureAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_4ab773d7-ed36-4abe-b3b6-47a4f9d6364d" xlink:to="loc_us-gaap_GuaranteeObligationsByNatureAxis_1c43ce9e-684f-4f39-9bf8-1a3b67beea97" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GuaranteeObligationsNatureDomain_1c43ce9e-684f-4f39-9bf8-1a3b67beea97_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_GuaranteeObligationsNatureDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_GuaranteeObligationsByNatureAxis_1c43ce9e-684f-4f39-9bf8-1a3b67beea97" xlink:to="loc_us-gaap_GuaranteeObligationsNatureDomain_1c43ce9e-684f-4f39-9bf8-1a3b67beea97_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GuaranteeObligationsNatureDomain_9a5b01ab-cf52-40e1-aacc-81d0416adb26" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_GuaranteeObligationsNatureDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_GuaranteeObligationsByNatureAxis_1c43ce9e-684f-4f39-9bf8-1a3b67beea97" xlink:to="loc_us-gaap_GuaranteeObligationsNatureDomain_9a5b01ab-cf52-40e1-aacc-81d0416adb26" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StandbyLettersOfCreditMember_ea99fb0c-a1c1-410e-b98f-47e7e365c0ca" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StandbyLettersOfCreditMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsNatureDomain_9a5b01ab-cf52-40e1-aacc-81d0416adb26" xlink:to="loc_us-gaap_StandbyLettersOfCreditMember_ea99fb0c-a1c1-410e-b98f-47e7e365c0ca" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialStandbyLetterOfCreditMember_8aca8dbf-451b-46ba-b6d7-f27dc9100a0e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinancialStandbyLetterOfCreditMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsNatureDomain_9a5b01ab-cf52-40e1-aacc-81d0416adb26" xlink:to="loc_us-gaap_FinancialStandbyLetterOfCreditMember_8aca8dbf-451b-46ba-b6d7-f27dc9100a0e" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mastec.com/role/DebtOtherCreditFacilitiesNarrativeDetails" xlink:type="simple" xlink:href="mtz-20220331.xsd#DebtOtherCreditFacilitiesNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.mastec.com/role/DebtOtherCreditFacilitiesNarrativeDetails" xlink:type="extended" id="iaa2db69337cb475e8088b7db9ccdfe4a_DebtOtherCreditFacilitiesNarrativeDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentLineItems_f5277b23-2a5f-45ab-9d40-1280ab8c9676" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DebtInstrumentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentCarryingAmount_f4dfbca3-2ffe-47fb-88ae-1c78aa415e5d" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DebtInstrumentCarryingAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_f5277b23-2a5f-45ab-9d40-1280ab8c9676" xlink:to="loc_us-gaap_DebtInstrumentCarryingAmount_f4dfbca3-2ffe-47fb-88ae-1c78aa415e5d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LettersOfCreditOutstandingAmount_8d968e17-5ba1-49c6-aac1-8e6b21b20913" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LettersOfCreditOutstandingAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_f5277b23-2a5f-45ab-9d40-1280ab8c9676" xlink:to="loc_us-gaap_LettersOfCreditOutstandingAmount_8d968e17-5ba1-49c6-aac1-8e6b21b20913" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityInterestRateAtPeriodEnd_64c14fd7-ce97-447f-9319-26c6b7c6efbf" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LineOfCreditFacilityInterestRateAtPeriodEnd"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_f5277b23-2a5f-45ab-9d40-1280ab8c9676" xlink:to="loc_us-gaap_LineOfCreditFacilityInterestRateAtPeriodEnd_64c14fd7-ce97-447f-9319-26c6b7c6efbf" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentTable_f49cdbf6-ba86-4388-a63e-1d0e147e48f5" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DebtInstrumentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_f5277b23-2a5f-45ab-9d40-1280ab8c9676" xlink:to="loc_us-gaap_DebtInstrumentTable_f49cdbf6-ba86-4388-a63e-1d0e147e48f5" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GuaranteeObligationsByNatureAxis_f1461d9d-3be1-4a5f-877e-9c121216f861" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_GuaranteeObligationsByNatureAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_f49cdbf6-ba86-4388-a63e-1d0e147e48f5" xlink:to="loc_us-gaap_GuaranteeObligationsByNatureAxis_f1461d9d-3be1-4a5f-877e-9c121216f861" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GuaranteeObligationsNatureDomain_f1461d9d-3be1-4a5f-877e-9c121216f861_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_GuaranteeObligationsNatureDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_GuaranteeObligationsByNatureAxis_f1461d9d-3be1-4a5f-877e-9c121216f861" xlink:to="loc_us-gaap_GuaranteeObligationsNatureDomain_f1461d9d-3be1-4a5f-877e-9c121216f861_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GuaranteeObligationsNatureDomain_56e08e7f-6f15-4f14-9326-cc43640f4014" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_GuaranteeObligationsNatureDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_GuaranteeObligationsByNatureAxis_f1461d9d-3be1-4a5f-877e-9c121216f861" xlink:to="loc_us-gaap_GuaranteeObligationsNatureDomain_56e08e7f-6f15-4f14-9326-cc43640f4014" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StandbyLettersOfCreditMember_c7eed9ff-6b72-4b5c-8822-a1ef00a3b9a0" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StandbyLettersOfCreditMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsNatureDomain_56e08e7f-6f15-4f14-9326-cc43640f4014" xlink:to="loc_us-gaap_StandbyLettersOfCreditMember_c7eed9ff-6b72-4b5c-8822-a1ef00a3b9a0" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_bea3bd93-f5c2-4cc4-aa47-88fb0bbece16" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LongtermDebtTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_f49cdbf6-ba86-4388-a63e-1d0e147e48f5" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_bea3bd93-f5c2-4cc4-aa47-88fb0bbece16" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_bea3bd93-f5c2-4cc4-aa47-88fb0bbece16_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_bea3bd93-f5c2-4cc4-aa47-88fb0bbece16" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_bea3bd93-f5c2-4cc4-aa47-88fb0bbece16_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_e50e5805-ad3c-4989-9581-481694de2826" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_bea3bd93-f5c2-4cc4-aa47-88fb0bbece16" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_e50e5805-ad3c-4989-9581-481694de2826" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForeignLineOfCreditMember_ef025514-7b03-4f02-9f95-0c967007c4ab" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ForeignLineOfCreditMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_e50e5805-ad3c-4989-9581-481694de2826" xlink:to="loc_us-gaap_ForeignLineOfCreditMember_ef025514-7b03-4f02-9f95-0c967007c4ab" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditMember_26c80ed6-38c0-474c-ad80-c0ea676b99ca" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LineOfCreditMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_e50e5805-ad3c-4989-9581-481694de2826" xlink:to="loc_us-gaap_LineOfCreditMember_26c80ed6-38c0-474c-ad80-c0ea676b99ca" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityAxis_95337656-8080-4cc8-b905-4b6d093f2469" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CreditFacilityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_f49cdbf6-ba86-4388-a63e-1d0e147e48f5" xlink:to="loc_us-gaap_CreditFacilityAxis_95337656-8080-4cc8-b905-4b6d093f2469" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityDomain_95337656-8080-4cc8-b905-4b6d093f2469_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CreditFacilityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_CreditFacilityAxis_95337656-8080-4cc8-b905-4b6d093f2469" xlink:to="loc_us-gaap_CreditFacilityDomain_95337656-8080-4cc8-b905-4b6d093f2469_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityDomain_ecbd0c48-14aa-4db4-a8bb-ac9a72abc856" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CreditFacilityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_CreditFacilityAxis_95337656-8080-4cc8-b905-4b6d093f2469" xlink:to="loc_us-gaap_CreditFacilityDomain_ecbd0c48-14aa-4db4-a8bb-ac9a72abc856" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LetterOfCreditMember_0900a617-9b3e-4229-9f06-9c4f57fa6335" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LetterOfCreditMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_ecbd0c48-14aa-4db4-a8bb-ac9a72abc856" xlink:to="loc_us-gaap_LetterOfCreditMember_0900a617-9b3e-4229-9f06-9c4f57fa6335" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mastec.com/role/DebtDebtGuaranteesNarrativeDetails" xlink:type="simple" xlink:href="mtz-20220331.xsd#DebtDebtGuaranteesNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.mastec.com/role/DebtDebtGuaranteesNarrativeDetails" xlink:type="extended" id="i20848f687e8d4e37b56e52c17426faac_DebtDebtGuaranteesNarrativeDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentLineItems_9d1f4cb5-c8e6-4d01-8cb8-988d31f8b6b6" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DebtInstrumentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_966a3ee0-0a5b-4936-a4dd-c3f5d9ef0f09" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DebtInstrumentInterestRateStatedPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_9d1f4cb5-c8e6-4d01-8cb8-988d31f8b6b6" xlink:to="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_966a3ee0-0a5b-4936-a4dd-c3f5d9ef0f09" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentTable_23a84831-bc82-4f02-944f-dc5e29ed5dce" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DebtInstrumentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_9d1f4cb5-c8e6-4d01-8cb8-988d31f8b6b6" xlink:to="loc_us-gaap_DebtInstrumentTable_23a84831-bc82-4f02-944f-dc5e29ed5dce" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_10471a87-2b8b-4187-a44a-d5d102cf0ab6" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DebtInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_23a84831-bc82-4f02-944f-dc5e29ed5dce" xlink:to="loc_us-gaap_DebtInstrumentAxis_10471a87-2b8b-4187-a44a-d5d102cf0ab6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_10471a87-2b8b-4187-a44a-d5d102cf0ab6_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_10471a87-2b8b-4187-a44a-d5d102cf0ab6" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_10471a87-2b8b-4187-a44a-d5d102cf0ab6_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_9446607e-104c-4534-bd91-1e6e776a3e0b" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_10471a87-2b8b-4187-a44a-d5d102cf0ab6" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_9446607e-104c-4534-bd91-1e6e776a3e0b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_FourPointFivePercentSeniorNotesMember_3cca1fa5-5ade-4855-beec-386ab4b2577a" xlink:href="mtz-20220331.xsd#mtz_FourPointFivePercentSeniorNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_9446607e-104c-4534-bd91-1e6e776a3e0b" xlink:to="loc_mtz_FourPointFivePercentSeniorNotesMember_3cca1fa5-5ade-4855-beec-386ab4b2577a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_d4c81265-4659-4291-ab19-589154d6f693" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LongtermDebtTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_23a84831-bc82-4f02-944f-dc5e29ed5dce" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_d4c81265-4659-4291-ab19-589154d6f693" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_d4c81265-4659-4291-ab19-589154d6f693_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_d4c81265-4659-4291-ab19-589154d6f693" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_d4c81265-4659-4291-ab19-589154d6f693_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_d54a8076-07e4-4269-a439-2f4947de53c1" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_d4c81265-4659-4291-ab19-589154d6f693" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_d54a8076-07e4-4269-a439-2f4947de53c1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SeniorNotesMember_f3c6d36d-0414-4eeb-8c49-2f3895ef6089" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SeniorNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_d54a8076-07e4-4269-a439-2f4947de53c1" xlink:to="loc_us-gaap_SeniorNotesMember_f3c6d36d-0414-4eeb-8c49-2f3895ef6089" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mastec.com/role/LeaseObligationsNarrativeDetails" xlink:type="simple" xlink:href="mtz-20220331.xsd#LeaseObligationsNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.mastec.com/role/LeaseObligationsNarrativeDetails" xlink:type="extended" id="ib01fc5413f6b4f6689b26808dc51d141_LeaseObligationsNarrativeDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeLeaseDescriptionLineItems_9889a27d-44e5-4fc6-8478-293cbd499de2" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LesseeLeaseDescriptionLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_LesseeLeaseTermOfContract_2138f250-7bc7-43a1-a501-18d882c0746d" xlink:href="mtz-20220331.xsd#mtz_LesseeLeaseTermOfContract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_9889a27d-44e5-4fc6-8478-293cbd499de2" xlink:to="loc_mtz_LesseeLeaseTermOfContract_2138f250-7bc7-43a1-a501-18d882c0746d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_LesseeLeaseRenewalTerm_470942b1-a9cd-4833-a798-09b4d4a6031b" xlink:href="mtz-20220331.xsd#mtz_LesseeLeaseRenewalTerm"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_9889a27d-44e5-4fc6-8478-293cbd499de2" xlink:to="loc_mtz_LesseeLeaseRenewalTerm_470942b1-a9cd-4833-a798-09b4d4a6031b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseRightOfUseAssetBeforeAccumulatedAmortization_4513b3f5-b3b2-4a89-b6fa-f5278a6ef397" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinanceLeaseRightOfUseAssetBeforeAccumulatedAmortization"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_9889a27d-44e5-4fc6-8478-293cbd499de2" xlink:to="loc_us-gaap_FinanceLeaseRightOfUseAssetBeforeAccumulatedAmortization_4513b3f5-b3b2-4a89-b6fa-f5278a6ef397" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityStatementOfFinancialPositionExtensibleList_34802ceb-e822-45e2-ba23-32934fde140e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinanceLeaseLiabilityStatementOfFinancialPositionExtensibleList"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_9889a27d-44e5-4fc6-8478-293cbd499de2" xlink:to="loc_us-gaap_FinanceLeaseLiabilityStatementOfFinancialPositionExtensibleList_34802ceb-e822-45e2-ba23-32934fde140e" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseRightOfUseAsset_87bee0af-066c-40c3-b6d3-481845f94328" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinanceLeaseRightOfUseAsset"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_9889a27d-44e5-4fc6-8478-293cbd499de2" xlink:to="loc_us-gaap_FinanceLeaseRightOfUseAsset_87bee0af-066c-40c3-b6d3-481845f94328" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseRightOfUseAssetAmortization_5bd9e203-a00b-4131-80e9-409bdf289a4c" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinanceLeaseRightOfUseAssetAmortization"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_9889a27d-44e5-4fc6-8478-293cbd499de2" xlink:to="loc_us-gaap_FinanceLeaseRightOfUseAssetAmortization_5bd9e203-a00b-4131-80e9-409bdf289a4c" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RightOfUseAssetObtainedInExchangeForOperatingLeaseLiability_8006ef5a-6299-4fc1-ac5b-ebea3cd25de1" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RightOfUseAssetObtainedInExchangeForOperatingLeaseLiability"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_9889a27d-44e5-4fc6-8478-293cbd499de2" xlink:to="loc_us-gaap_RightOfUseAssetObtainedInExchangeForOperatingLeaseLiability_8006ef5a-6299-4fc1-ac5b-ebea3cd25de1" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseTermOfContract_082dc720-fb93-490c-aa4a-10714c94c4af" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LesseeOperatingLeaseTermOfContract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_9889a27d-44e5-4fc6-8478-293cbd499de2" xlink:to="loc_us-gaap_LesseeOperatingLeaseTermOfContract_082dc720-fb93-490c-aa4a-10714c94c4af" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseExpense_6b1c3033-58f5-460a-88b4-669b8288cec6" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OperatingLeaseExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_9889a27d-44e5-4fc6-8478-293cbd499de2" xlink:to="loc_us-gaap_OperatingLeaseExpense_6b1c3033-58f5-460a-88b4-669b8288cec6" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableLeaseCost_f0ceeabc-16bf-4da4-9b6d-49de5c0b794f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_VariableLeaseCost"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_9889a27d-44e5-4fc6-8478-293cbd499de2" xlink:to="loc_us-gaap_VariableLeaseCost_f0ceeabc-16bf-4da4-9b6d-49de5c0b794f" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortTermLeaseCost_6d50757b-b89d-41ef-9837-4e20d77a0098" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShortTermLeaseCost"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_9889a27d-44e5-4fc6-8478-293cbd499de2" xlink:to="loc_us-gaap_ShortTermLeaseCost_6d50757b-b89d-41ef-9837-4e20d77a0098" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseWeightedAverageRemainingLeaseTerm1_81c3067d-a9bd-452c-ae78-4a7662b7733d" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinanceLeaseWeightedAverageRemainingLeaseTerm1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_9889a27d-44e5-4fc6-8478-293cbd499de2" xlink:to="loc_us-gaap_FinanceLeaseWeightedAverageRemainingLeaseTerm1_81c3067d-a9bd-452c-ae78-4a7662b7733d" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseWeightedAverageDiscountRatePercent_a67df144-bd8d-4c5c-a259-559dfd19a2d9" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinanceLeaseWeightedAverageDiscountRatePercent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_9889a27d-44e5-4fc6-8478-293cbd499de2" xlink:to="loc_us-gaap_FinanceLeaseWeightedAverageDiscountRatePercent_a67df144-bd8d-4c5c-a259-559dfd19a2d9" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseWeightedAverageRemainingLeaseTerm1_0a3df45a-dd4e-41c8-a322-f649b147d38f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OperatingLeaseWeightedAverageRemainingLeaseTerm1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_9889a27d-44e5-4fc6-8478-293cbd499de2" xlink:to="loc_us-gaap_OperatingLeaseWeightedAverageRemainingLeaseTerm1_0a3df45a-dd4e-41c8-a322-f649b147d38f" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseWeightedAverageDiscountRatePercent_1ae002a8-5a37-4301-8fea-4285fee52f3a" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OperatingLeaseWeightedAverageDiscountRatePercent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_9889a27d-44e5-4fc6-8478-293cbd499de2" xlink:to="loc_us-gaap_OperatingLeaseWeightedAverageDiscountRatePercent_1ae002a8-5a37-4301-8fea-4285fee52f3a" xlink:type="arc" order="14"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_LesseeLeaseLeaseNotYetCommencedUndiscountedAmount_4463f658-e910-4808-8105-7e0414d9a020" xlink:href="mtz-20220331.xsd#mtz_LesseeLeaseLeaseNotYetCommencedUndiscountedAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_9889a27d-44e5-4fc6-8478-293cbd499de2" xlink:to="loc_mtz_LesseeLeaseLeaseNotYetCommencedUndiscountedAmount_4463f658-e910-4808-8105-7e0414d9a020" xlink:type="arc" order="15"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_LesseeLeaseLeaseNotYetCommencedTermOfContract_622ba4b2-3677-4dcd-849a-24d7af0ae7df" xlink:href="mtz-20220331.xsd#mtz_LesseeLeaseLeaseNotYetCommencedTermOfContract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_9889a27d-44e5-4fc6-8478-293cbd499de2" xlink:to="loc_mtz_LesseeLeaseLeaseNotYetCommencedTermOfContract_622ba4b2-3677-4dcd-849a-24d7af0ae7df" xlink:type="arc" order="16"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeLeaseDescriptionTable_de9709c0-d29d-4d28-8652-ad79d2d9e638" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LesseeLeaseDescriptionTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_9889a27d-44e5-4fc6-8478-293cbd499de2" xlink:to="loc_us-gaap_LesseeLeaseDescriptionTable_de9709c0-d29d-4d28-8652-ad79d2d9e638" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_a0d1f24e-4539-4823-b8d6-29f2923f39b4" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LesseeLeaseDescriptionTable_de9709c0-d29d-4d28-8652-ad79d2d9e638" xlink:to="loc_srt_RangeAxis_a0d1f24e-4539-4823-b8d6-29f2923f39b4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_a0d1f24e-4539-4823-b8d6-29f2923f39b4_default" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_a0d1f24e-4539-4823-b8d6-29f2923f39b4" xlink:to="loc_srt_RangeMember_a0d1f24e-4539-4823-b8d6-29f2923f39b4_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_27dd6e46-65dd-453c-a777-d9f2d1df6b28" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_a0d1f24e-4539-4823-b8d6-29f2923f39b4" xlink:to="loc_srt_RangeMember_27dd6e46-65dd-453c-a777-d9f2d1df6b28" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_c51b2731-c396-4689-b70f-b5bca212ca01" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_MinimumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_27dd6e46-65dd-453c-a777-d9f2d1df6b28" xlink:to="loc_srt_MinimumMember_c51b2731-c396-4689-b70f-b5bca212ca01" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_d3575131-4e50-433e-8620-f71788c52953" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_27dd6e46-65dd-453c-a777-d9f2d1df6b28" xlink:to="loc_srt_MaximumMember_d3575131-4e50-433e-8620-f71788c52953" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LeaseContractualTermAxis_ddc8f837-b7d0-4561-95f0-e33cd8da445f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LeaseContractualTermAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LesseeLeaseDescriptionTable_de9709c0-d29d-4d28-8652-ad79d2d9e638" xlink:to="loc_us-gaap_LeaseContractualTermAxis_ddc8f837-b7d0-4561-95f0-e33cd8da445f" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LeaseContractualTermDomain_ddc8f837-b7d0-4561-95f0-e33cd8da445f_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LeaseContractualTermDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LeaseContractualTermAxis_ddc8f837-b7d0-4561-95f0-e33cd8da445f" xlink:to="loc_us-gaap_LeaseContractualTermDomain_ddc8f837-b7d0-4561-95f0-e33cd8da445f_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LeaseContractualTermDomain_31cd0a21-96f1-432b-9da4-2c32c17f56a8" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LeaseContractualTermDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LeaseContractualTermAxis_ddc8f837-b7d0-4561-95f0-e33cd8da445f" xlink:to="loc_us-gaap_LeaseContractualTermDomain_31cd0a21-96f1-432b-9da4-2c32c17f56a8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_EquipmentLeasesMember_b6673e52-5298-4ff6-8175-c1ebe9b494f6" xlink:href="mtz-20220331.xsd#mtz_EquipmentLeasesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LeaseContractualTermDomain_31cd0a21-96f1-432b-9da4-2c32c17f56a8" xlink:to="loc_mtz_EquipmentLeasesMember_b6673e52-5298-4ff6-8175-c1ebe9b494f6" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_FacilityLeasesMember_88b4945e-1bf3-4045-a0b5-6a940278085c" xlink:href="mtz-20220331.xsd#mtz_FacilityLeasesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LeaseContractualTermDomain_31cd0a21-96f1-432b-9da4-2c32c17f56a8" xlink:to="loc_mtz_FacilityLeasesMember_88b4945e-1bf3-4045-a0b5-6a940278085c" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mastec.com/role/StockBasedCompensationandOtherEmployeeBenefitPlansNarrativeDetails" xlink:type="simple" xlink:href="mtz-20220331.xsd#StockBasedCompensationandOtherEmployeeBenefitPlansNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.mastec.com/role/StockBasedCompensationandOtherEmployeeBenefitPlansNarrativeDetails" xlink:type="extended" id="i9d08fc739593447dbe9348c83f1675fb_StockBasedCompensationandOtherEmployeeBenefitPlansNarrativeDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_ad023b06-0e86-48f0-8aec-f4694cc10a13" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant_0c570f52-97a0-465d-9d0b-6d31440e8fc4" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_ad023b06-0e86-48f0-8aec-f4694cc10a13" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant_0c570f52-97a0-465d-9d0b-6d31440e8fc4" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpense_dd41da80-b86d-4271-abb8-607fbcacd532" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AllocatedShareBasedCompensationExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_ad023b06-0e86-48f0-8aec-f4694cc10a13" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpense_dd41da80-b86d-4271-abb8-607fbcacd532" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationTaxBenefitFromCompensationExpense_89df241d-c6dd-4d1a-89fd-df1f07399b41" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationTaxBenefitFromCompensationExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_ad023b06-0e86-48f0-8aec-f4694cc10a13" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationTaxBenefitFromCompensationExpense_89df241d-c6dd-4d1a-89fd-df1f07399b41" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_EmployeeServiceShareBasedCompensationNetTaxBenefitDeficiencyFromVestingOfShareBasedPaymentAwards_af9958cb-1433-4dce-a946-5f0a66dd93f9" xlink:href="mtz-20220331.xsd#mtz_EmployeeServiceShareBasedCompensationNetTaxBenefitDeficiencyFromVestingOfShareBasedPaymentAwards"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_ad023b06-0e86-48f0-8aec-f4694cc10a13" xlink:to="loc_mtz_EmployeeServiceShareBasedCompensationNetTaxBenefitDeficiencyFromVestingOfShareBasedPaymentAwards_af9958cb-1433-4dce-a946-5f0a66dd93f9" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_707a08f1-c1f9-4c98-a2d5-2c04e8751473" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_ad023b06-0e86-48f0-8aec-f4694cc10a13" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_707a08f1-c1f9-4c98-a2d5-2c04e8751473" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_6ccbfc4a-78a4-4957-8538-f0a647643113" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AwardTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_707a08f1-c1f9-4c98-a2d5-2c04e8751473" xlink:to="loc_us-gaap_AwardTypeAxis_6ccbfc4a-78a4-4957-8538-f0a647643113" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_6ccbfc4a-78a4-4957-8538-f0a647643113_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_6ccbfc4a-78a4-4957-8538-f0a647643113" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_6ccbfc4a-78a4-4957-8538-f0a647643113_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_8fba64dc-b859-412c-adfd-8be18e50afcb" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_6ccbfc4a-78a4-4957-8538-f0a647643113" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_8fba64dc-b859-412c-adfd-8be18e50afcb" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_RestrictedStockAndRestrictedStockUnitsMember_2f1e2619-e1ce-4f9a-b568-2cb6743574ed" xlink:href="mtz-20220331.xsd#mtz_RestrictedStockAndRestrictedStockUnitsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_8fba64dc-b859-412c-adfd-8be18e50afcb" xlink:to="loc_mtz_RestrictedStockAndRestrictedStockUnitsMember_2f1e2619-e1ce-4f9a-b568-2cb6743574ed" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mastec.com/role/StockBasedCompensationandOtherEmployeeBenefitPlansRestrictedSharesDetails" xlink:type="simple" xlink:href="mtz-20220331.xsd#StockBasedCompensationandOtherEmployeeBenefitPlansRestrictedSharesDetails"/>
  <link:definitionLink xlink:role="http://www.mastec.com/role/StockBasedCompensationandOtherEmployeeBenefitPlansRestrictedSharesDetails" xlink:type="extended" id="i1e4d9240536a443da85aed91b8f05b4b_StockBasedCompensationandOtherEmployeeBenefitPlansRestrictedSharesDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_65fcdc99-1450-43e3-8056-aec617026e1d" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions_8e4af9bb-3761-4bd6-9e7c-e908ab00c89b" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_65fcdc99-1450-43e3-8056-aec617026e1d" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions_8e4af9bb-3761-4bd6-9e7c-e908ab00c89b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_74e1108c-c5b1-4427-acaa-b2473d43b0c7" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_65fcdc99-1450-43e3-8056-aec617026e1d" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_74e1108c-c5b1-4427-acaa-b2473d43b0c7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodTotalFairValue_add6f43f-0150-4502-9920-9ab9b4fc8d36" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodTotalFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_65fcdc99-1450-43e3-8056-aec617026e1d" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodTotalFairValue_add6f43f-0150-4502-9920-9ab9b4fc8d36" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_196ac48a-9ef1-47b2-9931-eb030a19f920" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_65fcdc99-1450-43e3-8056-aec617026e1d" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_196ac48a-9ef1-47b2-9931-eb030a19f920" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_8146a198-ec6a-4c80-bcfb-c86dee56c6a0" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AwardTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_196ac48a-9ef1-47b2-9931-eb030a19f920" xlink:to="loc_us-gaap_AwardTypeAxis_8146a198-ec6a-4c80-bcfb-c86dee56c6a0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_8146a198-ec6a-4c80-bcfb-c86dee56c6a0_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_8146a198-ec6a-4c80-bcfb-c86dee56c6a0" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_8146a198-ec6a-4c80-bcfb-c86dee56c6a0_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_5cb6a802-b9a7-428d-a128-7dbb4b1ad4c8" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_8146a198-ec6a-4c80-bcfb-c86dee56c6a0" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_5cb6a802-b9a7-428d-a128-7dbb4b1ad4c8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_RestrictedStockAndRestrictedStockUnitsMember_02da2136-1edd-4d0f-a942-bdf07116a28b" xlink:href="mtz-20220331.xsd#mtz_RestrictedStockAndRestrictedStockUnitsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_5cb6a802-b9a7-428d-a128-7dbb4b1ad4c8" xlink:to="loc_mtz_RestrictedStockAndRestrictedStockUnitsMember_02da2136-1edd-4d0f-a942-bdf07116a28b" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mastec.com/role/StockBasedCompensationandOtherEmployeeBenefitPlansScheduleofActivityRestrictedSharesDetails" xlink:type="simple" xlink:href="mtz-20220331.xsd#StockBasedCompensationandOtherEmployeeBenefitPlansScheduleofActivityRestrictedSharesDetails"/>
  <link:definitionLink xlink:role="http://www.mastec.com/role/StockBasedCompensationandOtherEmployeeBenefitPlansScheduleofActivityRestrictedSharesDetails" xlink:type="extended" id="i2cadf48fa56d4e299f506adb56b59bda_StockBasedCompensationandOtherEmployeeBenefitPlansScheduleofActivityRestrictedSharesDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_978119d5-ee2d-4b8a-b013-671d5fa291a5" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_e4a388c8-14b7-4402-bc66-ea2efaa753eb" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_978119d5-ee2d-4b8a-b013-671d5fa291a5" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_e4a388c8-14b7-4402-bc66-ea2efaa753eb" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_39ecd390-2077-4027-9c39-5f515d1ecda4" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_e4a388c8-14b7-4402-bc66-ea2efaa753eb" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_39ecd390-2077-4027-9c39-5f515d1ecda4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_afe6fe3b-2427-4098-809e-5f11faa28111" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_e4a388c8-14b7-4402-bc66-ea2efaa753eb" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_afe6fe3b-2427-4098-809e-5f11faa28111" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_3cf63d4d-3d4d-4ab0-8643-3a1182802d12" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_e4a388c8-14b7-4402-bc66-ea2efaa753eb" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_3cf63d4d-3d4d-4ab0-8643-3a1182802d12" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_58ea019b-7bfc-4a49-840b-d5a5a456690e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_e4a388c8-14b7-4402-bc66-ea2efaa753eb" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_58ea019b-7bfc-4a49-840b-d5a5a456690e" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_a3f5d586-3fa2-4769-a633-07d8e9d9764a" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_5d4bd93d-84e5-4589-8e83-46e49d5ff2c2" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_978119d5-ee2d-4b8a-b013-671d5fa291a5" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_5d4bd93d-84e5-4589-8e83-46e49d5ff2c2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_a1467c0a-74ab-4abe-8ff1-395c567a4053" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_5d4bd93d-84e5-4589-8e83-46e49d5ff2c2" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_a1467c0a-74ab-4abe-8ff1-395c567a4053" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_978a8952-8fbf-484b-a03d-270506dc1525" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_5d4bd93d-84e5-4589-8e83-46e49d5ff2c2" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_978a8952-8fbf-484b-a03d-270506dc1525" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_db50d394-f6dd-4044-a0a9-046f95f38f47" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_5d4bd93d-84e5-4589-8e83-46e49d5ff2c2" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_db50d394-f6dd-4044-a0a9-046f95f38f47" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue_608a03f8-e012-4042-a460-d85579ff4722" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_5d4bd93d-84e5-4589-8e83-46e49d5ff2c2" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue_608a03f8-e012-4042-a460-d85579ff4722" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_823b1c1a-3319-4a42-b935-6d7e59876c69" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_bb12df28-65da-4fca-815a-0e9367e010a8" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_978119d5-ee2d-4b8a-b013-671d5fa291a5" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_bb12df28-65da-4fca-815a-0e9367e010a8" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_cb224c5e-df3d-4fc7-9094-cdf451f07a5f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AwardTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_bb12df28-65da-4fca-815a-0e9367e010a8" xlink:to="loc_us-gaap_AwardTypeAxis_cb224c5e-df3d-4fc7-9094-cdf451f07a5f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_cb224c5e-df3d-4fc7-9094-cdf451f07a5f_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_cb224c5e-df3d-4fc7-9094-cdf451f07a5f" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_cb224c5e-df3d-4fc7-9094-cdf451f07a5f_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_5166f0e2-5320-4ff5-8686-a49023695414" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_cb224c5e-df3d-4fc7-9094-cdf451f07a5f" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_5166f0e2-5320-4ff5-8686-a49023695414" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_RestrictedStockAndRestrictedStockUnitsMember_e534ae3d-2b98-473d-bac9-19f3cec07715" xlink:href="mtz-20220331.xsd#mtz_RestrictedStockAndRestrictedStockUnitsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_5166f0e2-5320-4ff5-8686-a49023695414" xlink:to="loc_mtz_RestrictedStockAndRestrictedStockUnitsMember_e534ae3d-2b98-473d-bac9-19f3cec07715" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_6f8587e8-7e7a-4bd0-a96b-d9fae266f315" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RestrictedStockUnitsRSUMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_5166f0e2-5320-4ff5-8686-a49023695414" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_6f8587e8-7e7a-4bd0-a96b-d9fae266f315" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mastec.com/role/StockBasedCompensationandOtherEmployeeBenefitPlansESPPDetails" xlink:type="simple" xlink:href="mtz-20220331.xsd#StockBasedCompensationandOtherEmployeeBenefitPlansESPPDetails"/>
  <link:definitionLink xlink:role="http://www.mastec.com/role/StockBasedCompensationandOtherEmployeeBenefitPlansESPPDetails" xlink:type="extended" id="i0bac95932cbe4a5ab2c657ec11754ce0_StockBasedCompensationandOtherEmployeeBenefitPlansESPPDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_de9e935a-ab65-4421-96a9-94ce48a83496" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardPurchasePriceOfCommonStockPercent_e4f0e8c3-3beb-444c-9e43-f41e630bd5a6" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardPurchasePriceOfCommonStockPercent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_de9e935a-ab65-4421-96a9-94ce48a83496" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardPurchasePriceOfCommonStockPercent_e4f0e8c3-3beb-444c-9e43-f41e630bd5a6" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans_16f10f07-3b44-4d3e-ba36-bc87b0503f49" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_de9e935a-ab65-4421-96a9-94ce48a83496" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans_16f10f07-3b44-4d3e-ba36-bc87b0503f49" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlansIncludingStockOptions_71765865-bc53-4de6-aa28-f5a96cab6ee5" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlansIncludingStockOptions"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_de9e935a-ab65-4421-96a9-94ce48a83496" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlansIncludingStockOptions_71765865-bc53-4de6-aa28-f5a96cab6ee5" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CompensationExpenseExcludingCostOfGoodAndServiceSold_9111f073-791b-4778-ab27-39894e7a88fe" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CompensationExpenseExcludingCostOfGoodAndServiceSold"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_de9e935a-ab65-4421-96a9-94ce48a83496" xlink:to="loc_us-gaap_CompensationExpenseExcludingCostOfGoodAndServiceSold_9111f073-791b-4778-ab27-39894e7a88fe" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_26c0f393-6cc2-413f-816f-45285ac597da" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_de9e935a-ab65-4421-96a9-94ce48a83496" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_26c0f393-6cc2-413f-816f-45285ac597da" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_e969a6a5-4d65-4a15-a23b-be6ad1e9c24f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AwardTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_26c0f393-6cc2-413f-816f-45285ac597da" xlink:to="loc_us-gaap_AwardTypeAxis_e969a6a5-4d65-4a15-a23b-be6ad1e9c24f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_e969a6a5-4d65-4a15-a23b-be6ad1e9c24f_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_e969a6a5-4d65-4a15-a23b-be6ad1e9c24f" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_e969a6a5-4d65-4a15-a23b-be6ad1e9c24f_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_066eaca1-c59c-4f9e-bf17-f41a8ab2cc6f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_e969a6a5-4d65-4a15-a23b-be6ad1e9c24f" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_066eaca1-c59c-4f9e-bf17-f41a8ab2cc6f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeStockMember_9c6b8d87-b5e0-411d-a540-ec49ba45998a" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EmployeeStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_066eaca1-c59c-4f9e-bf17-f41a8ab2cc6f" xlink:to="loc_us-gaap_EmployeeStockMember_9c6b8d87-b5e0-411d-a540-ec49ba45998a" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mastec.com/role/OtherRetirementPlansDetails" xlink:type="simple" xlink:href="mtz-20220331.xsd#OtherRetirementPlansDetails"/>
  <link:definitionLink xlink:role="http://www.mastec.com/role/OtherRetirementPlansDetails" xlink:type="extended" id="ibd8414de71504292953c5ba47375c945_OtherRetirementPlansDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MultiemployerPlansLineItems_bb7b4021-c7bb-4612-bcd4-0b3e23119871" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_MultiemployerPlansLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MultiemployerPlanNumberOfEmployeesCovered_7468dce4-68ec-4c9c-9b44-e1c233dca07d" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_MultiemployerPlanNumberOfEmployeesCovered"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MultiemployerPlansLineItems_bb7b4021-c7bb-4612-bcd4-0b3e23119871" xlink:to="loc_us-gaap_MultiemployerPlanNumberOfEmployeesCovered_7468dce4-68ec-4c9c-9b44-e1c233dca07d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MultiemployerPlanEmployerContributionCost_0cb5722c-99d7-4d9b-b4a0-0c7633bb4c23" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_MultiemployerPlanEmployerContributionCost"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MultiemployerPlansLineItems_bb7b4021-c7bb-4612-bcd4-0b3e23119871" xlink:to="loc_us-gaap_MultiemployerPlanEmployerContributionCost_0cb5722c-99d7-4d9b-b4a0-0c7633bb4c23" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfMultiemployerPlansTable_8cc6e660-58d3-45c1-b609-945b89d3e036" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ScheduleOfMultiemployerPlansTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_MultiemployerPlansLineItems_bb7b4021-c7bb-4612-bcd4-0b3e23119871" xlink:to="loc_us-gaap_ScheduleOfMultiemployerPlansTable_8cc6e660-58d3-45c1-b609-945b89d3e036" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_85bfdb3f-cb2d-47aa-85a4-41387e514d19" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfMultiemployerPlansTable_8cc6e660-58d3-45c1-b609-945b89d3e036" xlink:to="loc_srt_RangeAxis_85bfdb3f-cb2d-47aa-85a4-41387e514d19" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_85bfdb3f-cb2d-47aa-85a4-41387e514d19_default" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_85bfdb3f-cb2d-47aa-85a4-41387e514d19" xlink:to="loc_srt_RangeMember_85bfdb3f-cb2d-47aa-85a4-41387e514d19_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_9a925da7-837a-4160-8481-60617ddeb5c3" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_85bfdb3f-cb2d-47aa-85a4-41387e514d19" xlink:to="loc_srt_RangeMember_9a925da7-837a-4160-8481-60617ddeb5c3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_50e1a813-ead8-4687-8a30-c8d4103442bb" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_MinimumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_9a925da7-837a-4160-8481-60617ddeb5c3" xlink:to="loc_srt_MinimumMember_50e1a813-ead8-4687-8a30-c8d4103442bb" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_c2e9602f-5409-479c-b8d6-cb3d6961a6d4" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_9a925da7-837a-4160-8481-60617ddeb5c3" xlink:to="loc_srt_MaximumMember_c2e9602f-5409-479c-b8d6-cb3d6961a6d4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanTypeAxis_1b70f4cf-1f2c-478c-8c33-bb10f5086bc1" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RetirementPlanTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfMultiemployerPlansTable_8cc6e660-58d3-45c1-b609-945b89d3e036" xlink:to="loc_us-gaap_RetirementPlanTypeAxis_1b70f4cf-1f2c-478c-8c33-bb10f5086bc1" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanTypeDomain_1b70f4cf-1f2c-478c-8c33-bb10f5086bc1_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RetirementPlanTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RetirementPlanTypeAxis_1b70f4cf-1f2c-478c-8c33-bb10f5086bc1" xlink:to="loc_us-gaap_RetirementPlanTypeDomain_1b70f4cf-1f2c-478c-8c33-bb10f5086bc1_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanTypeDomain_f1b9e448-a787-4905-9302-a74eca537dab" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RetirementPlanTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RetirementPlanTypeAxis_1b70f4cf-1f2c-478c-8c33-bb10f5086bc1" xlink:to="loc_us-gaap_RetirementPlanTypeDomain_f1b9e448-a787-4905-9302-a74eca537dab" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PensionPlansDefinedBenefitMember_1b205b15-ae06-44be-a9bf-380556afe257" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PensionPlansDefinedBenefitMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanTypeDomain_f1b9e448-a787-4905-9302-a74eca537dab" xlink:to="loc_us-gaap_PensionPlansDefinedBenefitMember_1b205b15-ae06-44be-a9bf-380556afe257" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherPostretirementBenefitPlansDefinedBenefitMember_df031f10-a6a2-481d-a8c3-d333070db511" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherPostretirementBenefitPlansDefinedBenefitMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanTypeDomain_f1b9e448-a787-4905-9302-a74eca537dab" xlink:to="loc_us-gaap_OtherPostretirementBenefitPlansDefinedBenefitMember_df031f10-a6a2-481d-a8c3-d333070db511" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mastec.com/role/EquityDetails" xlink:type="simple" xlink:href="mtz-20220331.xsd#EquityDetails"/>
  <link:definitionLink xlink:role="http://www.mastec.com/role/EquityDetails" xlink:type="extended" id="i79de61f284e54b6e987ef3b51794e253_EquityDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityClassOfTreasuryStockLineItems_f5fb5803-a418-4ec9-a35e-714a4c39bfd1" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EquityClassOfTreasuryStockLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockSharesAcquired_e24e3d00-c5b1-49fe-b7d7-6a83139e9cbe" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_TreasuryStockSharesAcquired"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityClassOfTreasuryStockLineItems_f5fb5803-a418-4ec9-a35e-714a4c39bfd1" xlink:to="loc_us-gaap_TreasuryStockSharesAcquired_e24e3d00-c5b1-49fe-b7d7-6a83139e9cbe" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockValueAcquiredCostMethod_a6c1f61b-6c6c-4b5b-9d5d-26f4448383c0" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_TreasuryStockValueAcquiredCostMethod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityClassOfTreasuryStockLineItems_f5fb5803-a418-4ec9-a35e-714a4c39bfd1" xlink:to="loc_us-gaap_TreasuryStockValueAcquiredCostMethod_a6c1f61b-6c6c-4b5b-9d5d-26f4448383c0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockRepurchaseProgramAuthorizedAmount1_dd40df0c-ca28-46ad-8476-3c0540bec31f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StockRepurchaseProgramAuthorizedAmount1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityClassOfTreasuryStockLineItems_f5fb5803-a418-4ec9-a35e-714a4c39bfd1" xlink:to="loc_us-gaap_StockRepurchaseProgramAuthorizedAmount1_dd40df0c-ca28-46ad-8476-3c0540bec31f" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockRepurchaseProgramRemainingAuthorizedRepurchaseAmount1_f750f119-1bb5-46bb-9309-ad02409e4cda" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StockRepurchaseProgramRemainingAuthorizedRepurchaseAmount1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityClassOfTreasuryStockLineItems_f5fb5803-a418-4ec9-a35e-714a4c39bfd1" xlink:to="loc_us-gaap_StockRepurchaseProgramRemainingAuthorizedRepurchaseAmount1_f750f119-1bb5-46bb-9309-ad02409e4cda" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfTreasuryStockTable_d9a87bf5-3d50-4d3f-b382-9d29fe513b65" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ClassOfTreasuryStockTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_EquityClassOfTreasuryStockLineItems_f5fb5803-a418-4ec9-a35e-714a4c39bfd1" xlink:to="loc_us-gaap_ClassOfTreasuryStockTable_d9a87bf5-3d50-4d3f-b382-9d29fe513b65" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareRepurchaseProgramAxis_322dc233-f627-4b8c-a5fe-4617b1f3a75c" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareRepurchaseProgramAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ClassOfTreasuryStockTable_d9a87bf5-3d50-4d3f-b382-9d29fe513b65" xlink:to="loc_us-gaap_ShareRepurchaseProgramAxis_322dc233-f627-4b8c-a5fe-4617b1f3a75c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareRepurchaseProgramDomain_322dc233-f627-4b8c-a5fe-4617b1f3a75c_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareRepurchaseProgramDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ShareRepurchaseProgramAxis_322dc233-f627-4b8c-a5fe-4617b1f3a75c" xlink:to="loc_us-gaap_ShareRepurchaseProgramDomain_322dc233-f627-4b8c-a5fe-4617b1f3a75c_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareRepurchaseProgramDomain_62893837-0871-4e81-b7f1-044157ac5659" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareRepurchaseProgramDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ShareRepurchaseProgramAxis_322dc233-f627-4b8c-a5fe-4617b1f3a75c" xlink:to="loc_us-gaap_ShareRepurchaseProgramDomain_62893837-0871-4e81-b7f1-044157ac5659" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_December2018ShareRepurchaseProgramMember_16e1a1c9-7f55-4e99-9ca2-7e313e8a2852" xlink:href="mtz-20220331.xsd#mtz_December2018ShareRepurchaseProgramMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareRepurchaseProgramDomain_62893837-0871-4e81-b7f1-044157ac5659" xlink:to="loc_mtz_December2018ShareRepurchaseProgramMember_16e1a1c9-7f55-4e99-9ca2-7e313e8a2852" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_March2020ShareRepurchaseProgramMember_5e8dbef5-fa5a-4465-86b0-8bf0a3e1aa96" xlink:href="mtz-20220331.xsd#mtz_March2020ShareRepurchaseProgramMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareRepurchaseProgramDomain_62893837-0871-4e81-b7f1-044157ac5659" xlink:to="loc_mtz_March2020ShareRepurchaseProgramMember_5e8dbef5-fa5a-4465-86b0-8bf0a3e1aa96" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventTypeAxis_01f74a0b-e795-4f7d-9120-66fec0a86a99" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SubsequentEventTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ClassOfTreasuryStockTable_d9a87bf5-3d50-4d3f-b382-9d29fe513b65" xlink:to="loc_us-gaap_SubsequentEventTypeAxis_01f74a0b-e795-4f7d-9120-66fec0a86a99" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_01f74a0b-e795-4f7d-9120-66fec0a86a99_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SubsequentEventTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_01f74a0b-e795-4f7d-9120-66fec0a86a99" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_01f74a0b-e795-4f7d-9120-66fec0a86a99_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_fe4069a6-ba11-4abb-bf6e-8afce1e05bc2" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SubsequentEventTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_01f74a0b-e795-4f7d-9120-66fec0a86a99" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_fe4069a6-ba11-4abb-bf6e-8afce1e05bc2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventMember_ddd22e69-debf-4fde-bfcb-a2f2fd7ec7cc" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SubsequentEventMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventTypeDomain_fe4069a6-ba11-4abb-bf6e-8afce1e05bc2" xlink:to="loc_us-gaap_SubsequentEventMember_ddd22e69-debf-4fde-bfcb-a2f2fd7ec7cc" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mastec.com/role/SegmentsandRelatedInformationScheduleofFinancialInformationbyReportableSegmentDetails" xlink:type="simple" xlink:href="mtz-20220331.xsd#SegmentsandRelatedInformationScheduleofFinancialInformationbyReportableSegmentDetails"/>
  <link:definitionLink xlink:role="http://www.mastec.com/role/SegmentsandRelatedInformationScheduleofFinancialInformationbyReportableSegmentDetails" xlink:type="extended" id="i9e43ae658cad4b7eb584342abda3b11e_SegmentsandRelatedInformationScheduleofFinancialInformationbyReportableSegmentDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentReportingInformationLineItems_b42a8746-2d23-4c02-a0a8-902ec5bb34a2" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SegmentReportingInformationLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentReportingInformationRevenueAbstract_900adaf9-7880-47f6-8adf-69a73ecb8442" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SegmentReportingInformationRevenueAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_b42a8746-2d23-4c02-a0a8-902ec5bb34a2" xlink:to="loc_us-gaap_SegmentReportingInformationRevenueAbstract_900adaf9-7880-47f6-8adf-69a73ecb8442" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Revenues_2e413e2f-ded9-47a5-8a57-25038e9f1934" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_Revenues"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationRevenueAbstract_900adaf9-7880-47f6-8adf-69a73ecb8442" xlink:to="loc_us-gaap_Revenues_2e413e2f-ded9-47a5-8a57-25038e9f1934" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_EBITDA_ebb2c94f-e944-45c9-8df1-8c47ed668181" xlink:href="mtz-20220331.xsd#mtz_EBITDA"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationRevenueAbstract_900adaf9-7880-47f6-8adf-69a73ecb8442" xlink:to="loc_mtz_EBITDA_ebb2c94f-e944-45c9-8df1-8c47ed668181" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationDepletionAndAmortization_2b18bd16-e56b-4db2-8a68-22b8ddd2f9df" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DepreciationDepletionAndAmortization"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationRevenueAbstract_900adaf9-7880-47f6-8adf-69a73ecb8442" xlink:to="loc_us-gaap_DepreciationDepletionAndAmortization_2b18bd16-e56b-4db2-8a68-22b8ddd2f9df" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_b5609cf9-1fac-4589-90ea-0c64c74b204e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_Assets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationRevenueAbstract_900adaf9-7880-47f6-8adf-69a73ecb8442" xlink:to="loc_us-gaap_Assets_b5609cf9-1fac-4589-90ea-0c64c74b204e" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskPercentage1_18f5acba-9a89-4a43-944a-109627196f1b" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ConcentrationRiskPercentage1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationRevenueAbstract_900adaf9-7880-47f6-8adf-69a73ecb8442" xlink:to="loc_us-gaap_ConcentrationRiskPercentage1_18f5acba-9a89-4a43-944a-109627196f1b" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_a899e6d0-f3d8-4311-bac8-8aec8eba8c2a" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_b42a8746-2d23-4c02-a0a8-902ec5bb34a2" xlink:to="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_a899e6d0-f3d8-4311-bac8-8aec8eba8c2a" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsAxis_ada7f564-757e-4dc6-8d77-fa0dbc78c28b" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_ConsolidationItemsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_a899e6d0-f3d8-4311-bac8-8aec8eba8c2a" xlink:to="loc_srt_ConsolidationItemsAxis_ada7f564-757e-4dc6-8d77-fa0dbc78c28b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsDomain_ada7f564-757e-4dc6-8d77-fa0dbc78c28b_default" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_ConsolidationItemsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ConsolidationItemsAxis_ada7f564-757e-4dc6-8d77-fa0dbc78c28b" xlink:to="loc_srt_ConsolidationItemsDomain_ada7f564-757e-4dc6-8d77-fa0dbc78c28b_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsDomain_4b86fbc9-07b0-4d25-a0f4-4f240bfd2b92" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_ConsolidationItemsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ConsolidationItemsAxis_ada7f564-757e-4dc6-8d77-fa0dbc78c28b" xlink:to="loc_srt_ConsolidationItemsDomain_4b86fbc9-07b0-4d25-a0f4-4f240bfd2b92" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingSegmentsMember_5090eb93-7062-4287-acce-4b3cdb369190" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OperatingSegmentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidationItemsDomain_4b86fbc9-07b0-4d25-a0f4-4f240bfd2b92" xlink:to="loc_us-gaap_OperatingSegmentsMember_5090eb93-7062-4287-acce-4b3cdb369190" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntersegmentEliminationMember_6285fe08-4784-4bca-aeba-647e7416b375" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IntersegmentEliminationMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidationItemsDomain_4b86fbc9-07b0-4d25-a0f4-4f240bfd2b92" xlink:to="loc_us-gaap_IntersegmentEliminationMember_6285fe08-4784-4bca-aeba-647e7416b375" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CorporateNonSegmentMember_a8f9a29e-9a6f-41ea-9adc-df6034c6363a" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CorporateNonSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidationItemsDomain_4b86fbc9-07b0-4d25-a0f4-4f240bfd2b92" xlink:to="loc_us-gaap_CorporateNonSegmentMember_a8f9a29e-9a6f-41ea-9adc-df6034c6363a" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_a5438612-f1bb-4f79-8af3-9dc1eb6efdbe" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StatementBusinessSegmentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_a899e6d0-f3d8-4311-bac8-8aec8eba8c2a" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_a5438612-f1bb-4f79-8af3-9dc1eb6efdbe" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_a5438612-f1bb-4f79-8af3-9dc1eb6efdbe_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_a5438612-f1bb-4f79-8af3-9dc1eb6efdbe" xlink:to="loc_us-gaap_SegmentDomain_a5438612-f1bb-4f79-8af3-9dc1eb6efdbe_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_0a1f0189-db4a-4fe9-9a93-451b646182fb" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_a5438612-f1bb-4f79-8af3-9dc1eb6efdbe" xlink:to="loc_us-gaap_SegmentDomain_0a1f0189-db4a-4fe9-9a93-451b646182fb" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_CommunicationsSegmentMember_a53d3998-6193-45ca-810b-52f0f03d4d34" xlink:href="mtz-20220331.xsd#mtz_CommunicationsSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_0a1f0189-db4a-4fe9-9a93-451b646182fb" xlink:to="loc_mtz_CommunicationsSegmentMember_a53d3998-6193-45ca-810b-52f0f03d4d34" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_CleanEnergyAndInfrastructureSegmentMember_da556b7d-d4bc-4195-899c-dfe68816a789" xlink:href="mtz-20220331.xsd#mtz_CleanEnergyAndInfrastructureSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_0a1f0189-db4a-4fe9-9a93-451b646182fb" xlink:to="loc_mtz_CleanEnergyAndInfrastructureSegmentMember_da556b7d-d4bc-4195-899c-dfe68816a789" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_OilAndGasSegmentMember_34a48d31-041d-40b1-9fb1-6ae8472510fd" xlink:href="mtz-20220331.xsd#mtz_OilAndGasSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_0a1f0189-db4a-4fe9-9a93-451b646182fb" xlink:to="loc_mtz_OilAndGasSegmentMember_34a48d31-041d-40b1-9fb1-6ae8472510fd" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_PowerDeliverySegmentMember_b384d011-d232-4808-910d-00e12229318c" xlink:href="mtz-20220331.xsd#mtz_PowerDeliverySegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_0a1f0189-db4a-4fe9-9a93-451b646182fb" xlink:to="loc_mtz_PowerDeliverySegmentMember_b384d011-d232-4808-910d-00e12229318c" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AllOtherSegmentsMember_5d8e72a7-7594-41a1-bad2-fbe8af5c86c9" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AllOtherSegmentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_0a1f0189-db4a-4fe9-9a93-451b646182fb" xlink:to="loc_us-gaap_AllOtherSegmentsMember_5d8e72a7-7594-41a1-bad2-fbe8af5c86c9" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskByTypeAxis_bc1fd557-dad9-48a8-8521-f3d84bb24353" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ConcentrationRiskByTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_a899e6d0-f3d8-4311-bac8-8aec8eba8c2a" xlink:to="loc_us-gaap_ConcentrationRiskByTypeAxis_bc1fd557-dad9-48a8-8521-f3d84bb24353" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskTypeDomain_bc1fd557-dad9-48a8-8521-f3d84bb24353_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ConcentrationRiskTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConcentrationRiskByTypeAxis_bc1fd557-dad9-48a8-8521-f3d84bb24353" xlink:to="loc_us-gaap_ConcentrationRiskTypeDomain_bc1fd557-dad9-48a8-8521-f3d84bb24353_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskTypeDomain_93c946c6-62f2-4766-a31d-d7b06dfb4004" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ConcentrationRiskTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConcentrationRiskByTypeAxis_bc1fd557-dad9-48a8-8521-f3d84bb24353" xlink:to="loc_us-gaap_ConcentrationRiskTypeDomain_93c946c6-62f2-4766-a31d-d7b06dfb4004" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CustomerConcentrationRiskMember_2d9cab95-09e2-4637-9199-40ab369e8c1f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CustomerConcentrationRiskMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskTypeDomain_93c946c6-62f2-4766-a31d-d7b06dfb4004" xlink:to="loc_us-gaap_CustomerConcentrationRiskMember_2d9cab95-09e2-4637-9199-40ab369e8c1f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_0ffa69c3-d85e-4c5e-b0e0-8c2e8a9bac12" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ConcentrationRiskByBenchmarkAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_a899e6d0-f3d8-4311-bac8-8aec8eba8c2a" xlink:to="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_0ffa69c3-d85e-4c5e-b0e0-8c2e8a9bac12" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskBenchmarkDomain_0ffa69c3-d85e-4c5e-b0e0-8c2e8a9bac12_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ConcentrationRiskBenchmarkDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_0ffa69c3-d85e-4c5e-b0e0-8c2e8a9bac12" xlink:to="loc_us-gaap_ConcentrationRiskBenchmarkDomain_0ffa69c3-d85e-4c5e-b0e0-8c2e8a9bac12_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskBenchmarkDomain_6a625dd0-3b73-416e-96e7-99dc2f9432c7" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ConcentrationRiskBenchmarkDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_0ffa69c3-d85e-4c5e-b0e0-8c2e8a9bac12" xlink:to="loc_us-gaap_ConcentrationRiskBenchmarkDomain_6a625dd0-3b73-416e-96e7-99dc2f9432c7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SalesRevenueNetMember_94ef586b-e609-44cc-8d09-e2482d607f5d" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SalesRevenueNetMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskBenchmarkDomain_6a625dd0-3b73-416e-96e7-99dc2f9432c7" xlink:to="loc_us-gaap_SalesRevenueNetMember_94ef586b-e609-44cc-8d09-e2482d607f5d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MajorCustomersAxis_45ed81e0-e3a5-4dfa-9a42-6e4eb5955e61" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_MajorCustomersAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_a899e6d0-f3d8-4311-bac8-8aec8eba8c2a" xlink:to="loc_srt_MajorCustomersAxis_45ed81e0-e3a5-4dfa-9a42-6e4eb5955e61" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_NameOfMajorCustomerDomain_45ed81e0-e3a5-4dfa-9a42-6e4eb5955e61_default" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_NameOfMajorCustomerDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_MajorCustomersAxis_45ed81e0-e3a5-4dfa-9a42-6e4eb5955e61" xlink:to="loc_srt_NameOfMajorCustomerDomain_45ed81e0-e3a5-4dfa-9a42-6e4eb5955e61_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_NameOfMajorCustomerDomain_2b730c2b-e955-4a0d-884d-18d3818d8434" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_NameOfMajorCustomerDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_MajorCustomersAxis_45ed81e0-e3a5-4dfa-9a42-6e4eb5955e61" xlink:to="loc_srt_NameOfMajorCustomerDomain_2b730c2b-e955-4a0d-884d-18d3818d8434" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_UtilitiesMember_ec0b4a2c-a521-4bd4-8ee7-56ba9156b1d1" xlink:href="mtz-20220331.xsd#mtz_UtilitiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_NameOfMajorCustomerDomain_2b730c2b-e955-4a0d-884d-18d3818d8434" xlink:to="loc_mtz_UtilitiesMember_ec0b4a2c-a521-4bd4-8ee7-56ba9156b1d1" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RestatementAxis_762b503e-d6af-4c83-b9c9-158d9d91904a" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_RestatementAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_a899e6d0-f3d8-4311-bac8-8aec8eba8c2a" xlink:to="loc_srt_RestatementAxis_762b503e-d6af-4c83-b9c9-158d9d91904a" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RestatementDomain_762b503e-d6af-4c83-b9c9-158d9d91904a_default" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_RestatementDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RestatementAxis_762b503e-d6af-4c83-b9c9-158d9d91904a" xlink:to="loc_srt_RestatementDomain_762b503e-d6af-4c83-b9c9-158d9d91904a_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RestatementDomain_4f3a1d20-e266-4a2d-b810-6271fd16820d" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_RestatementDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RestatementAxis_762b503e-d6af-4c83-b9c9-158d9d91904a" xlink:to="loc_srt_RestatementDomain_4f3a1d20-e266-4a2d-b810-6271fd16820d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RestatementAdjustmentMember_8e22dd89-6298-4d7a-bd11-7ff12201c88d" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_RestatementAdjustmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RestatementDomain_4f3a1d20-e266-4a2d-b810-6271fd16820d" xlink:to="loc_srt_RestatementAdjustmentMember_8e22dd89-6298-4d7a-bd11-7ff12201c88d" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mastec.com/role/SegmentsandRelatedInformationNarrativeDetails" xlink:type="simple" xlink:href="mtz-20220331.xsd#SegmentsandRelatedInformationNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.mastec.com/role/SegmentsandRelatedInformationNarrativeDetails" xlink:type="extended" id="i994fa3283d8c4d6babeb11bc9d6aa019_SegmentsandRelatedInformationNarrativeDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentReportingOtherSignificantReconcilingItemLineItems_aae3ae70-5752-47c0-84ba-ea9471895522" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SegmentReportingOtherSignificantReconcilingItemLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationIntegrationRelatedCosts_7523889a-4356-4610-b88d-67f74b2e2ede" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BusinessCombinationIntegrationRelatedCosts"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingOtherSignificantReconcilingItemLineItems_aae3ae70-5752-47c0-84ba-ea9471895522" xlink:to="loc_us-gaap_BusinessCombinationIntegrationRelatedCosts_7523889a-4356-4610-b88d-67f74b2e2ede" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReconciliationOfOtherSignificantReconcilingItemsFromSegmentsToConsolidatedTable_8dd1b7a6-5891-4912-88f0-051310f20bdf" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ReconciliationOfOtherSignificantReconcilingItemsFromSegmentsToConsolidatedTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_SegmentReportingOtherSignificantReconcilingItemLineItems_aae3ae70-5752-47c0-84ba-ea9471895522" xlink:to="loc_us-gaap_ReconciliationOfOtherSignificantReconcilingItemsFromSegmentsToConsolidatedTable_8dd1b7a6-5891-4912-88f0-051310f20bdf" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_b417b360-e2af-4f39-9f49-8266a7dbb890" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StatementBusinessSegmentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ReconciliationOfOtherSignificantReconcilingItemsFromSegmentsToConsolidatedTable_8dd1b7a6-5891-4912-88f0-051310f20bdf" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_b417b360-e2af-4f39-9f49-8266a7dbb890" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_b417b360-e2af-4f39-9f49-8266a7dbb890_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_b417b360-e2af-4f39-9f49-8266a7dbb890" xlink:to="loc_us-gaap_SegmentDomain_b417b360-e2af-4f39-9f49-8266a7dbb890_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_397ed684-acf9-4974-b39d-2818bd3c95da" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_b417b360-e2af-4f39-9f49-8266a7dbb890" xlink:to="loc_us-gaap_SegmentDomain_397ed684-acf9-4974-b39d-2818bd3c95da" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_PowerDeliverySegmentMember_83873938-3481-4e18-80c8-b17210a64cd8" xlink:href="mtz-20220331.xsd#mtz_PowerDeliverySegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_397ed684-acf9-4974-b39d-2818bd3c95da" xlink:to="loc_mtz_PowerDeliverySegmentMember_83873938-3481-4e18-80c8-b17210a64cd8" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_CommunicationsSegmentMember_51e49b46-59c0-4954-95d5-00227411804b" xlink:href="mtz-20220331.xsd#mtz_CommunicationsSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_397ed684-acf9-4974-b39d-2818bd3c95da" xlink:to="loc_mtz_CommunicationsSegmentMember_51e49b46-59c0-4954-95d5-00227411804b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_OilAndGasSegmentMember_3e1342f0-f675-4ad0-a8ad-ac81474844f8" xlink:href="mtz-20220331.xsd#mtz_OilAndGasSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_397ed684-acf9-4974-b39d-2818bd3c95da" xlink:to="loc_mtz_OilAndGasSegmentMember_3e1342f0-f675-4ad0-a8ad-ac81474844f8" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CorporateMember_20707baf-fa04-4efa-bcf0-394b3feda470" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CorporateMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_397ed684-acf9-4974-b39d-2818bd3c95da" xlink:to="loc_us-gaap_CorporateMember_20707baf-fa04-4efa-bcf0-394b3feda470" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_4ff43df8-185f-47fa-9814-44326dd574ea" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BusinessAcquisitionAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ReconciliationOfOtherSignificantReconcilingItemsFromSegmentsToConsolidatedTable_8dd1b7a6-5891-4912-88f0-051310f20bdf" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_4ff43df8-185f-47fa-9814-44326dd574ea" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_4ff43df8-185f-47fa-9814-44326dd574ea_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_4ff43df8-185f-47fa-9814-44326dd574ea" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_4ff43df8-185f-47fa-9814-44326dd574ea_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_d26aa411-ab04-4758-b073-9225af683117" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_4ff43df8-185f-47fa-9814-44326dd574ea" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_d26aa411-ab04-4758-b073-9225af683117" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_A2021AcquisitionsMember_5afd5b86-14e7-403c-8c5b-9aaa561df999" xlink:href="mtz-20220331.xsd#mtz_A2021AcquisitionsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_d26aa411-ab04-4758-b073-9225af683117" xlink:to="loc_mtz_A2021AcquisitionsMember_5afd5b86-14e7-403c-8c5b-9aaa561df999" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mastec.com/role/SegmentsandRelatedInformationForeignOperationsandOtherNarrativeDetails" xlink:type="simple" xlink:href="mtz-20220331.xsd#SegmentsandRelatedInformationForeignOperationsandOtherNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.mastec.com/role/SegmentsandRelatedInformationForeignOperationsandOtherNarrativeDetails" xlink:type="extended" id="ia52b3c4b32c14ba995587a22a7ba8d8a_SegmentsandRelatedInformationForeignOperationsandOtherNarrativeDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentReportingInformationLineItems_1c0b011f-45c0-409d-bf0a-8cf07b6030d1" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SegmentReportingInformationLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Revenues_9566ea8e-902d-48ad-8585-c83fccc3af40" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_Revenues"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_1c0b011f-45c0-409d-bf0a-8cf07b6030d1" xlink:to="loc_us-gaap_Revenues_9566ea8e-902d-48ad-8585-c83fccc3af40" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization_37d998ad-61fd-4d5d-a790-023d2c17b8f8" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_1c0b011f-45c0-409d-bf0a-8cf07b6030d1" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization_37d998ad-61fd-4d5d-a790-023d2c17b8f8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsNetIncludingGoodwill_5028a5e7-c430-41d5-ac7c-d184bf500aaf" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IntangibleAssetsNetIncludingGoodwill"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_1c0b011f-45c0-409d-bf0a-8cf07b6030d1" xlink:to="loc_us-gaap_IntangibleAssetsNetIncludingGoodwill_5028a5e7-c430-41d5-ac7c-d184bf500aaf" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskPercentage1_8219452e-e7e5-4f9d-9ebf-ee01e56df8eb" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ConcentrationRiskPercentage1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_1c0b011f-45c0-409d-bf0a-8cf07b6030d1" xlink:to="loc_us-gaap_ConcentrationRiskPercentage1_8219452e-e7e5-4f9d-9ebf-ee01e56df8eb" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_526d9811-1c5b-4356-9a39-11994e8776c8" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_1c0b011f-45c0-409d-bf0a-8cf07b6030d1" xlink:to="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_526d9811-1c5b-4356-9a39-11994e8776c8" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_StatementGeographicalAxis_86ec89df-dd93-4d36-b5eb-3bb2d64fd38d" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_StatementGeographicalAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_526d9811-1c5b-4356-9a39-11994e8776c8" xlink:to="loc_srt_StatementGeographicalAxis_86ec89df-dd93-4d36-b5eb-3bb2d64fd38d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_SegmentGeographicalDomain_86ec89df-dd93-4d36-b5eb-3bb2d64fd38d_default" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_SegmentGeographicalDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_StatementGeographicalAxis_86ec89df-dd93-4d36-b5eb-3bb2d64fd38d" xlink:to="loc_srt_SegmentGeographicalDomain_86ec89df-dd93-4d36-b5eb-3bb2d64fd38d_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_SegmentGeographicalDomain_9d6c618f-49a7-4ece-a4be-63054a82886a" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_SegmentGeographicalDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_StatementGeographicalAxis_86ec89df-dd93-4d36-b5eb-3bb2d64fd38d" xlink:to="loc_srt_SegmentGeographicalDomain_9d6c618f-49a7-4ece-a4be-63054a82886a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_country_US_7b33be6b-763e-48fb-84ec-99e23f51535b" xlink:href="https://xbrl.sec.gov/country/2021/country-2021.xsd#country_US"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_9d6c618f-49a7-4ece-a4be-63054a82886a" xlink:to="loc_country_US_7b33be6b-763e-48fb-84ec-99e23f51535b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NonUsMember_d5899499-33b0-4bb4-aed7-d5687a6e2c12" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NonUsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_9d6c618f-49a7-4ece-a4be-63054a82886a" xlink:to="loc_us-gaap_NonUsMember_d5899499-33b0-4bb4-aed7-d5687a6e2c12" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MajorCustomersAxis_1b2acc6b-d5ab-452c-918e-a130956024ca" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_MajorCustomersAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_526d9811-1c5b-4356-9a39-11994e8776c8" xlink:to="loc_srt_MajorCustomersAxis_1b2acc6b-d5ab-452c-918e-a130956024ca" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_NameOfMajorCustomerDomain_1b2acc6b-d5ab-452c-918e-a130956024ca_default" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_NameOfMajorCustomerDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_MajorCustomersAxis_1b2acc6b-d5ab-452c-918e-a130956024ca" xlink:to="loc_srt_NameOfMajorCustomerDomain_1b2acc6b-d5ab-452c-918e-a130956024ca_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_NameOfMajorCustomerDomain_8bb33b46-cd44-426d-a756-1a5fc8805fbf" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_NameOfMajorCustomerDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_MajorCustomersAxis_1b2acc6b-d5ab-452c-918e-a130956024ca" xlink:to="loc_srt_NameOfMajorCustomerDomain_8bb33b46-cd44-426d-a756-1a5fc8805fbf" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_GovernmentTransactionsMember_2e481569-93fc-450d-9d1a-63661f39da5a" xlink:href="mtz-20220331.xsd#mtz_GovernmentTransactionsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_NameOfMajorCustomerDomain_8bb33b46-cd44-426d-a756-1a5fc8805fbf" xlink:to="loc_mtz_GovernmentTransactionsMember_2e481569-93fc-450d-9d1a-63661f39da5a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_992b830e-c33c-4f8f-acfe-1e1de72fa225" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ConcentrationRiskByBenchmarkAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_526d9811-1c5b-4356-9a39-11994e8776c8" xlink:to="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_992b830e-c33c-4f8f-acfe-1e1de72fa225" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskBenchmarkDomain_992b830e-c33c-4f8f-acfe-1e1de72fa225_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ConcentrationRiskBenchmarkDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_992b830e-c33c-4f8f-acfe-1e1de72fa225" xlink:to="loc_us-gaap_ConcentrationRiskBenchmarkDomain_992b830e-c33c-4f8f-acfe-1e1de72fa225_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskBenchmarkDomain_b0b1d17c-9d1f-4269-b07f-0962fe080344" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ConcentrationRiskBenchmarkDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_992b830e-c33c-4f8f-acfe-1e1de72fa225" xlink:to="loc_us-gaap_ConcentrationRiskBenchmarkDomain_b0b1d17c-9d1f-4269-b07f-0962fe080344" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableMember_82cc751f-ccb2-479a-85f3-99b339c57a41" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AccountsReceivableMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskBenchmarkDomain_b0b1d17c-9d1f-4269-b07f-0962fe080344" xlink:to="loc_us-gaap_AccountsReceivableMember_82cc751f-ccb2-479a-85f3-99b339c57a41" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SalesRevenueNetMember_79d251b1-5a6b-4d0b-a06d-83c7d2002075" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SalesRevenueNetMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskBenchmarkDomain_b0b1d17c-9d1f-4269-b07f-0962fe080344" xlink:to="loc_us-gaap_SalesRevenueNetMember_79d251b1-5a6b-4d0b-a06d-83c7d2002075" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskByTypeAxis_573ec6b2-4398-4deb-96ec-590d703a0a64" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ConcentrationRiskByTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_526d9811-1c5b-4356-9a39-11994e8776c8" xlink:to="loc_us-gaap_ConcentrationRiskByTypeAxis_573ec6b2-4398-4deb-96ec-590d703a0a64" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskTypeDomain_573ec6b2-4398-4deb-96ec-590d703a0a64_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ConcentrationRiskTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConcentrationRiskByTypeAxis_573ec6b2-4398-4deb-96ec-590d703a0a64" xlink:to="loc_us-gaap_ConcentrationRiskTypeDomain_573ec6b2-4398-4deb-96ec-590d703a0a64_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskTypeDomain_04da0d74-1a23-48cf-89e7-63ee5d12ae5b" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ConcentrationRiskTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConcentrationRiskByTypeAxis_573ec6b2-4398-4deb-96ec-590d703a0a64" xlink:to="loc_us-gaap_ConcentrationRiskTypeDomain_04da0d74-1a23-48cf-89e7-63ee5d12ae5b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeographicConcentrationRiskMember_3be3cdf1-71f5-43f7-8bac-8753888faaf1" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_GeographicConcentrationRiskMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskTypeDomain_04da0d74-1a23-48cf-89e7-63ee5d12ae5b" xlink:to="loc_us-gaap_GeographicConcentrationRiskMember_3be3cdf1-71f5-43f7-8bac-8753888faaf1" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CustomerConcentrationRiskMember_31459e04-35d7-42ac-94df-cc20b0c3e1c1" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CustomerConcentrationRiskMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskTypeDomain_04da0d74-1a23-48cf-89e7-63ee5d12ae5b" xlink:to="loc_us-gaap_CustomerConcentrationRiskMember_31459e04-35d7-42ac-94df-cc20b0c3e1c1" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mastec.com/role/SegmentsandRelatedInformationSignificantCustomersNarrativeDetails" xlink:type="simple" xlink:href="mtz-20220331.xsd#SegmentsandRelatedInformationSignificantCustomersNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.mastec.com/role/SegmentsandRelatedInformationSignificantCustomersNarrativeDetails" xlink:type="extended" id="ic0769c56f4874d20ae5062ca3c0a9c21_SegmentsandRelatedInformationSignificantCustomersNarrativeDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentReportingInformationLineItems_a6866ce7-7b20-401a-b7be-98f72ad65ea8" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SegmentReportingInformationLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskPercentage1_f45d7091-b408-427f-8bba-39cc4b572014" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ConcentrationRiskPercentage1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_a6866ce7-7b20-401a-b7be-98f72ad65ea8" xlink:to="loc_us-gaap_ConcentrationRiskPercentage1_f45d7091-b408-427f-8bba-39cc4b572014" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_41b78e6f-f8cf-4664-963a-f33f834c4d05" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_a6866ce7-7b20-401a-b7be-98f72ad65ea8" xlink:to="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_41b78e6f-f8cf-4664-963a-f33f834c4d05" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_295e477d-4bc4-45d3-8a2d-22e929607d6f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ConcentrationRiskByBenchmarkAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_41b78e6f-f8cf-4664-963a-f33f834c4d05" xlink:to="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_295e477d-4bc4-45d3-8a2d-22e929607d6f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskBenchmarkDomain_295e477d-4bc4-45d3-8a2d-22e929607d6f_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ConcentrationRiskBenchmarkDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_295e477d-4bc4-45d3-8a2d-22e929607d6f" xlink:to="loc_us-gaap_ConcentrationRiskBenchmarkDomain_295e477d-4bc4-45d3-8a2d-22e929607d6f_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskBenchmarkDomain_2820e1fc-6381-4875-b565-dba11fd89913" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ConcentrationRiskBenchmarkDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_295e477d-4bc4-45d3-8a2d-22e929607d6f" xlink:to="loc_us-gaap_ConcentrationRiskBenchmarkDomain_2820e1fc-6381-4875-b565-dba11fd89913" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SalesRevenueNetMember_d4313b7c-8237-4755-9090-632ec80da45e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SalesRevenueNetMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskBenchmarkDomain_2820e1fc-6381-4875-b565-dba11fd89913" xlink:to="loc_us-gaap_SalesRevenueNetMember_d4313b7c-8237-4755-9090-632ec80da45e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MajorCustomersAxis_08c80975-898a-4437-b476-3d0e3a09e539" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_MajorCustomersAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_41b78e6f-f8cf-4664-963a-f33f834c4d05" xlink:to="loc_srt_MajorCustomersAxis_08c80975-898a-4437-b476-3d0e3a09e539" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_NameOfMajorCustomerDomain_08c80975-898a-4437-b476-3d0e3a09e539_default" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_NameOfMajorCustomerDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_MajorCustomersAxis_08c80975-898a-4437-b476-3d0e3a09e539" xlink:to="loc_srt_NameOfMajorCustomerDomain_08c80975-898a-4437-b476-3d0e3a09e539_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_NameOfMajorCustomerDomain_80481ddc-6946-4197-bba1-1165422b782f" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_NameOfMajorCustomerDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_MajorCustomersAxis_08c80975-898a-4437-b476-3d0e3a09e539" xlink:to="loc_srt_NameOfMajorCustomerDomain_80481ddc-6946-4197-bba1-1165422b782f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_EnbridgeIncMember_e03989db-d31d-4eb7-b7ca-55b32805b63f" xlink:href="mtz-20220331.xsd#mtz_EnbridgeIncMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_NameOfMajorCustomerDomain_80481ddc-6946-4197-bba1-1165422b782f" xlink:to="loc_mtz_EnbridgeIncMember_e03989db-d31d-4eb7-b7ca-55b32805b63f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskByTypeAxis_ee5db83f-edfc-430c-9320-fb3d4512728f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ConcentrationRiskByTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_41b78e6f-f8cf-4664-963a-f33f834c4d05" xlink:to="loc_us-gaap_ConcentrationRiskByTypeAxis_ee5db83f-edfc-430c-9320-fb3d4512728f" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskTypeDomain_ee5db83f-edfc-430c-9320-fb3d4512728f_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ConcentrationRiskTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConcentrationRiskByTypeAxis_ee5db83f-edfc-430c-9320-fb3d4512728f" xlink:to="loc_us-gaap_ConcentrationRiskTypeDomain_ee5db83f-edfc-430c-9320-fb3d4512728f_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskTypeDomain_4b529af0-f099-49ec-b9ce-5fcbeec749d3" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ConcentrationRiskTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConcentrationRiskByTypeAxis_ee5db83f-edfc-430c-9320-fb3d4512728f" xlink:to="loc_us-gaap_ConcentrationRiskTypeDomain_4b529af0-f099-49ec-b9ce-5fcbeec749d3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CustomerConcentrationRiskMember_e66ca77e-e0d5-4e7e-9e30-32acfa539b6a" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CustomerConcentrationRiskMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskTypeDomain_4b529af0-f099-49ec-b9ce-5fcbeec749d3" xlink:to="loc_us-gaap_CustomerConcentrationRiskMember_e66ca77e-e0d5-4e7e-9e30-32acfa539b6a" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mastec.com/role/CommitmentsandContingenciesAdditionalInformationDetails" xlink:type="simple" xlink:href="mtz-20220331.xsd#CommitmentsandContingenciesAdditionalInformationDetails"/>
  <link:definitionLink xlink:role="http://www.mastec.com/role/CommitmentsandContingenciesAdditionalInformationDetails" xlink:type="extended" id="if37c6c6bad574e1eb81a2a16c3d2df5b_CommitmentsandContingenciesAdditionalInformationDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LossContingenciesLineItems_f0d6c436-c59e-456a-a272-0dc6b0e78e0f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LossContingenciesLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsCurrent_6cef976c-d228-4b8e-bce0-9081404d1749" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherAssetsCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_f0d6c436-c59e-456a-a272-0dc6b0e78e0f" xlink:to="loc_us-gaap_OtherAssetsCurrent_6cef976c-d228-4b8e-bce0-9081404d1749" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LossContingenciesTable_d12dfaaa-3dcb-483d-ab31-770e0037e6d7" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LossContingenciesTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_LossContingenciesLineItems_f0d6c436-c59e-456a-a272-0dc6b0e78e0f" xlink:to="loc_us-gaap_LossContingenciesTable_d12dfaaa-3dcb-483d-ab31-770e0037e6d7" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_LitigationCaseAxis_19db8599-0711-4c5d-8308-ece44b7dae41" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_LitigationCaseAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_d12dfaaa-3dcb-483d-ab31-770e0037e6d7" xlink:to="loc_srt_LitigationCaseAxis_19db8599-0711-4c5d-8308-ece44b7dae41" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_LitigationCaseTypeDomain_19db8599-0711-4c5d-8308-ece44b7dae41_default" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_LitigationCaseTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_LitigationCaseAxis_19db8599-0711-4c5d-8308-ece44b7dae41" xlink:to="loc_srt_LitigationCaseTypeDomain_19db8599-0711-4c5d-8308-ece44b7dae41_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_LitigationCaseTypeDomain_59e90191-eeb6-4b5b-a866-2b0d41c19a02" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_LitigationCaseTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_LitigationCaseAxis_19db8599-0711-4c5d-8308-ece44b7dae41" xlink:to="loc_srt_LitigationCaseTypeDomain_59e90191-eeb6-4b5b-a866-2b0d41c19a02" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_ThirdQuarterSettlementMember_613aa515-b26f-4eb8-95dc-8759cc68750e" xlink:href="mtz-20220331.xsd#mtz_ThirdQuarterSettlementMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_LitigationCaseTypeDomain_59e90191-eeb6-4b5b-a866-2b0d41c19a02" xlink:to="loc_mtz_ThirdQuarterSettlementMember_613aa515-b26f-4eb8-95dc-8759cc68750e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LitigationStatusAxis_565e2865-f532-4057-9a9f-dd914b6723aa" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LitigationStatusAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_d12dfaaa-3dcb-483d-ab31-770e0037e6d7" xlink:to="loc_us-gaap_LitigationStatusAxis_565e2865-f532-4057-9a9f-dd914b6723aa" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LitigationStatusDomain_565e2865-f532-4057-9a9f-dd914b6723aa_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LitigationStatusDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LitigationStatusAxis_565e2865-f532-4057-9a9f-dd914b6723aa" xlink:to="loc_us-gaap_LitigationStatusDomain_565e2865-f532-4057-9a9f-dd914b6723aa_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LitigationStatusDomain_b716bfd0-887f-4d8e-8041-7f1f45f5b9d9" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LitigationStatusDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LitigationStatusAxis_565e2865-f532-4057-9a9f-dd914b6723aa" xlink:to="loc_us-gaap_LitigationStatusDomain_b716bfd0-887f-4d8e-8041-7f1f45f5b9d9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SettledLitigationMember_b1a29eb0-013c-4789-830a-69169eefa065" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SettledLitigationMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LitigationStatusDomain_b716bfd0-887f-4d8e-8041-7f1f45f5b9d9" xlink:to="loc_us-gaap_SettledLitigationMember_b1a29eb0-013c-4789-830a-69169eefa065" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mastec.com/role/CommitmentsandContingenciesLettersofCreditBondsSelfInsuranceMultiemployerPlansIndemnitiesNarrativeDetails" xlink:type="simple" xlink:href="mtz-20220331.xsd#CommitmentsandContingenciesLettersofCreditBondsSelfInsuranceMultiemployerPlansIndemnitiesNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.mastec.com/role/CommitmentsandContingenciesLettersofCreditBondsSelfInsuranceMultiemployerPlansIndemnitiesNarrativeDetails" xlink:type="extended" id="iea0b6ac66c4f468da6fd1ad1bb39c0c9_CommitmentsandContingenciesLettersofCreditBondsSelfInsuranceMultiemployerPlansIndemnitiesNarrativeDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LossContingenciesLineItems_e4498f3c-f9cf-4e2c-9496-8f0d794dae9e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LossContingenciesLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LettersOfCreditOutstandingAmount_cfa68e0c-c636-47a5-8f4c-ca449bb57499" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LettersOfCreditOutstandingAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_e4498f3c-f9cf-4e2c-9496-8f0d794dae9e" xlink:to="loc_us-gaap_LettersOfCreditOutstandingAmount_cfa68e0c-c636-47a5-8f4c-ca449bb57499" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GuaranteeObligationsMaximumExposure_39eb765e-327f-42ff-b636-fd0eff8676fd" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_GuaranteeObligationsMaximumExposure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_e4498f3c-f9cf-4e2c-9496-8f0d794dae9e" xlink:to="loc_us-gaap_GuaranteeObligationsMaximumExposure_39eb765e-327f-42ff-b636-fd0eff8676fd" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_EstimatedCostsToCompleteProjectsSecuredByBonds_1adb1c4d-97ec-4a4b-ba02-52ad6a935740" xlink:href="mtz-20220331.xsd#mtz_EstimatedCostsToCompleteProjectsSecuredByBonds"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_e4498f3c-f9cf-4e2c-9496-8f0d794dae9e" xlink:to="loc_mtz_EstimatedCostsToCompleteProjectsSecuredByBonds_1adb1c4d-97ec-4a4b-ba02-52ad6a935740" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_21d7938d-774c-4178-98d5-8b6fe410f806" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_e4498f3c-f9cf-4e2c-9496-8f0d794dae9e" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_21d7938d-774c-4178-98d5-8b6fe410f806" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SelfInsuranceReserve_bc75ad12-342c-4018-92e2-01e86417d297" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SelfInsuranceReserve"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_e4498f3c-f9cf-4e2c-9496-8f0d794dae9e" xlink:to="loc_us-gaap_SelfInsuranceReserve_bc75ad12-342c-4018-92e2-01e86417d297" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SelfInsuranceReserveNoncurrent_650b7c8a-04b6-447d-975b-5ba92d560a26" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SelfInsuranceReserveNoncurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_e4498f3c-f9cf-4e2c-9496-8f0d794dae9e" xlink:to="loc_us-gaap_SelfInsuranceReserveNoncurrent_650b7c8a-04b6-447d-975b-5ba92d560a26" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_MultiemployerPlanQuarterlyExpectedFutureBenefitPayment_c7ee59c5-cfad-43a1-b921-99f9197b522a" xlink:href="mtz-20220331.xsd#mtz_MultiemployerPlanQuarterlyExpectedFutureBenefitPayment"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_e4498f3c-f9cf-4e2c-9496-8f0d794dae9e" xlink:to="loc_mtz_MultiemployerPlanQuarterlyExpectedFutureBenefitPayment_c7ee59c5-cfad-43a1-b921-99f9197b522a" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MultiemployerPlansWithdrawalObligation_1dbf1153-c7ec-4ca1-86ff-ec17f64c6340" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_MultiemployerPlansWithdrawalObligation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_e4498f3c-f9cf-4e2c-9496-8f0d794dae9e" xlink:to="loc_us-gaap_MultiemployerPlansWithdrawalObligation_1dbf1153-c7ec-4ca1-86ff-ec17f64c6340" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LossContingencyAccrualAtCarryingValue_e4c0e403-b3dc-4be4-88db-d8b04252c75c" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LossContingencyAccrualAtCarryingValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_e4498f3c-f9cf-4e2c-9496-8f0d794dae9e" xlink:to="loc_us-gaap_LossContingencyAccrualAtCarryingValue_e4c0e403-b3dc-4be4-88db-d8b04252c75c" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LossContingenciesTable_b064d740-5e0e-4225-a9d3-9371d8a27822" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LossContingenciesTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_LossContingenciesLineItems_e4498f3c-f9cf-4e2c-9496-8f0d794dae9e" xlink:to="loc_us-gaap_LossContingenciesTable_b064d740-5e0e-4225-a9d3-9371d8a27822" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GuaranteeObligationsByNatureAxis_16a2ee28-d477-4420-bdea-1830163ad4b3" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_GuaranteeObligationsByNatureAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_b064d740-5e0e-4225-a9d3-9371d8a27822" xlink:to="loc_us-gaap_GuaranteeObligationsByNatureAxis_16a2ee28-d477-4420-bdea-1830163ad4b3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GuaranteeObligationsNatureDomain_16a2ee28-d477-4420-bdea-1830163ad4b3_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_GuaranteeObligationsNatureDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_GuaranteeObligationsByNatureAxis_16a2ee28-d477-4420-bdea-1830163ad4b3" xlink:to="loc_us-gaap_GuaranteeObligationsNatureDomain_16a2ee28-d477-4420-bdea-1830163ad4b3_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GuaranteeObligationsNatureDomain_550a0b34-30ab-4931-8b34-1ff805b6ea83" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_GuaranteeObligationsNatureDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_GuaranteeObligationsByNatureAxis_16a2ee28-d477-4420-bdea-1830163ad4b3" xlink:to="loc_us-gaap_GuaranteeObligationsNatureDomain_550a0b34-30ab-4931-8b34-1ff805b6ea83" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PerformanceGuaranteeMember_7316bbce-3e96-413d-99ce-e84ce4202e33" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PerformanceGuaranteeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsNatureDomain_550a0b34-30ab-4931-8b34-1ff805b6ea83" xlink:to="loc_us-gaap_PerformanceGuaranteeMember_7316bbce-3e96-413d-99ce-e84ce4202e33" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialStandbyLetterOfCreditMember_532ed389-fbfe-4b68-914a-027a518f202a" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinancialStandbyLetterOfCreditMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsNatureDomain_550a0b34-30ab-4931-8b34-1ff805b6ea83" xlink:to="loc_us-gaap_FinancialStandbyLetterOfCreditMember_532ed389-fbfe-4b68-914a-027a518f202a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SuretyBondMember_8b74a15b-6636-40cc-a216-61319f0dd2da" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SuretyBondMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsNatureDomain_550a0b34-30ab-4931-8b34-1ff805b6ea83" xlink:to="loc_us-gaap_SuretyBondMember_8b74a15b-6636-40cc-a216-61319f0dd2da" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesAxis_25253953-d33d-4c0a-ace1-03a65c664bea" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_ConsolidatedEntitiesAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_b064d740-5e0e-4225-a9d3-9371d8a27822" xlink:to="loc_srt_ConsolidatedEntitiesAxis_25253953-d33d-4c0a-ace1-03a65c664bea" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesDomain_25253953-d33d-4c0a-ace1-03a65c664bea_default" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_ConsolidatedEntitiesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ConsolidatedEntitiesAxis_25253953-d33d-4c0a-ace1-03a65c664bea" xlink:to="loc_srt_ConsolidatedEntitiesDomain_25253953-d33d-4c0a-ace1-03a65c664bea_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesDomain_87e8375c-81c0-4c23-92c8-cb3f7ed4ed39" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_ConsolidatedEntitiesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ConsolidatedEntitiesAxis_25253953-d33d-4c0a-ace1-03a65c664bea" xlink:to="loc_srt_ConsolidatedEntitiesDomain_87e8375c-81c0-4c23-92c8-cb3f7ed4ed39" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_SubsidiariesMember_9a4e9791-e369-441b-b2ac-51ba1e052753" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_SubsidiariesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidatedEntitiesDomain_87e8375c-81c0-4c23-92c8-cb3f7ed4ed39" xlink:to="loc_srt_SubsidiariesMember_9a4e9791-e369-441b-b2ac-51ba1e052753" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LossContingenciesByNatureOfContingencyAxis_53b47681-be52-49a7-ac47-f44e2e8f388e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LossContingenciesByNatureOfContingencyAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_b064d740-5e0e-4225-a9d3-9371d8a27822" xlink:to="loc_us-gaap_LossContingenciesByNatureOfContingencyAxis_53b47681-be52-49a7-ac47-f44e2e8f388e" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LossContingencyNatureDomain_53b47681-be52-49a7-ac47-f44e2e8f388e_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LossContingencyNatureDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LossContingenciesByNatureOfContingencyAxis_53b47681-be52-49a7-ac47-f44e2e8f388e" xlink:to="loc_us-gaap_LossContingencyNatureDomain_53b47681-be52-49a7-ac47-f44e2e8f388e_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LossContingencyNatureDomain_e3fbda6c-68ac-4877-84f0-a4b1d67da290" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LossContingencyNatureDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LossContingenciesByNatureOfContingencyAxis_53b47681-be52-49a7-ac47-f44e2e8f388e" xlink:to="loc_us-gaap_LossContingencyNatureDomain_e3fbda6c-68ac-4877-84f0-a4b1d67da290" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UninsuredRiskMember_fbbfedf0-2e94-414b-be2a-3f557783c681" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_UninsuredRiskMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingencyNatureDomain_e3fbda6c-68ac-4877-84f0-a4b1d67da290" xlink:to="loc_us-gaap_UninsuredRiskMember_fbbfedf0-2e94-414b-be2a-3f557783c681" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductOrServiceAxis_fe9f54d9-5385-43ad-8f9f-8325f5731f3b" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_ProductOrServiceAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_b064d740-5e0e-4225-a9d3-9371d8a27822" xlink:to="loc_srt_ProductOrServiceAxis_fe9f54d9-5385-43ad-8f9f-8325f5731f3b" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_fe9f54d9-5385-43ad-8f9f-8325f5731f3b_default" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ProductOrServiceAxis_fe9f54d9-5385-43ad-8f9f-8325f5731f3b" xlink:to="loc_srt_ProductsAndServicesDomain_fe9f54d9-5385-43ad-8f9f-8325f5731f3b_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_8bb8fab2-caf4-4360-a015-5b36044bc395" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ProductOrServiceAxis_fe9f54d9-5385-43ad-8f9f-8325f5731f3b" xlink:to="loc_srt_ProductsAndServicesDomain_8bb8fab2-caf4-4360-a015-5b36044bc395" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyLiabilityAndCasualtyInsuranceSegmentMember_a4c07188-9d38-41a0-981c-9368b6e6a776" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PropertyLiabilityAndCasualtyInsuranceSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_8bb8fab2-caf4-4360-a015-5b36044bc395" xlink:to="loc_us-gaap_PropertyLiabilityAndCasualtyInsuranceSegmentMember_a4c07188-9d38-41a0-981c-9368b6e6a776" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GroupPoliciesMember_dc75c43d-f709-4500-aac3-542a1202476f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_GroupPoliciesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_8bb8fab2-caf4-4360-a015-5b36044bc395" xlink:to="loc_us-gaap_GroupPoliciesMember_dc75c43d-f709-4500-aac3-542a1202476f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccidentAndHealthInsuranceSegmentMember_8c6703b8-0c78-4491-b8ce-65838ae4362d" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AccidentAndHealthInsuranceSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_8bb8fab2-caf4-4360-a015-5b36044bc395" xlink:to="loc_us-gaap_AccidentAndHealthInsuranceSegmentMember_8c6703b8-0c78-4491-b8ce-65838ae4362d" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BalanceSheetLocationAxis_34c004d1-8d23-4cd9-a18e-2d620b132478" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BalanceSheetLocationAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_b064d740-5e0e-4225-a9d3-9371d8a27822" xlink:to="loc_us-gaap_BalanceSheetLocationAxis_34c004d1-8d23-4cd9-a18e-2d620b132478" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_34c004d1-8d23-4cd9-a18e-2d620b132478_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BalanceSheetLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BalanceSheetLocationAxis_34c004d1-8d23-4cd9-a18e-2d620b132478" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_34c004d1-8d23-4cd9-a18e-2d620b132478_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_e7ebbada-df82-4b55-9210-dfbe5597abab" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BalanceSheetLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BalanceSheetLocationAxis_34c004d1-8d23-4cd9-a18e-2d620b132478" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_e7ebbada-df82-4b55-9210-dfbe5597abab" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNoncurrentLiabilitiesMember_869ba419-106b-4ac7-af65-cdb54184776f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherNoncurrentLiabilitiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_e7ebbada-df82-4b55-9210-dfbe5597abab" xlink:to="loc_us-gaap_OtherNoncurrentLiabilitiesMember_869ba419-106b-4ac7-af65-cdb54184776f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_f4506954-4eb2-48dc-946e-3dfac25e32a8" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RelatedPartyTransactionsByRelatedPartyAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_b064d740-5e0e-4225-a9d3-9371d8a27822" xlink:to="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_f4506954-4eb2-48dc-946e-3dfac25e32a8" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyDomain_f4506954-4eb2-48dc-946e-3dfac25e32a8_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RelatedPartyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_f4506954-4eb2-48dc-946e-3dfac25e32a8" xlink:to="loc_us-gaap_RelatedPartyDomain_f4506954-4eb2-48dc-946e-3dfac25e32a8_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyDomain_b3590934-5a45-4746-9bc7-21977264d6e1" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RelatedPartyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_f4506954-4eb2-48dc-946e-3dfac25e32a8" xlink:to="loc_us-gaap_RelatedPartyDomain_b3590934-5a45-4746-9bc7-21977264d6e1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_CaptiveInsuranceCompanyMember_703e8822-d64d-4564-8e31-bd31ec47df8f" xlink:href="mtz-20220331.xsd#mtz_CaptiveInsuranceCompanyMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyDomain_b3590934-5a45-4746-9bc7-21977264d6e1" xlink:to="loc_mtz_CaptiveInsuranceCompanyMember_703e8822-d64d-4564-8e31-bd31ec47df8f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CorporateJointVentureMember_15e9155f-3e65-43ff-8685-47c670f83eb5" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CorporateJointVentureMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyDomain_b3590934-5a45-4746-9bc7-21977264d6e1" xlink:to="loc_us-gaap_CorporateJointVentureMember_15e9155f-3e65-43ff-8685-47c670f83eb5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanTypeAxis_caceba2a-5252-473c-b4a2-e115cf14a084" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RetirementPlanTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_b064d740-5e0e-4225-a9d3-9371d8a27822" xlink:to="loc_us-gaap_RetirementPlanTypeAxis_caceba2a-5252-473c-b4a2-e115cf14a084" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanTypeDomain_caceba2a-5252-473c-b4a2-e115cf14a084_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RetirementPlanTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RetirementPlanTypeAxis_caceba2a-5252-473c-b4a2-e115cf14a084" xlink:to="loc_us-gaap_RetirementPlanTypeDomain_caceba2a-5252-473c-b4a2-e115cf14a084_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanTypeDomain_5bae08a3-ee35-4701-9d02-40bd4f91a366" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RetirementPlanTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RetirementPlanTypeAxis_caceba2a-5252-473c-b4a2-e115cf14a084" xlink:to="loc_us-gaap_RetirementPlanTypeDomain_5bae08a3-ee35-4701-9d02-40bd4f91a366" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PensionPlansDefinedBenefitMember_dfde9ae5-b414-477a-97e5-c3490c7d3674" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PensionPlansDefinedBenefitMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanTypeDomain_5bae08a3-ee35-4701-9d02-40bd4f91a366" xlink:to="loc_us-gaap_PensionPlansDefinedBenefitMember_dfde9ae5-b414-477a-97e5-c3490c7d3674" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_LegalEntityAxis_40aebcd4-2783-4a3f-aaeb-099111b98ba4" xlink:href="https://xbrl.sec.gov/dei/2021q4/dei-2021q4.xsd#dei_LegalEntityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_b064d740-5e0e-4225-a9d3-9371d8a27822" xlink:to="loc_dei_LegalEntityAxis_40aebcd4-2783-4a3f-aaeb-099111b98ba4" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_40aebcd4-2783-4a3f-aaeb-099111b98ba4_default" xlink:href="https://xbrl.sec.gov/dei/2021q4/dei-2021q4.xsd#dei_EntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_40aebcd4-2783-4a3f-aaeb-099111b98ba4" xlink:to="loc_dei_EntityDomain_40aebcd4-2783-4a3f-aaeb-099111b98ba4_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_b95a5581-651a-4a7f-ad40-d67265f1e8a0" xlink:href="https://xbrl.sec.gov/dei/2021q4/dei-2021q4.xsd#dei_EntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_40aebcd4-2783-4a3f-aaeb-099111b98ba4" xlink:to="loc_dei_EntityDomain_b95a5581-651a-4a7f-ad40-d67265f1e8a0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_HenkelsMcCoyGroupIncMember_057a2009-e94f-4101-8ffc-d9fc0927d56b" xlink:href="mtz-20220331.xsd#mtz_HenkelsMcCoyGroupIncMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_b95a5581-651a-4a7f-ad40-d67265f1e8a0" xlink:to="loc_mtz_HenkelsMcCoyGroupIncMember_057a2009-e94f-4101-8ffc-d9fc0927d56b" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mastec.com/role/CommitmentsandContingenciesInvestmentArrangementsDetails" xlink:type="simple" xlink:href="mtz-20220331.xsd#CommitmentsandContingenciesInvestmentArrangementsDetails"/>
  <link:definitionLink xlink:role="http://www.mastec.com/role/CommitmentsandContingenciesInvestmentArrangementsDetails" xlink:type="extended" id="i23edae395dee484d97385199bcd925fb_CommitmentsandContingenciesInvestmentArrangementsDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherCommitmentsLineItems_d20a4fc6-6a29-4492-a264-896d00986fa1" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherCommitmentsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_ProportionatelyConsolidatedJointVentureOwnershipPercentage_f6a3da94-31c2-4a95-abbc-5cae31943e05" xlink:href="mtz-20220331.xsd#mtz_ProportionatelyConsolidatedJointVentureOwnershipPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherCommitmentsLineItems_d20a4fc6-6a29-4492-a264-896d00986fa1" xlink:to="loc_mtz_ProportionatelyConsolidatedJointVentureOwnershipPercentage_f6a3da94-31c2-4a95-abbc-5cae31943e05" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_NumberOfJointVentures_129673a6-2850-47d1-88e5-b2d488f87b1b" xlink:href="mtz-20220331.xsd#mtz_NumberOfJointVentures"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherCommitmentsLineItems_d20a4fc6-6a29-4492-a264-896d00986fa1" xlink:to="loc_mtz_NumberOfJointVentures_129673a6-2850-47d1-88e5-b2d488f87b1b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_4c8c049d-6c63-4c44-9151-bdc878fae22f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherCommitmentsLineItems_d20a4fc6-6a29-4492-a264-896d00986fa1" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_4c8c049d-6c63-4c44-9151-bdc878fae22f" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherCommitmentsTable_720197c5-0f3f-43c5-8eb5-1beb6c34c110" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherCommitmentsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_OtherCommitmentsLineItems_d20a4fc6-6a29-4492-a264-896d00986fa1" xlink:to="loc_us-gaap_OtherCommitmentsTable_720197c5-0f3f-43c5-8eb5-1beb6c34c110" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_612a0885-b599-4c8a-89e8-b84d659c1f9b" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RelatedPartyTransactionsByRelatedPartyAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_OtherCommitmentsTable_720197c5-0f3f-43c5-8eb5-1beb6c34c110" xlink:to="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_612a0885-b599-4c8a-89e8-b84d659c1f9b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyDomain_612a0885-b599-4c8a-89e8-b84d659c1f9b_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RelatedPartyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_612a0885-b599-4c8a-89e8-b84d659c1f9b" xlink:to="loc_us-gaap_RelatedPartyDomain_612a0885-b599-4c8a-89e8-b84d659c1f9b_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyDomain_7ee1904c-dd27-4a62-80c6-8c4d0012f993" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RelatedPartyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_612a0885-b599-4c8a-89e8-b84d659c1f9b" xlink:to="loc_us-gaap_RelatedPartyDomain_7ee1904c-dd27-4a62-80c6-8c4d0012f993" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CorporateJointVentureMember_39bb87ff-770e-4bdc-aea7-3f69c8b70ffd" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CorporateJointVentureMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyDomain_7ee1904c-dd27-4a62-80c6-8c4d0012f993" xlink:to="loc_us-gaap_CorporateJointVentureMember_39bb87ff-770e-4bdc-aea7-3f69c8b70ffd" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_OwnershipAxis_475695a2-2dab-468a-b81f-524fac925ce6" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_OwnershipAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_OtherCommitmentsTable_720197c5-0f3f-43c5-8eb5-1beb6c34c110" xlink:to="loc_srt_OwnershipAxis_475695a2-2dab-468a-b81f-524fac925ce6" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_OwnershipDomain_475695a2-2dab-468a-b81f-524fac925ce6_default" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_OwnershipDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_OwnershipAxis_475695a2-2dab-468a-b81f-524fac925ce6" xlink:to="loc_srt_OwnershipDomain_475695a2-2dab-468a-b81f-524fac925ce6_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_OwnershipDomain_6b9892d9-17f6-447b-9e8f-51a0660d0128" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_OwnershipDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_OwnershipAxis_475695a2-2dab-468a-b81f-524fac925ce6" xlink:to="loc_srt_OwnershipDomain_6b9892d9-17f6-447b-9e8f-51a0660d0128" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_JointVenturesThatProvideElectricalTransmissionInfrastructureServicesMember_cf1d44a0-63e9-4765-9121-815119b8646f" xlink:href="mtz-20220331.xsd#mtz_JointVenturesThatProvideElectricalTransmissionInfrastructureServicesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_OwnershipDomain_6b9892d9-17f6-447b-9e8f-51a0660d0128" xlink:to="loc_mtz_JointVenturesThatProvideElectricalTransmissionInfrastructureServicesMember_cf1d44a0-63e9-4765-9121-815119b8646f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_JointVentureCivilConstructionProjectMemberDomain_57d5a759-4ac0-457e-9c37-21c745672e20" xlink:href="mtz-20220331.xsd#mtz_JointVentureCivilConstructionProjectMemberDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_OwnershipDomain_6b9892d9-17f6-447b-9e8f-51a0660d0128" xlink:to="loc_mtz_JointVentureCivilConstructionProjectMemberDomain_57d5a759-4ac0-457e-9c37-21c745672e20" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_53e8ad37-7c7e-4af3-8359-c7f050a3b83f" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_OtherCommitmentsTable_720197c5-0f3f-43c5-8eb5-1beb6c34c110" xlink:to="loc_srt_RangeAxis_53e8ad37-7c7e-4af3-8359-c7f050a3b83f" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_53e8ad37-7c7e-4af3-8359-c7f050a3b83f_default" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_53e8ad37-7c7e-4af3-8359-c7f050a3b83f" xlink:to="loc_srt_RangeMember_53e8ad37-7c7e-4af3-8359-c7f050a3b83f_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_9de48f29-b486-4c1c-bd8b-9f437ba72c1b" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_53e8ad37-7c7e-4af3-8359-c7f050a3b83f" xlink:to="loc_srt_RangeMember_9de48f29-b486-4c1c-bd8b-9f437ba72c1b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_c7a8dd48-64d4-46bf-ac6c-e9e9d20b9491" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_MinimumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_9de48f29-b486-4c1c-bd8b-9f437ba72c1b" xlink:to="loc_srt_MinimumMember_c7a8dd48-64d4-46bf-ac6c-e9e9d20b9491" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_bb9dadb0-60c2-4852-bf46-ccd646844d1c" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_9de48f29-b486-4c1c-bd8b-9f437ba72c1b" xlink:to="loc_srt_MaximumMember_bb9dadb0-60c2-4852-bf46-ccd646844d1c" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mastec.com/role/CommitmentsandContingenciesConcentrationsofRiskNarrativeDetails" xlink:type="simple" xlink:href="mtz-20220331.xsd#CommitmentsandContingenciesConcentrationsofRiskNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.mastec.com/role/CommitmentsandContingenciesConcentrationsofRiskNarrativeDetails" xlink:type="extended" id="ib5770184f8e947fba70923ac153e8165_CommitmentsandContingenciesConcentrationsofRiskNarrativeDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskLineItems_1c9f1ab3-ea76-45f2-b0ac-fd3f44d0265f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ConcentrationRiskLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_NumberOfCustomers_57445c10-c10a-4116-bf77-0c750740c07f" xlink:href="mtz-20220331.xsd#mtz_NumberOfCustomers"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskLineItems_1c9f1ab3-ea76-45f2-b0ac-fd3f44d0265f" xlink:to="loc_mtz_NumberOfCustomers_57445c10-c10a-4116-bf77-0c750740c07f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskPercentage1_a855750a-a7b6-4169-b597-aace40ca4d4f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ConcentrationRiskPercentage1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskLineItems_1c9f1ab3-ea76-45f2-b0ac-fd3f44d0265f" xlink:to="loc_us-gaap_ConcentrationRiskPercentage1_a855750a-a7b6-4169-b597-aace40ca4d4f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskTable_1f886626-fc19-4bbc-ae66-83be76c75e18" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ConcentrationRiskTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ConcentrationRiskLineItems_1c9f1ab3-ea76-45f2-b0ac-fd3f44d0265f" xlink:to="loc_us-gaap_ConcentrationRiskTable_1f886626-fc19-4bbc-ae66-83be76c75e18" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_68dbe665-8265-42d5-8748-ddd45ead951c" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ConcentrationRiskByBenchmarkAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ConcentrationRiskTable_1f886626-fc19-4bbc-ae66-83be76c75e18" xlink:to="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_68dbe665-8265-42d5-8748-ddd45ead951c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskBenchmarkDomain_68dbe665-8265-42d5-8748-ddd45ead951c_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ConcentrationRiskBenchmarkDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_68dbe665-8265-42d5-8748-ddd45ead951c" xlink:to="loc_us-gaap_ConcentrationRiskBenchmarkDomain_68dbe665-8265-42d5-8748-ddd45ead951c_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskBenchmarkDomain_7e71757d-b235-48a2-95e8-f5ec05fb40e1" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ConcentrationRiskBenchmarkDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_68dbe665-8265-42d5-8748-ddd45ead951c" xlink:to="loc_us-gaap_ConcentrationRiskBenchmarkDomain_7e71757d-b235-48a2-95e8-f5ec05fb40e1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SalesRevenueNetMember_1b03898c-53d4-4602-8ad0-e0f768ba8e22" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SalesRevenueNetMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskBenchmarkDomain_7e71757d-b235-48a2-95e8-f5ec05fb40e1" xlink:to="loc_us-gaap_SalesRevenueNetMember_1b03898c-53d4-4602-8ad0-e0f768ba8e22" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskByTypeAxis_dad67b4a-3528-414c-92dd-c95dbeb60334" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ConcentrationRiskByTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ConcentrationRiskTable_1f886626-fc19-4bbc-ae66-83be76c75e18" xlink:to="loc_us-gaap_ConcentrationRiskByTypeAxis_dad67b4a-3528-414c-92dd-c95dbeb60334" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskTypeDomain_dad67b4a-3528-414c-92dd-c95dbeb60334_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ConcentrationRiskTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConcentrationRiskByTypeAxis_dad67b4a-3528-414c-92dd-c95dbeb60334" xlink:to="loc_us-gaap_ConcentrationRiskTypeDomain_dad67b4a-3528-414c-92dd-c95dbeb60334_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskTypeDomain_ae8dab50-68f0-4f67-9ec2-d79d425d079b" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ConcentrationRiskTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConcentrationRiskByTypeAxis_dad67b4a-3528-414c-92dd-c95dbeb60334" xlink:to="loc_us-gaap_ConcentrationRiskTypeDomain_ae8dab50-68f0-4f67-9ec2-d79d425d079b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CustomerConcentrationRiskMember_aaddb17b-aa8f-4674-9306-46cb66f72e8d" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CustomerConcentrationRiskMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskTypeDomain_ae8dab50-68f0-4f67-9ec2-d79d425d079b" xlink:to="loc_us-gaap_CustomerConcentrationRiskMember_aaddb17b-aa8f-4674-9306-46cb66f72e8d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MajorCustomersAxis_a55ee7f8-5401-473b-a55c-7c3b019567b8" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_MajorCustomersAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ConcentrationRiskTable_1f886626-fc19-4bbc-ae66-83be76c75e18" xlink:to="loc_srt_MajorCustomersAxis_a55ee7f8-5401-473b-a55c-7c3b019567b8" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_NameOfMajorCustomerDomain_a55ee7f8-5401-473b-a55c-7c3b019567b8_default" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_NameOfMajorCustomerDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_MajorCustomersAxis_a55ee7f8-5401-473b-a55c-7c3b019567b8" xlink:to="loc_srt_NameOfMajorCustomerDomain_a55ee7f8-5401-473b-a55c-7c3b019567b8_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_NameOfMajorCustomerDomain_13e311b9-6fe8-489d-851d-916c6888f444" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_NameOfMajorCustomerDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_MajorCustomersAxis_a55ee7f8-5401-473b-a55c-7c3b019567b8" xlink:to="loc_srt_NameOfMajorCustomerDomain_13e311b9-6fe8-489d-851d-916c6888f444" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_TenLargestCustomersMember_64d5508e-23e1-415d-970e-6317c523c5ad" xlink:href="mtz-20220331.xsd#mtz_TenLargestCustomersMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_NameOfMajorCustomerDomain_13e311b9-6fe8-489d-851d-916c6888f444" xlink:to="loc_mtz_TenLargestCustomersMember_64d5508e-23e1-415d-970e-6317c523c5ad" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mastec.com/role/RelatedPartyTransactionsManagementNarrativeDetails" xlink:type="simple" xlink:href="mtz-20220331.xsd#RelatedPartyTransactionsManagementNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.mastec.com/role/RelatedPartyTransactionsManagementNarrativeDetails" xlink:type="extended" id="i8ed2f9d895714efd985b6eb7e2f6e018_RelatedPartyTransactionsManagementNarrativeDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionLineItems_ac849d85-5852-4439-8540-a2b7dd70a699" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RelatedPartyTransactionLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionExpensesFromTransactionsWithRelatedParty_81d172b2-c8fd-4776-a276-520d2ec7ee3d" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RelatedPartyTransactionExpensesFromTransactionsWithRelatedParty"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_ac849d85-5852-4439-8540-a2b7dd70a699" xlink:to="loc_us-gaap_RelatedPartyTransactionExpensesFromTransactionsWithRelatedParty_81d172b2-c8fd-4776-a276-520d2ec7ee3d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableRelatedPartiesCurrentAndNoncurrent_a675d3ff-4c52-4a95-a8da-63ed218a711c" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AccountsPayableRelatedPartiesCurrentAndNoncurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_ac849d85-5852-4439-8540-a2b7dd70a699" xlink:to="loc_us-gaap_AccountsPayableRelatedPartiesCurrentAndNoncurrent_a675d3ff-4c52-4a95-a8da-63ed218a711c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromRelatedParties_4d0d7398-c5a1-4f93-b2ae-b47a82766adb" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RevenueFromRelatedParties"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_ac849d85-5852-4439-8540-a2b7dd70a699" xlink:to="loc_us-gaap_RevenueFromRelatedParties_4d0d7398-c5a1-4f93-b2ae-b47a82766adb" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableRelatedParties_afdb944c-42ff-4541-b1c3-3576549d36f2" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AccountsReceivableRelatedParties"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_ac849d85-5852-4439-8540-a2b7dd70a699" xlink:to="loc_us-gaap_AccountsReceivableRelatedParties_afdb944c-42ff-4541-b1c3-3576549d36f2" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionOtherRevenuesFromTransactionsWithRelatedParty_b88ad212-cac4-4d43-ba34-ddac19aa51d6" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RelatedPartyTransactionOtherRevenuesFromTransactionsWithRelatedParty"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_ac849d85-5852-4439-8540-a2b7dd70a699" xlink:to="loc_us-gaap_RelatedPartyTransactionOtherRevenuesFromTransactionsWithRelatedParty_b88ad212-cac4-4d43-ba34-ddac19aa51d6" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_1d99c6a6-640c-4568-929d-aae9b57c787f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_ac849d85-5852-4439-8540-a2b7dd70a699" xlink:to="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_1d99c6a6-640c-4568-929d-aae9b57c787f" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_1139f728-ef90-4b68-8d7d-161844a2c742" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RelatedPartyTransactionsByRelatedPartyAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_1d99c6a6-640c-4568-929d-aae9b57c787f" xlink:to="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_1139f728-ef90-4b68-8d7d-161844a2c742" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyDomain_1139f728-ef90-4b68-8d7d-161844a2c742_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RelatedPartyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_1139f728-ef90-4b68-8d7d-161844a2c742" xlink:to="loc_us-gaap_RelatedPartyDomain_1139f728-ef90-4b68-8d7d-161844a2c742_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyDomain_3ddebea0-0964-420b-bd14-9704611defe6" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RelatedPartyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_1139f728-ef90-4b68-8d7d-161844a2c742" xlink:to="loc_us-gaap_RelatedPartyDomain_3ddebea0-0964-420b-bd14-9704611defe6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ManagementMember_2452cbf0-431c-4f80-842e-53a1df32f078" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_ManagementMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyDomain_3ddebea0-0964-420b-bd14-9704611defe6" xlink:to="loc_srt_ManagementMember_2452cbf0-431c-4f80-842e-53a1df32f078" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ExecutiveOfficerMember_98d6a042-f642-48b3-9587-4980f0cc380d" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_ExecutiveOfficerMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyDomain_3ddebea0-0964-420b-bd14-9704611defe6" xlink:to="loc_srt_ExecutiveOfficerMember_98d6a042-f642-48b3-9587-4980f0cc380d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionAxis_ddaeced6-67f0-4e55-be5e-ddec40b85806" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RelatedPartyTransactionAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_1d99c6a6-640c-4568-929d-aae9b57c787f" xlink:to="loc_us-gaap_RelatedPartyTransactionAxis_ddaeced6-67f0-4e55-be5e-ddec40b85806" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionDomain_ddaeced6-67f0-4e55-be5e-ddec40b85806_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RelatedPartyTransactionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RelatedPartyTransactionAxis_ddaeced6-67f0-4e55-be5e-ddec40b85806" xlink:to="loc_us-gaap_RelatedPartyTransactionDomain_ddaeced6-67f0-4e55-be5e-ddec40b85806_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionDomain_c474c554-e1c3-440c-96f2-9239bccfadcd" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RelatedPartyTransactionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RelatedPartyTransactionAxis_ddaeced6-67f0-4e55-be5e-ddec40b85806" xlink:to="loc_us-gaap_RelatedPartyTransactionDomain_c474c554-e1c3-440c-96f2-9239bccfadcd" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_EquipmentSuppliesAndServicesMember_a87a3407-c70c-4483-8841-8e149caa2939" xlink:href="mtz-20220331.xsd#mtz_EquipmentSuppliesAndServicesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionDomain_c474c554-e1c3-440c-96f2-9239bccfadcd" xlink:to="loc_mtz_EquipmentSuppliesAndServicesMember_a87a3407-c70c-4483-8841-8e149caa2939" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_SubcontractingArrangementsMember_32c5a784-1af1-4cd5-a99f-a06e074fea9d" xlink:href="mtz-20220331.xsd#mtz_SubcontractingArrangementsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionDomain_c474c554-e1c3-440c-96f2-9239bccfadcd" xlink:to="loc_mtz_SubcontractingArrangementsMember_32c5a784-1af1-4cd5-a99f-a06e074fea9d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MajorCustomersAxis_1bf352ba-7bb0-4c46-bbee-473be06fb962" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_MajorCustomersAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_1d99c6a6-640c-4568-929d-aae9b57c787f" xlink:to="loc_srt_MajorCustomersAxis_1bf352ba-7bb0-4c46-bbee-473be06fb962" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_NameOfMajorCustomerDomain_1bf352ba-7bb0-4c46-bbee-473be06fb962_default" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_NameOfMajorCustomerDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_MajorCustomersAxis_1bf352ba-7bb0-4c46-bbee-473be06fb962" xlink:to="loc_srt_NameOfMajorCustomerDomain_1bf352ba-7bb0-4c46-bbee-473be06fb962_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_NameOfMajorCustomerDomain_5c0a1411-121d-4e67-aa7e-e5d92852bbec" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_NameOfMajorCustomerDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_MajorCustomersAxis_1bf352ba-7bb0-4c46-bbee-473be06fb962" xlink:to="loc_srt_NameOfMajorCustomerDomain_5c0a1411-121d-4e67-aa7e-e5d92852bbec" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_RelatedCustomerMember_3552afeb-6e72-442e-8330-27f8b7e21442" xlink:href="mtz-20220331.xsd#mtz_RelatedCustomerMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_NameOfMajorCustomerDomain_5c0a1411-121d-4e67-aa7e-e5d92852bbec" xlink:to="loc_mtz_RelatedCustomerMember_3552afeb-6e72-442e-8330-27f8b7e21442" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mastec.com/role/RelatedPartyTransactionsConstructionManagementFirmandCCINarrativeDetails" xlink:type="simple" xlink:href="mtz-20220331.xsd#RelatedPartyTransactionsConstructionManagementFirmandCCINarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.mastec.com/role/RelatedPartyTransactionsConstructionManagementFirmandCCINarrativeDetails" xlink:type="extended" id="iccb9a8e8e13f46b088c68901b658723e_RelatedPartyTransactionsConstructionManagementFirmandCCINarrativeDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionLineItems_cb067199-1283-4d2d-ac6e-ab3527e894b5" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RelatedPartyTransactionLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionAmountsOfTransaction_a0875049-6485-48a1-afc3-fb1d124fd859" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RelatedPartyTransactionAmountsOfTransaction"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_cb067199-1283-4d2d-ac6e-ab3527e894b5" xlink:to="loc_us-gaap_RelatedPartyTransactionAmountsOfTransaction_a0875049-6485-48a1-afc3-fb1d124fd859" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableRelatedPartiesCurrentAndNoncurrent_7aa84100-a203-4b16-9ef4-e3a38b5ddeaf" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AccountsPayableRelatedPartiesCurrentAndNoncurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_cb067199-1283-4d2d-ac6e-ab3527e894b5" xlink:to="loc_us-gaap_AccountsPayableRelatedPartiesCurrentAndNoncurrent_7aa84100-a203-4b16-9ef4-e3a38b5ddeaf" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_3b7182dc-f950-4bbe-a946-ae80c7d5115b" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_cb067199-1283-4d2d-ac6e-ab3527e894b5" xlink:to="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_3b7182dc-f950-4bbe-a946-ae80c7d5115b" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_eb41defc-425a-4926-b4af-bc6075813e24" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_3b7182dc-f950-4bbe-a946-ae80c7d5115b" xlink:to="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_eb41defc-425a-4926-b4af-bc6075813e24" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_EquityMethodInvesteeNameDomain_eb41defc-425a-4926-b4af-bc6075813e24_default" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_EquityMethodInvesteeNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_eb41defc-425a-4926-b4af-bc6075813e24" xlink:to="loc_srt_EquityMethodInvesteeNameDomain_eb41defc-425a-4926-b4af-bc6075813e24_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_EquityMethodInvesteeNameDomain_39ddf5f9-a2d0-4f85-9462-bcf36717ec65" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_EquityMethodInvesteeNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_eb41defc-425a-4926-b4af-bc6075813e24" xlink:to="loc_srt_EquityMethodInvesteeNameDomain_39ddf5f9-a2d0-4f85-9462-bcf36717ec65" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_CrossCountryInfrastructureMember_d78c35f9-413c-4399-8e18-b6652a9a0faa" xlink:href="mtz-20220331.xsd#mtz_CrossCountryInfrastructureMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_39ddf5f9-a2d0-4f85-9462-bcf36717ec65" xlink:to="loc_mtz_CrossCountryInfrastructureMember_d78c35f9-413c-4399-8e18-b6652a9a0faa" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionAxis_7dfb4c8b-d5d2-419e-b133-e27e6b9883a0" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RelatedPartyTransactionAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_3b7182dc-f950-4bbe-a946-ae80c7d5115b" xlink:to="loc_us-gaap_RelatedPartyTransactionAxis_7dfb4c8b-d5d2-419e-b133-e27e6b9883a0" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionDomain_7dfb4c8b-d5d2-419e-b133-e27e6b9883a0_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RelatedPartyTransactionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RelatedPartyTransactionAxis_7dfb4c8b-d5d2-419e-b133-e27e6b9883a0" xlink:to="loc_us-gaap_RelatedPartyTransactionDomain_7dfb4c8b-d5d2-419e-b133-e27e6b9883a0_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionDomain_876fcf14-da2e-4ac3-82db-1aec9ab2336c" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RelatedPartyTransactionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RelatedPartyTransactionAxis_7dfb4c8b-d5d2-419e-b133-e27e6b9883a0" xlink:to="loc_us-gaap_RelatedPartyTransactionDomain_876fcf14-da2e-4ac3-82db-1aec9ab2336c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquipmentMember_f9ac358d-d4c5-4d21-b28a-d4393597955e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EquipmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionDomain_876fcf14-da2e-4ac3-82db-1aec9ab2336c" xlink:to="loc_us-gaap_EquipmentMember_f9ac358d-d4c5-4d21-b28a-d4393597955e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_0b2174e3-c385-4cc2-91da-cc72e78b56d1" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RelatedPartyTransactionsByRelatedPartyAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_3b7182dc-f950-4bbe-a946-ae80c7d5115b" xlink:to="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_0b2174e3-c385-4cc2-91da-cc72e78b56d1" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyDomain_0b2174e3-c385-4cc2-91da-cc72e78b56d1_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RelatedPartyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_0b2174e3-c385-4cc2-91da-cc72e78b56d1" xlink:to="loc_us-gaap_RelatedPartyDomain_0b2174e3-c385-4cc2-91da-cc72e78b56d1_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyDomain_ec245b35-059a-4b33-9f11-61cde574163e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RelatedPartyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_0b2174e3-c385-4cc2-91da-cc72e78b56d1" xlink:to="loc_us-gaap_RelatedPartyDomain_ec245b35-059a-4b33-9f11-61cde574163e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ImmediateFamilyMemberOfManagementOrPrincipalOwnerMember_0f2b063d-8052-4736-b3c9-568ebadddf86" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ImmediateFamilyMemberOfManagementOrPrincipalOwnerMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyDomain_ec245b35-059a-4b33-9f11-61cde574163e" xlink:to="loc_us-gaap_ImmediateFamilyMemberOfManagementOrPrincipalOwnerMember_0f2b063d-8052-4736-b3c9-568ebadddf86" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mastec.com/role/RelatedPartyTransactionsExecutiveOfficersNarrativeDetails" xlink:type="simple" xlink:href="mtz-20220331.xsd#RelatedPartyTransactionsExecutiveOfficersNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.mastec.com/role/RelatedPartyTransactionsExecutiveOfficersNarrativeDetails" xlink:type="extended" id="if15fd839713c49bd845890e61345556f_RelatedPartyTransactionsExecutiveOfficersNarrativeDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionLineItems_44d0b49c-cf9b-43f2-bad8-16d46dfa0d52" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RelatedPartyTransactionLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_NumberOfManagementMembers_22e42af9-c83b-4ee2-b1b9-355d46274cd1" xlink:href="mtz-20220331.xsd#mtz_NumberOfManagementMembers"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_44d0b49c-cf9b-43f2-bad8-16d46dfa0d52" xlink:to="loc_mtz_NumberOfManagementMembers_22e42af9-c83b-4ee2-b1b9-355d46274cd1" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionExpensesFromTransactionsWithRelatedParty_c50c14cd-990d-4b69-926a-d124f678fc2b" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RelatedPartyTransactionExpensesFromTransactionsWithRelatedParty"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_44d0b49c-cf9b-43f2-bad8-16d46dfa0d52" xlink:to="loc_us-gaap_RelatedPartyTransactionExpensesFromTransactionsWithRelatedParty_c50c14cd-990d-4b69-926a-d124f678fc2b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableRelatedPartiesCurrentAndNoncurrent_be64e399-952e-4ff8-8f5a-95ae9c680cf1" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AccountsPayableRelatedPartiesCurrentAndNoncurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_44d0b49c-cf9b-43f2-bad8-16d46dfa0d52" xlink:to="loc_us-gaap_AccountsPayableRelatedPartiesCurrentAndNoncurrent_be64e399-952e-4ff8-8f5a-95ae9c680cf1" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromRelatedParties_dcc7feee-3ac2-41c2-b1f4-73f730a956d7" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RevenueFromRelatedParties"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_44d0b49c-cf9b-43f2-bad8-16d46dfa0d52" xlink:to="loc_us-gaap_RevenueFromRelatedParties_dcc7feee-3ac2-41c2-b1f4-73f730a956d7" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableRelatedParties_23f3d521-0c2b-4caf-91b0-2b7395124f0b" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AccountsReceivableRelatedParties"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_44d0b49c-cf9b-43f2-bad8-16d46dfa0d52" xlink:to="loc_us-gaap_AccountsReceivableRelatedParties_23f3d521-0c2b-4caf-91b0-2b7395124f0b" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionOtherRevenuesFromTransactionsWithRelatedParty_d6e11d66-275d-4db8-8d28-5d0634b4061e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RelatedPartyTransactionOtherRevenuesFromTransactionsWithRelatedParty"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_44d0b49c-cf9b-43f2-bad8-16d46dfa0d52" xlink:to="loc_us-gaap_RelatedPartyTransactionOtherRevenuesFromTransactionsWithRelatedParty_d6e11d66-275d-4db8-8d28-5d0634b4061e" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_9469bceb-35db-4525-93f6-7157248e8c67" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_44d0b49c-cf9b-43f2-bad8-16d46dfa0d52" xlink:to="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_9469bceb-35db-4525-93f6-7157248e8c67" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_6c59a207-7a56-4dfb-8454-59a03eacebff" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RelatedPartyTransactionsByRelatedPartyAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_9469bceb-35db-4525-93f6-7157248e8c67" xlink:to="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_6c59a207-7a56-4dfb-8454-59a03eacebff" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyDomain_6c59a207-7a56-4dfb-8454-59a03eacebff_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RelatedPartyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_6c59a207-7a56-4dfb-8454-59a03eacebff" xlink:to="loc_us-gaap_RelatedPartyDomain_6c59a207-7a56-4dfb-8454-59a03eacebff_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyDomain_4e5f6128-4d3c-4dbe-8e1c-db6b1e33093a" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RelatedPartyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_6c59a207-7a56-4dfb-8454-59a03eacebff" xlink:to="loc_us-gaap_RelatedPartyDomain_4e5f6128-4d3c-4dbe-8e1c-db6b1e33093a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ManagementMember_5628d97c-c1b7-42e0-96b8-484235f95d83" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_ManagementMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyDomain_4e5f6128-4d3c-4dbe-8e1c-db6b1e33093a" xlink:to="loc_srt_ManagementMember_5628d97c-c1b7-42e0-96b8-484235f95d83" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_BoardOfDirectorsChairmanMember_173e8a30-5c8d-405b-b9c1-c57ceac8db2a" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_BoardOfDirectorsChairmanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyDomain_4e5f6128-4d3c-4dbe-8e1c-db6b1e33093a" xlink:to="loc_srt_BoardOfDirectorsChairmanMember_173e8a30-5c8d-405b-b9c1-c57ceac8db2a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ExecutiveOfficerMember_106346c5-24e3-45fb-8cd0-2db259f0c5ab" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_ExecutiveOfficerMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyDomain_4e5f6128-4d3c-4dbe-8e1c-db6b1e33093a" xlink:to="loc_srt_ExecutiveOfficerMember_106346c5-24e3-45fb-8cd0-2db259f0c5ab" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ImmediateFamilyMemberOfManagementOrPrincipalOwnerMember_88017fba-dd4e-4df7-8f17-15db6333320f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ImmediateFamilyMemberOfManagementOrPrincipalOwnerMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyDomain_4e5f6128-4d3c-4dbe-8e1c-db6b1e33093a" xlink:to="loc_us-gaap_ImmediateFamilyMemberOfManagementOrPrincipalOwnerMember_88017fba-dd4e-4df7-8f17-15db6333320f" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionAxis_dbc7f23b-6d8c-472b-88a8-ee02ddf7280a" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RelatedPartyTransactionAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_9469bceb-35db-4525-93f6-7157248e8c67" xlink:to="loc_us-gaap_RelatedPartyTransactionAxis_dbc7f23b-6d8c-472b-88a8-ee02ddf7280a" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionDomain_dbc7f23b-6d8c-472b-88a8-ee02ddf7280a_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RelatedPartyTransactionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RelatedPartyTransactionAxis_dbc7f23b-6d8c-472b-88a8-ee02ddf7280a" xlink:to="loc_us-gaap_RelatedPartyTransactionDomain_dbc7f23b-6d8c-472b-88a8-ee02ddf7280a_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionDomain_da217fed-07d6-4538-8d74-67da1391d271" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RelatedPartyTransactionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RelatedPartyTransactionAxis_dbc7f23b-6d8c-472b-88a8-ee02ddf7280a" xlink:to="loc_us-gaap_RelatedPartyTransactionDomain_da217fed-07d6-4538-8d74-67da1391d271" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_SubcontractingArrangementsMember_93a431d9-4c1a-4660-a2ef-6b3990a8682f" xlink:href="mtz-20220331.xsd#mtz_SubcontractingArrangementsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionDomain_da217fed-07d6-4538-8d74-67da1391d271" xlink:to="loc_mtz_SubcontractingArrangementsMember_93a431d9-4c1a-4660-a2ef-6b3990a8682f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LeaseAgreementsMember_07425680-65c0-4b93-8d66-09dade5812fc" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LeaseAgreementsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionDomain_da217fed-07d6-4538-8d74-67da1391d271" xlink:to="loc_us-gaap_LeaseAgreementsMember_07425680-65c0-4b93-8d66-09dade5812fc" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_ConstructionServicesMember_78cc7756-e516-47c1-9f48-20d953bf3a1b" xlink:href="mtz-20220331.xsd#mtz_ConstructionServicesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionDomain_da217fed-07d6-4538-8d74-67da1391d271" xlink:to="loc_mtz_ConstructionServicesMember_78cc7756-e516-47c1-9f48-20d953bf3a1b" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MajorCustomersAxis_fc98aad5-4731-4733-adf3-4ed980c8c68d" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_MajorCustomersAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_9469bceb-35db-4525-93f6-7157248e8c67" xlink:to="loc_srt_MajorCustomersAxis_fc98aad5-4731-4733-adf3-4ed980c8c68d" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_NameOfMajorCustomerDomain_fc98aad5-4731-4733-adf3-4ed980c8c68d_default" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_NameOfMajorCustomerDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_MajorCustomersAxis_fc98aad5-4731-4733-adf3-4ed980c8c68d" xlink:to="loc_srt_NameOfMajorCustomerDomain_fc98aad5-4731-4733-adf3-4ed980c8c68d_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_NameOfMajorCustomerDomain_010ae73a-7bab-4a42-bd28-368e22305fa7" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_NameOfMajorCustomerDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_MajorCustomersAxis_fc98aad5-4731-4733-adf3-4ed980c8c68d" xlink:to="loc_srt_NameOfMajorCustomerDomain_010ae73a-7bab-4a42-bd28-368e22305fa7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_RelatedCustomerMember_c4c63f66-59eb-4ab1-8507-d9163aab4185" xlink:href="mtz-20220331.xsd#mtz_RelatedCustomerMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_NameOfMajorCustomerDomain_010ae73a-7bab-4a42-bd28-368e22305fa7" xlink:to="loc_mtz_RelatedCustomerMember_c4c63f66-59eb-4ab1-8507-d9163aab4185" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mastec.com/role/RelatedPartyTransactionsAcquisitionsAndManagementSubcontractingAgreementNarrativeDetails" xlink:type="simple" xlink:href="mtz-20220331.xsd#RelatedPartyTransactionsAcquisitionsAndManagementSubcontractingAgreementNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.mastec.com/role/RelatedPartyTransactionsAcquisitionsAndManagementSubcontractingAgreementNarrativeDetails" xlink:type="extended" id="ie7af7d4e40e948758dedcd78bfbaebd0_RelatedPartyTransactionsAcquisitionsAndManagementSubcontractingAgreementNarrativeDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionLineItems_a519b704-8633-497b-aa68-6bce0c7e73ec" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RelatedPartyTransactionLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromRelatedParties_9c204a29-cc08-49e9-8526-44aa2928fcfb" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RevenueFromRelatedParties"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_a519b704-8633-497b-aa68-6bce0c7e73ec" xlink:to="loc_us-gaap_RevenueFromRelatedParties_9c204a29-cc08-49e9-8526-44aa2928fcfb" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableRelatedParties_83a70148-5da6-437b-a16a-3019600ff655" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AccountsReceivableRelatedParties"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_a519b704-8633-497b-aa68-6bce0c7e73ec" xlink:to="loc_us-gaap_AccountsReceivableRelatedParties_83a70148-5da6-437b-a16a-3019600ff655" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionExpensesFromTransactionsWithRelatedParty_846015b1-a076-477e-96cc-625707ec9a19" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RelatedPartyTransactionExpensesFromTransactionsWithRelatedParty"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_a519b704-8633-497b-aa68-6bce0c7e73ec" xlink:to="loc_us-gaap_RelatedPartyTransactionExpensesFromTransactionsWithRelatedParty_846015b1-a076-477e-96cc-625707ec9a19" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableRelatedPartiesCurrentAndNoncurrent_8fed3880-e694-46b1-95cf-1675a2bcd872" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AccountsPayableRelatedPartiesCurrentAndNoncurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_a519b704-8633-497b-aa68-6bce0c7e73ec" xlink:to="loc_us-gaap_AccountsPayableRelatedPartiesCurrentAndNoncurrent_8fed3880-e694-46b1-95cf-1675a2bcd872" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionOtherRevenuesFromTransactionsWithRelatedParty_3d8bb49e-824f-4b81-b766-86fded2701e5" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RelatedPartyTransactionOtherRevenuesFromTransactionsWithRelatedParty"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_a519b704-8633-497b-aa68-6bce0c7e73ec" xlink:to="loc_us-gaap_RelatedPartyTransactionOtherRevenuesFromTransactionsWithRelatedParty_3d8bb49e-824f-4b81-b766-86fded2701e5" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentsInAffiliatesSubsidiariesAssociatesAndJointVentures_f7093f1c-8da7-4bac-beb7-7919b06e3afd" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InvestmentsInAffiliatesSubsidiariesAssociatesAndJointVentures"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_a519b704-8633-497b-aa68-6bce0c7e73ec" xlink:to="loc_us-gaap_InvestmentsInAffiliatesSubsidiariesAssociatesAndJointVentures_f7093f1c-8da7-4bac-beb7-7919b06e3afd" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityMethodInvestmentOwnershipPercentage_1f718783-494b-4034-aaf4-d431e8d5803b" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EquityMethodInvestmentOwnershipPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_a519b704-8633-497b-aa68-6bce0c7e73ec" xlink:to="loc_us-gaap_EquityMethodInvestmentOwnershipPercentage_1f718783-494b-4034-aaf4-d431e8d5803b" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireEquityMethodInvestments_66b0dd60-740a-48e9-8f37-e51c26c88961" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PaymentsToAcquireEquityMethodInvestments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_a519b704-8633-497b-aa68-6bce0c7e73ec" xlink:to="loc_us-gaap_PaymentsToAcquireEquityMethodInvestments_66b0dd60-740a-48e9-8f37-e51c26c88961" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_EquityMethodInvestmentNegativeAmount_70fa1f65-cd7d-4620-be92-8e758e1f4664" xlink:href="mtz-20220331.xsd#mtz_EquityMethodInvestmentNegativeAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_a519b704-8633-497b-aa68-6bce0c7e73ec" xlink:to="loc_mtz_EquityMethodInvestmentNegativeAmount_70fa1f65-cd7d-4620-be92-8e758e1f4664" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LettersOfCreditOutstandingAmount_a5e220eb-c2c7-47d0-b458-b204991a3d18" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LettersOfCreditOutstandingAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_a519b704-8633-497b-aa68-6bce0c7e73ec" xlink:to="loc_us-gaap_LettersOfCreditOutstandingAmount_a5e220eb-c2c7-47d0-b458-b204991a3d18" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_bcb117ab-c4a0-4693-8fb2-32ef8688892f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_a519b704-8633-497b-aa68-6bce0c7e73ec" xlink:to="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_bcb117ab-c4a0-4693-8fb2-32ef8688892f" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_5b4f875a-f1f0-4e46-bc71-03dfdfea6158" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BusinessAcquisitionAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_bcb117ab-c4a0-4693-8fb2-32ef8688892f" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_5b4f875a-f1f0-4e46-bc71-03dfdfea6158" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_5b4f875a-f1f0-4e46-bc71-03dfdfea6158_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_5b4f875a-f1f0-4e46-bc71-03dfdfea6158" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_5b4f875a-f1f0-4e46-bc71-03dfdfea6158_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_7aa33cc2-70f3-4817-a47d-637033d3e81e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_5b4f875a-f1f0-4e46-bc71-03dfdfea6158" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_7aa33cc2-70f3-4817-a47d-637033d3e81e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_A2021AcquisitionsAcquisitionTwoMember_3da8fab5-3c0b-4787-92d9-9be04cf0ba5e" xlink:href="mtz-20220331.xsd#mtz_A2021AcquisitionsAcquisitionTwoMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_7aa33cc2-70f3-4817-a47d-637033d3e81e" xlink:to="loc_mtz_A2021AcquisitionsAcquisitionTwoMember_3da8fab5-3c0b-4787-92d9-9be04cf0ba5e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_A2021AcquisitionAcquisitionThreeMember_490639a5-24cd-413c-82f8-0521dad11d43" xlink:href="mtz-20220331.xsd#mtz_A2021AcquisitionAcquisitionThreeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_7aa33cc2-70f3-4817-a47d-637033d3e81e" xlink:to="loc_mtz_A2021AcquisitionAcquisitionThreeMember_490639a5-24cd-413c-82f8-0521dad11d43" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_A2021AcquisitionAcquisitionOneMember_7d3e7c28-d2b7-4606-9b8c-c1f3e705a625" xlink:href="mtz-20220331.xsd#mtz_A2021AcquisitionAcquisitionOneMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_7aa33cc2-70f3-4817-a47d-637033d3e81e" xlink:to="loc_mtz_A2021AcquisitionAcquisitionOneMember_7d3e7c28-d2b7-4606-9b8c-c1f3e705a625" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_A2020AcquisitionsMember_798bfe0a-da3c-4bac-8bfd-98c3d667e14a" xlink:href="mtz-20220331.xsd#mtz_A2020AcquisitionsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_7aa33cc2-70f3-4817-a47d-637033d3e81e" xlink:to="loc_mtz_A2020AcquisitionsMember_798bfe0a-da3c-4bac-8bfd-98c3d667e14a" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_d0afe31a-c8e8-41a0-860c-099e1efe24a0" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RelatedPartyTransactionsByRelatedPartyAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_bcb117ab-c4a0-4693-8fb2-32ef8688892f" xlink:to="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_d0afe31a-c8e8-41a0-860c-099e1efe24a0" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyDomain_d0afe31a-c8e8-41a0-860c-099e1efe24a0_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RelatedPartyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_d0afe31a-c8e8-41a0-860c-099e1efe24a0" xlink:to="loc_us-gaap_RelatedPartyDomain_d0afe31a-c8e8-41a0-860c-099e1efe24a0_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyDomain_0a778ad5-e5bd-4510-bbbe-967cf8a2d8f3" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RelatedPartyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_d0afe31a-c8e8-41a0-860c-099e1efe24a0" xlink:to="loc_us-gaap_RelatedPartyDomain_0a778ad5-e5bd-4510-bbbe-967cf8a2d8f3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ManagementMember_6472993e-b134-4d74-90c7-c527919757ab" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_ManagementMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyDomain_0a778ad5-e5bd-4510-bbbe-967cf8a2d8f3" xlink:to="loc_srt_ManagementMember_6472993e-b134-4d74-90c7-c527919757ab" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_FormerOwnerOfAcquiredBusinessMember_e324f158-f38e-42e8-957e-3f5b8ea024b9" xlink:href="mtz-20220331.xsd#mtz_FormerOwnerOfAcquiredBusinessMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyDomain_0a778ad5-e5bd-4510-bbbe-967cf8a2d8f3" xlink:to="loc_mtz_FormerOwnerOfAcquiredBusinessMember_e324f158-f38e-42e8-957e-3f5b8ea024b9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_5ace620c-00e8-4d44-a1f6-ed9695f13220" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_bcb117ab-c4a0-4693-8fb2-32ef8688892f" xlink:to="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_5ace620c-00e8-4d44-a1f6-ed9695f13220" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_EquityMethodInvesteeNameDomain_5ace620c-00e8-4d44-a1f6-ed9695f13220_default" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_EquityMethodInvesteeNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_5ace620c-00e8-4d44-a1f6-ed9695f13220" xlink:to="loc_srt_EquityMethodInvesteeNameDomain_5ace620c-00e8-4d44-a1f6-ed9695f13220_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_EquityMethodInvesteeNameDomain_7eb8a00c-4aa1-4db2-bafd-45ac73efe2fe" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_EquityMethodInvesteeNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_5ace620c-00e8-4d44-a1f6-ed9695f13220" xlink:to="loc_srt_EquityMethodInvesteeNameDomain_7eb8a00c-4aa1-4db2-bafd-45ac73efe2fe" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_CommunityCondotteDeMoyaJVLLCMember_5613a23f-78a4-446c-be41-0d74ba3afda4" xlink:href="mtz-20220331.xsd#mtz_CommunityCondotteDeMoyaJVLLCMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_7eb8a00c-4aa1-4db2-bafd-45ac73efe2fe" xlink:to="loc_mtz_CommunityCondotteDeMoyaJVLLCMember_5613a23f-78a4-446c-be41-0d74ba3afda4" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionAxis_1a9810e9-e7ca-463f-b913-1cbe554f01fa" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RelatedPartyTransactionAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_bcb117ab-c4a0-4693-8fb2-32ef8688892f" xlink:to="loc_us-gaap_RelatedPartyTransactionAxis_1a9810e9-e7ca-463f-b913-1cbe554f01fa" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionDomain_1a9810e9-e7ca-463f-b913-1cbe554f01fa_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RelatedPartyTransactionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RelatedPartyTransactionAxis_1a9810e9-e7ca-463f-b913-1cbe554f01fa" xlink:to="loc_us-gaap_RelatedPartyTransactionDomain_1a9810e9-e7ca-463f-b913-1cbe554f01fa_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionDomain_1b17c0f6-bd26-42ce-9da4-2fa4cac22e6c" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RelatedPartyTransactionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RelatedPartyTransactionAxis_1a9810e9-e7ca-463f-b913-1cbe554f01fa" xlink:to="loc_us-gaap_RelatedPartyTransactionDomain_1b17c0f6-bd26-42ce-9da4-2fa4cac22e6c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_SubcontractingArrangementsMember_b00fae1d-8ff2-4a6a-bb24-e857a44a070e" xlink:href="mtz-20220331.xsd#mtz_SubcontractingArrangementsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionDomain_1b17c0f6-bd26-42ce-9da4-2fa4cac22e6c" xlink:to="loc_mtz_SubcontractingArrangementsMember_b00fae1d-8ff2-4a6a-bb24-e857a44a070e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_76f64efb-a37b-48db-9221-7248dbbaecb0" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LongtermDebtTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_bcb117ab-c4a0-4693-8fb2-32ef8688892f" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_76f64efb-a37b-48db-9221-7248dbbaecb0" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_76f64efb-a37b-48db-9221-7248dbbaecb0_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_76f64efb-a37b-48db-9221-7248dbbaecb0" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_76f64efb-a37b-48db-9221-7248dbbaecb0_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_6c6538eb-9c73-4040-86b9-cb103c4fac16" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_76f64efb-a37b-48db-9221-7248dbbaecb0" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_6c6538eb-9c73-4040-86b9-cb103c4fac16" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditMember_8974d1cf-7456-4dc9-b268-0845f6ef0f23" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LineOfCreditMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_6c6538eb-9c73-4040-86b9-cb103c4fac16" xlink:to="loc_us-gaap_LineOfCreditMember_8974d1cf-7456-4dc9-b268-0845f6ef0f23" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mastec.com/role/RelatedPartyTransactionsSplitDollarAgreementsNarrativeDetails" xlink:type="simple" xlink:href="mtz-20220331.xsd#RelatedPartyTransactionsSplitDollarAgreementsNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.mastec.com/role/RelatedPartyTransactionsSplitDollarAgreementsNarrativeDetails" xlink:type="extended" id="i37c71738c56e46e580c06b46c791be41_RelatedPartyTransactionsSplitDollarAgreementsNarrativeDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionLineItems_9dcfba3d-b076-4fbd-8275-0ae42ec1ff2b" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RelatedPartyTransactionLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireLifeInsurancePolicies_ae622bd3-4c9f-42cb-bcc2-d3a0002a1c02" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PaymentsToAcquireLifeInsurancePolicies"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_9dcfba3d-b076-4fbd-8275-0ae42ec1ff2b" xlink:to="loc_us-gaap_PaymentsToAcquireLifeInsurancePolicies_ae622bd3-4c9f-42cb-bcc2-d3a0002a1c02" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashSurrenderValueOfLifeInsurance_c1532aa8-fe11-4d45-9a72-9b3f498bb683" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CashSurrenderValueOfLifeInsurance"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_9dcfba3d-b076-4fbd-8275-0ae42ec1ff2b" xlink:to="loc_us-gaap_CashSurrenderValueOfLifeInsurance_c1532aa8-fe11-4d45-9a72-9b3f498bb683" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_f8d0a80c-a939-4632-86d0-90f76b9eac35" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_9dcfba3d-b076-4fbd-8275-0ae42ec1ff2b" xlink:to="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_f8d0a80c-a939-4632-86d0-90f76b9eac35" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_e4ee6020-cb6f-4836-a25c-014ad2b767cf" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RelatedPartyTransactionsByRelatedPartyAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_f8d0a80c-a939-4632-86d0-90f76b9eac35" xlink:to="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_e4ee6020-cb6f-4836-a25c-014ad2b767cf" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyDomain_e4ee6020-cb6f-4836-a25c-014ad2b767cf_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RelatedPartyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_e4ee6020-cb6f-4836-a25c-014ad2b767cf" xlink:to="loc_us-gaap_RelatedPartyDomain_e4ee6020-cb6f-4836-a25c-014ad2b767cf_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyDomain_77f5af77-09da-4f97-88cb-1f92d0eb09b8" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RelatedPartyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_e4ee6020-cb6f-4836-a25c-014ad2b767cf" xlink:to="loc_us-gaap_RelatedPartyDomain_77f5af77-09da-4f97-88cb-1f92d0eb09b8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_BoardOfDirectorsChairmanMember_bdbf4b08-f217-40f4-9371-094b4ccb6769" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_BoardOfDirectorsChairmanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyDomain_77f5af77-09da-4f97-88cb-1f92d0eb09b8" xlink:to="loc_srt_BoardOfDirectorsChairmanMember_bdbf4b08-f217-40f4-9371-094b4ccb6769" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ChiefExecutiveOfficerMember_538b90aa-7388-4e27-8bb9-e0bf7b610033" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_ChiefExecutiveOfficerMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyDomain_77f5af77-09da-4f97-88cb-1f92d0eb09b8" xlink:to="loc_srt_ChiefExecutiveOfficerMember_538b90aa-7388-4e27-8bb9-e0bf7b610033" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ExecutiveOfficerMember_7aa47071-c990-4767-b66f-d5c34bae0893" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_ExecutiveOfficerMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyDomain_77f5af77-09da-4f97-88cb-1f92d0eb09b8" xlink:to="loc_srt_ExecutiveOfficerMember_7aa47071-c990-4767-b66f-d5c34bae0893" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://fasb.org/us-gaap/role/eedm/ExtensibleEnumerationLists" xlink:type="simple" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-roles-2021-01-31.xsd#eedm"/>
  <link:definitionLink xlink:role="http://fasb.org/us-gaap/role/eedm/ExtensibleEnumerationLists" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LiabilitiesAbstract"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrentAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LiabilitiesCurrentAbstract"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtAndCapitalLeaseObligationsCurrent" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LongTermDebtAndCapitalLeaseObligationsCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract" xlink:to="loc_us-gaap_LongTermDebtAndCapitalLeaseObligationsCurrent" xlink:type="arc" order="0"/>
  </link:definitionLink>
</link:linkbase>
