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

<!--XBRL Document Created with Wdesk from Workiva-->
<!--Copyright 2023 Workiva-->
<!--r:82b59073-0489-466d-9c90-dcd4bed975bd,g:b7ea8e0a-3cf5-4a11-ad51-e508c8a49945-->
<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-20230331.xsd#ConsolidatedBalanceSheetsParenthetical"/>
  <link:definitionLink xlink:role="http://www.mastec.com/role/ConsolidatedBalanceSheetsParenthetical" xlink:type="extended" id="iff0554b56eee4dd691f55dae4490bd54_ConsolidatedBalanceSheetsParenthetical">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_48a98f75-5e9c-45ec-a279-c4261800bbc5" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StatementLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockParOrStatedValuePerShare_ccaea902-d1fa-4072-ab65-d9b5820214be" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PreferredStockParOrStatedValuePerShare"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_48a98f75-5e9c-45ec-a279-c4261800bbc5" xlink:to="loc_us-gaap_PreferredStockParOrStatedValuePerShare_ccaea902-d1fa-4072-ab65-d9b5820214be" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockSharesAuthorized_1dca5cb5-df1a-4246-a181-92ae2cf374ae" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PreferredStockSharesAuthorized"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_48a98f75-5e9c-45ec-a279-c4261800bbc5" xlink:to="loc_us-gaap_PreferredStockSharesAuthorized_1dca5cb5-df1a-4246-a181-92ae2cf374ae" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockSharesIssued_f195c9a8-0e03-4350-8a7c-eec5860dd482" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PreferredStockSharesIssued"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_48a98f75-5e9c-45ec-a279-c4261800bbc5" xlink:to="loc_us-gaap_PreferredStockSharesIssued_f195c9a8-0e03-4350-8a7c-eec5860dd482" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockSharesOutstanding_949ff3b2-db6d-4f97-a637-07ee6f73daf7" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PreferredStockSharesOutstanding"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_48a98f75-5e9c-45ec-a279-c4261800bbc5" xlink:to="loc_us-gaap_PreferredStockSharesOutstanding_949ff3b2-db6d-4f97-a637-07ee6f73daf7" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockParOrStatedValuePerShare_99e92cc8-35b5-4486-a4de-34adb647964b" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CommonStockParOrStatedValuePerShare"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_48a98f75-5e9c-45ec-a279-c4261800bbc5" xlink:to="loc_us-gaap_CommonStockParOrStatedValuePerShare_99e92cc8-35b5-4486-a4de-34adb647964b" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockSharesAuthorized_f999fcea-cfa3-42b6-bb0c-ae2a7cc4ffce" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CommonStockSharesAuthorized"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_48a98f75-5e9c-45ec-a279-c4261800bbc5" xlink:to="loc_us-gaap_CommonStockSharesAuthorized_f999fcea-cfa3-42b6-bb0c-ae2a7cc4ffce" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockSharesIssued_7f9ea05d-fbf4-424c-81bc-34e5a0cb7487" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CommonStockSharesIssued"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_48a98f75-5e9c-45ec-a279-c4261800bbc5" xlink:to="loc_us-gaap_CommonStockSharesIssued_7f9ea05d-fbf4-424c-81bc-34e5a0cb7487" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_3bb4e449-0ffe-4e0e-860d-09beffa11be8" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_48a98f75-5e9c-45ec-a279-c4261800bbc5" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_3bb4e449-0ffe-4e0e-860d-09beffa11be8" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockCommonShares_a35b444a-ca31-43d2-a89d-59c530bfb963" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_TreasuryStockCommonShares"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_48a98f75-5e9c-45ec-a279-c4261800bbc5" xlink:to="loc_us-gaap_TreasuryStockCommonShares_a35b444a-ca31-43d2-a89d-59c530bfb963" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementTable_a665cd83-5f2c-4124-b988-42afe783a11e" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StatementTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_48a98f75-5e9c-45ec-a279-c4261800bbc5" xlink:to="loc_us-gaap_StatementTable_a665cd83-5f2c-4124-b988-42afe783a11e" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_da4a5af0-9b40-48ff-8b48-ffb793a82ea5" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AwardTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_a665cd83-5f2c-4124-b988-42afe783a11e" xlink:to="loc_us-gaap_AwardTypeAxis_da4a5af0-9b40-48ff-8b48-ffb793a82ea5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_da4a5af0-9b40-48ff-8b48-ffb793a82ea5_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_da4a5af0-9b40-48ff-8b48-ffb793a82ea5" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_da4a5af0-9b40-48ff-8b48-ffb793a82ea5_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_010067f5-1fe2-4d73-9b64-7bd353422b73" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_da4a5af0-9b40-48ff-8b48-ffb793a82ea5" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_010067f5-1fe2-4d73-9b64-7bd353422b73" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedStockMember_b63a8dfd-f30c-481a-aad3-876570d9a49c" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RestrictedStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_010067f5-1fe2-4d73-9b64-7bd353422b73" xlink:to="loc_us-gaap_RestrictedStockMember_b63a8dfd-f30c-481a-aad3-876570d9a49c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_e3e10ed7-db3c-4104-9eba-820f39adee83" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StatementEquityComponentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_a665cd83-5f2c-4124-b988-42afe783a11e" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_e3e10ed7-db3c-4104-9eba-820f39adee83" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_e3e10ed7-db3c-4104-9eba-820f39adee83_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_e3e10ed7-db3c-4104-9eba-820f39adee83" xlink:to="loc_us-gaap_EquityComponentDomain_e3e10ed7-db3c-4104-9eba-820f39adee83_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_e6f85d62-7ca5-4ff5-a71a-6046c7f0d026" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_e3e10ed7-db3c-4104-9eba-820f39adee83" xlink:to="loc_us-gaap_EquityComponentDomain_e6f85d62-7ca5-4ff5-a71a-6046c7f0d026" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockMember_a517fd4b-2790-47d9-b947-da1f313eade3" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CommonStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_e6f85d62-7ca5-4ff5-a71a-6046c7f0d026" xlink:to="loc_us-gaap_CommonStockMember_a517fd4b-2790-47d9-b947-da1f313eade3" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mastec.com/role/ConsolidatedStatementsofEquity" xlink:type="simple" xlink:href="mtz-20230331.xsd#ConsolidatedStatementsofEquity"/>
  <link:definitionLink xlink:role="http://www.mastec.com/role/ConsolidatedStatementsofEquity" xlink:type="extended" id="ibf1612ba8ba0460fb71947fe3e96460a_ConsolidatedStatementsofEquity">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_b8c40d0a-58e0-483c-a9a4-ac50eb739c15" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StatementLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_a4ae685e-2a2a-4363-866f-64dfa6569f64" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncreaseDecreaseInStockholdersEquityRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_b8c40d0a-58e0-483c-a9a4-ac50eb739c15" xlink:to="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_a4ae685e-2a2a-4363-866f-64dfa6569f64" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockSharesIssued_80969c8e-fa01-4adf-aebe-31bd0a8a9402" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CommonStockSharesIssued"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_a4ae685e-2a2a-4363-866f-64dfa6569f64" xlink:to="loc_us-gaap_CommonStockSharesIssued_80969c8e-fa01-4adf-aebe-31bd0a8a9402" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_f02dd25f-a69b-4e18-9f00-fa34f678d1d9" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_a4ae685e-2a2a-4363-866f-64dfa6569f64" xlink:to="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_f02dd25f-a69b-4e18-9f00-fa34f678d1d9" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockCommonShares_2b1d2968-d5c0-4ed2-874a-bad22a5af5d9" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_TreasuryStockCommonShares"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_a4ae685e-2a2a-4363-866f-64dfa6569f64" xlink:to="loc_us-gaap_TreasuryStockCommonShares_2b1d2968-d5c0-4ed2-874a-bad22a5af5d9" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_9f65bc04-1f5d-41d4-b811-3689f6335152" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ProfitLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_a4ae685e-2a2a-4363-866f-64dfa6569f64" xlink:to="loc_us-gaap_ProfitLoss_9f65bc04-1f5d-41d4-b811-3689f6335152" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_6ee33ab6-a21b-45a3-8d26-cb963a0c132a" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_a4ae685e-2a2a-4363-866f-64dfa6569f64" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_6ee33ab6-a21b-45a3-8d26-cb963a0c132a" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_81e63144-02fd-42b7-9669-a8eaf4107cf8" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_a4ae685e-2a2a-4363-866f-64dfa6569f64" xlink:to="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_81e63144-02fd-42b7-9669-a8eaf4107cf8" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesAcquisitions_0b094b86-fded-4f55-bf4a-5c94ca15f74a" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StockIssuedDuringPeriodSharesAcquisitions"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_a4ae685e-2a2a-4363-866f-64dfa6569f64" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesAcquisitions_0b094b86-fded-4f55-bf4a-5c94ca15f74a" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueAcquisitions_010c3941-ccc7-42d2-b9dc-c56e75b194d5" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StockIssuedDuringPeriodValueAcquisitions"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_a4ae685e-2a2a-4363-866f-64dfa6569f64" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueAcquisitions_010c3941-ccc7-42d2-b9dc-c56e75b194d5" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardNetOfForfeitures_c6ba6ddb-2ef7-4e1f-a21f-ab752c9d6b73" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardNetOfForfeitures"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_a4ae685e-2a2a-4363-866f-64dfa6569f64" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardNetOfForfeitures_c6ba6ddb-2ef7-4e1f-a21f-ab752c9d6b73" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueRestrictedStockAwardNetOfForfeitures_bf57cd38-b717-4a4a-8d05-572c206aa424" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StockIssuedDuringPeriodValueRestrictedStockAwardNetOfForfeitures"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_a4ae685e-2a2a-4363-866f-64dfa6569f64" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueRestrictedStockAwardNetOfForfeitures_bf57cd38-b717-4a4a-8d05-572c206aa424" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesOther_2a54aedf-bbb9-4adc-ba23-5d783c4c2717" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StockIssuedDuringPeriodSharesOther"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_a4ae685e-2a2a-4363-866f-64dfa6569f64" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesOther_2a54aedf-bbb9-4adc-ba23-5d783c4c2717" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueOther_1605f623-ee50-4d09-8e9c-0139654a39bc" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StockIssuedDuringPeriodValueOther"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_a4ae685e-2a2a-4363-866f-64dfa6569f64" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueOther_1605f623-ee50-4d09-8e9c-0139654a39bc" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_NoncontrollingInterestDecreaseFromRedemptionsOrPurchaseOfInterestsShares_241a769c-8e6b-4ea0-8b3d-b504de9ff0fd" xlink:href="mtz-20230331.xsd#mtz_NoncontrollingInterestDecreaseFromRedemptionsOrPurchaseOfInterestsShares"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_a4ae685e-2a2a-4363-866f-64dfa6569f64" xlink:to="loc_mtz_NoncontrollingInterestDecreaseFromRedemptionsOrPurchaseOfInterestsShares_241a769c-8e6b-4ea0-8b3d-b504de9ff0fd" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MinorityInterestDecreaseFromRedemptions_976e5b81-eca5-4825-bd09-1d1c8d24100c" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_MinorityInterestDecreaseFromRedemptions"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_a4ae685e-2a2a-4363-866f-64dfa6569f64" xlink:to="loc_us-gaap_MinorityInterestDecreaseFromRedemptions_976e5b81-eca5-4825-bd09-1d1c8d24100c" xlink:type="arc" order="14"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockSharesAcquired_3197556a-fdf5-424a-98f6-e92bd05726b6" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_TreasuryStockSharesAcquired"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_a4ae685e-2a2a-4363-866f-64dfa6569f64" xlink:to="loc_us-gaap_TreasuryStockSharesAcquired_3197556a-fdf5-424a-98f6-e92bd05726b6" xlink:type="arc" order="15"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockValueAcquiredCostMethod_63ff9c18-be85-4367-b242-bb33ea2473b4" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_TreasuryStockValueAcquiredCostMethod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_a4ae685e-2a2a-4363-866f-64dfa6569f64" xlink:to="loc_us-gaap_TreasuryStockValueAcquiredCostMethod_63ff9c18-be85-4367-b242-bb33ea2473b4" xlink:type="arc" order="16"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockSharesIssued_887312fe-2e28-4e72-a3b8-61b12932234c" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CommonStockSharesIssued"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_c32d8010-9e81-4d5f-9dca-3c9377c1bbde" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockCommonShares_a18e9c4b-1676-496b-915b-298bbca081ff" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_TreasuryStockCommonShares"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementTable_175e4632-1f16-4c66-a66c-b3c9ae28009f" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StatementTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_b8c40d0a-58e0-483c-a9a4-ac50eb739c15" xlink:to="loc_us-gaap_StatementTable_175e4632-1f16-4c66-a66c-b3c9ae28009f" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_c687b05e-a527-4577-8010-2c24bce7b8ed" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StatementEquityComponentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_175e4632-1f16-4c66-a66c-b3c9ae28009f" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_c687b05e-a527-4577-8010-2c24bce7b8ed" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_c687b05e-a527-4577-8010-2c24bce7b8ed_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_c687b05e-a527-4577-8010-2c24bce7b8ed" xlink:to="loc_us-gaap_EquityComponentDomain_c687b05e-a527-4577-8010-2c24bce7b8ed_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_b2f42802-88c1-4e88-925b-8f27f7487cd4" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_c687b05e-a527-4577-8010-2c24bce7b8ed" xlink:to="loc_us-gaap_EquityComponentDomain_b2f42802-88c1-4e88-925b-8f27f7487cd4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ParentMember_de18057d-eb77-4d07-b87e-4d77cef397ce" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ParentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_b2f42802-88c1-4e88-925b-8f27f7487cd4" xlink:to="loc_us-gaap_ParentMember_de18057d-eb77-4d07-b87e-4d77cef397ce" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockMember_05cf621f-abf9-47cc-be39-0756482ea817" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CommonStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ParentMember_de18057d-eb77-4d07-b87e-4d77cef397ce" xlink:to="loc_us-gaap_CommonStockMember_05cf621f-abf9-47cc-be39-0756482ea817" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockCommonMember_bb97dd9e-2515-41ad-8a9c-f1e6706b8d7a" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_TreasuryStockCommonMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ParentMember_de18057d-eb77-4d07-b87e-4d77cef397ce" xlink:to="loc_us-gaap_TreasuryStockCommonMember_bb97dd9e-2515-41ad-8a9c-f1e6706b8d7a" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapitalMember_bbdbfda7-2f35-4c3c-b241-1927ef442fea" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AdditionalPaidInCapitalMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ParentMember_de18057d-eb77-4d07-b87e-4d77cef397ce" xlink:to="loc_us-gaap_AdditionalPaidInCapitalMember_bbdbfda7-2f35-4c3c-b241-1927ef442fea" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsMember_5ce81b11-e0f5-4187-b2a2-8cb42c71f4aa" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RetainedEarningsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ParentMember_de18057d-eb77-4d07-b87e-4d77cef397ce" xlink:to="loc_us-gaap_RetainedEarningsMember_5ce81b11-e0f5-4187-b2a2-8cb42c71f4aa" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_90583d11-8880-42e8-a20f-76ebdb27cdb8" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ParentMember_de18057d-eb77-4d07-b87e-4d77cef397ce" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_90583d11-8880-42e8-a20f-76ebdb27cdb8" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoncontrollingInterestMember_04d0c5e0-33c3-4439-ab98-c252ff242a74" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_NoncontrollingInterestMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_b2f42802-88c1-4e88-925b-8f27f7487cd4" xlink:to="loc_us-gaap_NoncontrollingInterestMember_04d0c5e0-33c3-4439-ab98-c252ff242a74" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mastec.com/role/BusinessBasisofPresentationandSignificantAccountingPoliciesRevenueRecognitionDetails" xlink:type="simple" xlink:href="mtz-20230331.xsd#BusinessBasisofPresentationandSignificantAccountingPoliciesRevenueRecognitionDetails"/>
  <link:definitionLink xlink:role="http://www.mastec.com/role/BusinessBasisofPresentationandSignificantAccountingPoliciesRevenueRecognitionDetails" xlink:type="extended" id="idf3d0af1e1a045fdbd1a7a08dc7c8d9c_BusinessBasisofPresentationandSignificantAccountingPoliciesRevenueRecognitionDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisaggregationOfRevenueLineItems_0fea286d-2e44-40fc-a108-e6ae0492c3d4" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DisaggregationOfRevenueLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskPercentage1_b078a647-2b74-4f95-b93c-6bec14d6248e" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ConcentrationRiskPercentage1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_0fea286d-2e44-40fc-a108-e6ae0492c3d4" xlink:to="loc_us-gaap_ConcentrationRiskPercentage1_b078a647-2b74-4f95-b93c-6bec14d6248e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_ChangesInContractEstimatesCostToCostMeasureOfProgressFinancialEffectFromMarginIncreasesDecreases_0161a824-e297-41c2-9981-86ea46ef5a1c" xlink:href="mtz-20230331.xsd#mtz_ChangesInContractEstimatesCostToCostMeasureOfProgressFinancialEffectFromMarginIncreasesDecreases"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_0fea286d-2e44-40fc-a108-e6ae0492c3d4" xlink:to="loc_mtz_ChangesInContractEstimatesCostToCostMeasureOfProgressFinancialEffectFromMarginIncreasesDecreases_0161a824-e297-41c2-9981-86ea46ef5a1c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_ChangesInContractEstimatesCostToCostMeasureOfProgressFinancialEffectPercentage_d8823d0d-7df4-4e67-a22d-fa92bfaa50e5" xlink:href="mtz-20230331.xsd#mtz_ChangesInContractEstimatesCostToCostMeasureOfProgressFinancialEffectPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_0fea286d-2e44-40fc-a108-e6ae0492c3d4" xlink:to="loc_mtz_ChangesInContractEstimatesCostToCostMeasureOfProgressFinancialEffectPercentage_d8823d0d-7df4-4e67-a22d-fa92bfaa50e5" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerPerformanceObligationSatisfiedInPreviousPeriod_751b0772-8f02-451f-95f4-50feab8f0909" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ContractWithCustomerPerformanceObligationSatisfiedInPreviousPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_0fea286d-2e44-40fc-a108-e6ae0492c3d4" xlink:to="loc_us-gaap_ContractWithCustomerPerformanceObligationSatisfiedInPreviousPeriod_751b0772-8f02-451f-95f4-50feab8f0909" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionPeriod1_963e8438-d465-4696-9ed7-77919537b10f" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionPeriod1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_0fea286d-2e44-40fc-a108-e6ae0492c3d4" xlink:to="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionPeriod1_963e8438-d465-4696-9ed7-77919537b10f" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueRemainingPerformanceObligation_6d61ffc4-f2c8-4277-a866-5f06bde55865" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RevenueRemainingPerformanceObligation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_0fea286d-2e44-40fc-a108-e6ae0492c3d4" xlink:to="loc_us-gaap_RevenueRemainingPerformanceObligation_6d61ffc4-f2c8-4277-a866-5f06bde55865" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractsReceivableClaimsAndUncertainAmountsExpectedToBeCollectedWithinOneYear_e173096f-2bd0-46f3-b952-d20fededa46c" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ContractsReceivableClaimsAndUncertainAmountsExpectedToBeCollectedWithinOneYear"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_0fea286d-2e44-40fc-a108-e6ae0492c3d4" xlink:to="loc_us-gaap_ContractsReceivableClaimsAndUncertainAmountsExpectedToBeCollectedWithinOneYear_e173096f-2bd0-46f3-b952-d20fededa46c" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_UnapprovedChangeOrdersAndOrClaimsExpectedTermForApproval_1e6d70d0-a68d-4ce5-9317-747b02ab4b2b" xlink:href="mtz-20230331.xsd#mtz_UnapprovedChangeOrdersAndOrClaimsExpectedTermForApproval"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_0fea286d-2e44-40fc-a108-e6ae0492c3d4" xlink:to="loc_mtz_UnapprovedChangeOrdersAndOrClaimsExpectedTermForApproval_1e6d70d0-a68d-4ce5-9317-747b02ab4b2b" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisaggregationOfRevenueTable_ec50f4fd-3325-493b-8458-50d4562fd3a8" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DisaggregationOfRevenueTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_0fea286d-2e44-40fc-a108-e6ae0492c3d4" xlink:to="loc_us-gaap_DisaggregationOfRevenueTable_ec50f4fd-3325-493b-8458-50d4562fd3a8" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis_f6fe0224-a7e8-450c-b971-410ae5981deb" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_ec50f4fd-3325-493b-8458-50d4562fd3a8" xlink:to="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis_f6fe0224-a7e8-450c-b971-410ae5981deb" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_b6fd0972-0d04-4159-a506-6a7b687515f5" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ConcentrationRiskByBenchmarkAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_ec50f4fd-3325-493b-8458-50d4562fd3a8" xlink:to="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_b6fd0972-0d04-4159-a506-6a7b687515f5" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskBenchmarkDomain_b6fd0972-0d04-4159-a506-6a7b687515f5_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ConcentrationRiskBenchmarkDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_b6fd0972-0d04-4159-a506-6a7b687515f5" xlink:to="loc_us-gaap_ConcentrationRiskBenchmarkDomain_b6fd0972-0d04-4159-a506-6a7b687515f5_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskBenchmarkDomain_59e5d2ff-7979-44e6-8e6f-5a07bbc25fca" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ConcentrationRiskBenchmarkDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_b6fd0972-0d04-4159-a506-6a7b687515f5" xlink:to="loc_us-gaap_ConcentrationRiskBenchmarkDomain_59e5d2ff-7979-44e6-8e6f-5a07bbc25fca" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SalesRevenueNetMember_186d34a5-6d33-4759-8ef4-89e4a12fb105" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_SalesRevenueNetMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskBenchmarkDomain_59e5d2ff-7979-44e6-8e6f-5a07bbc25fca" xlink:to="loc_us-gaap_SalesRevenueNetMember_186d34a5-6d33-4759-8ef4-89e4a12fb105" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskByTypeAxis_0cc5cace-c0e2-430f-bc37-01577b7d84a0" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ConcentrationRiskByTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_ec50f4fd-3325-493b-8458-50d4562fd3a8" xlink:to="loc_us-gaap_ConcentrationRiskByTypeAxis_0cc5cace-c0e2-430f-bc37-01577b7d84a0" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskTypeDomain_0cc5cace-c0e2-430f-bc37-01577b7d84a0_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ConcentrationRiskTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConcentrationRiskByTypeAxis_0cc5cace-c0e2-430f-bc37-01577b7d84a0" xlink:to="loc_us-gaap_ConcentrationRiskTypeDomain_0cc5cace-c0e2-430f-bc37-01577b7d84a0_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskTypeDomain_1560a966-8172-4d7b-b796-9ac12f096c70" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ConcentrationRiskTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConcentrationRiskByTypeAxis_0cc5cace-c0e2-430f-bc37-01577b7d84a0" xlink:to="loc_us-gaap_ConcentrationRiskTypeDomain_1560a966-8172-4d7b-b796-9ac12f096c70" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProductConcentrationRiskMember_f114daea-dcc2-4d14-872f-201c5850ae64" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ProductConcentrationRiskMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskTypeDomain_1560a966-8172-4d7b-b796-9ac12f096c70" xlink:to="loc_us-gaap_ProductConcentrationRiskMember_f114daea-dcc2-4d14-872f-201c5850ae64" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductOrServiceAxis_9fdd4529-5199-44cd-a4e0-1c17d31a7891" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_ProductOrServiceAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_ec50f4fd-3325-493b-8458-50d4562fd3a8" xlink:to="loc_srt_ProductOrServiceAxis_9fdd4529-5199-44cd-a4e0-1c17d31a7891" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_9fdd4529-5199-44cd-a4e0-1c17d31a7891_default" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ProductOrServiceAxis_9fdd4529-5199-44cd-a4e0-1c17d31a7891" xlink:to="loc_srt_ProductsAndServicesDomain_9fdd4529-5199-44cd-a4e0-1c17d31a7891_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_9ca47b74-37b1-41dc-8f4c-a9339b2a32bb" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ProductOrServiceAxis_9fdd4529-5199-44cd-a4e0-1c17d31a7891" xlink:to="loc_srt_ProductsAndServicesDomain_9ca47b74-37b1-41dc-8f4c-a9339b2a32bb" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_MasterServiceAndOtherServiceAgreementsMember_323c7f68-c037-43ea-8758-21946ee596f8" xlink:href="mtz-20230331.xsd#mtz_MasterServiceAndOtherServiceAgreementsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_9ca47b74-37b1-41dc-8f4c-a9339b2a32bb" xlink:to="loc_mtz_MasterServiceAndOtherServiceAgreementsMember_323c7f68-c037-43ea-8758-21946ee596f8" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimingOfTransferOfGoodOrServiceAxis_1c3bac42-aac8-46e1-83e0-82b5033ad4f3" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_TimingOfTransferOfGoodOrServiceAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_ec50f4fd-3325-493b-8458-50d4562fd3a8" xlink:to="loc_us-gaap_TimingOfTransferOfGoodOrServiceAxis_1c3bac42-aac8-46e1-83e0-82b5033ad4f3" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimingOfTransferOfGoodOrServiceDomain_1c3bac42-aac8-46e1-83e0-82b5033ad4f3_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_TimingOfTransferOfGoodOrServiceDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_TimingOfTransferOfGoodOrServiceAxis_1c3bac42-aac8-46e1-83e0-82b5033ad4f3" xlink:to="loc_us-gaap_TimingOfTransferOfGoodOrServiceDomain_1c3bac42-aac8-46e1-83e0-82b5033ad4f3_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimingOfTransferOfGoodOrServiceDomain_66a99a80-dff7-4aa5-b0ce-9aa0271c3c1c" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_TimingOfTransferOfGoodOrServiceDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_TimingOfTransferOfGoodOrServiceAxis_1c3bac42-aac8-46e1-83e0-82b5033ad4f3" xlink:to="loc_us-gaap_TimingOfTransferOfGoodOrServiceDomain_66a99a80-dff7-4aa5-b0ce-9aa0271c3c1c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransferredAtPointInTimeMember_66dca947-60b9-4982-a9f8-ccc30a66a255" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_TransferredAtPointInTimeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TimingOfTransferOfGoodOrServiceDomain_66a99a80-dff7-4aa5-b0ce-9aa0271c3c1c" xlink:to="loc_us-gaap_TransferredAtPointInTimeMember_66dca947-60b9-4982-a9f8-ccc30a66a255" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_d17b2d8d-acf9-4cd1-9f98-121c7e916270" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_ec50f4fd-3325-493b-8458-50d4562fd3a8" xlink:to="loc_srt_RangeAxis_d17b2d8d-acf9-4cd1-9f98-121c7e916270" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_d17b2d8d-acf9-4cd1-9f98-121c7e916270_default" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_d17b2d8d-acf9-4cd1-9f98-121c7e916270" xlink:to="loc_srt_RangeMember_d17b2d8d-acf9-4cd1-9f98-121c7e916270_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_28958bc5-1648-4350-8467-74fb343d7ab8" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_d17b2d8d-acf9-4cd1-9f98-121c7e916270" xlink:to="loc_srt_RangeMember_28958bc5-1648-4350-8467-74fb343d7ab8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_651070cb-5b21-46a5-8864-ac147369026b" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_28958bc5-1648-4350-8467-74fb343d7ab8" xlink:to="loc_srt_MaximumMember_651070cb-5b21-46a5-8864-ac147369026b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsAxis_5f1af139-5708-4a1f-945d-e1d66041e058" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_ConsolidationItemsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_ec50f4fd-3325-493b-8458-50d4562fd3a8" xlink:to="loc_srt_ConsolidationItemsAxis_5f1af139-5708-4a1f-945d-e1d66041e058" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsDomain_5f1af139-5708-4a1f-945d-e1d66041e058_default" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_ConsolidationItemsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ConsolidationItemsAxis_5f1af139-5708-4a1f-945d-e1d66041e058" xlink:to="loc_srt_ConsolidationItemsDomain_5f1af139-5708-4a1f-945d-e1d66041e058_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsDomain_f91f9a9f-cfdd-472c-9103-e32845f2c005" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_ConsolidationItemsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ConsolidationItemsAxis_5f1af139-5708-4a1f-945d-e1d66041e058" xlink:to="loc_srt_ConsolidationItemsDomain_f91f9a9f-cfdd-472c-9103-e32845f2c005" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingSegmentsMember_8c7c7752-3c12-4067-87a8-d09d049de21e" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OperatingSegmentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidationItemsDomain_f91f9a9f-cfdd-472c-9103-e32845f2c005" xlink:to="loc_us-gaap_OperatingSegmentsMember_8c7c7752-3c12-4067-87a8-d09d049de21e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_a2d1ddb6-918c-4443-b2e4-d0949981fe79" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StatementBusinessSegmentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_ec50f4fd-3325-493b-8458-50d4562fd3a8" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_a2d1ddb6-918c-4443-b2e4-d0949981fe79" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_a2d1ddb6-918c-4443-b2e4-d0949981fe79_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_a2d1ddb6-918c-4443-b2e4-d0949981fe79" xlink:to="loc_us-gaap_SegmentDomain_a2d1ddb6-918c-4443-b2e4-d0949981fe79_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_449f0f99-611e-4b42-94fb-6a439d6e22df" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_a2d1ddb6-918c-4443-b2e4-d0949981fe79" xlink:to="loc_us-gaap_SegmentDomain_449f0f99-611e-4b42-94fb-6a439d6e22df" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_CleanEnergyAndInfrastructureSegmentMember_a65a2669-136e-4bb7-836a-873a5969f966" xlink:href="mtz-20230331.xsd#mtz_CleanEnergyAndInfrastructureSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_449f0f99-611e-4b42-94fb-6a439d6e22df" xlink:to="loc_mtz_CleanEnergyAndInfrastructureSegmentMember_a65a2669-136e-4bb7-836a-873a5969f966" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mastec.com/role/BusinessBasisofPresentationandSignificantAccountingPoliciesRevenueRecognitionDetails_1" xlink:type="simple" xlink:href="mtz-20230331.xsd#BusinessBasisofPresentationandSignificantAccountingPoliciesRevenueRecognitionDetails_1"/>
  <link:definitionLink xlink:role="http://www.mastec.com/role/BusinessBasisofPresentationandSignificantAccountingPoliciesRevenueRecognitionDetails_1" xlink:type="extended" id="idaed023dd1b74a76812ac3c29c20a916_BusinessBasisofPresentationandSignificantAccountingPoliciesRevenueRecognitionDetails_1">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisaggregationOfRevenueLineItems_0fea286d-2e44-40fc-a108-e6ae0492c3d4" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DisaggregationOfRevenueLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskPercentage1_b078a647-2b74-4f95-b93c-6bec14d6248e" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ConcentrationRiskPercentage1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_0fea286d-2e44-40fc-a108-e6ae0492c3d4" xlink:to="loc_us-gaap_ConcentrationRiskPercentage1_b078a647-2b74-4f95-b93c-6bec14d6248e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_ChangesInContractEstimatesCostToCostMeasureOfProgressFinancialEffectFromMarginIncreasesDecreases_0161a824-e297-41c2-9981-86ea46ef5a1c" xlink:href="mtz-20230331.xsd#mtz_ChangesInContractEstimatesCostToCostMeasureOfProgressFinancialEffectFromMarginIncreasesDecreases"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_0fea286d-2e44-40fc-a108-e6ae0492c3d4" xlink:to="loc_mtz_ChangesInContractEstimatesCostToCostMeasureOfProgressFinancialEffectFromMarginIncreasesDecreases_0161a824-e297-41c2-9981-86ea46ef5a1c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_ChangesInContractEstimatesCostToCostMeasureOfProgressFinancialEffectPercentage_d8823d0d-7df4-4e67-a22d-fa92bfaa50e5" xlink:href="mtz-20230331.xsd#mtz_ChangesInContractEstimatesCostToCostMeasureOfProgressFinancialEffectPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_0fea286d-2e44-40fc-a108-e6ae0492c3d4" xlink:to="loc_mtz_ChangesInContractEstimatesCostToCostMeasureOfProgressFinancialEffectPercentage_d8823d0d-7df4-4e67-a22d-fa92bfaa50e5" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerPerformanceObligationSatisfiedInPreviousPeriod_751b0772-8f02-451f-95f4-50feab8f0909" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ContractWithCustomerPerformanceObligationSatisfiedInPreviousPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_0fea286d-2e44-40fc-a108-e6ae0492c3d4" xlink:to="loc_us-gaap_ContractWithCustomerPerformanceObligationSatisfiedInPreviousPeriod_751b0772-8f02-451f-95f4-50feab8f0909" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionPeriod1_963e8438-d465-4696-9ed7-77919537b10f" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionPeriod1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_0fea286d-2e44-40fc-a108-e6ae0492c3d4" xlink:to="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionPeriod1_963e8438-d465-4696-9ed7-77919537b10f" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueRemainingPerformanceObligation_6d61ffc4-f2c8-4277-a866-5f06bde55865" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RevenueRemainingPerformanceObligation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_0fea286d-2e44-40fc-a108-e6ae0492c3d4" xlink:to="loc_us-gaap_RevenueRemainingPerformanceObligation_6d61ffc4-f2c8-4277-a866-5f06bde55865" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractsReceivableClaimsAndUncertainAmountsExpectedToBeCollectedWithinOneYear_e173096f-2bd0-46f3-b952-d20fededa46c" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ContractsReceivableClaimsAndUncertainAmountsExpectedToBeCollectedWithinOneYear"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_0fea286d-2e44-40fc-a108-e6ae0492c3d4" xlink:to="loc_us-gaap_ContractsReceivableClaimsAndUncertainAmountsExpectedToBeCollectedWithinOneYear_e173096f-2bd0-46f3-b952-d20fededa46c" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_UnapprovedChangeOrdersAndOrClaimsExpectedTermForApproval_1e6d70d0-a68d-4ce5-9317-747b02ab4b2b" xlink:href="mtz-20230331.xsd#mtz_UnapprovedChangeOrdersAndOrClaimsExpectedTermForApproval"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_0fea286d-2e44-40fc-a108-e6ae0492c3d4" xlink:to="loc_mtz_UnapprovedChangeOrdersAndOrClaimsExpectedTermForApproval_1e6d70d0-a68d-4ce5-9317-747b02ab4b2b" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisaggregationOfRevenueTable_ec50f4fd-3325-493b-8458-50d4562fd3a8" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DisaggregationOfRevenueTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_0fea286d-2e44-40fc-a108-e6ae0492c3d4" xlink:to="loc_us-gaap_DisaggregationOfRevenueTable_ec50f4fd-3325-493b-8458-50d4562fd3a8" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_b6fd0972-0d04-4159-a506-6a7b687515f5" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ConcentrationRiskByBenchmarkAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_ec50f4fd-3325-493b-8458-50d4562fd3a8" xlink:to="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_b6fd0972-0d04-4159-a506-6a7b687515f5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskBenchmarkDomain_b6fd0972-0d04-4159-a506-6a7b687515f5_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ConcentrationRiskBenchmarkDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_b6fd0972-0d04-4159-a506-6a7b687515f5" xlink:to="loc_us-gaap_ConcentrationRiskBenchmarkDomain_b6fd0972-0d04-4159-a506-6a7b687515f5_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskBenchmarkDomain_59e5d2ff-7979-44e6-8e6f-5a07bbc25fca" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ConcentrationRiskBenchmarkDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_b6fd0972-0d04-4159-a506-6a7b687515f5" xlink:to="loc_us-gaap_ConcentrationRiskBenchmarkDomain_59e5d2ff-7979-44e6-8e6f-5a07bbc25fca" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SalesRevenueNetMember_186d34a5-6d33-4759-8ef4-89e4a12fb105" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_SalesRevenueNetMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskBenchmarkDomain_59e5d2ff-7979-44e6-8e6f-5a07bbc25fca" xlink:to="loc_us-gaap_SalesRevenueNetMember_186d34a5-6d33-4759-8ef4-89e4a12fb105" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskByTypeAxis_0cc5cace-c0e2-430f-bc37-01577b7d84a0" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ConcentrationRiskByTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_ec50f4fd-3325-493b-8458-50d4562fd3a8" xlink:to="loc_us-gaap_ConcentrationRiskByTypeAxis_0cc5cace-c0e2-430f-bc37-01577b7d84a0" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskTypeDomain_0cc5cace-c0e2-430f-bc37-01577b7d84a0_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ConcentrationRiskTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConcentrationRiskByTypeAxis_0cc5cace-c0e2-430f-bc37-01577b7d84a0" xlink:to="loc_us-gaap_ConcentrationRiskTypeDomain_0cc5cace-c0e2-430f-bc37-01577b7d84a0_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskTypeDomain_1560a966-8172-4d7b-b796-9ac12f096c70" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ConcentrationRiskTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConcentrationRiskByTypeAxis_0cc5cace-c0e2-430f-bc37-01577b7d84a0" xlink:to="loc_us-gaap_ConcentrationRiskTypeDomain_1560a966-8172-4d7b-b796-9ac12f096c70" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProductConcentrationRiskMember_f114daea-dcc2-4d14-872f-201c5850ae64" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ProductConcentrationRiskMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskTypeDomain_1560a966-8172-4d7b-b796-9ac12f096c70" xlink:to="loc_us-gaap_ProductConcentrationRiskMember_f114daea-dcc2-4d14-872f-201c5850ae64" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductOrServiceAxis_9fdd4529-5199-44cd-a4e0-1c17d31a7891" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_ProductOrServiceAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_ec50f4fd-3325-493b-8458-50d4562fd3a8" xlink:to="loc_srt_ProductOrServiceAxis_9fdd4529-5199-44cd-a4e0-1c17d31a7891" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_9fdd4529-5199-44cd-a4e0-1c17d31a7891_default" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ProductOrServiceAxis_9fdd4529-5199-44cd-a4e0-1c17d31a7891" xlink:to="loc_srt_ProductsAndServicesDomain_9fdd4529-5199-44cd-a4e0-1c17d31a7891_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_9ca47b74-37b1-41dc-8f4c-a9339b2a32bb" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ProductOrServiceAxis_9fdd4529-5199-44cd-a4e0-1c17d31a7891" xlink:to="loc_srt_ProductsAndServicesDomain_9ca47b74-37b1-41dc-8f4c-a9339b2a32bb" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_MasterServiceAndOtherServiceAgreementsMember_323c7f68-c037-43ea-8758-21946ee596f8" xlink:href="mtz-20230331.xsd#mtz_MasterServiceAndOtherServiceAgreementsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_9ca47b74-37b1-41dc-8f4c-a9339b2a32bb" xlink:to="loc_mtz_MasterServiceAndOtherServiceAgreementsMember_323c7f68-c037-43ea-8758-21946ee596f8" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimingOfTransferOfGoodOrServiceAxis_1c3bac42-aac8-46e1-83e0-82b5033ad4f3" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_TimingOfTransferOfGoodOrServiceAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_ec50f4fd-3325-493b-8458-50d4562fd3a8" xlink:to="loc_us-gaap_TimingOfTransferOfGoodOrServiceAxis_1c3bac42-aac8-46e1-83e0-82b5033ad4f3" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimingOfTransferOfGoodOrServiceDomain_1c3bac42-aac8-46e1-83e0-82b5033ad4f3_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_TimingOfTransferOfGoodOrServiceDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_TimingOfTransferOfGoodOrServiceAxis_1c3bac42-aac8-46e1-83e0-82b5033ad4f3" xlink:to="loc_us-gaap_TimingOfTransferOfGoodOrServiceDomain_1c3bac42-aac8-46e1-83e0-82b5033ad4f3_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimingOfTransferOfGoodOrServiceDomain_66a99a80-dff7-4aa5-b0ce-9aa0271c3c1c" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_TimingOfTransferOfGoodOrServiceDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_TimingOfTransferOfGoodOrServiceAxis_1c3bac42-aac8-46e1-83e0-82b5033ad4f3" xlink:to="loc_us-gaap_TimingOfTransferOfGoodOrServiceDomain_66a99a80-dff7-4aa5-b0ce-9aa0271c3c1c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransferredAtPointInTimeMember_66dca947-60b9-4982-a9f8-ccc30a66a255" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_TransferredAtPointInTimeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TimingOfTransferOfGoodOrServiceDomain_66a99a80-dff7-4aa5-b0ce-9aa0271c3c1c" xlink:to="loc_us-gaap_TransferredAtPointInTimeMember_66dca947-60b9-4982-a9f8-ccc30a66a255" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_d17b2d8d-acf9-4cd1-9f98-121c7e916270" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_ec50f4fd-3325-493b-8458-50d4562fd3a8" xlink:to="loc_srt_RangeAxis_d17b2d8d-acf9-4cd1-9f98-121c7e916270" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_d17b2d8d-acf9-4cd1-9f98-121c7e916270_default" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_d17b2d8d-acf9-4cd1-9f98-121c7e916270" xlink:to="loc_srt_RangeMember_d17b2d8d-acf9-4cd1-9f98-121c7e916270_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_28958bc5-1648-4350-8467-74fb343d7ab8" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_d17b2d8d-acf9-4cd1-9f98-121c7e916270" xlink:to="loc_srt_RangeMember_28958bc5-1648-4350-8467-74fb343d7ab8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_651070cb-5b21-46a5-8864-ac147369026b" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_28958bc5-1648-4350-8467-74fb343d7ab8" xlink:to="loc_srt_MaximumMember_651070cb-5b21-46a5-8864-ac147369026b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsAxis_5f1af139-5708-4a1f-945d-e1d66041e058" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_ConsolidationItemsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_ec50f4fd-3325-493b-8458-50d4562fd3a8" xlink:to="loc_srt_ConsolidationItemsAxis_5f1af139-5708-4a1f-945d-e1d66041e058" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsDomain_5f1af139-5708-4a1f-945d-e1d66041e058_default" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_ConsolidationItemsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ConsolidationItemsAxis_5f1af139-5708-4a1f-945d-e1d66041e058" xlink:to="loc_srt_ConsolidationItemsDomain_5f1af139-5708-4a1f-945d-e1d66041e058_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsDomain_f91f9a9f-cfdd-472c-9103-e32845f2c005" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_ConsolidationItemsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ConsolidationItemsAxis_5f1af139-5708-4a1f-945d-e1d66041e058" xlink:to="loc_srt_ConsolidationItemsDomain_f91f9a9f-cfdd-472c-9103-e32845f2c005" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingSegmentsMember_8c7c7752-3c12-4067-87a8-d09d049de21e" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OperatingSegmentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidationItemsDomain_f91f9a9f-cfdd-472c-9103-e32845f2c005" xlink:to="loc_us-gaap_OperatingSegmentsMember_8c7c7752-3c12-4067-87a8-d09d049de21e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_a2d1ddb6-918c-4443-b2e4-d0949981fe79" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StatementBusinessSegmentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_ec50f4fd-3325-493b-8458-50d4562fd3a8" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_a2d1ddb6-918c-4443-b2e4-d0949981fe79" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_a2d1ddb6-918c-4443-b2e4-d0949981fe79_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_a2d1ddb6-918c-4443-b2e4-d0949981fe79" xlink:to="loc_us-gaap_SegmentDomain_a2d1ddb6-918c-4443-b2e4-d0949981fe79_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_449f0f99-611e-4b42-94fb-6a439d6e22df" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_a2d1ddb6-918c-4443-b2e4-d0949981fe79" xlink:to="loc_us-gaap_SegmentDomain_449f0f99-611e-4b42-94fb-6a439d6e22df" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_CleanEnergyAndInfrastructureSegmentMember_a65a2669-136e-4bb7-836a-873a5969f966" xlink:href="mtz-20230331.xsd#mtz_CleanEnergyAndInfrastructureSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_449f0f99-611e-4b42-94fb-6a439d6e22df" xlink:to="loc_mtz_CleanEnergyAndInfrastructureSegmentMember_a65a2669-136e-4bb7-836a-873a5969f966" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mastec.com/role/EarningsPerShareScheduleofEarningsPerShareDetails" xlink:type="simple" xlink:href="mtz-20230331.xsd#EarningsPerShareScheduleofEarningsPerShareDetails"/>
  <link:definitionLink xlink:role="http://www.mastec.com/role/EarningsPerShareScheduleofEarningsPerShareDetails" xlink:type="extended" id="i88f69afb3b0f45ffaff2cab5907d9de6_EarningsPerShareScheduleofEarningsPerShareDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionLineItems_a77ede84-7743-47e5-90f7-b4ec82c3b06c" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessAcquisitionLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAttributableToParentDilutedAbstract_3711f443-1b12-4792-a2eb-3c66c71dbc1c" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_NetIncomeLossAttributableToParentDilutedAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_a77ede84-7743-47e5-90f7-b4ec82c3b06c" xlink:to="loc_us-gaap_NetIncomeLossAttributableToParentDilutedAbstract_3711f443-1b12-4792-a2eb-3c66c71dbc1c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_3211e07e-9932-4a57-9d51-1d49a24dd2da" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetIncomeLossAttributableToParentDilutedAbstract_3711f443-1b12-4792-a2eb-3c66c71dbc1c" xlink:to="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_3211e07e-9932-4a57-9d51-1d49a24dd2da" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted_f2af2649-cac5-415e-a796-9b19cf41b097" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetIncomeLossAttributableToParentDilutedAbstract_3711f443-1b12-4792-a2eb-3c66c71dbc1c" xlink:to="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted_f2af2649-cac5-415e-a796-9b19cf41b097" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingAbstract_da7c7b54-135a-4d7c-9b0e-c77422946003" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_a77ede84-7743-47e5-90f7-b4ec82c3b06c" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingAbstract_da7c7b54-135a-4d7c-9b0e-c77422946003" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_2e4a53df-b637-403c-b4b0-e317f1c016e8" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasic"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingAbstract_da7c7b54-135a-4d7c-9b0e-c77422946003" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_2e4a53df-b637-403c-b4b0-e317f1c016e8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustment_1a2c098b-187c-45d1-ab83-5a76d8e56150" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustment"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingAbstract_da7c7b54-135a-4d7c-9b0e-c77422946003" xlink:to="loc_us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustment_1a2c098b-187c-45d1-ab83-5a76d8e56150" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_d40aa77f-3332-41b4-8e80-d1aff847554a" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingAbstract_da7c7b54-135a-4d7c-9b0e-c77422946003" xlink:to="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_d40aa77f-3332-41b4-8e80-d1aff847554a" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_cdd204cd-fd4e-4d43-8d73-cd7811f4ebb6" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_a77ede84-7743-47e5-90f7-b4ec82c3b06c" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_cdd204cd-fd4e-4d43-8d73-cd7811f4ebb6" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_c4ce3fa2-5a53-4cac-a543-57cdc061bf7f" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_a77ede84-7743-47e5-90f7-b4ec82c3b06c" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_c4ce3fa2-5a53-4cac-a543-57cdc061bf7f" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_3aa75a70-1513-4b4e-a87c-b5090c3dea05" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RelatedPartyTransactionsByRelatedPartyAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_c4ce3fa2-5a53-4cac-a543-57cdc061bf7f" xlink:to="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_3aa75a70-1513-4b4e-a87c-b5090c3dea05" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyDomain_3aa75a70-1513-4b4e-a87c-b5090c3dea05_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RelatedPartyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_3aa75a70-1513-4b4e-a87c-b5090c3dea05" xlink:to="loc_us-gaap_RelatedPartyDomain_3aa75a70-1513-4b4e-a87c-b5090c3dea05_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyDomain_a141362c-73ce-4872-a35c-18890c8563c4" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RelatedPartyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_3aa75a70-1513-4b4e-a87c-b5090c3dea05" xlink:to="loc_us-gaap_RelatedPartyDomain_a141362c-73ce-4872-a35c-18890c8563c4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_FormerOwnerOfAcquiredBusinessMember_e02e357e-ea25-4127-b495-cd1ccc60ec18" xlink:href="mtz-20230331.xsd#mtz_FormerOwnerOfAcquiredBusinessMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyDomain_a141362c-73ce-4872-a35c-18890c8563c4" xlink:to="loc_mtz_FormerOwnerOfAcquiredBusinessMember_e02e357e-ea25-4127-b495-cd1ccc60ec18" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_adbf5074-6e1b-4252-892d-e4a697a862f7" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessAcquisitionAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_c4ce3fa2-5a53-4cac-a543-57cdc061bf7f" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_adbf5074-6e1b-4252-892d-e4a697a862f7" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_adbf5074-6e1b-4252-892d-e4a697a862f7_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessAcquisitionAcquireeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_adbf5074-6e1b-4252-892d-e4a697a862f7" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_adbf5074-6e1b-4252-892d-e4a697a862f7_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_8d68de8e-0d17-47d6-9551-5c164a4d6458" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessAcquisitionAcquireeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_adbf5074-6e1b-4252-892d-e4a697a862f7" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_8d68de8e-0d17-47d6-9551-5c164a4d6458" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_A2021AcquisitionsMember_e21eaa2b-060d-4484-988f-7301a66a7a3c" xlink:href="mtz-20230331.xsd#mtz_A2021AcquisitionsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_8d68de8e-0d17-47d6-9551-5c164a4d6458" xlink:to="loc_mtz_A2021AcquisitionsMember_e21eaa2b-060d-4484-988f-7301a66a7a3c" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mastec.com/role/EarningsPerShareNarrativeDetails" xlink:type="simple" xlink:href="mtz-20230331.xsd#EarningsPerShareNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.mastec.com/role/EarningsPerShareNarrativeDetails" xlink:type="extended" id="i0b9e39f1fa4d4e3ca8b8e5a929489b00_EarningsPerShareNarrativeDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionLineItems_9a954279-a811-4712-bee3-932ac184cc96" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessAcquisitionLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockSharesAcquired_1bef936e-ed75-4923-a0c6-fa82dafec856" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_TreasuryStockSharesAcquired"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_9a954279-a811-4712-bee3-932ac184cc96" xlink:to="loc_us-gaap_TreasuryStockSharesAcquired_1bef936e-ed75-4923-a0c6-fa82dafec856" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionEquityInterestsIssuedOrIssuableNumberOfSharesIssued_5a37549f-36f6-4b53-87bd-fbfa887951c0" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessAcquisitionEquityInterestsIssuedOrIssuableNumberOfSharesIssued"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_9a954279-a811-4712-bee3-932ac184cc96" xlink:to="loc_us-gaap_BusinessAcquisitionEquityInterestsIssuedOrIssuableNumberOfSharesIssued_5a37549f-36f6-4b53-87bd-fbfa887951c0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_6ce55129-d2cd-4d45-9c25-40ea965e2dd2" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_9a954279-a811-4712-bee3-932ac184cc96" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_6ce55129-d2cd-4d45-9c25-40ea965e2dd2" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_dc1e6dd5-dc04-4c3e-af03-d6d2ef58858c" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessAcquisitionAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_6ce55129-d2cd-4d45-9c25-40ea965e2dd2" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_dc1e6dd5-dc04-4c3e-af03-d6d2ef58858c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_dc1e6dd5-dc04-4c3e-af03-d6d2ef58858c_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessAcquisitionAcquireeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_dc1e6dd5-dc04-4c3e-af03-d6d2ef58858c" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_dc1e6dd5-dc04-4c3e-af03-d6d2ef58858c_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_f9209db4-2e9f-4447-9140-b0fc3dd8819c" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessAcquisitionAcquireeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_dc1e6dd5-dc04-4c3e-af03-d6d2ef58858c" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_f9209db4-2e9f-4447-9140-b0fc3dd8819c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_A2022AcquisitionsIEAMember_de3eea36-eccd-43ef-af3d-d642e67f2d1a" xlink:href="mtz-20230331.xsd#mtz_A2022AcquisitionsIEAMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_f9209db4-2e9f-4447-9140-b0fc3dd8819c" xlink:to="loc_mtz_A2022AcquisitionsIEAMember_de3eea36-eccd-43ef-af3d-d642e67f2d1a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_A2021AcquisitionsHenkelsMcCoyGroupIncMember_028fd928-4d85-45e9-bb99-37bf913eae4e" xlink:href="mtz-20230331.xsd#mtz_A2021AcquisitionsHenkelsMcCoyGroupIncMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_f9209db4-2e9f-4447-9140-b0fc3dd8819c" xlink:to="loc_mtz_A2021AcquisitionsHenkelsMcCoyGroupIncMember_028fd928-4d85-45e9-bb99-37bf913eae4e" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mastec.com/role/AcquisitionsGoodwillandOtherIntangibleAssetsNetRollforwardofGoodwillbySegmentDetails" xlink:type="simple" xlink:href="mtz-20230331.xsd#AcquisitionsGoodwillandOtherIntangibleAssetsNetRollforwardofGoodwillbySegmentDetails"/>
  <link:definitionLink xlink:role="http://www.mastec.com/role/AcquisitionsGoodwillandOtherIntangibleAssetsNetRollforwardofGoodwillbySegmentDetails" xlink:type="extended" id="iac23732cb66b44cfa5ecc1b0b883f669_AcquisitionsGoodwillandOtherIntangibleAssetsNetRollforwardofGoodwillbySegmentDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GoodwillLineItems_36ac8115-db7a-448d-b3eb-d3002f916b4d" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_GoodwillLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GoodwillGross_6a060c26-511f-425f-8ec6-be7954ee51fe" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_GoodwillGross"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillLineItems_36ac8115-db7a-448d-b3eb-d3002f916b4d" xlink:to="loc_us-gaap_GoodwillGross_6a060c26-511f-425f-8ec6-be7954ee51fe" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GoodwillImpairedAccumulatedImpairmentLoss_19032ce8-7b64-4fef-bc3e-dbe84c4cd8a9" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_GoodwillImpairedAccumulatedImpairmentLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillLineItems_36ac8115-db7a-448d-b3eb-d3002f916b4d" xlink:to="loc_us-gaap_GoodwillImpairedAccumulatedImpairmentLoss_19032ce8-7b64-4fef-bc3e-dbe84c4cd8a9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_fc9ff99c-2995-4cf8-b7c4-0f5f20fb40b6" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_Goodwill"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillLineItems_36ac8115-db7a-448d-b3eb-d3002f916b4d" xlink:to="loc_us-gaap_Goodwill_fc9ff99c-2995-4cf8-b7c4-0f5f20fb40b6" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GoodwillRollForward_b9e698b4-88c9-49bb-aad5-77a163a45584" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_GoodwillRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillLineItems_36ac8115-db7a-448d-b3eb-d3002f916b4d" xlink:to="loc_us-gaap_GoodwillRollForward_b9e698b4-88c9-49bb-aad5-77a163a45584" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_6a89cf44-41ea-4a70-95b9-8678f06a39c5" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_Goodwill"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GoodwillAcquiredDuringPeriod_951b1443-f6f6-4016-9cd5-e2d2c59d7a26" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_GoodwillAcquiredDuringPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillRollForward_b9e698b4-88c9-49bb-aad5-77a163a45584" xlink:to="loc_us-gaap_GoodwillAcquiredDuringPeriod_951b1443-f6f6-4016-9cd5-e2d2c59d7a26" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GoodwillPurchaseAccountingAdjustments_ebbf1aee-df1a-4b21-b9a8-952768ef51b7" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_GoodwillPurchaseAccountingAdjustments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillRollForward_b9e698b4-88c9-49bb-aad5-77a163a45584" xlink:to="loc_us-gaap_GoodwillPurchaseAccountingAdjustments_ebbf1aee-df1a-4b21-b9a8-952768ef51b7" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_c91a7a54-e956-498a-aa8e-9c06e2d705e4" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_Goodwill"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfGoodwillTable_6ba21011-abbd-4db4-bd26-3cba32ab178d" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ScheduleOfGoodwillTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_GoodwillLineItems_36ac8115-db7a-448d-b3eb-d3002f916b4d" xlink:to="loc_us-gaap_ScheduleOfGoodwillTable_6ba21011-abbd-4db4-bd26-3cba32ab178d" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_58df1156-8f53-4fb7-b85c-0c38a37b7a69" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StatementBusinessSegmentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfGoodwillTable_6ba21011-abbd-4db4-bd26-3cba32ab178d" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_58df1156-8f53-4fb7-b85c-0c38a37b7a69" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_58df1156-8f53-4fb7-b85c-0c38a37b7a69_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_58df1156-8f53-4fb7-b85c-0c38a37b7a69" xlink:to="loc_us-gaap_SegmentDomain_58df1156-8f53-4fb7-b85c-0c38a37b7a69_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_fbea3473-d5ec-4f11-a579-5151131fd507" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_58df1156-8f53-4fb7-b85c-0c38a37b7a69" xlink:to="loc_us-gaap_SegmentDomain_fbea3473-d5ec-4f11-a579-5151131fd507" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_CommunicationsSegmentMember_00af659b-8294-4d7a-8026-d6b3c68993e6" xlink:href="mtz-20230331.xsd#mtz_CommunicationsSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_fbea3473-d5ec-4f11-a579-5151131fd507" xlink:to="loc_mtz_CommunicationsSegmentMember_00af659b-8294-4d7a-8026-d6b3c68993e6" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_CleanEnergyAndInfrastructureSegmentMember_cd736475-1a15-4ffe-910d-e4a1eccc3a8a" xlink:href="mtz-20230331.xsd#mtz_CleanEnergyAndInfrastructureSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_fbea3473-d5ec-4f11-a579-5151131fd507" xlink:to="loc_mtz_CleanEnergyAndInfrastructureSegmentMember_cd736475-1a15-4ffe-910d-e4a1eccc3a8a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_OilAndGasSegmentMember_15261856-a637-4f08-88a4-13a68dfed87c" xlink:href="mtz-20230331.xsd#mtz_OilAndGasSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_fbea3473-d5ec-4f11-a579-5151131fd507" xlink:to="loc_mtz_OilAndGasSegmentMember_15261856-a637-4f08-88a4-13a68dfed87c" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_PowerDeliverySegmentMember_7d7707b1-0647-4562-bf8e-cf00f2a10c5f" xlink:href="mtz-20230331.xsd#mtz_PowerDeliverySegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_fbea3473-d5ec-4f11-a579-5151131fd507" xlink:to="loc_mtz_PowerDeliverySegmentMember_7d7707b1-0647-4562-bf8e-cf00f2a10c5f" xlink:type="arc" order="3"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mastec.com/role/AcquisitionsGoodwillandOtherIntangibleAssetsNetRollforwardofOtherIntangibleAssetsDetails" xlink:type="simple" xlink:href="mtz-20230331.xsd#AcquisitionsGoodwillandOtherIntangibleAssetsNetRollforwardofOtherIntangibleAssetsDetails"/>
  <link:definitionLink xlink:role="http://www.mastec.com/role/AcquisitionsGoodwillandOtherIntangibleAssetsNetRollforwardofOtherIntangibleAssetsDetails" xlink:type="extended" id="i25833b19456342a59ffa3dd824330991_AcquisitionsGoodwillandOtherIntangibleAssetsNetRollforwardofOtherIntangibleAssetsDetails">
    <link:loc xlink:type="locator" xlink:label="loc_mtz_IntangibleAssetsLineItems_3f1f22a8-2fe5-42f7-a5f5-312dbfbba6f1" xlink:href="mtz-20230331.xsd#mtz_IntangibleAssetsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsGrossExcludingGoodwill_28a67ea5-a1a5-46e6-ac22-ecb7b6a46fe1" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IntangibleAssetsGrossExcludingGoodwill"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtz_IntangibleAssetsLineItems_3f1f22a8-2fe5-42f7-a5f5-312dbfbba6f1" xlink:to="loc_us-gaap_IntangibleAssetsGrossExcludingGoodwill_28a67ea5-a1a5-46e6-ac22-ecb7b6a46fe1" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_ad911b52-c26c-4643-8ebd-5ac89af0404a" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtz_IntangibleAssetsLineItems_3f1f22a8-2fe5-42f7-a5f5-312dbfbba6f1" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_ad911b52-c26c-4643-8ebd-5ac89af0404a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_IntangibleAssetsExcludingGoodwillRollForward_b21bcf30-9e9e-4c0b-ad07-db4250bed3ae" xlink:href="mtz-20230331.xsd#mtz_IntangibleAssetsExcludingGoodwillRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtz_IntangibleAssetsLineItems_3f1f22a8-2fe5-42f7-a5f5-312dbfbba6f1" xlink:to="loc_mtz_IntangibleAssetsExcludingGoodwillRollForward_b21bcf30-9e9e-4c0b-ad07-db4250bed3ae" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_5021e750-f2ea-4f03-9bd1-cf85d75006e9" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtz_IntangibleAssetsExcludingGoodwillRollForward_b21bcf30-9e9e-4c0b-ad07-db4250bed3ae" xlink:to="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_5021e750-f2ea-4f03-9bd1-cf85d75006e9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfIntangibleAssets_b1e5a34a-882c-4ed4-ba48-399e83bf96e4" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AmortizationOfIntangibleAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtz_IntangibleAssetsExcludingGoodwillRollForward_b21bcf30-9e9e-4c0b-ad07-db4250bed3ae" xlink:to="loc_us-gaap_AmortizationOfIntangibleAssets_b1e5a34a-882c-4ed4-ba48-399e83bf96e4" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_8df156ad-4f07-440f-8a7f-74f266fa8281" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill_17486b4d-a033-45f5-8e18-92a3cfceaff5" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtz_IntangibleAssetsLineItems_3f1f22a8-2fe5-42f7-a5f5-312dbfbba6f1" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill_17486b4d-a033-45f5-8e18-92a3cfceaff5" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_ScheduleOfIntangibleAssetsTable_943eb007-04d0-45e7-bfdb-408db3260803" xlink:href="mtz-20230331.xsd#mtz_ScheduleOfIntangibleAssetsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_mtz_IntangibleAssetsLineItems_3f1f22a8-2fe5-42f7-a5f5-312dbfbba6f1" xlink:to="loc_mtz_ScheduleOfIntangibleAssetsTable_943eb007-04d0-45e7-bfdb-408db3260803" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis_86ad2a53-226a-4f61-8873-668bebe8a612" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_mtz_ScheduleOfIntangibleAssetsTable_943eb007-04d0-45e7-bfdb-408db3260803" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis_86ad2a53-226a-4f61-8873-668bebe8a612" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_86ad2a53-226a-4f61-8873-668bebe8a612_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis_86ad2a53-226a-4f61-8873-668bebe8a612" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_86ad2a53-226a-4f61-8873-668bebe8a612_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_d3d0c7c3-8f0c-4a2e-9482-e345e5cae2fb" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis_86ad2a53-226a-4f61-8873-668bebe8a612" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_d3d0c7c3-8f0c-4a2e-9482-e345e5cae2fb" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TradeNamesMember_897f796c-c0b2-4ed4-8670-f084be6385ed" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_TradeNamesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_d3d0c7c3-8f0c-4a2e-9482-e345e5cae2fb" xlink:to="loc_us-gaap_TradeNamesMember_897f796c-c0b2-4ed4-8670-f084be6385ed" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_FiniteAndIndefiniteLivedIntangibleAssetsByMajorClassAxis_7bf51ccd-12a1-4447-a597-17b06fd0a72b" xlink:href="mtz-20230331.xsd#mtz_FiniteAndIndefiniteLivedIntangibleAssetsByMajorClassAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_mtz_ScheduleOfIntangibleAssetsTable_943eb007-04d0-45e7-bfdb-408db3260803" xlink:to="loc_mtz_FiniteAndIndefiniteLivedIntangibleAssetsByMajorClassAxis_7bf51ccd-12a1-4447-a597-17b06fd0a72b" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_FiniteAndIndefiniteLivedIntangibleAssetsByMajorClassDomain_7bf51ccd-12a1-4447-a597-17b06fd0a72b_default" xlink:href="mtz-20230331.xsd#mtz_FiniteAndIndefiniteLivedIntangibleAssetsByMajorClassDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_mtz_FiniteAndIndefiniteLivedIntangibleAssetsByMajorClassAxis_7bf51ccd-12a1-4447-a597-17b06fd0a72b" xlink:to="loc_mtz_FiniteAndIndefiniteLivedIntangibleAssetsByMajorClassDomain_7bf51ccd-12a1-4447-a597-17b06fd0a72b_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_FiniteAndIndefiniteLivedIntangibleAssetsByMajorClassDomain_f7438629-65a4-49c1-a009-64909e7e0941" xlink:href="mtz-20230331.xsd#mtz_FiniteAndIndefiniteLivedIntangibleAssetsByMajorClassDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_mtz_FiniteAndIndefiniteLivedIntangibleAssetsByMajorClassAxis_7bf51ccd-12a1-4447-a597-17b06fd0a72b" xlink:to="loc_mtz_FiniteAndIndefiniteLivedIntangibleAssetsByMajorClassDomain_f7438629-65a4-49c1-a009-64909e7e0941" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CustomerRelatedIntangibleAssetsMember_9b8e833f-fb2d-42d0-b73e-5457bc654b14" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CustomerRelatedIntangibleAssetsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtz_FiniteAndIndefiniteLivedIntangibleAssetsByMajorClassDomain_f7438629-65a4-49c1-a009-64909e7e0941" xlink:to="loc_us-gaap_CustomerRelatedIntangibleAssetsMember_9b8e833f-fb2d-42d0-b73e-5457bc654b14" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TradeNamesMember_d66717fc-49ee-4be4-9e13-78767da2ff36" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_TradeNamesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtz_FiniteAndIndefiniteLivedIntangibleAssetsByMajorClassDomain_f7438629-65a4-49c1-a009-64909e7e0941" xlink:to="loc_us-gaap_TradeNamesMember_d66717fc-49ee-4be4-9e13-78767da2ff36" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherIntangibleAssetsMember_25a2a19c-83d9-4e4f-96c6-45962f936da3" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherIntangibleAssetsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtz_FiniteAndIndefiniteLivedIntangibleAssetsByMajorClassDomain_f7438629-65a4-49c1-a009-64909e7e0941" xlink:to="loc_us-gaap_OtherIntangibleAssetsMember_25a2a19c-83d9-4e4f-96c6-45962f936da3" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mastec.com/role/AcquisitionsGoodwillandOtherIntangibleAssetsNetQuarterlyAssessmentforIndicatorsofImpairmentNarrativeDetails" xlink:type="simple" xlink:href="mtz-20230331.xsd#AcquisitionsGoodwillandOtherIntangibleAssetsNetQuarterlyAssessmentforIndicatorsofImpairmentNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.mastec.com/role/AcquisitionsGoodwillandOtherIntangibleAssetsNetQuarterlyAssessmentforIndicatorsofImpairmentNarrativeDetails" xlink:type="extended" id="ib3b02c10fbee44f3a6e9dda32a6f42b8_AcquisitionsGoodwillandOtherIntangibleAssetsNetQuarterlyAssessmentforIndicatorsofImpairmentNarrativeDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GoodwillLineItems_93d8470d-acf6-49ae-8f9d-00cda6d68aa3" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_GoodwillLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NumberOfReportingUnits_a0d97106-8237-4e93-a0e8-b061bf24e74b" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_NumberOfReportingUnits"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillLineItems_93d8470d-acf6-49ae-8f9d-00cda6d68aa3" xlink:to="loc_us-gaap_NumberOfReportingUnits_a0d97106-8237-4e93-a0e8-b061bf24e74b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfGoodwillTable_58bdf72c-8168-44d9-bda6-bc5a641ea39b" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ScheduleOfGoodwillTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_GoodwillLineItems_93d8470d-acf6-49ae-8f9d-00cda6d68aa3" xlink:to="loc_us-gaap_ScheduleOfGoodwillTable_58bdf72c-8168-44d9-bda6-bc5a641ea39b" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_8e41b20b-5e7a-4283-986c-05d2d304cca8" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StatementBusinessSegmentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfGoodwillTable_58bdf72c-8168-44d9-bda6-bc5a641ea39b" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_8e41b20b-5e7a-4283-986c-05d2d304cca8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_8e41b20b-5e7a-4283-986c-05d2d304cca8_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_8e41b20b-5e7a-4283-986c-05d2d304cca8" xlink:to="loc_us-gaap_SegmentDomain_8e41b20b-5e7a-4283-986c-05d2d304cca8_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_38598386-b591-4461-976f-f965be3c5676" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_8e41b20b-5e7a-4283-986c-05d2d304cca8" xlink:to="loc_us-gaap_SegmentDomain_38598386-b591-4461-976f-f965be3c5676" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_OilAndGasSegmentMember_073afd08-bc0f-477d-803f-2dbb0d0fde7e" xlink:href="mtz-20230331.xsd#mtz_OilAndGasSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_38598386-b591-4461-976f-f965be3c5676" xlink:to="loc_mtz_OilAndGasSegmentMember_073afd08-bc0f-477d-803f-2dbb0d0fde7e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_CommunicationsSegmentMember_b74ae342-8465-43d8-b9eb-c057a8f9cf74" xlink:href="mtz-20230331.xsd#mtz_CommunicationsSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_38598386-b591-4461-976f-f965be3c5676" xlink:to="loc_mtz_CommunicationsSegmentMember_b74ae342-8465-43d8-b9eb-c057a8f9cf74" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_CleanEnergyAndInfrastructureSegmentMember_bc2784b5-8ddc-4613-8a3c-d96aff53e99f" xlink:href="mtz-20230331.xsd#mtz_CleanEnergyAndInfrastructureSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_38598386-b591-4461-976f-f965be3c5676" xlink:to="loc_mtz_CleanEnergyAndInfrastructureSegmentMember_bc2784b5-8ddc-4613-8a3c-d96aff53e99f" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mastec.com/role/AcquisitionsGoodwillandOtherIntangibleAssetsNetAcquisitionsNarrativeDetails" xlink:type="simple" xlink:href="mtz-20230331.xsd#AcquisitionsGoodwillandOtherIntangibleAssetsNetAcquisitionsNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.mastec.com/role/AcquisitionsGoodwillandOtherIntangibleAssetsNetAcquisitionsNarrativeDetails" xlink:type="extended" id="icbcde1e6aee548a389a25689b262fdfe_AcquisitionsGoodwillandOtherIntangibleAssetsNetAcquisitionsNarrativeDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionLineItems_899dbbfa-1ce8-4d61-8a14-2c07a0f2f0da" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessAcquisitionLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NumberOfBusinessesAcquired_df004819-780c-4ee3-9bc6-9309d8e494cb" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_NumberOfBusinessesAcquired"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_899dbbfa-1ce8-4d61-8a14-2c07a0f2f0da" xlink:to="loc_us-gaap_NumberOfBusinessesAcquired_df004819-780c-4ee3-9bc6-9309d8e494cb" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_b7a77691-7f15-40b9-9ff8-f81d07d0cb06" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_899dbbfa-1ce8-4d61-8a14-2c07a0f2f0da" xlink:to="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_b7a77691-7f15-40b9-9ff8-f81d07d0cb06" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles_5a73233c-5ffa-4994-8d4e-52c87f569fd0" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_899dbbfa-1ce8-4d61-8a14-2c07a0f2f0da" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles_5a73233c-5ffa-4994-8d4e-52c87f569fd0" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife_0eaaa2b6-5308-4d48-a1c9-8fb4729612ad" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_899dbbfa-1ce8-4d61-8a14-2c07a0f2f0da" xlink:to="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife_0eaaa2b6-5308-4d48-a1c9-8fb4729612ad" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionPurchasePriceAllocationGoodwillExpectedTaxDeductibleAmount_483bb367-4d8d-4e7b-8025-852a3a507774" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessAcquisitionPurchasePriceAllocationGoodwillExpectedTaxDeductibleAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_899dbbfa-1ce8-4d61-8a14-2c07a0f2f0da" xlink:to="loc_us-gaap_BusinessAcquisitionPurchasePriceAllocationGoodwillExpectedTaxDeductibleAmount_483bb367-4d8d-4e7b-8025-852a3a507774" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_BusinessAcquisitionEquityInterestIssuedNumberOfShares_d9ccd519-a496-4d73-911e-d2f91cd8a029" xlink:href="mtz-20230331.xsd#mtz_BusinessAcquisitionEquityInterestIssuedNumberOfShares"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_899dbbfa-1ce8-4d61-8a14-2c07a0f2f0da" xlink:to="loc_mtz_BusinessAcquisitionEquityInterestIssuedNumberOfShares_d9ccd519-a496-4d73-911e-d2f91cd8a029" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionEquityInterestIssuedOrIssuableValueAssigned_8e59dee2-7ff8-4d69-8c51-eb2f5f8197ad" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessAcquisitionEquityInterestIssuedOrIssuableValueAssigned"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_899dbbfa-1ce8-4d61-8a14-2c07a0f2f0da" xlink:to="loc_us-gaap_BusinessAcquisitionEquityInterestIssuedOrIssuableValueAssigned_8e59dee2-7ff8-4d69-8c51-eb2f5f8197ad" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAcquiredFromAcquisition_1627eb74-11b0-47f8-9ad6-fe33547ca4af" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CashAcquiredFromAcquisition"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_899dbbfa-1ce8-4d61-8a14-2c07a0f2f0da" xlink:to="loc_us-gaap_CashAcquiredFromAcquisition_1627eb74-11b0-47f8-9ad6-fe33547ca4af" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesLongTermDebt_1a44c455-c1c7-4461-8d6c-eb83351c4b22" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesLongTermDebt"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_899dbbfa-1ce8-4d61-8a14-2c07a0f2f0da" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesLongTermDebt_1a44c455-c1c7-4461-8d6c-eb83351c4b22" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_1ec85992-d715-435d-a3b7-c6eb0a5e6809" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DebtInstrumentInterestRateStatedPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_899dbbfa-1ce8-4d61-8a14-2c07a0f2f0da" xlink:to="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_1ec85992-d715-435d-a3b7-c6eb0a5e6809" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_WarrantsAndCommonStockFairValueDisclosure_dd293c2c-8d96-4a54-a975-c7ec56cc9c81" xlink:href="mtz-20230331.xsd#mtz_WarrantsAndCommonStockFairValueDisclosure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_899dbbfa-1ce8-4d61-8a14-2c07a0f2f0da" xlink:to="loc_mtz_WarrantsAndCommonStockFairValueDisclosure_dd293c2c-8d96-4a54-a975-c7ec56cc9c81" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationContingentConsiderationArrangementsChangeInAmountOfContingentConsiderationLiability1_8e1fe077-68ec-464e-9518-974d03a26592" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessCombinationContingentConsiderationArrangementsChangeInAmountOfContingentConsiderationLiability1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_899dbbfa-1ce8-4d61-8a14-2c07a0f2f0da" xlink:to="loc_us-gaap_BusinessCombinationContingentConsiderationArrangementsChangeInAmountOfContingentConsiderationLiability1_8e1fe077-68ec-464e-9518-974d03a26592" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationContingentConsiderationLiabilityMeasurementInput_d963cf93-5583-49ad-a252-3badbc05eb99" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessCombinationContingentConsiderationLiabilityMeasurementInput"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_899dbbfa-1ce8-4d61-8a14-2c07a0f2f0da" xlink:to="loc_us-gaap_BusinessCombinationContingentConsiderationLiabilityMeasurementInput_d963cf93-5583-49ad-a252-3badbc05eb99" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationContingentConsiderationLiability_e0d8f742-16e1-4627-a068-ba1801781c9d" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessCombinationContingentConsiderationLiability"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_899dbbfa-1ce8-4d61-8a14-2c07a0f2f0da" xlink:to="loc_us-gaap_BusinessCombinationContingentConsiderationLiability_e0d8f742-16e1-4627-a068-ba1801781c9d" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationContingentConsiderationArrangementsRangeOfOutcomesValueHigh_93f7a228-9546-4ff7-be33-99ed01c3ecd3" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessCombinationContingentConsiderationArrangementsRangeOfOutcomesValueHigh"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_899dbbfa-1ce8-4d61-8a14-2c07a0f2f0da" xlink:to="loc_us-gaap_BusinessCombinationContingentConsiderationArrangementsRangeOfOutcomesValueHigh_93f7a228-9546-4ff7-be33-99ed01c3ecd3" xlink:type="arc" order="14"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_BusinessCombinationsContingentConsiderationUnrealizedGainLoss_0dcd7798-629d-47d4-acd9-605e531b92a8" xlink:href="mtz-20230331.xsd#mtz_BusinessCombinationsContingentConsiderationUnrealizedGainLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_899dbbfa-1ce8-4d61-8a14-2c07a0f2f0da" xlink:to="loc_mtz_BusinessCombinationsContingentConsiderationUnrealizedGainLoss_0dcd7798-629d-47d4-acd9-605e531b92a8" xlink:type="arc" order="15"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionEquityInterestsIssuedOrIssuableNumberOfSharesIssued_de3145b0-c39f-4ca1-87ef-4201f7c70124" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessAcquisitionEquityInterestsIssuedOrIssuableNumberOfSharesIssued"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_899dbbfa-1ce8-4d61-8a14-2c07a0f2f0da" xlink:to="loc_us-gaap_BusinessAcquisitionEquityInterestsIssuedOrIssuableNumberOfSharesIssued_de3145b0-c39f-4ca1-87ef-4201f7c70124" xlink:type="arc" order="16"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_b6778585-4b32-44de-a3d2-deb2d0c8637b" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_899dbbfa-1ce8-4d61-8a14-2c07a0f2f0da" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_b6778585-4b32-44de-a3d2-deb2d0c8637b" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_98f8e5ea-472c-4a3e-85d1-1969be3e374d" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessAcquisitionAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_b6778585-4b32-44de-a3d2-deb2d0c8637b" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_98f8e5ea-472c-4a3e-85d1-1969be3e374d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_98f8e5ea-472c-4a3e-85d1-1969be3e374d_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessAcquisitionAcquireeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_98f8e5ea-472c-4a3e-85d1-1969be3e374d" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_98f8e5ea-472c-4a3e-85d1-1969be3e374d_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_d2d5badf-4dbd-43c9-ab87-0125553fb1ac" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessAcquisitionAcquireeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_98f8e5ea-472c-4a3e-85d1-1969be3e374d" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_d2d5badf-4dbd-43c9-ab87-0125553fb1ac" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_A2023AcquisitionsMember_b7b4f0b3-b049-424b-a474-a7cc8e1c2f5e" xlink:href="mtz-20230331.xsd#mtz_A2023AcquisitionsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_d2d5badf-4dbd-43c9-ab87-0125553fb1ac" xlink:to="loc_mtz_A2023AcquisitionsMember_b7b4f0b3-b049-424b-a474-a7cc8e1c2f5e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_A2022AcquisitionsMember_ad2f0d7d-b3a0-4a38-a0f0-2f40fec78e6d" xlink:href="mtz-20230331.xsd#mtz_A2022AcquisitionsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_d2d5badf-4dbd-43c9-ab87-0125553fb1ac" xlink:to="loc_mtz_A2022AcquisitionsMember_ad2f0d7d-b3a0-4a38-a0f0-2f40fec78e6d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_A2022AcquisitionsInfrastructureEnergyAlternativesIncMember_6feca05c-6c90-4d15-af47-d758807df808" xlink:href="mtz-20230331.xsd#mtz_A2022AcquisitionsInfrastructureEnergyAlternativesIncMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_d2d5badf-4dbd-43c9-ab87-0125553fb1ac" xlink:to="loc_mtz_A2022AcquisitionsInfrastructureEnergyAlternativesIncMember_6feca05c-6c90-4d15-af47-d758807df808" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_A2022AcquisitionsAllOtherMember_c591e880-0730-4f58-b77e-5c095031c7cf" xlink:href="mtz-20230331.xsd#mtz_A2022AcquisitionsAllOtherMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_d2d5badf-4dbd-43c9-ab87-0125553fb1ac" xlink:to="loc_mtz_A2022AcquisitionsAllOtherMember_c591e880-0730-4f58-b77e-5c095031c7cf" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_3c5df2b4-99aa-46fa-a94d-4bb8240f2f35" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_b6778585-4b32-44de-a3d2-deb2d0c8637b" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_3c5df2b4-99aa-46fa-a94d-4bb8240f2f35" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_3c5df2b4-99aa-46fa-a94d-4bb8240f2f35_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_3c5df2b4-99aa-46fa-a94d-4bb8240f2f35" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_3c5df2b4-99aa-46fa-a94d-4bb8240f2f35_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_0924fdbd-d6e7-4c3e-b243-1a139498efc2" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_3c5df2b4-99aa-46fa-a94d-4bb8240f2f35" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_0924fdbd-d6e7-4c3e-b243-1a139498efc2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_TradeNamesAndCustomerRelationshipsMember_410fde0d-686c-4480-8856-c3e9d4bf126f" xlink:href="mtz-20230331.xsd#mtz_TradeNamesAndCustomerRelationshipsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_0924fdbd-d6e7-4c3e-b243-1a139498efc2" xlink:to="loc_mtz_TradeNamesAndCustomerRelationshipsMember_410fde0d-686c-4480-8856-c3e9d4bf126f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CustomerRelationshipsMember_feaddd32-6cc8-4db8-ad49-44ca56ff3ecc" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CustomerRelationshipsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_0924fdbd-d6e7-4c3e-b243-1a139498efc2" xlink:to="loc_us-gaap_CustomerRelationshipsMember_feaddd32-6cc8-4db8-ad49-44ca56ff3ecc" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TradeNamesMember_0e6a50b4-4f5e-4f35-9a02-45f3b3545564" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_TradeNamesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_0924fdbd-d6e7-4c3e-b243-1a139498efc2" xlink:to="loc_us-gaap_TradeNamesMember_0e6a50b4-4f5e-4f35-9a02-45f3b3545564" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_BacklogMember_3f1829f1-63c7-445b-ab5f-504faf27553b" xlink:href="mtz-20230331.xsd#mtz_BacklogMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_0924fdbd-d6e7-4c3e-b243-1a139498efc2" xlink:to="loc_mtz_BacklogMember_3f1829f1-63c7-445b-ab5f-504faf27553b" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContingentConsiderationByTypeAxis_b340f639-0636-4543-8fec-fa8414ce4c0e" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ContingentConsiderationByTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_b6778585-4b32-44de-a3d2-deb2d0c8637b" xlink:to="loc_us-gaap_ContingentConsiderationByTypeAxis_b340f639-0636-4543-8fec-fa8414ce4c0e" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContingentConsiderationTypeDomain_b340f639-0636-4543-8fec-fa8414ce4c0e_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ContingentConsiderationTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ContingentConsiderationByTypeAxis_b340f639-0636-4543-8fec-fa8414ce4c0e" xlink:to="loc_us-gaap_ContingentConsiderationTypeDomain_b340f639-0636-4543-8fec-fa8414ce4c0e_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContingentConsiderationTypeDomain_983def75-6933-43cb-bb90-7a74395839cf" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ContingentConsiderationTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ContingentConsiderationByTypeAxis_b340f639-0636-4543-8fec-fa8414ce4c0e" xlink:to="loc_us-gaap_ContingentConsiderationTypeDomain_983def75-6933-43cb-bb90-7a74395839cf" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_ContingentConsiderationValueOfAdditionalPaymentsMember_8dc935b6-977d-4f47-a6bd-c24949180877" xlink:href="mtz-20230331.xsd#mtz_ContingentConsiderationValueOfAdditionalPaymentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ContingentConsiderationTypeDomain_983def75-6933-43cb-bb90-7a74395839cf" xlink:to="loc_mtz_ContingentConsiderationValueOfAdditionalPaymentsMember_8dc935b6-977d-4f47-a6bd-c24949180877" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_ContingentConsiderationCollectionsFromAcquiredReceivablesMember_674aeefe-1123-4c23-a6c1-d997432e470a" xlink:href="mtz-20230331.xsd#mtz_ContingentConsiderationCollectionsFromAcquiredReceivablesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ContingentConsiderationTypeDomain_983def75-6933-43cb-bb90-7a74395839cf" xlink:to="loc_mtz_ContingentConsiderationCollectionsFromAcquiredReceivablesMember_674aeefe-1123-4c23-a6c1-d997432e470a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_c9288b98-fbb5-4dd9-9e54-5a59a5ae3d5f" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DebtInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_b6778585-4b32-44de-a3d2-deb2d0c8637b" xlink:to="loc_us-gaap_DebtInstrumentAxis_c9288b98-fbb5-4dd9-9e54-5a59a5ae3d5f" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_c9288b98-fbb5-4dd9-9e54-5a59a5ae3d5f_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_c9288b98-fbb5-4dd9-9e54-5a59a5ae3d5f" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_c9288b98-fbb5-4dd9-9e54-5a59a5ae3d5f_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_78372a8e-ea07-4d36-9244-2c2ccdd7ce19" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_c9288b98-fbb5-4dd9-9e54-5a59a5ae3d5f" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_78372a8e-ea07-4d36-9244-2c2ccdd7ce19" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_SixPointSixTwoFivePercentSeniorNotesMember_efe52c43-4ef7-41a6-a018-bb9268401601" xlink:href="mtz-20230331.xsd#mtz_SixPointSixTwoFivePercentSeniorNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_78372a8e-ea07-4d36-9244-2c2ccdd7ce19" xlink:to="loc_mtz_SixPointSixTwoFivePercentSeniorNotesMember_efe52c43-4ef7-41a6-a018-bb9268401601" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_a9d3a230-b80f-4734-b071-6170adde5c10" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LongtermDebtTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_b6778585-4b32-44de-a3d2-deb2d0c8637b" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_a9d3a230-b80f-4734-b071-6170adde5c10" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_a9d3a230-b80f-4734-b071-6170adde5c10_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_a9d3a230-b80f-4734-b071-6170adde5c10" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_a9d3a230-b80f-4734-b071-6170adde5c10_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_f279eb57-94f7-4f44-be4b-3d4f537a8ea7" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_a9d3a230-b80f-4734-b071-6170adde5c10" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_f279eb57-94f7-4f44-be4b-3d4f537a8ea7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SeniorNotesMember_c89d192c-6ae2-4b25-921f-cc9023374ea0" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_SeniorNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_f279eb57-94f7-4f44-be4b-3d4f537a8ea7" xlink:to="loc_us-gaap_SeniorNotesMember_c89d192c-6ae2-4b25-921f-cc9023374ea0" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfWarrantOrRightAxis_0ca43d21-2e80-4f51-b3bc-bc856b513eb9" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ClassOfWarrantOrRightAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_b6778585-4b32-44de-a3d2-deb2d0c8637b" xlink:to="loc_us-gaap_ClassOfWarrantOrRightAxis_0ca43d21-2e80-4f51-b3bc-bc856b513eb9" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfWarrantOrRightDomain_0ca43d21-2e80-4f51-b3bc-bc856b513eb9_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ClassOfWarrantOrRightDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ClassOfWarrantOrRightAxis_0ca43d21-2e80-4f51-b3bc-bc856b513eb9" xlink:to="loc_us-gaap_ClassOfWarrantOrRightDomain_0ca43d21-2e80-4f51-b3bc-bc856b513eb9_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfWarrantOrRightDomain_7ef79487-0c52-4d22-8f91-70320637054f" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ClassOfWarrantOrRightDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ClassOfWarrantOrRightAxis_0ca43d21-2e80-4f51-b3bc-bc856b513eb9" xlink:to="loc_us-gaap_ClassOfWarrantOrRightDomain_7ef79487-0c52-4d22-8f91-70320637054f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_InfrastructureEnergyAlternativesIncWarrantsMember_b3b17e7e-6039-49fc-847c-99c23d5f0d24" xlink:href="mtz-20230331.xsd#mtz_InfrastructureEnergyAlternativesIncWarrantsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfWarrantOrRightDomain_7ef79487-0c52-4d22-8f91-70320637054f" xlink:to="loc_mtz_InfrastructureEnergyAlternativesIncWarrantsMember_b3b17e7e-6039-49fc-847c-99c23d5f0d24" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_d9db84e5-9efe-466f-a8f9-55385da6112c" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StatementBusinessSegmentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_b6778585-4b32-44de-a3d2-deb2d0c8637b" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_d9db84e5-9efe-466f-a8f9-55385da6112c" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_d9db84e5-9efe-466f-a8f9-55385da6112c_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_d9db84e5-9efe-466f-a8f9-55385da6112c" xlink:to="loc_us-gaap_SegmentDomain_d9db84e5-9efe-466f-a8f9-55385da6112c_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_3082eb56-dd99-4d58-ac3c-ca11cd198a56" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_d9db84e5-9efe-466f-a8f9-55385da6112c" xlink:to="loc_us-gaap_SegmentDomain_3082eb56-dd99-4d58-ac3c-ca11cd198a56" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_PowerDeliverySegmentMember_bbd52ad9-af4f-4d9a-bf9a-ef613f76375a" xlink:href="mtz-20230331.xsd#mtz_PowerDeliverySegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_3082eb56-dd99-4d58-ac3c-ca11cd198a56" xlink:to="loc_mtz_PowerDeliverySegmentMember_bbd52ad9-af4f-4d9a-bf9a-ef613f76375a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MeasurementInputTypeAxis_ce19b09c-2c11-4243-a272-ec36539d9299" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_MeasurementInputTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_b6778585-4b32-44de-a3d2-deb2d0c8637b" xlink:to="loc_us-gaap_MeasurementInputTypeAxis_ce19b09c-2c11-4243-a272-ec36539d9299" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MeasurementInputTypeDomain_ce19b09c-2c11-4243-a272-ec36539d9299_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_MeasurementInputTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_MeasurementInputTypeAxis_ce19b09c-2c11-4243-a272-ec36539d9299" xlink:to="loc_us-gaap_MeasurementInputTypeDomain_ce19b09c-2c11-4243-a272-ec36539d9299_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MeasurementInputTypeDomain_b5244326-4ac4-4bbd-ac93-2ea53c9fd340" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_MeasurementInputTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_MeasurementInputTypeAxis_ce19b09c-2c11-4243-a272-ec36539d9299" xlink:to="loc_us-gaap_MeasurementInputTypeDomain_b5244326-4ac4-4bbd-ac93-2ea53c9fd340" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MeasurementInputExpectedTermMember_ebe8b2dc-5b67-4f8e-836d-dd22e3d7d5c3" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_MeasurementInputExpectedTermMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MeasurementInputTypeDomain_b5244326-4ac4-4bbd-ac93-2ea53c9fd340" xlink:to="loc_us-gaap_MeasurementInputExpectedTermMember_ebe8b2dc-5b67-4f8e-836d-dd22e3d7d5c3" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mastec.com/role/AcquisitionsGoodwillandOtherIntangibleAssetsNetScheduleofRecognizedIdentifiedAssetsAcquiredandLiabilitiesAssumedDetails" xlink:type="simple" xlink:href="mtz-20230331.xsd#AcquisitionsGoodwillandOtherIntangibleAssetsNetScheduleofRecognizedIdentifiedAssetsAcquiredandLiabilitiesAssumedDetails"/>
  <link:definitionLink xlink:role="http://www.mastec.com/role/AcquisitionsGoodwillandOtherIntangibleAssetsNetScheduleofRecognizedIdentifiedAssetsAcquiredandLiabilitiesAssumedDetails" xlink:type="extended" id="i8553b9b091414a4e97785d007733f2ca_AcquisitionsGoodwillandOtherIntangibleAssetsNetScheduleofRecognizedIdentifiedAssetsAcquiredandLiabilitiesAssumedDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionLineItems_c3e44584-628d-4a70-bb03-42f3fca53c2a" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessAcquisitionLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationConsiderationTransferredAbstract_ffa54ac4-5f94-4300-ab8a-3b5006151fac" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessCombinationConsiderationTransferredAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_c3e44584-628d-4a70-bb03-42f3fca53c2a" xlink:to="loc_us-gaap_BusinessCombinationConsiderationTransferredAbstract_ffa54ac4-5f94-4300-ab8a-3b5006151fac" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_41cf9dbe-f839-4520-b3d8-a7e0a7290e06" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationConsiderationTransferredAbstract_ffa54ac4-5f94-4300-ab8a-3b5006151fac" xlink:to="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_41cf9dbe-f839-4520-b3d8-a7e0a7290e06" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationConsiderationTransferredEquityInterestsIssuedAndIssuable_a1ee781b-57fa-42b1-b4a9-28931ee2647e" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessCombinationConsiderationTransferredEquityInterestsIssuedAndIssuable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationConsiderationTransferredAbstract_ffa54ac4-5f94-4300-ab8a-3b5006151fac" xlink:to="loc_us-gaap_BusinessCombinationConsiderationTransferredEquityInterestsIssuedAndIssuable_a1ee781b-57fa-42b1-b4a9-28931ee2647e" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_BusinessCombinationConsiderationTransferredWarrants_747bcb2c-d71c-41ea-91bf-536d64b41b65" xlink:href="mtz-20230331.xsd#mtz_BusinessCombinationConsiderationTransferredWarrants"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationConsiderationTransferredAbstract_ffa54ac4-5f94-4300-ab8a-3b5006151fac" xlink:to="loc_mtz_BusinessCombinationConsiderationTransferredWarrants_747bcb2c-d71c-41ea-91bf-536d64b41b65" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationContingentConsiderationLiability_732077d2-4ed9-445e-af0f-7ee6c4a69de8" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessCombinationContingentConsiderationLiability"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationConsiderationTransferredAbstract_ffa54ac4-5f94-4300-ab8a-3b5006151fac" xlink:to="loc_us-gaap_BusinessCombinationContingentConsiderationLiability_732077d2-4ed9-445e-af0f-7ee6c4a69de8" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationConsiderationTransferred1_c68d6cd5-ab1d-417c-b121-389ad8b34ce4" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessCombinationConsiderationTransferred1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationConsiderationTransferredAbstract_ffa54ac4-5f94-4300-ab8a-3b5006151fac" xlink:to="loc_us-gaap_BusinessCombinationConsiderationTransferred1_c68d6cd5-ab1d-417c-b121-389ad8b34ce4" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_96de85b2-6e4c-48bd-8b7d-2d778f30d0b9" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_c3e44584-628d-4a70-bb03-42f3fca53c2a" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_96de85b2-6e4c-48bd-8b7d-2d778f30d0b9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsReceivables_22758303-c09f-43f8-beba-90b1c21b88d7" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsReceivables"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_96de85b2-6e4c-48bd-8b7d-2d778f30d0b9" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsReceivables_22758303-c09f-43f8-beba-90b1c21b88d7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssets_ecf4f733-eb88-4cbb-98d5-079890a193ad" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_96de85b2-6e4c-48bd-8b7d-2d778f30d0b9" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssets_ecf4f733-eb88-4cbb-98d5-079890a193ad" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment_549da33c-8a20-4d13-9a36-0c679296cd99" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_96de85b2-6e4c-48bd-8b7d-2d778f30d0b9" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment_549da33c-8a20-4d13-9a36-0c679296cd99" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLongTermAssetsOperatingRightOfUseAssets_284d0750-939c-47cd-a8cf-b7cf068bba22" xlink:href="mtz-20230331.xsd#mtz_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLongTermAssetsOperatingRightOfUseAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_96de85b2-6e4c-48bd-8b7d-2d778f30d0b9" xlink:to="loc_mtz_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLongTermAssetsOperatingRightOfUseAssets_284d0750-939c-47cd-a8cf-b7cf068bba22" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles_e5b0340f-c3f1-4598-b0a8-543ed408b2dd" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_96de85b2-6e4c-48bd-8b7d-2d778f30d0b9" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles_e5b0340f-c3f1-4598-b0a8-543ed408b2dd" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccountsPayable_f6f340e6-d1cb-4db3-a870-f31e712b53c9" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccountsPayable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_96de85b2-6e4c-48bd-8b7d-2d778f30d0b9" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccountsPayable_f6f340e6-d1cb-4db3-a870-f31e712b53c9" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilities_66827b64-a997-4546-b84c-2fb81da0520b" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_96de85b2-6e4c-48bd-8b7d-2d778f30d0b9" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilities_66827b64-a997-4546-b84c-2fb81da0520b" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilitiesLongTermDebtIncludingLeaseObligations_e8f79ca1-9030-4e54-aac2-fff1afc92760" xlink:href="mtz-20230331.xsd#mtz_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilitiesLongTermDebtIncludingLeaseObligations"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_96de85b2-6e4c-48bd-8b7d-2d778f30d0b9" xlink:to="loc_mtz_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilitiesLongTermDebtIncludingLeaseObligations_e8f79ca1-9030-4e54-aac2-fff1afc92760" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilities_98ea0bee-9600-4277-8659-cd5451412cbf" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_96de85b2-6e4c-48bd-8b7d-2d778f30d0b9" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilities_98ea0bee-9600-4277-8659-cd5451412cbf" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_6703a210-1ee5-41ca-a556-31e07e85df21" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_96de85b2-6e4c-48bd-8b7d-2d778f30d0b9" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_6703a210-1ee5-41ca-a556-31e07e85df21" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_146e4e94-0a84-4594-a690-6e7d4e4f7c1f" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_Goodwill"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_96de85b2-6e4c-48bd-8b7d-2d778f30d0b9" xlink:to="loc_us-gaap_Goodwill_146e4e94-0a84-4594-a690-6e7d4e4f7c1f" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_e38d8f4d-aec6-4b76-8868-c4801335d782" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_96de85b2-6e4c-48bd-8b7d-2d778f30d0b9" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_e38d8f4d-aec6-4b76-8868-c4801335d782" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_746032a1-ea55-4932-9946-2920f043bc42" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_c3e44584-628d-4a70-bb03-42f3fca53c2a" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_746032a1-ea55-4932-9946-2920f043bc42" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_285e3e3c-ac0d-4702-ae6f-9ea7428f2c7d" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessAcquisitionAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_746032a1-ea55-4932-9946-2920f043bc42" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_285e3e3c-ac0d-4702-ae6f-9ea7428f2c7d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_285e3e3c-ac0d-4702-ae6f-9ea7428f2c7d_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessAcquisitionAcquireeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_285e3e3c-ac0d-4702-ae6f-9ea7428f2c7d" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_285e3e3c-ac0d-4702-ae6f-9ea7428f2c7d_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_ee29dbee-d264-491e-b8d9-027aa9707b65" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessAcquisitionAcquireeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_285e3e3c-ac0d-4702-ae6f-9ea7428f2c7d" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_ee29dbee-d264-491e-b8d9-027aa9707b65" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_A2022AcquisitionsInfrastructureEnergyAlternativesIncMember_866981be-4d23-4720-94e2-19171380b8c4" xlink:href="mtz-20230331.xsd#mtz_A2022AcquisitionsInfrastructureEnergyAlternativesIncMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_ee29dbee-d264-491e-b8d9-027aa9707b65" xlink:to="loc_mtz_A2022AcquisitionsInfrastructureEnergyAlternativesIncMember_866981be-4d23-4720-94e2-19171380b8c4" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_A2022AcquisitionsAllOtherMember_f6ecd270-326f-4ab0-a371-057b03b226e9" xlink:href="mtz-20230331.xsd#mtz_A2022AcquisitionsAllOtherMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_ee29dbee-d264-491e-b8d9-027aa9707b65" xlink:to="loc_mtz_A2022AcquisitionsAllOtherMember_f6ecd270-326f-4ab0-a371-057b03b226e9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_A2022AcquisitionsMember_f76c13c8-372c-48b7-b8fa-a389ed8d7305" xlink:href="mtz-20230331.xsd#mtz_A2022AcquisitionsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_ee29dbee-d264-491e-b8d9-027aa9707b65" xlink:to="loc_mtz_A2022AcquisitionsMember_f76c13c8-372c-48b7-b8fa-a389ed8d7305" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mastec.com/role/AcquisitionsGoodwillandOtherIntangibleAssetsNetHMGAdditionalPaymentsProFormaFinancialInformationAcquisitionResultsandAcquisitionandIntegrationCostsNarrativeDetails" xlink:type="simple" xlink:href="mtz-20230331.xsd#AcquisitionsGoodwillandOtherIntangibleAssetsNetHMGAdditionalPaymentsProFormaFinancialInformationAcquisitionResultsandAcquisitionandIntegrationCostsNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.mastec.com/role/AcquisitionsGoodwillandOtherIntangibleAssetsNetHMGAdditionalPaymentsProFormaFinancialInformationAcquisitionResultsandAcquisitionandIntegrationCostsNarrativeDetails" xlink:type="extended" id="if894d6e4a0804f32b844abec4482adab_AcquisitionsGoodwillandOtherIntangibleAssetsNetHMGAdditionalPaymentsProFormaFinancialInformationAcquisitionResultsandAcquisitionandIntegrationCostsNarrativeDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionLineItems_5ede3b08-db42-46f2-b4ba-334383e77ba0" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessAcquisitionLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationConsiderationTransferred1_a66f2210-9b5e-418c-9e69-48a08f455dd5" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessCombinationConsiderationTransferred1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_5ede3b08-db42-46f2-b4ba-334383e77ba0" xlink:to="loc_us-gaap_BusinessCombinationConsiderationTransferred1_a66f2210-9b5e-418c-9e69-48a08f455dd5" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireBusinessesGross_12f2deb4-09be-4cdc-b0d1-72927267b774" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PaymentsToAcquireBusinessesGross"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_5ede3b08-db42-46f2-b4ba-334383e77ba0" xlink:to="loc_us-gaap_PaymentsToAcquireBusinessesGross_12f2deb4-09be-4cdc-b0d1-72927267b774" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionEquityInterestsIssuedOrIssuableNumberOfSharesIssued_78d4edcb-3d70-4637-a2d1-ccc66b03f5f3" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessAcquisitionEquityInterestsIssuedOrIssuableNumberOfSharesIssued"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_5ede3b08-db42-46f2-b4ba-334383e77ba0" xlink:to="loc_us-gaap_BusinessAcquisitionEquityInterestsIssuedOrIssuableNumberOfSharesIssued_78d4edcb-3d70-4637-a2d1-ccc66b03f5f3" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationContingentConsiderationLiabilityCurrent_cdbee3f5-bc04-450d-8624-f3db00fefbe6" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessCombinationContingentConsiderationLiabilityCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_5ede3b08-db42-46f2-b4ba-334383e77ba0" xlink:to="loc_us-gaap_BusinessCombinationContingentConsiderationLiabilityCurrent_cdbee3f5-bc04-450d-8624-f3db00fefbe6" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_BusinessCombinationsContingentConsiderationUnrealizedGainLoss_92cf0506-2a16-45d6-b0d2-4c9c31fd0df2" xlink:href="mtz-20230331.xsd#mtz_BusinessCombinationsContingentConsiderationUnrealizedGainLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_5ede3b08-db42-46f2-b4ba-334383e77ba0" xlink:to="loc_mtz_BusinessCombinationsContingentConsiderationUnrealizedGainLoss_92cf0506-2a16-45d6-b0d2-4c9c31fd0df2" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationContingentConsiderationLiability_7246c0f9-880f-4938-9d09-e636d6766f86" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessCombinationContingentConsiderationLiability"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_5ede3b08-db42-46f2-b4ba-334383e77ba0" xlink:to="loc_us-gaap_BusinessCombinationContingentConsiderationLiability_7246c0f9-880f-4938-9d09-e636d6766f86" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionsProFormaRevenue_4c1c1175-ac31-4eab-8df3-2ff59f68931f" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessAcquisitionsProFormaRevenue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_5ede3b08-db42-46f2-b4ba-334383e77ba0" xlink:to="loc_us-gaap_BusinessAcquisitionsProFormaRevenue_4c1c1175-ac31-4eab-8df3-2ff59f68931f" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionsProFormaNetIncomeLoss_cbd9a498-43cd-4b09-8c9b-daf12b2b876c" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessAcquisitionsProFormaNetIncomeLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_5ede3b08-db42-46f2-b4ba-334383e77ba0" xlink:to="loc_us-gaap_BusinessAcquisitionsProFormaNetIncomeLoss_cbd9a498-43cd-4b09-8c9b-daf12b2b876c" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationProFormaInformationRevenueOfAcquireeSinceAcquisitionDateActual_689fff9f-ae72-4cce-8373-6864ac59a7a0" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessCombinationProFormaInformationRevenueOfAcquireeSinceAcquisitionDateActual"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_5ede3b08-db42-46f2-b4ba-334383e77ba0" xlink:to="loc_us-gaap_BusinessCombinationProFormaInformationRevenueOfAcquireeSinceAcquisitionDateActual_689fff9f-ae72-4cce-8373-6864ac59a7a0" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationProFormaInformationEarningsOrLossOfAcquireeSinceAcquisitionDateActual_592a8415-04c5-435a-bc48-5a97b96e5071" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessCombinationProFormaInformationEarningsOrLossOfAcquireeSinceAcquisitionDateActual"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_5ede3b08-db42-46f2-b4ba-334383e77ba0" xlink:to="loc_us-gaap_BusinessCombinationProFormaInformationEarningsOrLossOfAcquireeSinceAcquisitionDateActual_592a8415-04c5-435a-bc48-5a97b96e5071" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationIntegrationRelatedCosts_880a4241-a939-42da-990c-80beccb9210d" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessCombinationIntegrationRelatedCosts"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_5ede3b08-db42-46f2-b4ba-334383e77ba0" xlink:to="loc_us-gaap_BusinessCombinationIntegrationRelatedCosts_880a4241-a939-42da-990c-80beccb9210d" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_BusinessCombinationIntegrationRelatedLiabilities_3dffd0df-27bb-4c91-8719-6fec3d49fc48" xlink:href="mtz-20230331.xsd#mtz_BusinessCombinationIntegrationRelatedLiabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_5ede3b08-db42-46f2-b4ba-334383e77ba0" xlink:to="loc_mtz_BusinessCombinationIntegrationRelatedLiabilities_3dffd0df-27bb-4c91-8719-6fec3d49fc48" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_d52951eb-0c82-4480-a1e8-fc11afe41f21" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_5ede3b08-db42-46f2-b4ba-334383e77ba0" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_d52951eb-0c82-4480-a1e8-fc11afe41f21" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_da54a586-873b-4019-8244-198ec35642be" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessAcquisitionAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_d52951eb-0c82-4480-a1e8-fc11afe41f21" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_da54a586-873b-4019-8244-198ec35642be" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_da54a586-873b-4019-8244-198ec35642be_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessAcquisitionAcquireeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_da54a586-873b-4019-8244-198ec35642be" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_da54a586-873b-4019-8244-198ec35642be_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_8768c3e7-0f67-4471-b887-f74202ccc23a" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessAcquisitionAcquireeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_da54a586-873b-4019-8244-198ec35642be" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_8768c3e7-0f67-4471-b887-f74202ccc23a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_A2021AcquisitionsHenkelsMcCoyGroupIncMember_b08c7ebb-1af7-4987-929c-5bcf0f96186a" xlink:href="mtz-20230331.xsd#mtz_A2021AcquisitionsHenkelsMcCoyGroupIncMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_8768c3e7-0f67-4471-b887-f74202ccc23a" xlink:to="loc_mtz_A2021AcquisitionsHenkelsMcCoyGroupIncMember_b08c7ebb-1af7-4987-929c-5bcf0f96186a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_A2022AcquisitionsInfrastructureEnergyAlternativesIncMember_f4c51f55-ac24-4ffa-9865-658cead596b5" xlink:href="mtz-20230331.xsd#mtz_A2022AcquisitionsInfrastructureEnergyAlternativesIncMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_8768c3e7-0f67-4471-b887-f74202ccc23a" xlink:to="loc_mtz_A2022AcquisitionsInfrastructureEnergyAlternativesIncMember_f4c51f55-ac24-4ffa-9865-658cead596b5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_A2022AcquisitionsHenkelsMcCoyGroupIncAndINTRENMember_df21dfce-46ed-4263-90f5-9469966c3515" xlink:href="mtz-20230331.xsd#mtz_A2022AcquisitionsHenkelsMcCoyGroupIncAndINTRENMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_8768c3e7-0f67-4471-b887-f74202ccc23a" xlink:to="loc_mtz_A2022AcquisitionsHenkelsMcCoyGroupIncAndINTRENMember_df21dfce-46ed-4263-90f5-9469966c3515" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_A2023AcquisitionsInfrastructureEnergyAlternativesIncMember_d27ed9bc-bf7a-4d87-ae6f-2c7942d40fae" xlink:href="mtz-20230331.xsd#mtz_A2023AcquisitionsInfrastructureEnergyAlternativesIncMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_8768c3e7-0f67-4471-b887-f74202ccc23a" xlink:to="loc_mtz_A2023AcquisitionsInfrastructureEnergyAlternativesIncMember_d27ed9bc-bf7a-4d87-ae6f-2c7942d40fae" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_A2023AcquisitionsMember_3e19d34e-b540-4812-af2c-b09534f562bb" xlink:href="mtz-20230331.xsd#mtz_A2023AcquisitionsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_8768c3e7-0f67-4471-b887-f74202ccc23a" xlink:to="loc_mtz_A2023AcquisitionsMember_3e19d34e-b540-4812-af2c-b09534f562bb" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_A2022AcquisitionsMember_aec3221c-2e74-4cb4-9967-e70836015e81" xlink:href="mtz-20230331.xsd#mtz_A2022AcquisitionsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_8768c3e7-0f67-4471-b887-f74202ccc23a" xlink:to="loc_mtz_A2022AcquisitionsMember_aec3221c-2e74-4cb4-9967-e70836015e81" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_A2022And2023AcquisitionsMember_47ebabc5-5629-4396-8ece-e3434775be19" xlink:href="mtz-20230331.xsd#mtz_A2022And2023AcquisitionsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_8768c3e7-0f67-4471-b887-f74202ccc23a" xlink:to="loc_mtz_A2022And2023AcquisitionsMember_47ebabc5-5629-4396-8ece-e3434775be19" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementLocationAxis_a0c78572-95c6-4b73-89ce-79fb61b230ed" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncomeStatementLocationAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_d52951eb-0c82-4480-a1e8-fc11afe41f21" xlink:to="loc_us-gaap_IncomeStatementLocationAxis_a0c78572-95c6-4b73-89ce-79fb61b230ed" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_a0c78572-95c6-4b73-89ce-79fb61b230ed_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncomeStatementLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_a0c78572-95c6-4b73-89ce-79fb61b230ed" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_a0c78572-95c6-4b73-89ce-79fb61b230ed_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_87c12e4c-a90f-41f3-aa57-151030e7fad8" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncomeStatementLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_a0c78572-95c6-4b73-89ce-79fb61b230ed" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_87c12e4c-a90f-41f3-aa57-151030e7fad8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeneralAndAdministrativeExpenseMember_1b41da45-0bcd-46b6-a125-3b1653493d0b" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_GeneralAndAdministrativeExpenseMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_87c12e4c-a90f-41f3-aa57-151030e7fad8" xlink:to="loc_us-gaap_GeneralAndAdministrativeExpenseMember_1b41da45-0bcd-46b6-a125-3b1653493d0b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfSalesMember_3509d2bd-1b4f-4b30-bf48-b13d4a2f4760" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CostOfSalesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_87c12e4c-a90f-41f3-aa57-151030e7fad8" xlink:to="loc_us-gaap_CostOfSalesMember_3509d2bd-1b4f-4b30-bf48-b13d4a2f4760" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContingentConsiderationByTypeAxis_78a823ae-9b36-438a-ac56-da803cd22b8f" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ContingentConsiderationByTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_d52951eb-0c82-4480-a1e8-fc11afe41f21" xlink:to="loc_us-gaap_ContingentConsiderationByTypeAxis_78a823ae-9b36-438a-ac56-da803cd22b8f" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContingentConsiderationTypeDomain_78a823ae-9b36-438a-ac56-da803cd22b8f_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ContingentConsiderationTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ContingentConsiderationByTypeAxis_78a823ae-9b36-438a-ac56-da803cd22b8f" xlink:to="loc_us-gaap_ContingentConsiderationTypeDomain_78a823ae-9b36-438a-ac56-da803cd22b8f_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContingentConsiderationTypeDomain_cabe5faa-782a-458c-b1c4-472686631912" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ContingentConsiderationTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ContingentConsiderationByTypeAxis_78a823ae-9b36-438a-ac56-da803cd22b8f" xlink:to="loc_us-gaap_ContingentConsiderationTypeDomain_cabe5faa-782a-458c-b1c4-472686631912" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_ContingentConsiderationValueOfAdditionalPaymentsMember_0d92ad20-3b80-487b-b947-a3e92b5e33aa" xlink:href="mtz-20230331.xsd#mtz_ContingentConsiderationValueOfAdditionalPaymentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ContingentConsiderationTypeDomain_cabe5faa-782a-458c-b1c4-472686631912" xlink:to="loc_mtz_ContingentConsiderationValueOfAdditionalPaymentsMember_0d92ad20-3b80-487b-b947-a3e92b5e33aa" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_ContingentConsiderationCollectionsFromAcquiredReceivablesMember_9830ff50-2965-49d1-a0a6-34fe36712a87" xlink:href="mtz-20230331.xsd#mtz_ContingentConsiderationCollectionsFromAcquiredReceivablesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ContingentConsiderationTypeDomain_cabe5faa-782a-458c-b1c4-472686631912" xlink:to="loc_mtz_ContingentConsiderationCollectionsFromAcquiredReceivablesMember_9830ff50-2965-49d1-a0a6-34fe36712a87" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_b8a25351-44ab-42b2-850b-206e36d9c190" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StatementBusinessSegmentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_d52951eb-0c82-4480-a1e8-fc11afe41f21" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_b8a25351-44ab-42b2-850b-206e36d9c190" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_b8a25351-44ab-42b2-850b-206e36d9c190_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_b8a25351-44ab-42b2-850b-206e36d9c190" xlink:to="loc_us-gaap_SegmentDomain_b8a25351-44ab-42b2-850b-206e36d9c190_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_cbef740f-5b1e-49a6-98ec-fefd90bf0a7b" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_b8a25351-44ab-42b2-850b-206e36d9c190" xlink:to="loc_us-gaap_SegmentDomain_cbef740f-5b1e-49a6-98ec-fefd90bf0a7b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_PowerDeliveryMember_5153c78a-6293-4bd4-8321-29c00b53a1c0" xlink:href="mtz-20230331.xsd#mtz_PowerDeliveryMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_cbef740f-5b1e-49a6-98ec-fefd90bf0a7b" xlink:to="loc_mtz_PowerDeliveryMember_5153c78a-6293-4bd4-8321-29c00b53a1c0" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mastec.com/role/FairValueofFinancialInstrumentsAcquisitionRelatedContingentConsiderationandOtherLiabilitiesNarrativeDetails" xlink:type="simple" xlink:href="mtz-20230331.xsd#FairValueofFinancialInstrumentsAcquisitionRelatedContingentConsiderationandOtherLiabilitiesNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.mastec.com/role/FairValueofFinancialInstrumentsAcquisitionRelatedContingentConsiderationandOtherLiabilitiesNarrativeDetails" xlink:type="extended" id="i3365e89935224db1aff6790077c7f6fc_FairValueofFinancialInstrumentsAcquisitionRelatedContingentConsiderationandOtherLiabilitiesNarrativeDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_87109f98-3d4a-468e-b218-4e0b7fa495e7" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisObligations_84a8e173-50fe-41bc-9240-a0db6e022023" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisObligations"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_87109f98-3d4a-468e-b218-4e0b7fa495e7" xlink:to="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisObligations_84a8e173-50fe-41bc-9240-a0db6e022023" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationContingentConsiderationLiabilityMeasurementInput_c4084ebb-5c3f-4c09-aa28-b7184a51e885" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessCombinationContingentConsiderationLiabilityMeasurementInput"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_87109f98-3d4a-468e-b218-4e0b7fa495e7" xlink:to="loc_us-gaap_BusinessCombinationContingentConsiderationLiabilityMeasurementInput_c4084ebb-5c3f-4c09-aa28-b7184a51e885" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationContingentConsiderationArrangementsRangeOfOutcomesValueLow_d455213f-4514-4900-8352-eff74b5b4f21" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessCombinationContingentConsiderationArrangementsRangeOfOutcomesValueLow"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_87109f98-3d4a-468e-b218-4e0b7fa495e7" xlink:to="loc_us-gaap_BusinessCombinationContingentConsiderationArrangementsRangeOfOutcomesValueLow_d455213f-4514-4900-8352-eff74b5b4f21" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationContingentConsiderationArrangementsRangeOfOutcomesValueHigh_9ce73bff-6b94-4922-ae94-3fc460ba1ec5" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessCombinationContingentConsiderationArrangementsRangeOfOutcomesValueHigh"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_87109f98-3d4a-468e-b218-4e0b7fa495e7" xlink:to="loc_us-gaap_BusinessCombinationContingentConsiderationArrangementsRangeOfOutcomesValueHigh_9ce73bff-6b94-4922-ae94-3fc460ba1ec5" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityPurchases_b15e0a1d-44e5-4106-9c91-1fd877ca8a4d" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityPurchases"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_87109f98-3d4a-468e-b218-4e0b7fa495e7" xlink:to="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityPurchases_b15e0a1d-44e5-4106-9c91-1fd877ca8a4d" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GoodwillPurchaseAccountingAdjustments_460143e4-2578-4b41-bea1-4ca62ed4f304" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_GoodwillPurchaseAccountingAdjustments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_87109f98-3d4a-468e-b218-4e0b7fa495e7" xlink:to="loc_us-gaap_GoodwillPurchaseAccountingAdjustments_460143e4-2578-4b41-bea1-4ca62ed4f304" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_FairValueRecurringBasisUnobservableInputReconciliationLiabilityGainLossStatementOfIncomeExtensibleListNotDisclosedFlag_9830b9b6-865e-4ddb-bc06-7fc32cb4b488" xlink:href="mtz-20230331.xsd#mtz_FairValueRecurringBasisUnobservableInputReconciliationLiabilityGainLossStatementOfIncomeExtensibleListNotDisclosedFlag"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_87109f98-3d4a-468e-b218-4e0b7fa495e7" xlink:to="loc_mtz_FairValueRecurringBasisUnobservableInputReconciliationLiabilityGainLossStatementOfIncomeExtensibleListNotDisclosedFlag_9830b9b6-865e-4ddb-bc06-7fc32cb4b488" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityGainLossIncludedInEarnings_966a142b-aa8e-452f-9fd3-a53278ef8ede" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityGainLossIncludedInEarnings"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_87109f98-3d4a-468e-b218-4e0b7fa495e7" xlink:to="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityGainLossIncludedInEarnings_966a142b-aa8e-452f-9fd3-a53278ef8ede" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilitySettlements_a9fb1ea1-1aac-44db-ad72-d1a128b147f0" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilitySettlements"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_87109f98-3d4a-468e-b218-4e0b7fa495e7" xlink:to="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilitySettlements_a9fb1ea1-1aac-44db-ad72-d1a128b147f0" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_3f5be8f6-503d-497a-8bd4-bd1eaf400ef9" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_87109f98-3d4a-468e-b218-4e0b7fa495e7" xlink:to="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_3f5be8f6-503d-497a-8bd4-bd1eaf400ef9" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContingentConsiderationByTypeAxis_85718e2d-a8ea-443d-a9a8-95a916434c87" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ContingentConsiderationByTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_3f5be8f6-503d-497a-8bd4-bd1eaf400ef9" xlink:to="loc_us-gaap_ContingentConsiderationByTypeAxis_85718e2d-a8ea-443d-a9a8-95a916434c87" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContingentConsiderationTypeDomain_85718e2d-a8ea-443d-a9a8-95a916434c87_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ContingentConsiderationTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ContingentConsiderationByTypeAxis_85718e2d-a8ea-443d-a9a8-95a916434c87" xlink:to="loc_us-gaap_ContingentConsiderationTypeDomain_85718e2d-a8ea-443d-a9a8-95a916434c87_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContingentConsiderationTypeDomain_644a71ca-69f2-4237-b42a-7458da6c852e" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ContingentConsiderationTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ContingentConsiderationByTypeAxis_85718e2d-a8ea-443d-a9a8-95a916434c87" xlink:to="loc_us-gaap_ContingentConsiderationTypeDomain_644a71ca-69f2-4237-b42a-7458da6c852e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_EarnoutArrangementsMember_9db294dc-e18d-4470-87b1-2bb3930eb77e" xlink:href="mtz-20230331.xsd#mtz_EarnoutArrangementsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ContingentConsiderationTypeDomain_644a71ca-69f2-4237-b42a-7458da6c852e" xlink:to="loc_mtz_EarnoutArrangementsMember_9db294dc-e18d-4470-87b1-2bb3930eb77e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByLiabilityClassAxis_f1212f07-c164-4cc0-8e10-e8bd7d7b6021" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FairValueByLiabilityClassAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_3f5be8f6-503d-497a-8bd4-bd1eaf400ef9" xlink:to="loc_us-gaap_FairValueByLiabilityClassAxis_f1212f07-c164-4cc0-8e10-e8bd7d7b6021" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain_f1212f07-c164-4cc0-8e10-e8bd7d7b6021_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByLiabilityClassAxis_f1212f07-c164-4cc0-8e10-e8bd7d7b6021" xlink:to="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain_f1212f07-c164-4cc0-8e10-e8bd7d7b6021_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain_fa7ade79-ed3f-4ba2-b5b5-1a6f564beba2" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByLiabilityClassAxis_f1212f07-c164-4cc0-8e10-e8bd7d7b6021" xlink:to="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain_fa7ade79-ed3f-4ba2-b5b5-1a6f564beba2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_MandatorilyRedeemableStockMember_8dd7cd15-1b3b-41d0-abef-f0820051cb09" xlink:href="mtz-20230331.xsd#mtz_MandatorilyRedeemableStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain_fa7ade79-ed3f-4ba2-b5b5-1a6f564beba2" xlink:to="loc_mtz_MandatorilyRedeemableStockMember_8dd7cd15-1b3b-41d0-abef-f0820051cb09" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BalanceSheetLocationAxis_cca2cbe1-eae3-46a5-9f99-d0c4e13e003b" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BalanceSheetLocationAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_3f5be8f6-503d-497a-8bd4-bd1eaf400ef9" xlink:to="loc_us-gaap_BalanceSheetLocationAxis_cca2cbe1-eae3-46a5-9f99-d0c4e13e003b" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_cca2cbe1-eae3-46a5-9f99-d0c4e13e003b_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BalanceSheetLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BalanceSheetLocationAxis_cca2cbe1-eae3-46a5-9f99-d0c4e13e003b" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_cca2cbe1-eae3-46a5-9f99-d0c4e13e003b_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_d3d09f0b-4c3a-409a-ac8a-47606df90460" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BalanceSheetLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BalanceSheetLocationAxis_cca2cbe1-eae3-46a5-9f99-d0c4e13e003b" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_d3d09f0b-4c3a-409a-ac8a-47606df90460" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherCurrentLiabilitiesMember_c61652b5-f06f-417a-91ef-d52dc0ad0ffa" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherCurrentLiabilitiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_d3d09f0b-4c3a-409a-ac8a-47606df90460" xlink:to="loc_us-gaap_OtherCurrentLiabilitiesMember_c61652b5-f06f-417a-91ef-d52dc0ad0ffa" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MeasurementInputTypeAxis_38b5a835-c2a4-416b-90ea-9631b735f7a4" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_MeasurementInputTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_3f5be8f6-503d-497a-8bd4-bd1eaf400ef9" xlink:to="loc_us-gaap_MeasurementInputTypeAxis_38b5a835-c2a4-416b-90ea-9631b735f7a4" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MeasurementInputTypeDomain_38b5a835-c2a4-416b-90ea-9631b735f7a4_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_MeasurementInputTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_MeasurementInputTypeAxis_38b5a835-c2a4-416b-90ea-9631b735f7a4" xlink:to="loc_us-gaap_MeasurementInputTypeDomain_38b5a835-c2a4-416b-90ea-9631b735f7a4_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MeasurementInputTypeDomain_b07e081e-0137-418c-9f0d-591ced093b0e" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_MeasurementInputTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_MeasurementInputTypeAxis_38b5a835-c2a4-416b-90ea-9631b735f7a4" xlink:to="loc_us-gaap_MeasurementInputTypeDomain_b07e081e-0137-418c-9f0d-591ced093b0e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MeasurementInputDiscountRateMember_486e7d89-3cd8-4928-8a66-c2df52766b36" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_MeasurementInputDiscountRateMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MeasurementInputTypeDomain_b07e081e-0137-418c-9f0d-591ced093b0e" xlink:to="loc_us-gaap_MeasurementInputDiscountRateMember_486e7d89-3cd8-4928-8a66-c2df52766b36" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_760dfdee-adb9-4c2d-a724-b7f6139330e6" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessAcquisitionAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_3f5be8f6-503d-497a-8bd4-bd1eaf400ef9" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_760dfdee-adb9-4c2d-a724-b7f6139330e6" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_760dfdee-adb9-4c2d-a724-b7f6139330e6_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessAcquisitionAcquireeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_760dfdee-adb9-4c2d-a724-b7f6139330e6" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_760dfdee-adb9-4c2d-a724-b7f6139330e6_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_ae3587f0-b22a-4a01-9143-794a56c1e32a" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessAcquisitionAcquireeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_760dfdee-adb9-4c2d-a724-b7f6139330e6" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_ae3587f0-b22a-4a01-9143-794a56c1e32a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_AllAcquisitionsMember_15316695-bf54-4830-aced-7930e002df40" xlink:href="mtz-20230331.xsd#mtz_AllAcquisitionsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_ae3587f0-b22a-4a01-9143-794a56c1e32a" xlink:to="loc_mtz_AllAcquisitionsMember_15316695-bf54-4830-aced-7930e002df40" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mastec.com/role/FairValueofFinancialInstrumentsEquityInvestmentsNarrativeDetails" xlink:type="simple" xlink:href="mtz-20230331.xsd#FairValueofFinancialInstrumentsEquityInvestmentsNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.mastec.com/role/FairValueofFinancialInstrumentsEquityInvestmentsNarrativeDetails" xlink:type="extended" id="i9184ef412cfb4fbb9828e205162d9a9e_FairValueofFinancialInstrumentsEquityInvestmentsNarrativeDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_089b601c-7232-4475-bd44-b4ffcf21a581" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityMethodInvestmentOwnershipPercentage_d988f559-7afe-4b10-a38f-ba6227438c20" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_EquityMethodInvestmentOwnershipPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_089b601c-7232-4475-bd44-b4ffcf21a581" xlink:to="loc_us-gaap_EquityMethodInvestmentOwnershipPercentage_d988f559-7afe-4b10-a38f-ba6227438c20" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_EquityInvestmentWithoutReadilyDeterminableFairValueOwnershipPercentage_805b6ca4-f714-4c3a-a741-2bb283cbb7aa" xlink:href="mtz-20230331.xsd#mtz_EquityInvestmentWithoutReadilyDeterminableFairValueOwnershipPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_089b601c-7232-4475-bd44-b4ffcf21a581" xlink:to="loc_mtz_EquityInvestmentWithoutReadilyDeterminableFairValueOwnershipPercentage_805b6ca4-f714-4c3a-a741-2bb283cbb7aa" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_VariableInterestEntityNonconsolidatedCarryingAmountOfAssetsAndLiabilities_86433db4-72c0-4c3d-b629-c85588134742" xlink:href="mtz-20230331.xsd#mtz_VariableInterestEntityNonconsolidatedCarryingAmountOfAssetsAndLiabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_089b601c-7232-4475-bd44-b4ffcf21a581" xlink:to="loc_mtz_VariableInterestEntityNonconsolidatedCarryingAmountOfAssetsAndLiabilities_86433db4-72c0-4c3d-b629-c85588134742" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableInterestEntityEntityMaximumLossExposureAmount_a39c50a2-1501-4935-993b-ab4b3fddcb59" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_VariableInterestEntityEntityMaximumLossExposureAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_089b601c-7232-4475-bd44-b4ffcf21a581" xlink:to="loc_us-gaap_VariableInterestEntityEntityMaximumLossExposureAmount_a39c50a2-1501-4935-993b-ab4b3fddcb59" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentsInAffiliatesSubsidiariesAssociatesAndJointVentures_487276ba-5bca-45f8-9214-88ddee19cf4a" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_InvestmentsInAffiliatesSubsidiariesAssociatesAndJointVentures"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_089b601c-7232-4475-bd44-b4ffcf21a581" xlink:to="loc_us-gaap_InvestmentsInAffiliatesSubsidiariesAssociatesAndJointVentures_487276ba-5bca-45f8-9214-88ddee19cf4a" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquitySecuritiesWithoutReadilyDeterminableFairValueAmount_c02933e0-8115-419b-9501-bc0ec603415c" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_EquitySecuritiesWithoutReadilyDeterminableFairValueAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_089b601c-7232-4475-bd44-b4ffcf21a581" xlink:to="loc_us-gaap_EquitySecuritiesWithoutReadilyDeterminableFairValueAmount_c02933e0-8115-419b-9501-bc0ec603415c" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquitySecuritiesWithoutReadilyDeterminableFairValueImpairmentLossAnnualAmount_1e685204-f8f7-44ba-accb-69f39284c5a1" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_EquitySecuritiesWithoutReadilyDeterminableFairValueImpairmentLossAnnualAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_089b601c-7232-4475-bd44-b4ffcf21a581" xlink:to="loc_us-gaap_EquitySecuritiesWithoutReadilyDeterminableFairValueImpairmentLossAnnualAmount_1e685204-f8f7-44ba-accb-69f39284c5a1" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_32dfeb6d-6f36-4cd8-a114-80f62dcfc64e" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_089b601c-7232-4475-bd44-b4ffcf21a581" xlink:to="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_32dfeb6d-6f36-4cd8-a114-80f62dcfc64e" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_4cb19366-46ec-4eed-8b15-86ef05d693c5" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_32dfeb6d-6f36-4cd8-a114-80f62dcfc64e" xlink:to="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_4cb19366-46ec-4eed-8b15-86ef05d693c5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_EquityMethodInvesteeNameDomain_4cb19366-46ec-4eed-8b15-86ef05d693c5_default" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_EquityMethodInvesteeNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_4cb19366-46ec-4eed-8b15-86ef05d693c5" xlink:to="loc_srt_EquityMethodInvesteeNameDomain_4cb19366-46ec-4eed-8b15-86ef05d693c5_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_EquityMethodInvesteeNameDomain_1e48365b-5e7a-4a84-b1b2-bc0512366b90" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_EquityMethodInvesteeNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_4cb19366-46ec-4eed-8b15-86ef05d693c5" xlink:to="loc_srt_EquityMethodInvesteeNameDomain_1e48365b-5e7a-4a84-b1b2-bc0512366b90" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_WahaJVsMember_34668341-b874-4e93-85e2-3eac746ecf3e" xlink:href="mtz-20230331.xsd#mtz_WahaJVsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_1e48365b-5e7a-4a84-b1b2-bc0512366b90" xlink:to="loc_mtz_WahaJVsMember_34668341-b874-4e93-85e2-3eac746ecf3e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_CrossCountryInfrastructureMember_80ef4883-3dfb-49f8-8367-b1a9a8bd122e" xlink:href="mtz-20230331.xsd#mtz_CrossCountryInfrastructureMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_1e48365b-5e7a-4a84-b1b2-bc0512366b90" xlink:to="loc_mtz_CrossCountryInfrastructureMember_80ef4883-3dfb-49f8-8367-b1a9a8bd122e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_FMTechMember_06e21507-ba9c-4323-9ec5-c5f330985446" xlink:href="mtz-20230331.xsd#mtz_FMTechMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_1e48365b-5e7a-4a84-b1b2-bc0512366b90" xlink:to="loc_mtz_FMTechMember_06e21507-ba9c-4323-9ec5-c5f330985446" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mastec.com/role/FairValueofFinancialInstrumentsTheWahaJVsNarrativeDetails" xlink:type="simple" xlink:href="mtz-20230331.xsd#FairValueofFinancialInstrumentsTheWahaJVsNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.mastec.com/role/FairValueofFinancialInstrumentsTheWahaJVsNarrativeDetails" xlink:type="extended" id="ib5d26e024903423ebb6203e8f47987ba_FairValueofFinancialInstrumentsTheWahaJVsNarrativeDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_7b7aec39-f63a-474e-a3c6-b34ce8a940ed" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromEquityMethodInvestments_7d5da18a-02ab-4f48-978f-d5ee6028d579" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncomeLossFromEquityMethodInvestments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_7b7aec39-f63a-474e-a3c6-b34ce8a940ed" xlink:to="loc_us-gaap_IncomeLossFromEquityMethodInvestments_7d5da18a-02ab-4f48-978f-d5ee6028d579" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityMethodInvestmentDividendsOrDistributions_7bb0e005-cdf4-423f-9e5c-0a75f81942ee" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_EquityMethodInvestmentDividendsOrDistributions"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_7b7aec39-f63a-474e-a3c6-b34ce8a940ed" xlink:to="loc_us-gaap_EquityMethodInvestmentDividendsOrDistributions_7bb0e005-cdf4-423f-9e5c-0a75f81942ee" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsUndistributedEarningsFromEquityMethodInvestees_364e3448-eb58-4864-91c3-c457cebeb548" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RetainedEarningsUndistributedEarningsFromEquityMethodInvestees"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_7b7aec39-f63a-474e-a3c6-b34ce8a940ed" xlink:to="loc_us-gaap_RetainedEarningsUndistributedEarningsFromEquityMethodInvestees_364e3448-eb58-4864-91c3-c457cebeb548" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentsInAffiliatesSubsidiariesAssociatesAndJointVentures_6d413fe0-cd1a-4959-8567-14cfa4491c35" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_InvestmentsInAffiliatesSubsidiariesAssociatesAndJointVentures"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_7b7aec39-f63a-474e-a3c6-b34ce8a940ed" xlink:to="loc_us-gaap_InvestmentsInAffiliatesSubsidiariesAssociatesAndJointVentures_6d413fe0-cd1a-4959-8567-14cfa4491c35" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationBeforeTax_7288b538-21a4-4cbf-a361-1133a9762467" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationBeforeTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_7b7aec39-f63a-474e-a3c6-b34ce8a940ed" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationBeforeTax_7288b538-21a4-4cbf-a361-1133a9762467" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTax_82d256d9-7b1a-4e97-9e47-f3080d18a5cd" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_7b7aec39-f63a-474e-a3c6-b34ce8a940ed" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTax_82d256d9-7b1a-4e97-9e47-f3080d18a5cd" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_1920788b-1c9e-408f-af18-b390f418d93e" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_7b7aec39-f63a-474e-a3c6-b34ce8a940ed" xlink:to="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_1920788b-1c9e-408f-af18-b390f418d93e" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_505e77e9-99d5-49b0-9f7b-4d7d06321ebe" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_1920788b-1c9e-408f-af18-b390f418d93e" xlink:to="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_505e77e9-99d5-49b0-9f7b-4d7d06321ebe" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_EquityMethodInvesteeNameDomain_505e77e9-99d5-49b0-9f7b-4d7d06321ebe_default" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_EquityMethodInvesteeNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_505e77e9-99d5-49b0-9f7b-4d7d06321ebe" xlink:to="loc_srt_EquityMethodInvesteeNameDomain_505e77e9-99d5-49b0-9f7b-4d7d06321ebe_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_EquityMethodInvesteeNameDomain_e6107cd0-e066-491c-b03a-918f44d133a1" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_EquityMethodInvesteeNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_505e77e9-99d5-49b0-9f7b-4d7d06321ebe" xlink:to="loc_srt_EquityMethodInvesteeNameDomain_e6107cd0-e066-491c-b03a-918f44d133a1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_WahaJVsMember_2d2af678-ba00-4ec4-83e6-6fa35ad89ffe" xlink:href="mtz-20230331.xsd#mtz_WahaJVsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_e6107cd0-e066-491c-b03a-918f44d133a1" xlink:to="loc_mtz_WahaJVsMember_2d2af678-ba00-4ec4-83e6-6fa35ad89ffe" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mastec.com/role/FairValueofFinancialInstrumentsOtherInvestmentsOtherEquityMethodInvestmentsNarrativeDetails" xlink:type="simple" xlink:href="mtz-20230331.xsd#FairValueofFinancialInstrumentsOtherInvestmentsOtherEquityMethodInvestmentsNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.mastec.com/role/FairValueofFinancialInstrumentsOtherInvestmentsOtherEquityMethodInvestmentsNarrativeDetails" xlink:type="extended" id="if4c41aa1320e4025a0d10114debed2df_FairValueofFinancialInstrumentsOtherInvestmentsOtherEquityMethodInvestmentsNarrativeDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_c53a45d7-6b83-424d-8666-87d5ee388c13" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentsInAffiliatesSubsidiariesAssociatesAndJointVentures_40bd22ad-cf71-4182-8543-e28ebd2cfbf2" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_InvestmentsInAffiliatesSubsidiariesAssociatesAndJointVentures"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_c53a45d7-6b83-424d-8666-87d5ee388c13" xlink:to="loc_us-gaap_InvestmentsInAffiliatesSubsidiariesAssociatesAndJointVentures_40bd22ad-cf71-4182-8543-e28ebd2cfbf2" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireEquityMethodInvestments_c39e2480-0053-4e41-acee-4602cbdecce2" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PaymentsToAcquireEquityMethodInvestments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_c53a45d7-6b83-424d-8666-87d5ee388c13" xlink:to="loc_us-gaap_PaymentsToAcquireEquityMethodInvestments_c39e2480-0053-4e41-acee-4602cbdecce2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromEquityMethodInvestments_b51ca0e1-4e3a-4035-90f4-d9e5470f089c" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncomeLossFromEquityMethodInvestments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_c53a45d7-6b83-424d-8666-87d5ee388c13" xlink:to="loc_us-gaap_IncomeLossFromEquityMethodInvestments_b51ca0e1-4e3a-4035-90f4-d9e5470f089c" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionExpensesFromTransactionsWithRelatedParty_55b6847e-2af2-47f5-9038-ded98e210d55" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RelatedPartyTransactionExpensesFromTransactionsWithRelatedParty"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_c53a45d7-6b83-424d-8666-87d5ee388c13" xlink:to="loc_us-gaap_RelatedPartyTransactionExpensesFromTransactionsWithRelatedParty_55b6847e-2af2-47f5-9038-ded98e210d55" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableRelatedPartiesCurrentAndNoncurrent_8055c439-708c-40fd-ac1a-c60500cc4127" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AccountsPayableRelatedPartiesCurrentAndNoncurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_c53a45d7-6b83-424d-8666-87d5ee388c13" xlink:to="loc_us-gaap_AccountsPayableRelatedPartiesCurrentAndNoncurrent_8055c439-708c-40fd-ac1a-c60500cc4127" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForAdvanceToAffiliate_8906e0f4-c139-467f-a517-4ffcd504729e" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PaymentsForAdvanceToAffiliate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_c53a45d7-6b83-424d-8666-87d5ee388c13" xlink:to="loc_us-gaap_PaymentsForAdvanceToAffiliate_8906e0f4-c139-467f-a517-4ffcd504729e" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableRelatedParties_5785491a-4e72-4dff-a736-87bc284ead7a" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AccountsReceivableRelatedParties"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_c53a45d7-6b83-424d-8666-87d5ee388c13" xlink:to="loc_us-gaap_AccountsReceivableRelatedParties_5785491a-4e72-4dff-a736-87bc284ead7a" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityMethodInvestmentOwnershipPercentage_8043d6ad-ee92-4654-9924-558f1c0b3c4d" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_EquityMethodInvestmentOwnershipPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_c53a45d7-6b83-424d-8666-87d5ee388c13" xlink:to="loc_us-gaap_EquityMethodInvestmentOwnershipPercentage_8043d6ad-ee92-4654-9924-558f1c0b3c4d" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableRevolving_749e265d-261d-48cc-9739-9610d6d8c03e" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FinancingReceivableRevolving"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_c53a45d7-6b83-424d-8666-87d5ee388c13" xlink:to="loc_us-gaap_FinancingReceivableRevolving_749e265d-261d-48cc-9739-9610d6d8c03e" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractualObligation_b010c2b6-f0e3-4ae2-bce9-b9399b6bbe1c" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ContractualObligation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_c53a45d7-6b83-424d-8666-87d5ee388c13" xlink:to="loc_us-gaap_ContractualObligation_b010c2b6-f0e3-4ae2-bce9-b9399b6bbe1c" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquitySecuritiesFvNi_f8f356df-1bd1-47e0-9373-aa45f939e725" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_EquitySecuritiesFvNi"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_c53a45d7-6b83-424d-8666-87d5ee388c13" xlink:to="loc_us-gaap_EquitySecuritiesFvNi_f8f356df-1bd1-47e0-9373-aa45f939e725" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_4a34ec7d-5261-42d7-a6ad-91fcec683774" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_c53a45d7-6b83-424d-8666-87d5ee388c13" xlink:to="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_4a34ec7d-5261-42d7-a6ad-91fcec683774" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_06d5120f-d5f6-4c64-9a36-3df5a04b12d1" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_4a34ec7d-5261-42d7-a6ad-91fcec683774" xlink:to="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_06d5120f-d5f6-4c64-9a36-3df5a04b12d1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_EquityMethodInvesteeNameDomain_06d5120f-d5f6-4c64-9a36-3df5a04b12d1_default" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_EquityMethodInvesteeNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_06d5120f-d5f6-4c64-9a36-3df5a04b12d1" xlink:to="loc_srt_EquityMethodInvesteeNameDomain_06d5120f-d5f6-4c64-9a36-3df5a04b12d1_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_EquityMethodInvesteeNameDomain_27c97a8c-8a76-4f37-9b41-2d4634d95bad" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_EquityMethodInvesteeNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_06d5120f-d5f6-4c64-9a36-3df5a04b12d1" xlink:to="loc_srt_EquityMethodInvesteeNameDomain_27c97a8c-8a76-4f37-9b41-2d4634d95bad" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_TelecommunicationsEquityMethodInvesteesMember_1dcd4ecb-235c-4318-8466-36eedbdd4d3b" xlink:href="mtz-20230331.xsd#mtz_TelecommunicationsEquityMethodInvesteesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_27c97a8c-8a76-4f37-9b41-2d4634d95bad" xlink:to="loc_mtz_TelecommunicationsEquityMethodInvesteesMember_1dcd4ecb-235c-4318-8466-36eedbdd4d3b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_FMTechMember_154796c2-9e2f-4623-a6c6-554e78375c47" xlink:href="mtz-20230331.xsd#mtz_FMTechMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_27c97a8c-8a76-4f37-9b41-2d4634d95bad" xlink:to="loc_mtz_FMTechMember_154796c2-9e2f-4623-a6c6-554e78375c47" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_CertainEntitiesEachAccountedForUsingEquityMethodInvestmentsMember_0e6490de-ac82-4c22-ab7a-5d71187a1c89" xlink:href="mtz-20230331.xsd#mtz_CertainEntitiesEachAccountedForUsingEquityMethodInvestmentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_27c97a8c-8a76-4f37-9b41-2d4634d95bad" xlink:to="loc_mtz_CertainEntitiesEachAccountedForUsingEquityMethodInvestmentsMember_0e6490de-ac82-4c22-ab7a-5d71187a1c89" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_ConfluenceMember_78236752-3078-494a-8372-5cd7981adfd2" xlink:href="mtz-20230331.xsd#mtz_ConfluenceMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_27c97a8c-8a76-4f37-9b41-2d4634d95bad" xlink:to="loc_mtz_ConfluenceMember_78236752-3078-494a-8372-5cd7981adfd2" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_AVCTMember_bc5ae2a7-183e-4bdd-970e-d7f23d7699a7" xlink:href="mtz-20230331.xsd#mtz_AVCTMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_27c97a8c-8a76-4f37-9b41-2d4634d95bad" xlink:to="loc_mtz_AVCTMember_bc5ae2a7-183e-4bdd-970e-d7f23d7699a7" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionAxis_c23f3340-cbc3-4f20-918c-0a6de989b0ba" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RelatedPartyTransactionAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_4a34ec7d-5261-42d7-a6ad-91fcec683774" xlink:to="loc_us-gaap_RelatedPartyTransactionAxis_c23f3340-cbc3-4f20-918c-0a6de989b0ba" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionDomain_c23f3340-cbc3-4f20-918c-0a6de989b0ba_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RelatedPartyTransactionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RelatedPartyTransactionAxis_c23f3340-cbc3-4f20-918c-0a6de989b0ba" xlink:to="loc_us-gaap_RelatedPartyTransactionDomain_c23f3340-cbc3-4f20-918c-0a6de989b0ba_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionDomain_27cdabc0-9a74-499e-9d18-2c9a9c556e79" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RelatedPartyTransactionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RelatedPartyTransactionAxis_c23f3340-cbc3-4f20-918c-0a6de989b0ba" xlink:to="loc_us-gaap_RelatedPartyTransactionDomain_27cdabc0-9a74-499e-9d18-2c9a9c556e79" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_SubcontractingArrangementsMember_22adb9b1-a1db-4624-b1d8-89eeabe6329e" xlink:href="mtz-20230331.xsd#mtz_SubcontractingArrangementsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionDomain_27cdabc0-9a74-499e-9d18-2c9a9c556e79" xlink:to="loc_mtz_SubcontractingArrangementsMember_22adb9b1-a1db-4624-b1d8-89eeabe6329e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_EmployeeLeasingAndAdvancedReceivableArrangementMember_225ad454-4d47-439a-8e02-f2d16ede9181" xlink:href="mtz-20230331.xsd#mtz_EmployeeLeasingAndAdvancedReceivableArrangementMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionDomain_27cdabc0-9a74-499e-9d18-2c9a9c556e79" xlink:to="loc_mtz_EmployeeLeasingAndAdvancedReceivableArrangementMember_225ad454-4d47-439a-8e02-f2d16ede9181" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BalanceSheetLocationAxis_dd8577c7-b036-400d-89ad-56be3c498bc0" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BalanceSheetLocationAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_4a34ec7d-5261-42d7-a6ad-91fcec683774" xlink:to="loc_us-gaap_BalanceSheetLocationAxis_dd8577c7-b036-400d-89ad-56be3c498bc0" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_dd8577c7-b036-400d-89ad-56be3c498bc0_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BalanceSheetLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BalanceSheetLocationAxis_dd8577c7-b036-400d-89ad-56be3c498bc0" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_dd8577c7-b036-400d-89ad-56be3c498bc0_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_7430b394-ca11-4c5c-a7c9-360d352b2ace" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BalanceSheetLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BalanceSheetLocationAxis_dd8577c7-b036-400d-89ad-56be3c498bc0" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_7430b394-ca11-4c5c-a7c9-360d352b2ace" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherCurrentAssetsMember_65a0bfaa-0225-4774-95d1-8a778e68395a" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherCurrentAssetsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_7430b394-ca11-4c5c-a7c9-360d352b2ace" xlink:to="loc_us-gaap_OtherCurrentAssetsMember_65a0bfaa-0225-4774-95d1-8a778e68395a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialInstrumentAxis_9d837ceb-c93c-4b02-9642-e146e562a42a" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FinancialInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_4a34ec7d-5261-42d7-a6ad-91fcec683774" xlink:to="loc_us-gaap_FinancialInstrumentAxis_9d837ceb-c93c-4b02-9642-e146e562a42a" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_9d837ceb-c93c-4b02-9642-e146e562a42a_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancialInstrumentAxis_9d837ceb-c93c-4b02-9642-e146e562a42a" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_9d837ceb-c93c-4b02-9642-e146e562a42a_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_4031b66b-3497-4de9-8b67-957cfb491d1d" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancialInstrumentAxis_9d837ceb-c93c-4b02-9642-e146e562a42a" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_4031b66b-3497-4de9-8b67-957cfb491d1d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockMember_3c998c1b-107e-4202-a493-58b22f5d2ca3" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CommonStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_4031b66b-3497-4de9-8b67-957cfb491d1d" xlink:to="loc_us-gaap_CommonStockMember_3c998c1b-107e-4202-a493-58b22f5d2ca3" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mastec.com/role/FairValueofFinancialInstrumentsSeniorNotesNarrativeDetails" xlink:type="simple" xlink:href="mtz-20230331.xsd#FairValueofFinancialInstrumentsSeniorNotesNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.mastec.com/role/FairValueofFinancialInstrumentsSeniorNotesNarrativeDetails" xlink:type="extended" id="i061bcf342ef24485ac56716d969b018d_FairValueofFinancialInstrumentsSeniorNotesNarrativeDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueDisclosureAssetAndLiabilityNotMeasuredAtFairValueLineItems_933ec932-6257-447e-b9b1-760a44c8d4e4" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FairValueDisclosureAssetAndLiabilityNotMeasuredAtFairValueLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_8c437f57-5c56-4d71-8930-21107e5fd3be" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DebtInstrumentInterestRateStatedPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueDisclosureAssetAndLiabilityNotMeasuredAtFairValueLineItems_933ec932-6257-447e-b9b1-760a44c8d4e4" xlink:to="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_8c437f57-5c56-4d71-8930-21107e5fd3be" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SeniorNotes_63dfa94f-8c41-4380-ad3f-c55f54d62ab9" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_SeniorNotes"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueDisclosureAssetAndLiabilityNotMeasuredAtFairValueLineItems_933ec932-6257-447e-b9b1-760a44c8d4e4" xlink:to="loc_us-gaap_SeniorNotes_63dfa94f-8c41-4380-ad3f-c55f54d62ab9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NotesPayableFairValueDisclosure_aa8bac28-9ad3-4e5e-b628-f500c9e87096" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_NotesPayableFairValueDisclosure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueDisclosureAssetAndLiabilityNotMeasuredAtFairValueLineItems_933ec932-6257-447e-b9b1-760a44c8d4e4" xlink:to="loc_us-gaap_NotesPayableFairValueDisclosure_aa8bac28-9ad3-4e5e-b628-f500c9e87096" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueDisclosureOfAssetAndLiabilityNotMeasuredAtFairValueTable_09ed33cb-1567-4f4e-b7f9-e2eec6ef5d56" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FairValueDisclosureOfAssetAndLiabilityNotMeasuredAtFairValueTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueDisclosureAssetAndLiabilityNotMeasuredAtFairValueLineItems_933ec932-6257-447e-b9b1-760a44c8d4e4" xlink:to="loc_us-gaap_FairValueDisclosureOfAssetAndLiabilityNotMeasuredAtFairValueTable_09ed33cb-1567-4f4e-b7f9-e2eec6ef5d56" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_c1eb9a32-010b-4105-86e6-6b4602189aad" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DebtInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueDisclosureOfAssetAndLiabilityNotMeasuredAtFairValueTable_09ed33cb-1567-4f4e-b7f9-e2eec6ef5d56" xlink:to="loc_us-gaap_DebtInstrumentAxis_c1eb9a32-010b-4105-86e6-6b4602189aad" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_c1eb9a32-010b-4105-86e6-6b4602189aad_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_c1eb9a32-010b-4105-86e6-6b4602189aad" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_c1eb9a32-010b-4105-86e6-6b4602189aad_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_451453c1-bad4-42bf-bd24-c72e9d623270" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_c1eb9a32-010b-4105-86e6-6b4602189aad" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_451453c1-bad4-42bf-bd24-c72e9d623270" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_FourPointFivePercentSeniorNotesMember_a9621d05-d081-425f-88c5-882e249569a1" xlink:href="mtz-20230331.xsd#mtz_FourPointFivePercentSeniorNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_451453c1-bad4-42bf-bd24-c72e9d623270" xlink:to="loc_mtz_FourPointFivePercentSeniorNotesMember_a9621d05-d081-425f-88c5-882e249569a1" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_SixPointSixTwoFivePercentSeniorNotesMember_35166ad6-b336-4f48-9d48-cc0a33baea1f" xlink:href="mtz-20230331.xsd#mtz_SixPointSixTwoFivePercentSeniorNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_451453c1-bad4-42bf-bd24-c72e9d623270" xlink:to="loc_mtz_SixPointSixTwoFivePercentSeniorNotesMember_35166ad6-b336-4f48-9d48-cc0a33baea1f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_SixPointSixTwoFivePercentIEASeniorNotesMember_8a41f71d-2ddd-4fb4-a3ce-54a76bab5077" xlink:href="mtz-20230331.xsd#mtz_SixPointSixTwoFivePercentIEASeniorNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_451453c1-bad4-42bf-bd24-c72e9d623270" xlink:to="loc_mtz_SixPointSixTwoFivePercentIEASeniorNotesMember_8a41f71d-2ddd-4fb4-a3ce-54a76bab5077" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_SixPointSixTwoFivePercentMasTecSeniorNotesMember_d9b6b107-cc03-44b5-9827-cc6b49ec6435" xlink:href="mtz-20230331.xsd#mtz_SixPointSixTwoFivePercentMasTecSeniorNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_451453c1-bad4-42bf-bd24-c72e9d623270" xlink:to="loc_mtz_SixPointSixTwoFivePercentMasTecSeniorNotesMember_d9b6b107-cc03-44b5-9827-cc6b49ec6435" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_8980a0dc-6deb-441d-b37e-bb94ac78ad27" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LongtermDebtTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueDisclosureOfAssetAndLiabilityNotMeasuredAtFairValueTable_09ed33cb-1567-4f4e-b7f9-e2eec6ef5d56" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_8980a0dc-6deb-441d-b37e-bb94ac78ad27" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_8980a0dc-6deb-441d-b37e-bb94ac78ad27_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_8980a0dc-6deb-441d-b37e-bb94ac78ad27" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_8980a0dc-6deb-441d-b37e-bb94ac78ad27_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_60f6baa7-3e68-4da3-90d0-3afbe6d76b33" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_8980a0dc-6deb-441d-b37e-bb94ac78ad27" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_60f6baa7-3e68-4da3-90d0-3afbe6d76b33" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SeniorNotesMember_5debd695-5d99-4c4f-9f64-93da3128eade" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_SeniorNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_60f6baa7-3e68-4da3-90d0-3afbe6d76b33" xlink:to="loc_us-gaap_SeniorNotesMember_5debd695-5d99-4c4f-9f64-93da3128eade" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mastec.com/role/AccountsReceivableNetofAllowanceandContractAssetsandLiabilitiesNarrativeDetails" xlink:type="simple" xlink:href="mtz-20230331.xsd#AccountsReceivableNetofAllowanceandContractAssetsandLiabilitiesNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.mastec.com/role/AccountsReceivableNetofAllowanceandContractAssetsandLiabilitiesNarrativeDetails" xlink:type="extended" id="i06cdd8d205e842508cddcd28532cc8e4_AccountsReceivableNetofAllowanceandContractAssetsandLiabilitiesNarrativeDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_c9071815-2b68-4283-a23d-1cdbac58d98a" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AccountsNotesAndLoansReceivableLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_RetainagePercentOfContractBillings_4d1f9a41-789d-4202-b206-31f5c87b9811" xlink:href="mtz-20230331.xsd#mtz_RetainagePercentOfContractBillings"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_c9071815-2b68-4283-a23d-1cdbac58d98a" xlink:to="loc_mtz_RetainagePercentOfContractBillings_4d1f9a41-789d-4202-b206-31f5c87b9811" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProvisionForDoubtfulAccounts_3bd5e99d-0137-4eab-9263-ad28540789c2" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ProvisionForDoubtfulAccounts"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_c9071815-2b68-4283-a23d-1cdbac58d98a" xlink:to="loc_us-gaap_ProvisionForDoubtfulAccounts_3bd5e99d-0137-4eab-9263-ad28540789c2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityCurrent_1af838c0-c041-4935-a6d3-65bf81a76c14" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ContractWithCustomerLiabilityCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_c9071815-2b68-4283-a23d-1cdbac58d98a" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityCurrent_1af838c0-c041-4935-a6d3-65bf81a76c14" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_ContractWithCustomerLiabilityDeferredRevenueCurrent_cd734d2e-5f97-460e-a309-1f0ad6170970" xlink:href="mtz-20230331.xsd#mtz_ContractWithCustomerLiabilityDeferredRevenueCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_c9071815-2b68-4283-a23d-1cdbac58d98a" xlink:to="loc_mtz_ContractWithCustomerLiabilityDeferredRevenueCurrent_cd734d2e-5f97-460e-a309-1f0ad6170970" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityRevenueRecognized_fa4b96eb-b611-487d-99ec-b652315fb83e" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ContractWithCustomerLiabilityRevenueRecognized"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_c9071815-2b68-4283-a23d-1cdbac58d98a" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityRevenueRecognized_fa4b96eb-b611-487d-99ec-b652315fb83e" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestRevenueExpenseNet_eed45315-8af5-4793-b97f-80d85d6a4d24" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_InterestRevenueExpenseNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_c9071815-2b68-4283-a23d-1cdbac58d98a" xlink:to="loc_us-gaap_InterestRevenueExpenseNet_eed45315-8af5-4793-b97f-80d85d6a4d24" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_bcb41ca1-d5c5-47c1-b306-f8f47762f54f" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_c9071815-2b68-4283-a23d-1cdbac58d98a" xlink:to="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_bcb41ca1-d5c5-47c1-b306-f8f47762f54f" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_c54e8652-f1eb-4155-8c28-637d4cbe7634" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_bcb41ca1-d5c5-47c1-b306-f8f47762f54f" xlink:to="loc_srt_RangeAxis_c54e8652-f1eb-4155-8c28-637d4cbe7634" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_c54e8652-f1eb-4155-8c28-637d4cbe7634_default" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_c54e8652-f1eb-4155-8c28-637d4cbe7634" xlink:to="loc_srt_RangeMember_c54e8652-f1eb-4155-8c28-637d4cbe7634_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_e6aee5a8-c80d-48bb-8835-a3d31a267af9" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_c54e8652-f1eb-4155-8c28-637d4cbe7634" xlink:to="loc_srt_RangeMember_e6aee5a8-c80d-48bb-8835-a3d31a267af9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_7e5c99a5-ab1e-4d33-8961-29524f370f25" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_MinimumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_e6aee5a8-c80d-48bb-8835-a3d31a267af9" xlink:to="loc_srt_MinimumMember_7e5c99a5-ab1e-4d33-8961-29524f370f25" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_35de3ae5-2890-4ac2-9aec-fed22a332978" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_e6aee5a8-c80d-48bb-8835-a3d31a267af9" xlink:to="loc_srt_MaximumMember_35de3ae5-2890-4ac2-9aec-fed22a332978" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis_fc15ea4a-bbcd-4ad8-be98-9a40ef060e31" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_bcb41ca1-d5c5-47c1-b306-f8f47762f54f" xlink:to="loc_us-gaap_AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis_fc15ea4a-bbcd-4ad8-be98-9a40ef060e31" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReceivableTypeDomain_fc15ea4a-bbcd-4ad8-be98-9a40ef060e31_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ReceivableTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis_fc15ea4a-bbcd-4ad8-be98-9a40ef060e31" xlink:to="loc_us-gaap_ReceivableTypeDomain_fc15ea4a-bbcd-4ad8-be98-9a40ef060e31_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReceivableTypeDomain_54ba32eb-2076-420b-9e04-3d0ea3bcc9d7" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ReceivableTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis_fc15ea4a-bbcd-4ad8-be98-9a40ef060e31" xlink:to="loc_us-gaap_ReceivableTypeDomain_54ba32eb-2076-420b-9e04-3d0ea3bcc9d7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceReceivablesMember_05696737-09bc-4235-b959-1c7f22cb34b4" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FinanceReceivablesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ReceivableTypeDomain_54ba32eb-2076-420b-9e04-3d0ea3bcc9d7" xlink:to="loc_us-gaap_FinanceReceivablesMember_05696737-09bc-4235-b959-1c7f22cb34b4" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mastec.com/role/PropertyandEquipmentNetScheduleofPropertyandEquipmentNetDetails" xlink:type="simple" xlink:href="mtz-20230331.xsd#PropertyandEquipmentNetScheduleofPropertyandEquipmentNetDetails"/>
  <link:definitionLink xlink:role="http://www.mastec.com/role/PropertyandEquipmentNetScheduleofPropertyandEquipmentNetDetails" xlink:type="extended" id="i94bdfb8d78c84706a265b55279e98552_PropertyandEquipmentNetScheduleofPropertyandEquipmentNetDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentLineItems_fc42172d-993b-49c8-9179-73a4520895ff" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PropertyPlantAndEquipmentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetBeforeAccumulatedDepreciationAndAmortization_9bd7af4e-ac6c-4291-90b1-050c2f74134b" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetBeforeAccumulatedDepreciationAndAmortization"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_fc42172d-993b-49c8-9179-73a4520895ff" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetBeforeAccumulatedDepreciationAndAmortization_9bd7af4e-ac6c-4291-90b1-050c2f74134b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAccumulatedDepreciationAndAmortization_4a175889-8027-4dc9-af61-7a11c9695684" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAccumulatedDepreciationAndAmortization"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_fc42172d-993b-49c8-9179-73a4520895ff" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAccumulatedDepreciationAndAmortization_4a175889-8027-4dc9-af61-7a11c9695684" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization_f1aa0f84-9aa4-4c15-be53-ad142f53b03b" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_fc42172d-993b-49c8-9179-73a4520895ff" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization_f1aa0f84-9aa4-4c15-be53-ad142f53b03b" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_a6051586-6e1e-48d1-81a5-3ab32127217a" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ScheduleOfPropertyPlantAndEquipmentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_fc42172d-993b-49c8-9179-73a4520895ff" xlink:to="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_a6051586-6e1e-48d1-81a5-3ab32127217a" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_e7964246-a52e-4ec2-ab18-0b9750481a59" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PropertyPlantAndEquipmentByTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_a6051586-6e1e-48d1-81a5-3ab32127217a" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_e7964246-a52e-4ec2-ab18-0b9750481a59" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_e7964246-a52e-4ec2-ab18-0b9750481a59_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_e7964246-a52e-4ec2-ab18-0b9750481a59" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_e7964246-a52e-4ec2-ab18-0b9750481a59_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_b5479f0e-0116-4c60-a1c0-aee18d506146" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_e7964246-a52e-4ec2-ab18-0b9750481a59" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_b5479f0e-0116-4c60-a1c0-aee18d506146" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LandMember_3655cf14-ec73-4136-bf82-74e27ad28b78" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LandMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_b5479f0e-0116-4c60-a1c0-aee18d506146" xlink:to="loc_us-gaap_LandMember_3655cf14-ec73-4136-bf82-74e27ad28b78" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BuildingAndBuildingImprovementsMember_31e476cc-1312-44e6-bcb0-efb52561631f" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BuildingAndBuildingImprovementsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_b5479f0e-0116-4c60-a1c0-aee18d506146" xlink:to="loc_us-gaap_BuildingAndBuildingImprovementsMember_31e476cc-1312-44e6-bcb0-efb52561631f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MachineryAndEquipmentMember_d18d27cb-f4a9-49dc-9f67-4b1ed0d320b6" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_MachineryAndEquipmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_b5479f0e-0116-4c60-a1c0-aee18d506146" xlink:to="loc_us-gaap_MachineryAndEquipmentMember_d18d27cb-f4a9-49dc-9f67-4b1ed0d320b6" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FurnitureAndFixturesMember_a0881a88-04c3-4273-835d-bc3df10876b3" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FurnitureAndFixturesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_b5479f0e-0116-4c60-a1c0-aee18d506146" xlink:to="loc_us-gaap_FurnitureAndFixturesMember_a0881a88-04c3-4273-835d-bc3df10876b3" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConstructionInProgressMember_7f89480a-187e-48f3-9230-f66c12c1ef4a" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ConstructionInProgressMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_b5479f0e-0116-4c60-a1c0-aee18d506146" xlink:to="loc_us-gaap_ConstructionInProgressMember_7f89480a-187e-48f3-9230-f66c12c1ef4a" xlink:type="arc" order="4"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mastec.com/role/DebtScheduleofCarryingValuesofDebtDetails" xlink:type="simple" xlink:href="mtz-20230331.xsd#DebtScheduleofCarryingValuesofDebtDetails"/>
  <link:definitionLink xlink:role="http://www.mastec.com/role/DebtScheduleofCarryingValuesofDebtDetails" xlink:type="extended" id="i6ddb3fc2b3ef4674ad99078da7dee989_DebtScheduleofCarryingValuesofDebtDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentLineItems_8da08fe8-a3d0-4f8b-982b-d6a497b4b04e" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DebtInstrumentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_ea64a4aa-c206-4889-99ef-627e3cb27803" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DebtInstrumentInterestRateStatedPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_8da08fe8-a3d0-4f8b-982b-d6a497b4b04e" xlink:to="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_ea64a4aa-c206-4889-99ef-627e3cb27803" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentCarryingAmount_8be25c7d-8f8d-46a3-a83d-df902595d980" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DebtInstrumentCarryingAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_8da08fe8-a3d0-4f8b-982b-d6a497b4b04e" xlink:to="loc_us-gaap_DebtInstrumentCarryingAmount_8be25c7d-8f8d-46a3-a83d-df902595d980" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_FinanceLeaseAndOtherObligations_bdbfbb91-ba8f-4c2e-ab25-5e198ad57a23" xlink:href="mtz-20230331.xsd#mtz_FinanceLeaseAndOtherObligations"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_8da08fe8-a3d0-4f8b-982b-d6a497b4b04e" xlink:to="loc_mtz_FinanceLeaseAndOtherObligations_bdbfbb91-ba8f-4c2e-ab25-5e198ad57a23" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_LongTermDebtAndFinanceLeaseObligationsIncludingCurrentMaturitiesGross_8741592f-5499-4438-bbe7-a606f72a53a4" xlink:href="mtz-20230331.xsd#mtz_LongTermDebtAndFinanceLeaseObligationsIncludingCurrentMaturitiesGross"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_8da08fe8-a3d0-4f8b-982b-d6a497b4b04e" xlink:to="loc_mtz_LongTermDebtAndFinanceLeaseObligationsIncludingCurrentMaturitiesGross_8741592f-5499-4438-bbe7-a606f72a53a4" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredFinanceCostsNet_5f0b581e-c24e-4fc7-b39a-024e14059170" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DeferredFinanceCostsNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_8da08fe8-a3d0-4f8b-982b-d6a497b4b04e" xlink:to="loc_us-gaap_DeferredFinanceCostsNet_5f0b581e-c24e-4fc7-b39a-024e14059170" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtAndCapitalLeaseObligationsIncludingCurrentMaturities_3be567a9-4fbe-4165-8108-eb2819b68245" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LongTermDebtAndCapitalLeaseObligationsIncludingCurrentMaturities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_8da08fe8-a3d0-4f8b-982b-d6a497b4b04e" xlink:to="loc_us-gaap_LongTermDebtAndCapitalLeaseObligationsIncludingCurrentMaturities_3be567a9-4fbe-4165-8108-eb2819b68245" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtAndCapitalLeaseObligationsCurrent_5006b756-25b7-40b6-a910-513787646527" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LongTermDebtAndCapitalLeaseObligationsCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_8da08fe8-a3d0-4f8b-982b-d6a497b4b04e" xlink:to="loc_us-gaap_LongTermDebtAndCapitalLeaseObligationsCurrent_5006b756-25b7-40b6-a910-513787646527" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtAndCapitalLeaseObligations_848dde72-cf88-4f6c-8b14-85ff6f8c710b" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LongTermDebtAndCapitalLeaseObligations"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_8da08fe8-a3d0-4f8b-982b-d6a497b4b04e" xlink:to="loc_us-gaap_LongTermDebtAndCapitalLeaseObligations_848dde72-cf88-4f6c-8b14-85ff6f8c710b" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentTable_0b27aab0-47c8-4f16-bf44-43bea8210c38" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DebtInstrumentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_8da08fe8-a3d0-4f8b-982b-d6a497b4b04e" xlink:to="loc_us-gaap_DebtInstrumentTable_0b27aab0-47c8-4f16-bf44-43bea8210c38" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_802ed540-b16d-4152-8c79-f83ce946d275" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LongtermDebtTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_0b27aab0-47c8-4f16-bf44-43bea8210c38" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_802ed540-b16d-4152-8c79-f83ce946d275" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_802ed540-b16d-4152-8c79-f83ce946d275_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_802ed540-b16d-4152-8c79-f83ce946d275" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_802ed540-b16d-4152-8c79-f83ce946d275_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_a30bfa46-33fc-466e-b10c-5dcb138cc75c" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_802ed540-b16d-4152-8c79-f83ce946d275" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_a30bfa46-33fc-466e-b10c-5dcb138cc75c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DomesticLineOfCreditMember_e310c920-8a7f-43b3-bdfe-d58140705183" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DomesticLineOfCreditMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_a30bfa46-33fc-466e-b10c-5dcb138cc75c" xlink:to="loc_us-gaap_DomesticLineOfCreditMember_e310c920-8a7f-43b3-bdfe-d58140705183" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SeniorNotesMember_5a3797f6-f1f5-4d0e-be48-48947fc57ed1" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_SeniorNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_a30bfa46-33fc-466e-b10c-5dcb138cc75c" xlink:to="loc_us-gaap_SeniorNotesMember_5a3797f6-f1f5-4d0e-be48-48947fc57ed1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityAxis_69117b2a-2c70-48b4-9864-9daaa5fe2f34" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CreditFacilityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_0b27aab0-47c8-4f16-bf44-43bea8210c38" xlink:to="loc_us-gaap_CreditFacilityAxis_69117b2a-2c70-48b4-9864-9daaa5fe2f34" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityDomain_69117b2a-2c70-48b4-9864-9daaa5fe2f34_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CreditFacilityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_CreditFacilityAxis_69117b2a-2c70-48b4-9864-9daaa5fe2f34" xlink:to="loc_us-gaap_CreditFacilityDomain_69117b2a-2c70-48b4-9864-9daaa5fe2f34_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityDomain_092eb664-47b9-4492-9e39-74773e6f9b0c" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CreditFacilityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_CreditFacilityAxis_69117b2a-2c70-48b4-9864-9daaa5fe2f34" xlink:to="loc_us-gaap_CreditFacilityDomain_092eb664-47b9-4492-9e39-74773e6f9b0c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevolvingCreditFacilityMember_5e137a8f-b87a-49c5-81c2-98a7920cbb11" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RevolvingCreditFacilityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_092eb664-47b9-4492-9e39-74773e6f9b0c" xlink:to="loc_us-gaap_RevolvingCreditFacilityMember_5e137a8f-b87a-49c5-81c2-98a7920cbb11" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoansPayableMember_a3bcd12f-7112-4d28-a0dc-50e012460800" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LoansPayableMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_092eb664-47b9-4492-9e39-74773e6f9b0c" xlink:to="loc_us-gaap_LoansPayableMember_a3bcd12f-7112-4d28-a0dc-50e012460800" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_c78baf28-6a44-4d97-8139-ca010509a854" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DebtInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_0b27aab0-47c8-4f16-bf44-43bea8210c38" xlink:to="loc_us-gaap_DebtInstrumentAxis_c78baf28-6a44-4d97-8139-ca010509a854" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_c78baf28-6a44-4d97-8139-ca010509a854_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_c78baf28-6a44-4d97-8139-ca010509a854" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_c78baf28-6a44-4d97-8139-ca010509a854_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_79970822-8fec-4325-b961-43e206b208d6" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_c78baf28-6a44-4d97-8139-ca010509a854" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_79970822-8fec-4325-b961-43e206b208d6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_FourPointFivePercentSeniorNotesMember_781348b6-b36e-4def-88c5-387e53048599" xlink:href="mtz-20230331.xsd#mtz_FourPointFivePercentSeniorNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_79970822-8fec-4325-b961-43e206b208d6" xlink:to="loc_mtz_FourPointFivePercentSeniorNotesMember_781348b6-b36e-4def-88c5-387e53048599" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_SixPointSixTwoFivePercentSeniorNotesMember_2271c593-b953-4cb2-8e9e-8f9329b233e0" xlink:href="mtz-20230331.xsd#mtz_SixPointSixTwoFivePercentSeniorNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_79970822-8fec-4325-b961-43e206b208d6" xlink:to="loc_mtz_SixPointSixTwoFivePercentSeniorNotesMember_2271c593-b953-4cb2-8e9e-8f9329b233e0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_A2022TermLoansMember_927d86e0-7874-4a07-b2f5-c0595edfbedd" xlink:href="mtz-20230331.xsd#mtz_A2022TermLoansMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_79970822-8fec-4325-b961-43e206b208d6" xlink:to="loc_mtz_A2022TermLoansMember_927d86e0-7874-4a07-b2f5-c0595edfbedd" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mastec.com/role/DebtSeniorCreditFacilityNarrativeDetails" xlink:type="simple" xlink:href="mtz-20230331.xsd#DebtSeniorCreditFacilityNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.mastec.com/role/DebtSeniorCreditFacilityNarrativeDetails" xlink:type="extended" id="i0f232a3040d24d70929c4cbb4904e423_DebtSeniorCreditFacilityNarrativeDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentLineItems_32585515-984f-4d0c-9273-a3d5bf5b8716" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DebtInstrumentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_7e715438-b3bf-4ec4-a9a7-de344ae4790e" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_32585515-984f-4d0c-9273-a3d5bf5b8716" xlink:to="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_7e715438-b3bf-4ec4-a9a7-de344ae4790e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityPeriodicPaymentPrincipal_4c6d25a4-1308-4bc0-b73a-47e4ba23d9a6" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LineOfCreditFacilityPeriodicPaymentPrincipal"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_32585515-984f-4d0c-9273-a3d5bf5b8716" xlink:to="loc_us-gaap_LineOfCreditFacilityPeriodicPaymentPrincipal_4c6d25a4-1308-4bc0-b73a-47e4ba23d9a6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtWeightedAverageInterestRate_2cdea5ac-b87c-45ee-afea-44e2ade6b41d" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DebtWeightedAverageInterestRate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_32585515-984f-4d0c-9273-a3d5bf5b8716" xlink:to="loc_us-gaap_DebtWeightedAverageInterestRate_2cdea5ac-b87c-45ee-afea-44e2ade6b41d" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityInterestRateAtPeriodEnd_0ed5e054-a41b-4a99-9519-dadb448932d0" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LineOfCreditFacilityInterestRateAtPeriodEnd"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_32585515-984f-4d0c-9273-a3d5bf5b8716" xlink:to="loc_us-gaap_LineOfCreditFacilityInterestRateAtPeriodEnd_0ed5e054-a41b-4a99-9519-dadb448932d0" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LettersOfCreditOutstandingAmount_486b240c-113f-45f3-9433-72fee586fb87" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LettersOfCreditOutstandingAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_32585515-984f-4d0c-9273-a3d5bf5b8716" xlink:to="loc_us-gaap_LettersOfCreditOutstandingAmount_486b240c-113f-45f3-9433-72fee586fb87" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityRemainingBorrowingCapacity_dcf1c354-ed88-4bd5-9d79-f7994317f97e" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LineOfCreditFacilityRemainingBorrowingCapacity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_32585515-984f-4d0c-9273-a3d5bf5b8716" xlink:to="loc_us-gaap_LineOfCreditFacilityRemainingBorrowingCapacity_dcf1c354-ed88-4bd5-9d79-f7994317f97e" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityCapacityAvailableForSpecificPurposeOtherThanForTradePurchases_8a3722a5-711d-4784-a394-83ff9bfd1c81" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LineOfCreditFacilityCapacityAvailableForSpecificPurposeOtherThanForTradePurchases"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_32585515-984f-4d0c-9273-a3d5bf5b8716" xlink:to="loc_us-gaap_LineOfCreditFacilityCapacityAvailableForSpecificPurposeOtherThanForTradePurchases_8a3722a5-711d-4784-a394-83ff9bfd1c81" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCredit_5eaadb6b-6516-46f7-bd6f-de860a26a1c3" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LineOfCredit"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_32585515-984f-4d0c-9273-a3d5bf5b8716" xlink:to="loc_us-gaap_LineOfCredit_5eaadb6b-6516-46f7-bd6f-de860a26a1c3" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityUnusedCapacityCommitmentFeePercentage_0ecf2fd3-61bf-4417-b59c-bb525ac0e95b" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LineOfCreditFacilityUnusedCapacityCommitmentFeePercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_32585515-984f-4d0c-9273-a3d5bf5b8716" xlink:to="loc_us-gaap_LineOfCreditFacilityUnusedCapacityCommitmentFeePercentage_0ecf2fd3-61bf-4417-b59c-bb525ac0e95b" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentTable_324160b8-4282-47a6-8b7f-81c14fe77fb7" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DebtInstrumentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_32585515-984f-4d0c-9273-a3d5bf5b8716" xlink:to="loc_us-gaap_DebtInstrumentTable_324160b8-4282-47a6-8b7f-81c14fe77fb7" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_ef0954f8-b749-40d8-8322-f8cb393bad32" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LongtermDebtTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_324160b8-4282-47a6-8b7f-81c14fe77fb7" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_ef0954f8-b749-40d8-8322-f8cb393bad32" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_ef0954f8-b749-40d8-8322-f8cb393bad32_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_ef0954f8-b749-40d8-8322-f8cb393bad32" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_ef0954f8-b749-40d8-8322-f8cb393bad32_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_838756ce-c3c6-454d-8e06-cf7381722c05" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_ef0954f8-b749-40d8-8322-f8cb393bad32" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_838756ce-c3c6-454d-8e06-cf7381722c05" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DomesticLineOfCreditMember_a89c9edc-5923-44bf-8e6d-bff70d536404" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DomesticLineOfCreditMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_838756ce-c3c6-454d-8e06-cf7381722c05" xlink:to="loc_us-gaap_DomesticLineOfCreditMember_a89c9edc-5923-44bf-8e6d-bff70d536404" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityAxis_f9cd172d-70ab-420b-b625-e931ec567b74" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CreditFacilityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_324160b8-4282-47a6-8b7f-81c14fe77fb7" xlink:to="loc_us-gaap_CreditFacilityAxis_f9cd172d-70ab-420b-b625-e931ec567b74" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityDomain_f9cd172d-70ab-420b-b625-e931ec567b74_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CreditFacilityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_CreditFacilityAxis_f9cd172d-70ab-420b-b625-e931ec567b74" xlink:to="loc_us-gaap_CreditFacilityDomain_f9cd172d-70ab-420b-b625-e931ec567b74_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityDomain_3a6bc685-37a8-4341-bb0a-84c868e406c4" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CreditFacilityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_CreditFacilityAxis_f9cd172d-70ab-420b-b625-e931ec567b74" xlink:to="loc_us-gaap_CreditFacilityDomain_3a6bc685-37a8-4341-bb0a-84c868e406c4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevolvingCreditFacilityMember_7eb549ca-e273-4b71-ba70-a214d8753cb5" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RevolvingCreditFacilityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_3a6bc685-37a8-4341-bb0a-84c868e406c4" xlink:to="loc_us-gaap_RevolvingCreditFacilityMember_7eb549ca-e273-4b71-ba70-a214d8753cb5" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoansPayableMember_1d499c2a-49b9-4db3-bc0d-5ffc77ed6d46" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LoansPayableMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_3a6bc685-37a8-4341-bb0a-84c868e406c4" xlink:to="loc_us-gaap_LoansPayableMember_1d499c2a-49b9-4db3-bc0d-5ffc77ed6d46" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LetterOfCreditMember_b57cb91e-923a-41a9-b758-12b726018ac7" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LetterOfCreditMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_3a6bc685-37a8-4341-bb0a-84c868e406c4" xlink:to="loc_us-gaap_LetterOfCreditMember_b57cb91e-923a-41a9-b758-12b726018ac7" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_ForeignDenominationMember_a6246f40-9405-4c41-9bd9-ca72bd1e4c9f" xlink:href="mtz-20230331.xsd#mtz_ForeignDenominationMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_3a6bc685-37a8-4341-bb0a-84c868e406c4" xlink:to="loc_mtz_ForeignDenominationMember_a6246f40-9405-4c41-9bd9-ca72bd1e4c9f" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_StatementScenarioAxis_3d76e11e-b65d-42f2-a110-db12c3c42339" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_StatementScenarioAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_324160b8-4282-47a6-8b7f-81c14fe77fb7" xlink:to="loc_srt_StatementScenarioAxis_3d76e11e-b65d-42f2-a110-db12c3c42339" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ScenarioUnspecifiedDomain_3d76e11e-b65d-42f2-a110-db12c3c42339_default" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_ScenarioUnspecifiedDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_StatementScenarioAxis_3d76e11e-b65d-42f2-a110-db12c3c42339" xlink:to="loc_srt_ScenarioUnspecifiedDomain_3d76e11e-b65d-42f2-a110-db12c3c42339_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ScenarioUnspecifiedDomain_78721be9-d124-4703-81a9-3d5b431e09e2" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_ScenarioUnspecifiedDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_StatementScenarioAxis_3d76e11e-b65d-42f2-a110-db12c3c42339" xlink:to="loc_srt_ScenarioUnspecifiedDomain_78721be9-d124-4703-81a9-3d5b431e09e2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ScenarioForecastMember_aabdfede-41c3-46a9-8afb-023d893d0994" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_ScenarioForecastMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ScenarioUnspecifiedDomain_78721be9-d124-4703-81a9-3d5b431e09e2" xlink:to="loc_srt_ScenarioForecastMember_aabdfede-41c3-46a9-8afb-023d893d0994" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GuaranteeObligationsByNatureAxis_c035cb79-d086-4128-b223-bc2744db955d" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_GuaranteeObligationsByNatureAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_324160b8-4282-47a6-8b7f-81c14fe77fb7" xlink:to="loc_us-gaap_GuaranteeObligationsByNatureAxis_c035cb79-d086-4128-b223-bc2744db955d" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GuaranteeObligationsNatureDomain_c035cb79-d086-4128-b223-bc2744db955d_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_GuaranteeObligationsNatureDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_GuaranteeObligationsByNatureAxis_c035cb79-d086-4128-b223-bc2744db955d" xlink:to="loc_us-gaap_GuaranteeObligationsNatureDomain_c035cb79-d086-4128-b223-bc2744db955d_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GuaranteeObligationsNatureDomain_4b886c03-9090-407e-b2fa-5508746848de" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_GuaranteeObligationsNatureDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_GuaranteeObligationsByNatureAxis_c035cb79-d086-4128-b223-bc2744db955d" xlink:to="loc_us-gaap_GuaranteeObligationsNatureDomain_4b886c03-9090-407e-b2fa-5508746848de" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StandbyLettersOfCreditMember_6efc0476-7e17-4e10-ae04-0a1504d61c17" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StandbyLettersOfCreditMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsNatureDomain_4b886c03-9090-407e-b2fa-5508746848de" xlink:to="loc_us-gaap_StandbyLettersOfCreditMember_6efc0476-7e17-4e10-ae04-0a1504d61c17" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialStandbyLetterOfCreditMember_46de9118-8ab3-43f0-a7e5-849b43d37f31" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FinancialStandbyLetterOfCreditMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsNatureDomain_4b886c03-9090-407e-b2fa-5508746848de" xlink:to="loc_us-gaap_FinancialStandbyLetterOfCreditMember_46de9118-8ab3-43f0-a7e5-849b43d37f31" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mastec.com/role/DebtOtherCreditFacilitiesNarrativeDetails" xlink:type="simple" xlink:href="mtz-20230331.xsd#DebtOtherCreditFacilitiesNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.mastec.com/role/DebtOtherCreditFacilitiesNarrativeDetails" xlink:type="extended" id="ibf847dfda4bc4262bf927c06b8509a2b_DebtOtherCreditFacilitiesNarrativeDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentLineItems_0521dc45-34c2-48d3-a3ff-1735536dc01b" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DebtInstrumentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentCarryingAmount_5a2276f5-4025-455f-a66d-459924dabbb1" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DebtInstrumentCarryingAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_0521dc45-34c2-48d3-a3ff-1735536dc01b" xlink:to="loc_us-gaap_DebtInstrumentCarryingAmount_5a2276f5-4025-455f-a66d-459924dabbb1" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtWeightedAverageInterestRate_481de5cf-6d1b-4f42-ac89-66b63d18c402" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DebtWeightedAverageInterestRate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_0521dc45-34c2-48d3-a3ff-1735536dc01b" xlink:to="loc_us-gaap_DebtWeightedAverageInterestRate_481de5cf-6d1b-4f42-ac89-66b63d18c402" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LettersOfCreditOutstandingAmount_1c9d26d0-5300-460c-85bb-89e809ddc0ff" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LettersOfCreditOutstandingAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_0521dc45-34c2-48d3-a3ff-1735536dc01b" xlink:to="loc_us-gaap_LettersOfCreditOutstandingAmount_1c9d26d0-5300-460c-85bb-89e809ddc0ff" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityInterestRateAtPeriodEnd_06b52f0f-4873-4077-85ca-79568eb960c6" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LineOfCreditFacilityInterestRateAtPeriodEnd"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_0521dc45-34c2-48d3-a3ff-1735536dc01b" xlink:to="loc_us-gaap_LineOfCreditFacilityInterestRateAtPeriodEnd_06b52f0f-4873-4077-85ca-79568eb960c6" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentTable_a6e9cff1-63f3-400e-9662-04cff4868641" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DebtInstrumentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_0521dc45-34c2-48d3-a3ff-1735536dc01b" xlink:to="loc_us-gaap_DebtInstrumentTable_a6e9cff1-63f3-400e-9662-04cff4868641" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GuaranteeObligationsByNatureAxis_9eafd3f3-8840-44a4-8a70-07f73cd5f0ab" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_GuaranteeObligationsByNatureAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_a6e9cff1-63f3-400e-9662-04cff4868641" xlink:to="loc_us-gaap_GuaranteeObligationsByNatureAxis_9eafd3f3-8840-44a4-8a70-07f73cd5f0ab" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GuaranteeObligationsNatureDomain_9eafd3f3-8840-44a4-8a70-07f73cd5f0ab_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_GuaranteeObligationsNatureDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_GuaranteeObligationsByNatureAxis_9eafd3f3-8840-44a4-8a70-07f73cd5f0ab" xlink:to="loc_us-gaap_GuaranteeObligationsNatureDomain_9eafd3f3-8840-44a4-8a70-07f73cd5f0ab_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GuaranteeObligationsNatureDomain_2db23c31-3b6e-4170-bf5b-90252278e362" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_GuaranteeObligationsNatureDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_GuaranteeObligationsByNatureAxis_9eafd3f3-8840-44a4-8a70-07f73cd5f0ab" xlink:to="loc_us-gaap_GuaranteeObligationsNatureDomain_2db23c31-3b6e-4170-bf5b-90252278e362" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StandbyLettersOfCreditMember_06c09148-2963-4ae3-9a69-fbd3fb5565c1" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StandbyLettersOfCreditMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsNatureDomain_2db23c31-3b6e-4170-bf5b-90252278e362" xlink:to="loc_us-gaap_StandbyLettersOfCreditMember_06c09148-2963-4ae3-9a69-fbd3fb5565c1" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_310a9213-ba22-4d65-ba4e-10630a8c0916" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LongtermDebtTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_a6e9cff1-63f3-400e-9662-04cff4868641" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_310a9213-ba22-4d65-ba4e-10630a8c0916" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_310a9213-ba22-4d65-ba4e-10630a8c0916_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_310a9213-ba22-4d65-ba4e-10630a8c0916" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_310a9213-ba22-4d65-ba4e-10630a8c0916_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_c6254a26-8db3-4a50-9e56-0f911ef07ac5" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_310a9213-ba22-4d65-ba4e-10630a8c0916" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_c6254a26-8db3-4a50-9e56-0f911ef07ac5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditMember_1b794085-3159-4ff0-a59f-6756eb829e74" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LineOfCreditMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_c6254a26-8db3-4a50-9e56-0f911ef07ac5" xlink:to="loc_us-gaap_LineOfCreditMember_1b794085-3159-4ff0-a59f-6756eb829e74" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForeignLineOfCreditMember_c7bada00-e221-4271-a152-5855c817d367" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ForeignLineOfCreditMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_c6254a26-8db3-4a50-9e56-0f911ef07ac5" xlink:to="loc_us-gaap_ForeignLineOfCreditMember_c7bada00-e221-4271-a152-5855c817d367" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityAxis_876fa752-d572-4cfe-924a-22fb88d7d0b2" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CreditFacilityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_a6e9cff1-63f3-400e-9662-04cff4868641" xlink:to="loc_us-gaap_CreditFacilityAxis_876fa752-d572-4cfe-924a-22fb88d7d0b2" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityDomain_876fa752-d572-4cfe-924a-22fb88d7d0b2_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CreditFacilityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_CreditFacilityAxis_876fa752-d572-4cfe-924a-22fb88d7d0b2" xlink:to="loc_us-gaap_CreditFacilityDomain_876fa752-d572-4cfe-924a-22fb88d7d0b2_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityDomain_695c9e73-8c9e-4a07-aec6-73aa7d387bee" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CreditFacilityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_CreditFacilityAxis_876fa752-d572-4cfe-924a-22fb88d7d0b2" xlink:to="loc_us-gaap_CreditFacilityDomain_695c9e73-8c9e-4a07-aec6-73aa7d387bee" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LetterOfCreditMember_cf94fec1-c10c-441f-b1cc-f0849be445ad" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LetterOfCreditMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_695c9e73-8c9e-4a07-aec6-73aa7d387bee" xlink:to="loc_us-gaap_LetterOfCreditMember_cf94fec1-c10c-441f-b1cc-f0849be445ad" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mastec.com/role/Debt2022TermLoanFacilityDetails" xlink:type="simple" xlink:href="mtz-20230331.xsd#Debt2022TermLoanFacilityDetails"/>
  <link:definitionLink xlink:role="http://www.mastec.com/role/Debt2022TermLoanFacilityDetails" xlink:type="extended" id="i64ecb3af7d4e4b648092e50560f2ab7c_Debt2022TermLoanFacilityDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentLineItems_8e7f3787-7372-4e96-9e0e-d0036b4b4e9a" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DebtInstrumentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentFaceAmount_fe001e30-901b-4494-9cc2-169146eac612" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DebtInstrumentFaceAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_8e7f3787-7372-4e96-9e0e-d0036b4b4e9a" xlink:to="loc_us-gaap_DebtInstrumentFaceAmount_fe001e30-901b-4494-9cc2-169146eac612" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentTerm_0b9a6530-ba98-4e6d-9edf-a645a5df9c78" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DebtInstrumentTerm"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_8e7f3787-7372-4e96-9e0e-d0036b4b4e9a" xlink:to="loc_us-gaap_DebtInstrumentTerm_0b9a6530-ba98-4e6d-9edf-a645a5df9c78" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_DebtInstrumentQuarterlyInstallments_84f4f6ec-d8eb-4655-b5ed-af0d45c07ba0" xlink:href="mtz-20230331.xsd#mtz_DebtInstrumentQuarterlyInstallments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_8e7f3787-7372-4e96-9e0e-d0036b4b4e9a" xlink:to="loc_mtz_DebtInstrumentQuarterlyInstallments_84f4f6ec-d8eb-4655-b5ed-af0d45c07ba0" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentInterestRateDuringPeriod_2ee0e7b9-fd17-4b0f-af78-734b4bc03bb2" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DebtInstrumentInterestRateDuringPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_8e7f3787-7372-4e96-9e0e-d0036b4b4e9a" xlink:to="loc_us-gaap_DebtInstrumentInterestRateDuringPeriod_2ee0e7b9-fd17-4b0f-af78-734b4bc03bb2" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentTable_3cdb62bd-03e0-4d8f-8226-4e06ba2b3f0c" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DebtInstrumentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_8e7f3787-7372-4e96-9e0e-d0036b4b4e9a" xlink:to="loc_us-gaap_DebtInstrumentTable_3cdb62bd-03e0-4d8f-8226-4e06ba2b3f0c" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityAxis_b38cab38-8a21-45b7-9145-9f32b2c54aa1" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CreditFacilityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_3cdb62bd-03e0-4d8f-8226-4e06ba2b3f0c" xlink:to="loc_us-gaap_CreditFacilityAxis_b38cab38-8a21-45b7-9145-9f32b2c54aa1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityDomain_b38cab38-8a21-45b7-9145-9f32b2c54aa1_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CreditFacilityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_CreditFacilityAxis_b38cab38-8a21-45b7-9145-9f32b2c54aa1" xlink:to="loc_us-gaap_CreditFacilityDomain_b38cab38-8a21-45b7-9145-9f32b2c54aa1_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityDomain_27ddc554-de25-4db9-b04c-1d6b0c648aae" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CreditFacilityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_CreditFacilityAxis_b38cab38-8a21-45b7-9145-9f32b2c54aa1" xlink:to="loc_us-gaap_CreditFacilityDomain_27ddc554-de25-4db9-b04c-1d6b0c648aae" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnsecuredDebtMember_7a3b5e5b-2afa-4af1-8f73-f2c3e5f62581" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_UnsecuredDebtMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_27ddc554-de25-4db9-b04c-1d6b0c648aae" xlink:to="loc_us-gaap_UnsecuredDebtMember_7a3b5e5b-2afa-4af1-8f73-f2c3e5f62581" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_9480ad14-36a3-4602-b955-7ad90aed82f6" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DebtInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_3cdb62bd-03e0-4d8f-8226-4e06ba2b3f0c" xlink:to="loc_us-gaap_DebtInstrumentAxis_9480ad14-36a3-4602-b955-7ad90aed82f6" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_9480ad14-36a3-4602-b955-7ad90aed82f6_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_9480ad14-36a3-4602-b955-7ad90aed82f6" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_9480ad14-36a3-4602-b955-7ad90aed82f6_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_7558e27c-126c-4ba5-ad4a-11c456f19af9" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_9480ad14-36a3-4602-b955-7ad90aed82f6" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_7558e27c-126c-4ba5-ad4a-11c456f19af9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_NewTermLoanFacilityMember_d1ea32a4-1df1-48d8-8b5e-17c2e089650d" xlink:href="mtz-20230331.xsd#mtz_NewTermLoanFacilityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_7558e27c-126c-4ba5-ad4a-11c456f19af9" xlink:to="loc_mtz_NewTermLoanFacilityMember_d1ea32a4-1df1-48d8-8b5e-17c2e089650d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_NewTermLoanFacilityThreeYearTrancheMember_1059c546-8fc1-45c4-bef8-6fcc1e74eb35" xlink:href="mtz-20230331.xsd#mtz_NewTermLoanFacilityThreeYearTrancheMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtz_NewTermLoanFacilityMember_d1ea32a4-1df1-48d8-8b5e-17c2e089650d" xlink:to="loc_mtz_NewTermLoanFacilityThreeYearTrancheMember_1059c546-8fc1-45c4-bef8-6fcc1e74eb35" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_NewTermLoanFacilityFiveYearTrancheMember_9eae909b-e02d-4f34-9f89-4df3b837200c" xlink:href="mtz-20230331.xsd#mtz_NewTermLoanFacilityFiveYearTrancheMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mtz_NewTermLoanFacilityMember_d1ea32a4-1df1-48d8-8b5e-17c2e089650d" xlink:to="loc_mtz_NewTermLoanFacilityFiveYearTrancheMember_9eae909b-e02d-4f34-9f89-4df3b837200c" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_8a7f3b0c-ef90-4c6e-80d9-4bef925af6fd" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LongtermDebtTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_3cdb62bd-03e0-4d8f-8226-4e06ba2b3f0c" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_8a7f3b0c-ef90-4c6e-80d9-4bef925af6fd" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_8a7f3b0c-ef90-4c6e-80d9-4bef925af6fd_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_8a7f3b0c-ef90-4c6e-80d9-4bef925af6fd" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_8a7f3b0c-ef90-4c6e-80d9-4bef925af6fd_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_0de884e5-c4cf-4740-a104-c44810b6a49e" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_8a7f3b0c-ef90-4c6e-80d9-4bef925af6fd" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_0de884e5-c4cf-4740-a104-c44810b6a49e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditMember_92b886a1-698d-4ad9-92aa-c7ed17ce663b" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LineOfCreditMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_0de884e5-c4cf-4740-a104-c44810b6a49e" xlink:to="loc_us-gaap_LineOfCreditMember_92b886a1-698d-4ad9-92aa-c7ed17ce663b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_StatementScenarioAxis_db95f099-a18d-4bd4-8b09-029b7ca215fe" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_StatementScenarioAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_3cdb62bd-03e0-4d8f-8226-4e06ba2b3f0c" xlink:to="loc_srt_StatementScenarioAxis_db95f099-a18d-4bd4-8b09-029b7ca215fe" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ScenarioUnspecifiedDomain_db95f099-a18d-4bd4-8b09-029b7ca215fe_default" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_ScenarioUnspecifiedDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_StatementScenarioAxis_db95f099-a18d-4bd4-8b09-029b7ca215fe" xlink:to="loc_srt_ScenarioUnspecifiedDomain_db95f099-a18d-4bd4-8b09-029b7ca215fe_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ScenarioUnspecifiedDomain_16b927e5-6896-4a88-94b6-bbc62b5c90aa" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_ScenarioUnspecifiedDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_StatementScenarioAxis_db95f099-a18d-4bd4-8b09-029b7ca215fe" xlink:to="loc_srt_ScenarioUnspecifiedDomain_16b927e5-6896-4a88-94b6-bbc62b5c90aa" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ScenarioForecastMember_e6c6ea0f-b97f-437b-82eb-7b917cc378e7" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_ScenarioForecastMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ScenarioUnspecifiedDomain_16b927e5-6896-4a88-94b6-bbc62b5c90aa" xlink:to="loc_srt_ScenarioForecastMember_e6c6ea0f-b97f-437b-82eb-7b917cc378e7" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mastec.com/role/LeaseObligationsNarrativeDetails" xlink:type="simple" xlink:href="mtz-20230331.xsd#LeaseObligationsNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.mastec.com/role/LeaseObligationsNarrativeDetails" xlink:type="extended" id="i45f3922226e8477390473c06e8f8084d_LeaseObligationsNarrativeDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeLeaseDescriptionLineItems_b6d2285f-3c7c-48fa-866e-84a819f2ae4b" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LesseeLeaseDescriptionLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_LesseeLeaseTermOfContract_4a411535-5e67-4e4e-be64-d7d5386bafed" xlink:href="mtz-20230331.xsd#mtz_LesseeLeaseTermOfContract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_b6d2285f-3c7c-48fa-866e-84a819f2ae4b" xlink:to="loc_mtz_LesseeLeaseTermOfContract_4a411535-5e67-4e4e-be64-d7d5386bafed" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_LesseeLeaseRenewalTerm_8382fa13-c0c6-4bd3-a312-d5daa1421058" xlink:href="mtz-20230331.xsd#mtz_LesseeLeaseRenewalTerm"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_b6d2285f-3c7c-48fa-866e-84a819f2ae4b" xlink:to="loc_mtz_LesseeLeaseRenewalTerm_8382fa13-c0c6-4bd3-a312-d5daa1421058" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseRightOfUseAssetBeforeAccumulatedAmortization_f5fe967b-f661-443b-9d84-d396b84d1764" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FinanceLeaseRightOfUseAssetBeforeAccumulatedAmortization"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_b6d2285f-3c7c-48fa-866e-84a819f2ae4b" xlink:to="loc_us-gaap_FinanceLeaseRightOfUseAssetBeforeAccumulatedAmortization_f5fe967b-f661-443b-9d84-d396b84d1764" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseRightOfUseAssetStatementOfFinancialPositionExtensibleList_718d8b9d-8096-43f0-aca6-c62281af3c6e" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FinanceLeaseRightOfUseAssetStatementOfFinancialPositionExtensibleList"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_b6d2285f-3c7c-48fa-866e-84a819f2ae4b" xlink:to="loc_us-gaap_FinanceLeaseRightOfUseAssetStatementOfFinancialPositionExtensibleList_718d8b9d-8096-43f0-aca6-c62281af3c6e" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseRightOfUseAsset_bf76d5ff-6db3-4ec0-9e63-b281ca7d4aab" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FinanceLeaseRightOfUseAsset"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_b6d2285f-3c7c-48fa-866e-84a819f2ae4b" xlink:to="loc_us-gaap_FinanceLeaseRightOfUseAsset_bf76d5ff-6db3-4ec0-9e63-b281ca7d4aab" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseRightOfUseAssetAmortization_d3479341-b8cd-4767-8220-e402a2e17e35" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FinanceLeaseRightOfUseAssetAmortization"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_b6d2285f-3c7c-48fa-866e-84a819f2ae4b" xlink:to="loc_us-gaap_FinanceLeaseRightOfUseAssetAmortization_d3479341-b8cd-4767-8220-e402a2e17e35" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RightOfUseAssetObtainedInExchangeForOperatingLeaseLiability_ba1c6530-9c79-4045-8bd5-f80ccf3b0293" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RightOfUseAssetObtainedInExchangeForOperatingLeaseLiability"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_b6d2285f-3c7c-48fa-866e-84a819f2ae4b" xlink:to="loc_us-gaap_RightOfUseAssetObtainedInExchangeForOperatingLeaseLiability_ba1c6530-9c79-4045-8bd5-f80ccf3b0293" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseTermOfContract_850a20eb-65cb-4194-8b06-d5c6ad172142" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LesseeOperatingLeaseTermOfContract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_b6d2285f-3c7c-48fa-866e-84a819f2ae4b" xlink:to="loc_us-gaap_LesseeOperatingLeaseTermOfContract_850a20eb-65cb-4194-8b06-d5c6ad172142" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseExpense_5de033c5-6110-47dc-9977-85438cc42f2c" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OperatingLeaseExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_b6d2285f-3c7c-48fa-866e-84a819f2ae4b" xlink:to="loc_us-gaap_OperatingLeaseExpense_5de033c5-6110-47dc-9977-85438cc42f2c" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableLeaseCost_bfbc1d90-9b17-4ef2-abd1-fc7bd95c16f8" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_VariableLeaseCost"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_b6d2285f-3c7c-48fa-866e-84a819f2ae4b" xlink:to="loc_us-gaap_VariableLeaseCost_bfbc1d90-9b17-4ef2-abd1-fc7bd95c16f8" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortTermLeaseCost_2279bc90-1bbc-44a9-a5f3-c23a4fb2aec0" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ShortTermLeaseCost"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_b6d2285f-3c7c-48fa-866e-84a819f2ae4b" xlink:to="loc_us-gaap_ShortTermLeaseCost_2279bc90-1bbc-44a9-a5f3-c23a4fb2aec0" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseWeightedAverageRemainingLeaseTerm1_222a0bd4-e1c0-4dda-a416-a46b714908d0" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FinanceLeaseWeightedAverageRemainingLeaseTerm1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_b6d2285f-3c7c-48fa-866e-84a819f2ae4b" xlink:to="loc_us-gaap_FinanceLeaseWeightedAverageRemainingLeaseTerm1_222a0bd4-e1c0-4dda-a416-a46b714908d0" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseWeightedAverageDiscountRatePercent_b339b1fc-8857-4f3e-a2d1-5f1f8746285e" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FinanceLeaseWeightedAverageDiscountRatePercent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_b6d2285f-3c7c-48fa-866e-84a819f2ae4b" xlink:to="loc_us-gaap_FinanceLeaseWeightedAverageDiscountRatePercent_b339b1fc-8857-4f3e-a2d1-5f1f8746285e" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseWeightedAverageRemainingLeaseTerm1_211c0530-c617-4ea2-ad70-484557a925ff" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OperatingLeaseWeightedAverageRemainingLeaseTerm1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_b6d2285f-3c7c-48fa-866e-84a819f2ae4b" xlink:to="loc_us-gaap_OperatingLeaseWeightedAverageRemainingLeaseTerm1_211c0530-c617-4ea2-ad70-484557a925ff" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseWeightedAverageDiscountRatePercent_31d37c71-c650-4089-a0eb-db96d5d9fc5b" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OperatingLeaseWeightedAverageDiscountRatePercent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_b6d2285f-3c7c-48fa-866e-84a819f2ae4b" xlink:to="loc_us-gaap_OperatingLeaseWeightedAverageDiscountRatePercent_31d37c71-c650-4089-a0eb-db96d5d9fc5b" xlink:type="arc" order="14"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeLeaseDescriptionTable_7d1e80a0-5508-47ef-8127-90d7957fc241" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LesseeLeaseDescriptionTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_b6d2285f-3c7c-48fa-866e-84a819f2ae4b" xlink:to="loc_us-gaap_LesseeLeaseDescriptionTable_7d1e80a0-5508-47ef-8127-90d7957fc241" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_9b5cfbaa-0f54-4c17-9086-43835a096044" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LesseeLeaseDescriptionTable_7d1e80a0-5508-47ef-8127-90d7957fc241" xlink:to="loc_srt_RangeAxis_9b5cfbaa-0f54-4c17-9086-43835a096044" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_9b5cfbaa-0f54-4c17-9086-43835a096044_default" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_9b5cfbaa-0f54-4c17-9086-43835a096044" xlink:to="loc_srt_RangeMember_9b5cfbaa-0f54-4c17-9086-43835a096044_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_599b6d3f-8a70-40b2-97cb-d1c81c0f3ff4" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_9b5cfbaa-0f54-4c17-9086-43835a096044" xlink:to="loc_srt_RangeMember_599b6d3f-8a70-40b2-97cb-d1c81c0f3ff4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_c093fdd6-3ad5-45ef-be48-f57cd4f615d6" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_MinimumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_599b6d3f-8a70-40b2-97cb-d1c81c0f3ff4" xlink:to="loc_srt_MinimumMember_c093fdd6-3ad5-45ef-be48-f57cd4f615d6" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_8797fda1-e126-41bf-9d33-00a689e87a2f" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_599b6d3f-8a70-40b2-97cb-d1c81c0f3ff4" xlink:to="loc_srt_MaximumMember_8797fda1-e126-41bf-9d33-00a689e87a2f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LeaseContractualTermAxis_ba97e803-e3af-40e9-a91c-7a451bbe24af" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LeaseContractualTermAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LesseeLeaseDescriptionTable_7d1e80a0-5508-47ef-8127-90d7957fc241" xlink:to="loc_us-gaap_LeaseContractualTermAxis_ba97e803-e3af-40e9-a91c-7a451bbe24af" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LeaseContractualTermDomain_ba97e803-e3af-40e9-a91c-7a451bbe24af_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LeaseContractualTermDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LeaseContractualTermAxis_ba97e803-e3af-40e9-a91c-7a451bbe24af" xlink:to="loc_us-gaap_LeaseContractualTermDomain_ba97e803-e3af-40e9-a91c-7a451bbe24af_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LeaseContractualTermDomain_caf95b72-5eb5-4ff5-9296-f3aeb1fa0462" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LeaseContractualTermDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LeaseContractualTermAxis_ba97e803-e3af-40e9-a91c-7a451bbe24af" xlink:to="loc_us-gaap_LeaseContractualTermDomain_caf95b72-5eb5-4ff5-9296-f3aeb1fa0462" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_EquipmentLeasesMember_d9d93d74-41f3-4ca2-b35d-e780a2568b9b" xlink:href="mtz-20230331.xsd#mtz_EquipmentLeasesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LeaseContractualTermDomain_caf95b72-5eb5-4ff5-9296-f3aeb1fa0462" xlink:to="loc_mtz_EquipmentLeasesMember_d9d93d74-41f3-4ca2-b35d-e780a2568b9b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_FacilityLeasesMember_6fac1c91-e329-4530-88a3-1aca0aa8848a" xlink:href="mtz-20230331.xsd#mtz_FacilityLeasesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LeaseContractualTermDomain_caf95b72-5eb5-4ff5-9296-f3aeb1fa0462" xlink:to="loc_mtz_FacilityLeasesMember_6fac1c91-e329-4530-88a3-1aca0aa8848a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_6c3abb8b-3237-4362-90b9-fcbb8be233ba" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessAcquisitionAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LesseeLeaseDescriptionTable_7d1e80a0-5508-47ef-8127-90d7957fc241" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_6c3abb8b-3237-4362-90b9-fcbb8be233ba" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_6c3abb8b-3237-4362-90b9-fcbb8be233ba_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessAcquisitionAcquireeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_6c3abb8b-3237-4362-90b9-fcbb8be233ba" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_6c3abb8b-3237-4362-90b9-fcbb8be233ba_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_da8546ea-b4be-45a3-85b4-aeee0f9ec613" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessAcquisitionAcquireeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_6c3abb8b-3237-4362-90b9-fcbb8be233ba" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_da8546ea-b4be-45a3-85b4-aeee0f9ec613" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_A2023AcquisitionsMember_b6335e15-eb84-4b04-a24e-fb4de3738684" xlink:href="mtz-20230331.xsd#mtz_A2023AcquisitionsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_da8546ea-b4be-45a3-85b4-aeee0f9ec613" xlink:to="loc_mtz_A2023AcquisitionsMember_b6335e15-eb84-4b04-a24e-fb4de3738684" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_A2022AcquisitionsMember_d41b2024-d4fa-49d5-9e25-acd3fc214dd5" xlink:href="mtz-20230331.xsd#mtz_A2022AcquisitionsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_da8546ea-b4be-45a3-85b4-aeee0f9ec613" xlink:to="loc_mtz_A2022AcquisitionsMember_d41b2024-d4fa-49d5-9e25-acd3fc214dd5" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mastec.com/role/StockBasedCompensationandOtherEmployeeBenefitPlansNarrativeDetails" xlink:type="simple" xlink:href="mtz-20230331.xsd#StockBasedCompensationandOtherEmployeeBenefitPlansNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.mastec.com/role/StockBasedCompensationandOtherEmployeeBenefitPlansNarrativeDetails" xlink:type="extended" id="iad13f8fc72894c66b0b10d1597499f92_StockBasedCompensationandOtherEmployeeBenefitPlansNarrativeDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_36d68158-8a6d-4760-8f0b-bd5a8ebbbd05" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant_d41352a8-c37d-430b-8226-a3a1f49a1f3c" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_36d68158-8a6d-4760-8f0b-bd5a8ebbbd05" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant_d41352a8-c37d-430b-8226-a3a1f49a1f3c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpense_67157ef4-645d-40cc-9dbd-3af0524674fb" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AllocatedShareBasedCompensationExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_36d68158-8a6d-4760-8f0b-bd5a8ebbbd05" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpense_67157ef4-645d-40cc-9dbd-3af0524674fb" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationTaxBenefitFromCompensationExpense_fde5e7d4-c121-476e-95fe-73c40285f5f5" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_EmployeeServiceShareBasedCompensationTaxBenefitFromCompensationExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_36d68158-8a6d-4760-8f0b-bd5a8ebbbd05" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationTaxBenefitFromCompensationExpense_fde5e7d4-c121-476e-95fe-73c40285f5f5" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_EmployeeServiceShareBasedCompensationNetTaxBenefitDeficiencyFromVestingOfShareBasedPaymentAwards_7981948e-5a72-4dea-bac0-c5215198fb8c" xlink:href="mtz-20230331.xsd#mtz_EmployeeServiceShareBasedCompensationNetTaxBenefitDeficiencyFromVestingOfShareBasedPaymentAwards"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_36d68158-8a6d-4760-8f0b-bd5a8ebbbd05" xlink:to="loc_mtz_EmployeeServiceShareBasedCompensationNetTaxBenefitDeficiencyFromVestingOfShareBasedPaymentAwards_7981948e-5a72-4dea-bac0-c5215198fb8c" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_2a47fb24-e37a-45de-b01d-1fa9893c3a9f" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_36d68158-8a6d-4760-8f0b-bd5a8ebbbd05" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_2a47fb24-e37a-45de-b01d-1fa9893c3a9f" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_172b303c-2747-4eb0-b740-03e7eee942d9" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AwardTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_2a47fb24-e37a-45de-b01d-1fa9893c3a9f" xlink:to="loc_us-gaap_AwardTypeAxis_172b303c-2747-4eb0-b740-03e7eee942d9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_172b303c-2747-4eb0-b740-03e7eee942d9_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_172b303c-2747-4eb0-b740-03e7eee942d9" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_172b303c-2747-4eb0-b740-03e7eee942d9_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_1fcd5602-abc3-421e-b34c-e3c8de4c6193" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_172b303c-2747-4eb0-b740-03e7eee942d9" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_1fcd5602-abc3-421e-b34c-e3c8de4c6193" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_RestrictedStockAndRestrictedStockUnitsMember_aa048603-50f4-4fbf-ad8f-abfa3608641a" xlink:href="mtz-20230331.xsd#mtz_RestrictedStockAndRestrictedStockUnitsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_1fcd5602-abc3-421e-b34c-e3c8de4c6193" xlink:to="loc_mtz_RestrictedStockAndRestrictedStockUnitsMember_aa048603-50f4-4fbf-ad8f-abfa3608641a" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mastec.com/role/StockBasedCompensationandOtherEmployeeBenefitPlansRestrictedSharesNarrativeDetails" xlink:type="simple" xlink:href="mtz-20230331.xsd#StockBasedCompensationandOtherEmployeeBenefitPlansRestrictedSharesNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.mastec.com/role/StockBasedCompensationandOtherEmployeeBenefitPlansRestrictedSharesNarrativeDetails" xlink:type="extended" id="i44d19f010c4a4dac9a44ab57f15abcc1_StockBasedCompensationandOtherEmployeeBenefitPlansRestrictedSharesNarrativeDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_62ac0e56-5348-4186-82ba-a629ef1925a0" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions_f0a21b83-1adc-412b-85c1-25ccbc18eca9" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_62ac0e56-5348-4186-82ba-a629ef1925a0" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions_f0a21b83-1adc-412b-85c1-25ccbc18eca9" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_4768e4a7-f823-4da6-b5d0-80d1ed13c545" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_62ac0e56-5348-4186-82ba-a629ef1925a0" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_4768e4a7-f823-4da6-b5d0-80d1ed13c545" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodTotalFairValue_e5cfcdbb-7363-4c3f-8af3-22c051226e0b" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodTotalFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_62ac0e56-5348-4186-82ba-a629ef1925a0" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodTotalFairValue_e5cfcdbb-7363-4c3f-8af3-22c051226e0b" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_a9e3176b-1268-4aef-aad2-cf9054cd9081" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_62ac0e56-5348-4186-82ba-a629ef1925a0" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_a9e3176b-1268-4aef-aad2-cf9054cd9081" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_90fd9141-1635-4c05-80e0-0dce77386124" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AwardTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_a9e3176b-1268-4aef-aad2-cf9054cd9081" xlink:to="loc_us-gaap_AwardTypeAxis_90fd9141-1635-4c05-80e0-0dce77386124" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_90fd9141-1635-4c05-80e0-0dce77386124_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_90fd9141-1635-4c05-80e0-0dce77386124" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_90fd9141-1635-4c05-80e0-0dce77386124_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_9501b663-ec24-4c25-95b4-d4cead3e345f" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_90fd9141-1635-4c05-80e0-0dce77386124" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_9501b663-ec24-4c25-95b4-d4cead3e345f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_RestrictedStockAndRestrictedStockUnitsMember_de6e0fc5-c80b-4b7c-90df-52cd49f64ccf" xlink:href="mtz-20230331.xsd#mtz_RestrictedStockAndRestrictedStockUnitsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_9501b663-ec24-4c25-95b4-d4cead3e345f" xlink:to="loc_mtz_RestrictedStockAndRestrictedStockUnitsMember_de6e0fc5-c80b-4b7c-90df-52cd49f64ccf" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mastec.com/role/StockBasedCompensationandOtherEmployeeBenefitPlansScheduleofActivityRestrictedSharesDetails" xlink:type="simple" xlink:href="mtz-20230331.xsd#StockBasedCompensationandOtherEmployeeBenefitPlansScheduleofActivityRestrictedSharesDetails"/>
  <link:definitionLink xlink:role="http://www.mastec.com/role/StockBasedCompensationandOtherEmployeeBenefitPlansScheduleofActivityRestrictedSharesDetails" xlink:type="extended" id="i85e0fb698967440181eacfa1ecf7c26f_StockBasedCompensationandOtherEmployeeBenefitPlansScheduleofActivityRestrictedSharesDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_d4914072-7766-43bd-9ae5-591e1ced2ddd" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_dad88748-bc9a-42ad-a6b4-59a0d24537fe" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_d4914072-7766-43bd-9ae5-591e1ced2ddd" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_dad88748-bc9a-42ad-a6b4-59a0d24537fe" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_0abe3b26-3abc-4664-b5d3-9f4d340f6ad0" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_dad88748-bc9a-42ad-a6b4-59a0d24537fe" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_0abe3b26-3abc-4664-b5d3-9f4d340f6ad0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_46a539ae-fbf8-4d2e-83f1-628e4b792087" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_dad88748-bc9a-42ad-a6b4-59a0d24537fe" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_46a539ae-fbf8-4d2e-83f1-628e4b792087" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_78c12b0b-3282-4153-b3d9-74b3cc4670bd" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_dad88748-bc9a-42ad-a6b4-59a0d24537fe" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_78c12b0b-3282-4153-b3d9-74b3cc4670bd" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_62d61ee5-515b-4aa5-b6f6-e346446d9d23" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_dad88748-bc9a-42ad-a6b4-59a0d24537fe" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_62d61ee5-515b-4aa5-b6f6-e346446d9d23" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_a5e324d8-46bf-40f6-9c25-ebe3145bcf5e" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_c5edfed6-5a7b-468d-9d37-ce3bfce896c4" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_d4914072-7766-43bd-9ae5-591e1ced2ddd" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_c5edfed6-5a7b-468d-9d37-ce3bfce896c4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_e4ed01ec-543f-475e-930f-cf82641c2720" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_c5edfed6-5a7b-468d-9d37-ce3bfce896c4" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_e4ed01ec-543f-475e-930f-cf82641c2720" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_9d2eb8d5-5e1f-421f-a793-262891aebe34" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_c5edfed6-5a7b-468d-9d37-ce3bfce896c4" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_9d2eb8d5-5e1f-421f-a793-262891aebe34" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_ba69b069-5e79-4219-b1bf-3df07cede819" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_c5edfed6-5a7b-468d-9d37-ce3bfce896c4" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_ba69b069-5e79-4219-b1bf-3df07cede819" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue_0997a68a-45e8-4a27-981f-ff28c7017d20" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_c5edfed6-5a7b-468d-9d37-ce3bfce896c4" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue_0997a68a-45e8-4a27-981f-ff28c7017d20" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_a61e555c-b673-45f1-a0af-6875a60fd91c" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_9e3a0a96-e992-4db1-b22f-e98b32507b63" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_d4914072-7766-43bd-9ae5-591e1ced2ddd" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_9e3a0a96-e992-4db1-b22f-e98b32507b63" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_c219db00-bfc2-47e7-9e7d-9b04f0dd2777" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AwardTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_9e3a0a96-e992-4db1-b22f-e98b32507b63" xlink:to="loc_us-gaap_AwardTypeAxis_c219db00-bfc2-47e7-9e7d-9b04f0dd2777" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_c219db00-bfc2-47e7-9e7d-9b04f0dd2777_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_c219db00-bfc2-47e7-9e7d-9b04f0dd2777" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_c219db00-bfc2-47e7-9e7d-9b04f0dd2777_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_26c7c4b8-e52d-48b3-8ad4-d85bf1905ecc" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_c219db00-bfc2-47e7-9e7d-9b04f0dd2777" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_26c7c4b8-e52d-48b3-8ad4-d85bf1905ecc" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_RestrictedStockAndRestrictedStockUnitsMember_a6d8991c-07e3-4d09-9de5-d71f030d6ad2" xlink:href="mtz-20230331.xsd#mtz_RestrictedStockAndRestrictedStockUnitsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_26c7c4b8-e52d-48b3-8ad4-d85bf1905ecc" xlink:to="loc_mtz_RestrictedStockAndRestrictedStockUnitsMember_a6d8991c-07e3-4d09-9de5-d71f030d6ad2" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_230b49e7-ccb7-4944-a322-a07d72da59d5" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RestrictedStockUnitsRSUMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_26c7c4b8-e52d-48b3-8ad4-d85bf1905ecc" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_230b49e7-ccb7-4944-a322-a07d72da59d5" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mastec.com/role/StockBasedCompensationandOtherEmployeeBenefitPlansESPPDetails" xlink:type="simple" xlink:href="mtz-20230331.xsd#StockBasedCompensationandOtherEmployeeBenefitPlansESPPDetails"/>
  <link:definitionLink xlink:role="http://www.mastec.com/role/StockBasedCompensationandOtherEmployeeBenefitPlansESPPDetails" xlink:type="extended" id="id4a50e7dad7b416ebbec4cfe4acc30b9_StockBasedCompensationandOtherEmployeeBenefitPlansESPPDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_da3ac75f-9eae-49ef-a085-7dc3dd3c46f3" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardPurchasePriceOfCommonStockPercent_35fdb762-60f0-40fc-a880-975f3b9642ef" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardPurchasePriceOfCommonStockPercent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_da3ac75f-9eae-49ef-a085-7dc3dd3c46f3" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardPurchasePriceOfCommonStockPercent_35fdb762-60f0-40fc-a880-975f3b9642ef" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans_9b5ee7ed-2655-41df-a474-ad050be13af6" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_da3ac75f-9eae-49ef-a085-7dc3dd3c46f3" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans_9b5ee7ed-2655-41df-a474-ad050be13af6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlansIncludingStockOptions_7bc95cc4-05b9-4649-b7d5-776138b7ffd8" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlansIncludingStockOptions"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_da3ac75f-9eae-49ef-a085-7dc3dd3c46f3" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlansIncludingStockOptions_7bc95cc4-05b9-4649-b7d5-776138b7ffd8" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CompensationExpenseExcludingCostOfGoodAndServiceSold_04ca33b3-0ff0-4979-a051-1b22124b6b9c" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CompensationExpenseExcludingCostOfGoodAndServiceSold"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_da3ac75f-9eae-49ef-a085-7dc3dd3c46f3" xlink:to="loc_us-gaap_CompensationExpenseExcludingCostOfGoodAndServiceSold_04ca33b3-0ff0-4979-a051-1b22124b6b9c" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_dcabf991-5f0e-4d17-b402-ccf3c9ae7f84" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_da3ac75f-9eae-49ef-a085-7dc3dd3c46f3" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_dcabf991-5f0e-4d17-b402-ccf3c9ae7f84" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_460bb293-2582-48ea-8590-cfd9ccbeb4ae" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AwardTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_dcabf991-5f0e-4d17-b402-ccf3c9ae7f84" xlink:to="loc_us-gaap_AwardTypeAxis_460bb293-2582-48ea-8590-cfd9ccbeb4ae" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_460bb293-2582-48ea-8590-cfd9ccbeb4ae_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_460bb293-2582-48ea-8590-cfd9ccbeb4ae" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_460bb293-2582-48ea-8590-cfd9ccbeb4ae_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_1e2b922f-de63-44be-9867-f94c41da1bd8" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_460bb293-2582-48ea-8590-cfd9ccbeb4ae" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_1e2b922f-de63-44be-9867-f94c41da1bd8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeStockMember_73b8af06-2731-4730-8a0a-2547e81e8c3d" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_EmployeeStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_1e2b922f-de63-44be-9867-f94c41da1bd8" xlink:to="loc_us-gaap_EmployeeStockMember_73b8af06-2731-4730-8a0a-2547e81e8c3d" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mastec.com/role/OtherRetirementPlansDetails" xlink:type="simple" xlink:href="mtz-20230331.xsd#OtherRetirementPlansDetails"/>
  <link:definitionLink xlink:role="http://www.mastec.com/role/OtherRetirementPlansDetails" xlink:type="extended" id="i42a9f7eae5524ba18f8080346a5d197c_OtherRetirementPlansDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MultiemployerPlansLineItems_66908fc5-4198-496d-8852-058d77d2a53d" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_MultiemployerPlansLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MultiemployerPlanNumberOfEmployeesCovered_849e506a-65d0-417a-9365-afa50645052f" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_MultiemployerPlanNumberOfEmployeesCovered"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MultiemployerPlansLineItems_66908fc5-4198-496d-8852-058d77d2a53d" xlink:to="loc_us-gaap_MultiemployerPlanNumberOfEmployeesCovered_849e506a-65d0-417a-9365-afa50645052f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MultiemployerPlanEmployerContributionCost_d93e5ed2-efc1-418d-b99b-2c63f811bd0d" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_MultiemployerPlanEmployerContributionCost"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MultiemployerPlansLineItems_66908fc5-4198-496d-8852-058d77d2a53d" xlink:to="loc_us-gaap_MultiemployerPlanEmployerContributionCost_d93e5ed2-efc1-418d-b99b-2c63f811bd0d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfMultiemployerPlansTable_70c791f0-0313-4812-a94f-cfa1d8158b79" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ScheduleOfMultiemployerPlansTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_MultiemployerPlansLineItems_66908fc5-4198-496d-8852-058d77d2a53d" xlink:to="loc_us-gaap_ScheduleOfMultiemployerPlansTable_70c791f0-0313-4812-a94f-cfa1d8158b79" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_83f6ad97-11ba-4eca-8a22-169137275535" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfMultiemployerPlansTable_70c791f0-0313-4812-a94f-cfa1d8158b79" xlink:to="loc_srt_RangeAxis_83f6ad97-11ba-4eca-8a22-169137275535" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_83f6ad97-11ba-4eca-8a22-169137275535_default" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_83f6ad97-11ba-4eca-8a22-169137275535" xlink:to="loc_srt_RangeMember_83f6ad97-11ba-4eca-8a22-169137275535_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_c931ae17-2cf9-4f5c-b2df-0d48e235ac32" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_83f6ad97-11ba-4eca-8a22-169137275535" xlink:to="loc_srt_RangeMember_c931ae17-2cf9-4f5c-b2df-0d48e235ac32" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_d46b414d-8508-43f4-85fd-c580f6e689f8" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_MinimumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_c931ae17-2cf9-4f5c-b2df-0d48e235ac32" xlink:to="loc_srt_MinimumMember_d46b414d-8508-43f4-85fd-c580f6e689f8" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_24bf4307-e2dd-490b-bb37-b49d8c018a47" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_c931ae17-2cf9-4f5c-b2df-0d48e235ac32" xlink:to="loc_srt_MaximumMember_24bf4307-e2dd-490b-bb37-b49d8c018a47" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanTypeAxis_503b2c17-f620-444e-951e-87ac1e53ef5a" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RetirementPlanTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfMultiemployerPlansTable_70c791f0-0313-4812-a94f-cfa1d8158b79" xlink:to="loc_us-gaap_RetirementPlanTypeAxis_503b2c17-f620-444e-951e-87ac1e53ef5a" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanTypeDomain_503b2c17-f620-444e-951e-87ac1e53ef5a_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RetirementPlanTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RetirementPlanTypeAxis_503b2c17-f620-444e-951e-87ac1e53ef5a" xlink:to="loc_us-gaap_RetirementPlanTypeDomain_503b2c17-f620-444e-951e-87ac1e53ef5a_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanTypeDomain_e6b9e9c8-8981-4bcc-b637-cc1b02edbee5" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RetirementPlanTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RetirementPlanTypeAxis_503b2c17-f620-444e-951e-87ac1e53ef5a" xlink:to="loc_us-gaap_RetirementPlanTypeDomain_e6b9e9c8-8981-4bcc-b637-cc1b02edbee5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PensionPlansDefinedBenefitMember_d78ef80d-4fae-41cb-8864-6e8ffedf6bbf" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PensionPlansDefinedBenefitMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanTypeDomain_e6b9e9c8-8981-4bcc-b637-cc1b02edbee5" xlink:to="loc_us-gaap_PensionPlansDefinedBenefitMember_d78ef80d-4fae-41cb-8864-6e8ffedf6bbf" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherPostretirementBenefitPlansDefinedBenefitMember_53bfd4f8-cefc-4f73-ba5e-6be648bdf312" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherPostretirementBenefitPlansDefinedBenefitMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanTypeDomain_e6b9e9c8-8981-4bcc-b637-cc1b02edbee5" xlink:to="loc_us-gaap_OtherPostretirementBenefitPlansDefinedBenefitMember_53bfd4f8-cefc-4f73-ba5e-6be648bdf312" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mastec.com/role/EquityDetails" xlink:type="simple" xlink:href="mtz-20230331.xsd#EquityDetails"/>
  <link:definitionLink xlink:role="http://www.mastec.com/role/EquityDetails" xlink:type="extended" id="i3872a7d434894858a9a7b20ff2c1f424_EquityDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityClassOfTreasuryStockLineItems_851e00c4-4caf-41b1-ae2a-723c9141f0a0" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_EquityClassOfTreasuryStockLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockSharesAcquired_c1b7e82e-845d-4b09-9d80-1816d9b7a8d1" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_TreasuryStockSharesAcquired"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityClassOfTreasuryStockLineItems_851e00c4-4caf-41b1-ae2a-723c9141f0a0" xlink:to="loc_us-gaap_TreasuryStockSharesAcquired_c1b7e82e-845d-4b09-9d80-1816d9b7a8d1" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockValueAcquiredCostMethod_75339c43-2ed7-42a7-ad36-08fc9eaa1ac9" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_TreasuryStockValueAcquiredCostMethod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityClassOfTreasuryStockLineItems_851e00c4-4caf-41b1-ae2a-723c9141f0a0" xlink:to="loc_us-gaap_TreasuryStockValueAcquiredCostMethod_75339c43-2ed7-42a7-ad36-08fc9eaa1ac9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockRepurchaseProgramAuthorizedAmount1_4c386b13-418c-450a-8e1d-eeff61f1ab0e" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StockRepurchaseProgramAuthorizedAmount1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityClassOfTreasuryStockLineItems_851e00c4-4caf-41b1-ae2a-723c9141f0a0" xlink:to="loc_us-gaap_StockRepurchaseProgramAuthorizedAmount1_4c386b13-418c-450a-8e1d-eeff61f1ab0e" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockRepurchaseProgramRemainingAuthorizedRepurchaseAmount1_b162a6e3-e804-49b7-af4b-b6f7d6373ff7" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StockRepurchaseProgramRemainingAuthorizedRepurchaseAmount1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityClassOfTreasuryStockLineItems_851e00c4-4caf-41b1-ae2a-723c9141f0a0" xlink:to="loc_us-gaap_StockRepurchaseProgramRemainingAuthorizedRepurchaseAmount1_b162a6e3-e804-49b7-af4b-b6f7d6373ff7" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfTreasuryStockTable_55bc7ec4-f9dc-44e3-b94c-79a04561eb81" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ClassOfTreasuryStockTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_EquityClassOfTreasuryStockLineItems_851e00c4-4caf-41b1-ae2a-723c9141f0a0" xlink:to="loc_us-gaap_ClassOfTreasuryStockTable_55bc7ec4-f9dc-44e3-b94c-79a04561eb81" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareRepurchaseProgramAxis_eca72b24-1656-4634-9e4f-5aafd8d2c866" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ShareRepurchaseProgramAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ClassOfTreasuryStockTable_55bc7ec4-f9dc-44e3-b94c-79a04561eb81" xlink:to="loc_us-gaap_ShareRepurchaseProgramAxis_eca72b24-1656-4634-9e4f-5aafd8d2c866" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareRepurchaseProgramDomain_eca72b24-1656-4634-9e4f-5aafd8d2c866_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ShareRepurchaseProgramDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ShareRepurchaseProgramAxis_eca72b24-1656-4634-9e4f-5aafd8d2c866" xlink:to="loc_us-gaap_ShareRepurchaseProgramDomain_eca72b24-1656-4634-9e4f-5aafd8d2c866_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareRepurchaseProgramDomain_edb77e1a-50ac-4ffb-8ef4-dd4090e4fb7c" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ShareRepurchaseProgramDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ShareRepurchaseProgramAxis_eca72b24-1656-4634-9e4f-5aafd8d2c866" xlink:to="loc_us-gaap_ShareRepurchaseProgramDomain_edb77e1a-50ac-4ffb-8ef4-dd4090e4fb7c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_December2018ShareRepurchaseProgramMember_35eca416-33a6-4339-b6c8-3b11fae6eefb" xlink:href="mtz-20230331.xsd#mtz_December2018ShareRepurchaseProgramMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareRepurchaseProgramDomain_edb77e1a-50ac-4ffb-8ef4-dd4090e4fb7c" xlink:to="loc_mtz_December2018ShareRepurchaseProgramMember_35eca416-33a6-4339-b6c8-3b11fae6eefb" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_March2020ShareRepurchaseProgramMember_73e1a987-b0f1-4a7c-940f-b87c593830ce" xlink:href="mtz-20230331.xsd#mtz_March2020ShareRepurchaseProgramMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareRepurchaseProgramDomain_edb77e1a-50ac-4ffb-8ef4-dd4090e4fb7c" xlink:to="loc_mtz_March2020ShareRepurchaseProgramMember_73e1a987-b0f1-4a7c-940f-b87c593830ce" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mastec.com/role/SegmentsandRelatedInformationNarrativeDetails" xlink:type="simple" xlink:href="mtz-20230331.xsd#SegmentsandRelatedInformationNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.mastec.com/role/SegmentsandRelatedInformationNarrativeDetails" xlink:type="extended" id="ib39b2d5dbf9a4684bef5b647b410fd14_SegmentsandRelatedInformationNarrativeDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentReportingOtherSignificantReconcilingItemLineItems_93ebae51-6a6c-460c-9109-4c99fca5b473" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_SegmentReportingOtherSignificantReconcilingItemLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NumberOfOperatingSegments_100bc45a-34e2-4d36-8618-800ad3df9bca" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_NumberOfOperatingSegments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingOtherSignificantReconcilingItemLineItems_93ebae51-6a6c-460c-9109-4c99fca5b473" xlink:to="loc_us-gaap_NumberOfOperatingSegments_100bc45a-34e2-4d36-8618-800ad3df9bca" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NumberOfReportableSegments_9194ea65-7f62-4739-8495-cdd33449e005" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_NumberOfReportableSegments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingOtherSignificantReconcilingItemLineItems_93ebae51-6a6c-460c-9109-4c99fca5b473" xlink:to="loc_us-gaap_NumberOfReportableSegments_9194ea65-7f62-4739-8495-cdd33449e005" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationIntegrationRelatedCosts_1bfa1d05-904d-4159-b585-40d5a6442a3f" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessCombinationIntegrationRelatedCosts"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingOtherSignificantReconcilingItemLineItems_93ebae51-6a6c-460c-9109-4c99fca5b473" xlink:to="loc_us-gaap_BusinessCombinationIntegrationRelatedCosts_1bfa1d05-904d-4159-b585-40d5a6442a3f" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReconciliationOfOtherSignificantReconcilingItemsFromSegmentsToConsolidatedTable_3bd5c339-dead-4f23-92f4-50c4428f7e1e" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ReconciliationOfOtherSignificantReconcilingItemsFromSegmentsToConsolidatedTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_SegmentReportingOtherSignificantReconcilingItemLineItems_93ebae51-6a6c-460c-9109-4c99fca5b473" xlink:to="loc_us-gaap_ReconciliationOfOtherSignificantReconcilingItemsFromSegmentsToConsolidatedTable_3bd5c339-dead-4f23-92f4-50c4428f7e1e" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_ce491417-9e84-40d2-857a-aab1539580e8" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StatementBusinessSegmentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ReconciliationOfOtherSignificantReconcilingItemsFromSegmentsToConsolidatedTable_3bd5c339-dead-4f23-92f4-50c4428f7e1e" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_ce491417-9e84-40d2-857a-aab1539580e8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_ce491417-9e84-40d2-857a-aab1539580e8_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_ce491417-9e84-40d2-857a-aab1539580e8" xlink:to="loc_us-gaap_SegmentDomain_ce491417-9e84-40d2-857a-aab1539580e8_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_bf56bcb1-96a6-49fb-9e74-71e975de4e66" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_ce491417-9e84-40d2-857a-aab1539580e8" xlink:to="loc_us-gaap_SegmentDomain_bf56bcb1-96a6-49fb-9e74-71e975de4e66" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_CommunicationsSegmentMember_30419895-66c4-46fa-9c2e-f38b163f044d" xlink:href="mtz-20230331.xsd#mtz_CommunicationsSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_bf56bcb1-96a6-49fb-9e74-71e975de4e66" xlink:to="loc_mtz_CommunicationsSegmentMember_30419895-66c4-46fa-9c2e-f38b163f044d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_CleanEnergyAndInfrastructureSegmentMember_5e4db10e-2427-4573-afcd-87071482ea09" xlink:href="mtz-20230331.xsd#mtz_CleanEnergyAndInfrastructureSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_bf56bcb1-96a6-49fb-9e74-71e975de4e66" xlink:to="loc_mtz_CleanEnergyAndInfrastructureSegmentMember_5e4db10e-2427-4573-afcd-87071482ea09" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_PowerDeliverySegmentMember_5af756b2-f74b-4d2c-938f-88016c0ee2af" xlink:href="mtz-20230331.xsd#mtz_PowerDeliverySegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_bf56bcb1-96a6-49fb-9e74-71e975de4e66" xlink:to="loc_mtz_PowerDeliverySegmentMember_5af756b2-f74b-4d2c-938f-88016c0ee2af" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsAxis_f4b863cd-a823-487a-ab92-7f1957fe4390" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_ConsolidationItemsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ReconciliationOfOtherSignificantReconcilingItemsFromSegmentsToConsolidatedTable_3bd5c339-dead-4f23-92f4-50c4428f7e1e" xlink:to="loc_srt_ConsolidationItemsAxis_f4b863cd-a823-487a-ab92-7f1957fe4390" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsDomain_f4b863cd-a823-487a-ab92-7f1957fe4390_default" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_ConsolidationItemsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ConsolidationItemsAxis_f4b863cd-a823-487a-ab92-7f1957fe4390" xlink:to="loc_srt_ConsolidationItemsDomain_f4b863cd-a823-487a-ab92-7f1957fe4390_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsDomain_025c0e00-e3eb-4331-9779-8f69e12dc679" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_ConsolidationItemsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ConsolidationItemsAxis_f4b863cd-a823-487a-ab92-7f1957fe4390" xlink:to="loc_srt_ConsolidationItemsDomain_025c0e00-e3eb-4331-9779-8f69e12dc679" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingSegmentsMember_e7659844-ec5e-4cc6-a461-2dd1a01733b7" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OperatingSegmentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidationItemsDomain_025c0e00-e3eb-4331-9779-8f69e12dc679" xlink:to="loc_us-gaap_OperatingSegmentsMember_e7659844-ec5e-4cc6-a461-2dd1a01733b7" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CorporateNonSegmentMember_cc285056-d8d6-4431-b96c-f7bd691fccb0" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CorporateNonSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidationItemsDomain_025c0e00-e3eb-4331-9779-8f69e12dc679" xlink:to="loc_us-gaap_CorporateNonSegmentMember_cc285056-d8d6-4431-b96c-f7bd691fccb0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_17dd6fef-1cf3-45ff-b97a-a10b97bf98fb" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessAcquisitionAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ReconciliationOfOtherSignificantReconcilingItemsFromSegmentsToConsolidatedTable_3bd5c339-dead-4f23-92f4-50c4428f7e1e" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_17dd6fef-1cf3-45ff-b97a-a10b97bf98fb" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_17dd6fef-1cf3-45ff-b97a-a10b97bf98fb_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessAcquisitionAcquireeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_17dd6fef-1cf3-45ff-b97a-a10b97bf98fb" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_17dd6fef-1cf3-45ff-b97a-a10b97bf98fb_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_160906d5-b8dd-4494-a0ed-c6700cb98158" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessAcquisitionAcquireeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_17dd6fef-1cf3-45ff-b97a-a10b97bf98fb" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_160906d5-b8dd-4494-a0ed-c6700cb98158" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_A2023AcquisitionsMember_1efdbb48-17c2-4885-a616-506dd64e817d" xlink:href="mtz-20230331.xsd#mtz_A2023AcquisitionsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_160906d5-b8dd-4494-a0ed-c6700cb98158" xlink:to="loc_mtz_A2023AcquisitionsMember_1efdbb48-17c2-4885-a616-506dd64e817d" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mastec.com/role/SegmentsandRelatedInformationScheduleofFinancialInformationbyReportableSegmentDetails" xlink:type="simple" xlink:href="mtz-20230331.xsd#SegmentsandRelatedInformationScheduleofFinancialInformationbyReportableSegmentDetails"/>
  <link:definitionLink xlink:role="http://www.mastec.com/role/SegmentsandRelatedInformationScheduleofFinancialInformationbyReportableSegmentDetails" xlink:type="extended" id="if7d885b8fc534d31acaac6d1998611b5_SegmentsandRelatedInformationScheduleofFinancialInformationbyReportableSegmentDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentReportingInformationLineItems_2d94763d-edec-42de-8dfe-c9cfe41f5f60" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_SegmentReportingInformationLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Revenues_dd8fa3e4-88a6-40f0-9305-9e6438e9b6f7" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_Revenues"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_2d94763d-edec-42de-8dfe-c9cfe41f5f60" xlink:to="loc_us-gaap_Revenues_dd8fa3e4-88a6-40f0-9305-9e6438e9b6f7" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskPercentage1_93b1cd52-17ae-48f2-bb48-ceb2cb256910" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ConcentrationRiskPercentage1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_2d94763d-edec-42de-8dfe-c9cfe41f5f60" xlink:to="loc_us-gaap_ConcentrationRiskPercentage1_93b1cd52-17ae-48f2-bb48-ceb2cb256910" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_EBITDA_f77fe46a-8440-4902-812c-a4e47c3b31fc" xlink:href="mtz-20230331.xsd#mtz_EBITDA"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_2d94763d-edec-42de-8dfe-c9cfe41f5f60" xlink:to="loc_mtz_EBITDA_f77fe46a-8440-4902-812c-a4e47c3b31fc" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationDepletionAndAmortization_ed23d6cc-bb02-4f78-9938-821a20916f84" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DepreciationDepletionAndAmortization"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_2d94763d-edec-42de-8dfe-c9cfe41f5f60" xlink:to="loc_us-gaap_DepreciationDepletionAndAmortization_ed23d6cc-bb02-4f78-9938-821a20916f84" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_09bfda6f-e62e-4e09-bf32-da101d82e20a" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_Assets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_2d94763d-edec-42de-8dfe-c9cfe41f5f60" xlink:to="loc_us-gaap_Assets_09bfda6f-e62e-4e09-bf32-da101d82e20a" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_d6baaa41-2fcf-4039-a764-26574dec5c4d" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_2d94763d-edec-42de-8dfe-c9cfe41f5f60" xlink:to="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_d6baaa41-2fcf-4039-a764-26574dec5c4d" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsAxis_18bed42a-0c16-47e4-b78c-02fab159749e" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_ConsolidationItemsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_d6baaa41-2fcf-4039-a764-26574dec5c4d" xlink:to="loc_srt_ConsolidationItemsAxis_18bed42a-0c16-47e4-b78c-02fab159749e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsDomain_18bed42a-0c16-47e4-b78c-02fab159749e_default" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_ConsolidationItemsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ConsolidationItemsAxis_18bed42a-0c16-47e4-b78c-02fab159749e" xlink:to="loc_srt_ConsolidationItemsDomain_18bed42a-0c16-47e4-b78c-02fab159749e_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsDomain_aed36eea-fb9e-44ae-ab05-54634de70fc5" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_ConsolidationItemsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ConsolidationItemsAxis_18bed42a-0c16-47e4-b78c-02fab159749e" xlink:to="loc_srt_ConsolidationItemsDomain_aed36eea-fb9e-44ae-ab05-54634de70fc5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingSegmentsMember_e36d32e0-7f50-4764-b2e9-58d006acd8f7" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OperatingSegmentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidationItemsDomain_aed36eea-fb9e-44ae-ab05-54634de70fc5" xlink:to="loc_us-gaap_OperatingSegmentsMember_e36d32e0-7f50-4764-b2e9-58d006acd8f7" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntersegmentEliminationMember_049a4207-fefc-4164-ab6d-4bd363f9051f" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IntersegmentEliminationMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidationItemsDomain_aed36eea-fb9e-44ae-ab05-54634de70fc5" xlink:to="loc_us-gaap_IntersegmentEliminationMember_049a4207-fefc-4164-ab6d-4bd363f9051f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CorporateNonSegmentMember_49e57763-48ea-4327-8b91-25c89ee51c76" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CorporateNonSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidationItemsDomain_aed36eea-fb9e-44ae-ab05-54634de70fc5" xlink:to="loc_us-gaap_CorporateNonSegmentMember_49e57763-48ea-4327-8b91-25c89ee51c76" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_c829ba3f-6c9f-4cab-b389-d9c6601e972f" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StatementBusinessSegmentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_d6baaa41-2fcf-4039-a764-26574dec5c4d" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_c829ba3f-6c9f-4cab-b389-d9c6601e972f" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_c829ba3f-6c9f-4cab-b389-d9c6601e972f_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_c829ba3f-6c9f-4cab-b389-d9c6601e972f" xlink:to="loc_us-gaap_SegmentDomain_c829ba3f-6c9f-4cab-b389-d9c6601e972f_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_c4c5d43f-e0f4-40fd-8cc9-9be5a4054e17" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_c829ba3f-6c9f-4cab-b389-d9c6601e972f" xlink:to="loc_us-gaap_SegmentDomain_c4c5d43f-e0f4-40fd-8cc9-9be5a4054e17" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_CommunicationsSegmentMember_801d0f25-4089-492e-bd3b-30cc3cce8a71" xlink:href="mtz-20230331.xsd#mtz_CommunicationsSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_c4c5d43f-e0f4-40fd-8cc9-9be5a4054e17" xlink:to="loc_mtz_CommunicationsSegmentMember_801d0f25-4089-492e-bd3b-30cc3cce8a71" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_CleanEnergyAndInfrastructureSegmentMember_89a4720e-0e79-41aa-8baf-11cd393ebff9" xlink:href="mtz-20230331.xsd#mtz_CleanEnergyAndInfrastructureSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_c4c5d43f-e0f4-40fd-8cc9-9be5a4054e17" xlink:to="loc_mtz_CleanEnergyAndInfrastructureSegmentMember_89a4720e-0e79-41aa-8baf-11cd393ebff9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_OilAndGasSegmentMember_b4ea445f-fef0-4d59-b9b5-78f281de445a" xlink:href="mtz-20230331.xsd#mtz_OilAndGasSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_c4c5d43f-e0f4-40fd-8cc9-9be5a4054e17" xlink:to="loc_mtz_OilAndGasSegmentMember_b4ea445f-fef0-4d59-b9b5-78f281de445a" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_PowerDeliverySegmentMember_9986fdb5-a736-4c3c-ab03-36d25d70d82e" xlink:href="mtz-20230331.xsd#mtz_PowerDeliverySegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_c4c5d43f-e0f4-40fd-8cc9-9be5a4054e17" xlink:to="loc_mtz_PowerDeliverySegmentMember_9986fdb5-a736-4c3c-ab03-36d25d70d82e" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AllOtherSegmentsMember_fc305305-5942-4778-a89d-a476af3f5313" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AllOtherSegmentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_c4c5d43f-e0f4-40fd-8cc9-9be5a4054e17" xlink:to="loc_us-gaap_AllOtherSegmentsMember_fc305305-5942-4778-a89d-a476af3f5313" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskByTypeAxis_03742a93-f647-418f-b988-91ee0198b997" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ConcentrationRiskByTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_d6baaa41-2fcf-4039-a764-26574dec5c4d" xlink:to="loc_us-gaap_ConcentrationRiskByTypeAxis_03742a93-f647-418f-b988-91ee0198b997" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskTypeDomain_03742a93-f647-418f-b988-91ee0198b997_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ConcentrationRiskTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConcentrationRiskByTypeAxis_03742a93-f647-418f-b988-91ee0198b997" xlink:to="loc_us-gaap_ConcentrationRiskTypeDomain_03742a93-f647-418f-b988-91ee0198b997_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskTypeDomain_9803d406-6ac3-481d-935b-92ef915a22bf" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ConcentrationRiskTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConcentrationRiskByTypeAxis_03742a93-f647-418f-b988-91ee0198b997" xlink:to="loc_us-gaap_ConcentrationRiskTypeDomain_9803d406-6ac3-481d-935b-92ef915a22bf" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CustomerConcentrationRiskMember_7be78676-2665-40cc-b291-a58f690a3cef" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CustomerConcentrationRiskMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskTypeDomain_9803d406-6ac3-481d-935b-92ef915a22bf" xlink:to="loc_us-gaap_CustomerConcentrationRiskMember_7be78676-2665-40cc-b291-a58f690a3cef" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_e4930e3a-6e67-4bf6-8db4-779dee0f8f08" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ConcentrationRiskByBenchmarkAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_d6baaa41-2fcf-4039-a764-26574dec5c4d" xlink:to="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_e4930e3a-6e67-4bf6-8db4-779dee0f8f08" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskBenchmarkDomain_e4930e3a-6e67-4bf6-8db4-779dee0f8f08_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ConcentrationRiskBenchmarkDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_e4930e3a-6e67-4bf6-8db4-779dee0f8f08" xlink:to="loc_us-gaap_ConcentrationRiskBenchmarkDomain_e4930e3a-6e67-4bf6-8db4-779dee0f8f08_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskBenchmarkDomain_44da86f7-7b12-468a-aff1-2c03293272ff" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ConcentrationRiskBenchmarkDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_e4930e3a-6e67-4bf6-8db4-779dee0f8f08" xlink:to="loc_us-gaap_ConcentrationRiskBenchmarkDomain_44da86f7-7b12-468a-aff1-2c03293272ff" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SalesRevenueNetMember_bdbfe7c7-653e-4004-b1ea-e75212304d48" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_SalesRevenueNetMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskBenchmarkDomain_44da86f7-7b12-468a-aff1-2c03293272ff" xlink:to="loc_us-gaap_SalesRevenueNetMember_bdbfe7c7-653e-4004-b1ea-e75212304d48" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MajorCustomersAxis_bfab584d-d213-4565-b77b-674fd8ac6209" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_MajorCustomersAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_d6baaa41-2fcf-4039-a764-26574dec5c4d" xlink:to="loc_srt_MajorCustomersAxis_bfab584d-d213-4565-b77b-674fd8ac6209" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_NameOfMajorCustomerDomain_bfab584d-d213-4565-b77b-674fd8ac6209_default" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_NameOfMajorCustomerDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_MajorCustomersAxis_bfab584d-d213-4565-b77b-674fd8ac6209" xlink:to="loc_srt_NameOfMajorCustomerDomain_bfab584d-d213-4565-b77b-674fd8ac6209_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_NameOfMajorCustomerDomain_3a1bac9a-b6eb-4b86-9f0e-b072d7ba282c" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_NameOfMajorCustomerDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_MajorCustomersAxis_bfab584d-d213-4565-b77b-674fd8ac6209" xlink:to="loc_srt_NameOfMajorCustomerDomain_3a1bac9a-b6eb-4b86-9f0e-b072d7ba282c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_UtilitiesMember_4f2e3610-8c4f-48b3-95b0-86fc2cdd8956" xlink:href="mtz-20230331.xsd#mtz_UtilitiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_NameOfMajorCustomerDomain_3a1bac9a-b6eb-4b86-9f0e-b072d7ba282c" xlink:to="loc_mtz_UtilitiesMember_4f2e3610-8c4f-48b3-95b0-86fc2cdd8956" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mastec.com/role/SegmentsandRelatedInformationForeignOperationsandOtherNarrativeDetails" xlink:type="simple" xlink:href="mtz-20230331.xsd#SegmentsandRelatedInformationForeignOperationsandOtherNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.mastec.com/role/SegmentsandRelatedInformationForeignOperationsandOtherNarrativeDetails" xlink:type="extended" id="i5a922f9033ce4f1e8129029782caa853_SegmentsandRelatedInformationForeignOperationsandOtherNarrativeDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentReportingInformationLineItems_c69422e4-e866-46ae-956f-f32d8130b57c" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_SegmentReportingInformationLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Revenues_3f16d9ae-97a7-418a-bbad-52ffa930d976" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_Revenues"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_c69422e4-e866-46ae-956f-f32d8130b57c" xlink:to="loc_us-gaap_Revenues_3f16d9ae-97a7-418a-bbad-52ffa930d976" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization_2cf8db84-a4e0-4170-9254-212c30464fa7" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_c69422e4-e866-46ae-956f-f32d8130b57c" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization_2cf8db84-a4e0-4170-9254-212c30464fa7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsNetIncludingGoodwill_f0a11d1a-039b-4e03-b529-da872a03050c" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IntangibleAssetsNetIncludingGoodwill"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_c69422e4-e866-46ae-956f-f32d8130b57c" xlink:to="loc_us-gaap_IntangibleAssetsNetIncludingGoodwill_f0a11d1a-039b-4e03-b529-da872a03050c" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskPercentage1_6a64f740-1064-490f-b7b2-2fc0e20e3de4" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ConcentrationRiskPercentage1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_c69422e4-e866-46ae-956f-f32d8130b57c" xlink:to="loc_us-gaap_ConcentrationRiskPercentage1_6a64f740-1064-490f-b7b2-2fc0e20e3de4" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_df296ddc-4274-4705-a4f3-d5b15fda7dcb" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_c69422e4-e866-46ae-956f-f32d8130b57c" xlink:to="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_df296ddc-4274-4705-a4f3-d5b15fda7dcb" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_StatementGeographicalAxis_6538f124-e8c3-44be-9b1d-3e23cfa14200" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_StatementGeographicalAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_df296ddc-4274-4705-a4f3-d5b15fda7dcb" xlink:to="loc_srt_StatementGeographicalAxis_6538f124-e8c3-44be-9b1d-3e23cfa14200" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_SegmentGeographicalDomain_6538f124-e8c3-44be-9b1d-3e23cfa14200_default" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_SegmentGeographicalDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_StatementGeographicalAxis_6538f124-e8c3-44be-9b1d-3e23cfa14200" xlink:to="loc_srt_SegmentGeographicalDomain_6538f124-e8c3-44be-9b1d-3e23cfa14200_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_SegmentGeographicalDomain_93ef2eaa-878d-42bd-957a-38ae56978af8" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_SegmentGeographicalDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_StatementGeographicalAxis_6538f124-e8c3-44be-9b1d-3e23cfa14200" xlink:to="loc_srt_SegmentGeographicalDomain_93ef2eaa-878d-42bd-957a-38ae56978af8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_country_US_fddd9f6a-f1c2-4813-8476-e903031bbf77" xlink:href="https://xbrl.sec.gov/country/2022/country-2022.xsd#country_US"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_93ef2eaa-878d-42bd-957a-38ae56978af8" xlink:to="loc_country_US_fddd9f6a-f1c2-4813-8476-e903031bbf77" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NonUsMember_e17fac34-7318-4ba9-956f-613d564c73e3" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_NonUsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_93ef2eaa-878d-42bd-957a-38ae56978af8" xlink:to="loc_us-gaap_NonUsMember_e17fac34-7318-4ba9-956f-613d564c73e3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MajorCustomersAxis_b276204e-12e5-4942-8f7f-dfc8b0348b39" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_MajorCustomersAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_df296ddc-4274-4705-a4f3-d5b15fda7dcb" xlink:to="loc_srt_MajorCustomersAxis_b276204e-12e5-4942-8f7f-dfc8b0348b39" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_NameOfMajorCustomerDomain_b276204e-12e5-4942-8f7f-dfc8b0348b39_default" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_NameOfMajorCustomerDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_MajorCustomersAxis_b276204e-12e5-4942-8f7f-dfc8b0348b39" xlink:to="loc_srt_NameOfMajorCustomerDomain_b276204e-12e5-4942-8f7f-dfc8b0348b39_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_NameOfMajorCustomerDomain_26f38246-35f5-4556-a496-ceca849620f4" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_NameOfMajorCustomerDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_MajorCustomersAxis_b276204e-12e5-4942-8f7f-dfc8b0348b39" xlink:to="loc_srt_NameOfMajorCustomerDomain_26f38246-35f5-4556-a496-ceca849620f4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_GovernmentTransactionsMember_10862df2-d9c0-411b-a7a4-be242a5dc687" xlink:href="mtz-20230331.xsd#mtz_GovernmentTransactionsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_NameOfMajorCustomerDomain_26f38246-35f5-4556-a496-ceca849620f4" xlink:to="loc_mtz_GovernmentTransactionsMember_10862df2-d9c0-411b-a7a4-be242a5dc687" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_3715c0d7-54bc-473a-91c2-88733df9bbd8" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ConcentrationRiskByBenchmarkAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_df296ddc-4274-4705-a4f3-d5b15fda7dcb" xlink:to="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_3715c0d7-54bc-473a-91c2-88733df9bbd8" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskBenchmarkDomain_3715c0d7-54bc-473a-91c2-88733df9bbd8_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ConcentrationRiskBenchmarkDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_3715c0d7-54bc-473a-91c2-88733df9bbd8" xlink:to="loc_us-gaap_ConcentrationRiskBenchmarkDomain_3715c0d7-54bc-473a-91c2-88733df9bbd8_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskBenchmarkDomain_f55da13f-4020-4b9e-9076-3df360888850" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ConcentrationRiskBenchmarkDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_3715c0d7-54bc-473a-91c2-88733df9bbd8" xlink:to="loc_us-gaap_ConcentrationRiskBenchmarkDomain_f55da13f-4020-4b9e-9076-3df360888850" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableMember_55357ecc-1b4c-4a68-b76e-4f712fb6b536" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AccountsReceivableMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskBenchmarkDomain_f55da13f-4020-4b9e-9076-3df360888850" xlink:to="loc_us-gaap_AccountsReceivableMember_55357ecc-1b4c-4a68-b76e-4f712fb6b536" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SalesRevenueNetMember_90ddd436-15c7-4c59-89ff-330dc0b7fecb" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_SalesRevenueNetMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskBenchmarkDomain_f55da13f-4020-4b9e-9076-3df360888850" xlink:to="loc_us-gaap_SalesRevenueNetMember_90ddd436-15c7-4c59-89ff-330dc0b7fecb" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskByTypeAxis_7de8afa2-e31f-42bf-a434-8207082bb0ce" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ConcentrationRiskByTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_df296ddc-4274-4705-a4f3-d5b15fda7dcb" xlink:to="loc_us-gaap_ConcentrationRiskByTypeAxis_7de8afa2-e31f-42bf-a434-8207082bb0ce" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskTypeDomain_7de8afa2-e31f-42bf-a434-8207082bb0ce_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ConcentrationRiskTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConcentrationRiskByTypeAxis_7de8afa2-e31f-42bf-a434-8207082bb0ce" xlink:to="loc_us-gaap_ConcentrationRiskTypeDomain_7de8afa2-e31f-42bf-a434-8207082bb0ce_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskTypeDomain_e9e9b7aa-0faf-4686-94a0-5432d9a55355" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ConcentrationRiskTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConcentrationRiskByTypeAxis_7de8afa2-e31f-42bf-a434-8207082bb0ce" xlink:to="loc_us-gaap_ConcentrationRiskTypeDomain_e9e9b7aa-0faf-4686-94a0-5432d9a55355" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeographicConcentrationRiskMember_caadd048-2b45-458c-a161-1a8c736c5282" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_GeographicConcentrationRiskMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskTypeDomain_e9e9b7aa-0faf-4686-94a0-5432d9a55355" xlink:to="loc_us-gaap_GeographicConcentrationRiskMember_caadd048-2b45-458c-a161-1a8c736c5282" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CustomerConcentrationRiskMember_f616e74a-e3f2-4549-960f-cb18edb8d994" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CustomerConcentrationRiskMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskTypeDomain_e9e9b7aa-0faf-4686-94a0-5432d9a55355" xlink:to="loc_us-gaap_CustomerConcentrationRiskMember_f616e74a-e3f2-4549-960f-cb18edb8d994" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mastec.com/role/CommitmentsandContingenciesNarrativeDetails" xlink:type="simple" xlink:href="mtz-20230331.xsd#CommitmentsandContingenciesNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.mastec.com/role/CommitmentsandContingenciesNarrativeDetails" xlink:type="extended" id="i3fe228f116084c1fa2e059c7ba720005_CommitmentsandContingenciesNarrativeDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LossContingenciesLineItems_1924c96e-8152-474d-8b3a-4fa805c8950e" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LossContingenciesLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireLand_7ef59985-ae3f-45f1-b1e6-71659ddeaf39" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PaymentsToAcquireLand"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_1924c96e-8152-474d-8b3a-4fa805c8950e" xlink:to="loc_us-gaap_PaymentsToAcquireLand_7ef59985-ae3f-45f1-b1e6-71659ddeaf39" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LitigationSettlementAmountAwardedToOtherParty_1452f491-f110-4582-b99e-fe9005ea3a8a" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LitigationSettlementAmountAwardedToOtherParty"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_1924c96e-8152-474d-8b3a-4fa805c8950e" xlink:to="loc_us-gaap_LitigationSettlementAmountAwardedToOtherParty_1452f491-f110-4582-b99e-fe9005ea3a8a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EnvironmentalRemediationExpense_a4adedfb-b6cd-46e7-bace-180159aede64" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_EnvironmentalRemediationExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_1924c96e-8152-474d-8b3a-4fa805c8950e" xlink:to="loc_us-gaap_EnvironmentalRemediationExpense_a4adedfb-b6cd-46e7-bace-180159aede64" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskPercentage1_3cb7fd42-e3b5-49ef-8012-6a1de48a126a" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ConcentrationRiskPercentage1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_1924c96e-8152-474d-8b3a-4fa805c8950e" xlink:to="loc_us-gaap_ConcentrationRiskPercentage1_3cb7fd42-e3b5-49ef-8012-6a1de48a126a" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LossContingencyDamagesAwardedValue_24e12c3d-f048-42d3-ad3f-99aab000cd58" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LossContingencyDamagesAwardedValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_1924c96e-8152-474d-8b3a-4fa805c8950e" xlink:to="loc_us-gaap_LossContingencyDamagesAwardedValue_24e12c3d-f048-42d3-ad3f-99aab000cd58" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_EnvironmentalRemediationInsurancePolicyLimit_7c0e43d2-b72e-4031-9f27-8ba7d7096023" xlink:href="mtz-20230331.xsd#mtz_EnvironmentalRemediationInsurancePolicyLimit"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_1924c96e-8152-474d-8b3a-4fa805c8950e" xlink:to="loc_mtz_EnvironmentalRemediationInsurancePolicyLimit_7c0e43d2-b72e-4031-9f27-8ba7d7096023" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LettersOfCreditOutstandingAmount_b55d54ee-010c-4793-bdc2-88a4dc624b14" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LettersOfCreditOutstandingAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_1924c96e-8152-474d-8b3a-4fa805c8950e" xlink:to="loc_us-gaap_LettersOfCreditOutstandingAmount_b55d54ee-010c-4793-bdc2-88a4dc624b14" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GuaranteeObligationsMaximumExposure_49fcd4fd-831e-4f5b-8b4a-93277ee039a0" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_GuaranteeObligationsMaximumExposure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_1924c96e-8152-474d-8b3a-4fa805c8950e" xlink:to="loc_us-gaap_GuaranteeObligationsMaximumExposure_49fcd4fd-831e-4f5b-8b4a-93277ee039a0" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_EstimatedCostsToCompleteProjectsSecuredByBonds_301bec6b-5218-4d0c-b2ff-2042f4b781c2" xlink:href="mtz-20230331.xsd#mtz_EstimatedCostsToCompleteProjectsSecuredByBonds"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_1924c96e-8152-474d-8b3a-4fa805c8950e" xlink:to="loc_mtz_EstimatedCostsToCompleteProjectsSecuredByBonds_301bec6b-5218-4d0c-b2ff-2042f4b781c2" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_ProportionatelyConsolidatedJointVentureOwnershipPercentage_acf69a8a-c517-49f7-b76c-9dd3d7c7275f" xlink:href="mtz-20230331.xsd#mtz_ProportionatelyConsolidatedJointVentureOwnershipPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_1924c96e-8152-474d-8b3a-4fa805c8950e" xlink:to="loc_mtz_ProportionatelyConsolidatedJointVentureOwnershipPercentage_acf69a8a-c517-49f7-b76c-9dd3d7c7275f" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_NumberOfJointVentures_6706e3a3-a27f-455d-ae7a-0829c2fdc511" xlink:href="mtz-20230331.xsd#mtz_NumberOfJointVentures"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_1924c96e-8152-474d-8b3a-4fa805c8950e" xlink:to="loc_mtz_NumberOfJointVentures_6706e3a3-a27f-455d-ae7a-0829c2fdc511" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_PaymentsForOtherProjectRelatedFinancing_d868e5d8-c233-40d8-9fe2-25b21347c1af" xlink:href="mtz-20230331.xsd#mtz_PaymentsForOtherProjectRelatedFinancing"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_1924c96e-8152-474d-8b3a-4fa805c8950e" xlink:to="loc_mtz_PaymentsForOtherProjectRelatedFinancing_d868e5d8-c233-40d8-9fe2-25b21347c1af" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_820b7517-53ab-4d29-91ee-5444a21142a0" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_1924c96e-8152-474d-8b3a-4fa805c8950e" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_820b7517-53ab-4d29-91ee-5444a21142a0" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SelfInsuranceReserve_9f430ab6-61d0-4377-a5ff-b8bee2d5554b" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_SelfInsuranceReserve"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_1924c96e-8152-474d-8b3a-4fa805c8950e" xlink:to="loc_us-gaap_SelfInsuranceReserve_9f430ab6-61d0-4377-a5ff-b8bee2d5554b" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SelfInsuranceReserveNoncurrent_1db104b5-62a9-4d71-b8c2-f8e4a980f416" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_SelfInsuranceReserveNoncurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_1924c96e-8152-474d-8b3a-4fa805c8950e" xlink:to="loc_us-gaap_SelfInsuranceReserveNoncurrent_1db104b5-62a9-4d71-b8c2-f8e4a980f416" xlink:type="arc" order="14"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_MultiemployerPlansWithdrawalObligationMonthlyPaymentAmount_03ee81bd-1f73-445a-8f00-bf5fe41e3c20" xlink:href="mtz-20230331.xsd#mtz_MultiemployerPlansWithdrawalObligationMonthlyPaymentAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_1924c96e-8152-474d-8b3a-4fa805c8950e" xlink:to="loc_mtz_MultiemployerPlansWithdrawalObligationMonthlyPaymentAmount_03ee81bd-1f73-445a-8f00-bf5fe41e3c20" xlink:type="arc" order="15"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MultiemployerPlansWithdrawalObligation_fbffd1ad-56b6-4fb4-9d5f-6b7c5b143477" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_MultiemployerPlansWithdrawalObligation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_1924c96e-8152-474d-8b3a-4fa805c8950e" xlink:to="loc_us-gaap_MultiemployerPlansWithdrawalObligation_fbffd1ad-56b6-4fb4-9d5f-6b7c5b143477" xlink:type="arc" order="16"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LossContingencyAccrualAtCarryingValue_90729dd1-4e28-48f9-8656-99426f79d8b1" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LossContingencyAccrualAtCarryingValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_1924c96e-8152-474d-8b3a-4fa805c8950e" xlink:to="loc_us-gaap_LossContingencyAccrualAtCarryingValue_90729dd1-4e28-48f9-8656-99426f79d8b1" xlink:type="arc" order="17"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_NumberOfCustomers_228d0e51-ec03-4575-b050-32acf7d09f7d" xlink:href="mtz-20230331.xsd#mtz_NumberOfCustomers"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_1924c96e-8152-474d-8b3a-4fa805c8950e" xlink:to="loc_mtz_NumberOfCustomers_228d0e51-ec03-4575-b050-32acf7d09f7d" xlink:type="arc" order="18"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LossContingenciesTable_1ca17dab-8996-42bd-9431-97636b0042fd" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LossContingenciesTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_LossContingenciesLineItems_1924c96e-8152-474d-8b3a-4fa805c8950e" xlink:to="loc_us-gaap_LossContingenciesTable_1ca17dab-8996-42bd-9431-97636b0042fd" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_LitigationCaseAxis_f0e90126-de27-40ac-9cb1-b6ba295dbb70" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_LitigationCaseAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_1ca17dab-8996-42bd-9431-97636b0042fd" xlink:to="loc_srt_LitigationCaseAxis_f0e90126-de27-40ac-9cb1-b6ba295dbb70" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_LitigationCaseTypeDomain_f0e90126-de27-40ac-9cb1-b6ba295dbb70_default" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_LitigationCaseTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_LitigationCaseAxis_f0e90126-de27-40ac-9cb1-b6ba295dbb70" xlink:to="loc_srt_LitigationCaseTypeDomain_f0e90126-de27-40ac-9cb1-b6ba295dbb70_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_LitigationCaseTypeDomain_2ba1b1ec-4302-472a-b1df-bb0fafcdff22" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_LitigationCaseTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_LitigationCaseAxis_f0e90126-de27-40ac-9cb1-b6ba295dbb70" xlink:to="loc_srt_LitigationCaseTypeDomain_2ba1b1ec-4302-472a-b1df-bb0fafcdff22" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_SiliconRanchCorporationLLCMatterMember_53fda21f-d91d-41fd-9e05-8993a9900b1f" xlink:href="mtz-20230331.xsd#mtz_SiliconRanchCorporationLLCMatterMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_LitigationCaseTypeDomain_2ba1b1ec-4302-472a-b1df-bb0fafcdff22" xlink:to="loc_mtz_SiliconRanchCorporationLLCMatterMember_53fda21f-d91d-41fd-9e05-8993a9900b1f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_LegalEntityAxis_7c62bcad-6a3f-4b25-a244-79c3fc116c6c" xlink:href="https://xbrl.sec.gov/dei/2022/dei-2022.xsd#dei_LegalEntityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_1ca17dab-8996-42bd-9431-97636b0042fd" xlink:to="loc_dei_LegalEntityAxis_7c62bcad-6a3f-4b25-a244-79c3fc116c6c" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_7c62bcad-6a3f-4b25-a244-79c3fc116c6c_default" xlink:href="https://xbrl.sec.gov/dei/2022/dei-2022.xsd#dei_EntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_7c62bcad-6a3f-4b25-a244-79c3fc116c6c" xlink:to="loc_dei_EntityDomain_7c62bcad-6a3f-4b25-a244-79c3fc116c6c_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_f8c1d003-31e9-4168-9dac-7d85b7f4afc4" xlink:href="https://xbrl.sec.gov/dei/2022/dei-2022.xsd#dei_EntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_7c62bcad-6a3f-4b25-a244-79c3fc116c6c" xlink:to="loc_dei_EntityDomain_f8c1d003-31e9-4168-9dac-7d85b7f4afc4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_HLFarmsMember_05c58f37-b400-4186-94b1-0ed29e1c919b" xlink:href="mtz-20230331.xsd#mtz_HLFarmsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_f8c1d003-31e9-4168-9dac-7d85b7f4afc4" xlink:to="loc_mtz_HLFarmsMember_05c58f37-b400-4186-94b1-0ed29e1c919b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_InfrastructureEnergyAlternativesIncAndSiliconRanchCorporationLLCMember_685a1736-9662-434e-854c-64afc44207b5" xlink:href="mtz-20230331.xsd#mtz_InfrastructureEnergyAlternativesIncAndSiliconRanchCorporationLLCMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_f8c1d003-31e9-4168-9dac-7d85b7f4afc4" xlink:to="loc_mtz_InfrastructureEnergyAlternativesIncAndSiliconRanchCorporationLLCMember_685a1736-9662-434e-854c-64afc44207b5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_SiliconRanchCorporationLLCMember_2165cbe9-0c86-4c23-97e1-381d73162e6f" xlink:href="mtz-20230331.xsd#mtz_SiliconRanchCorporationLLCMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_f8c1d003-31e9-4168-9dac-7d85b7f4afc4" xlink:to="loc_mtz_SiliconRanchCorporationLLCMember_2165cbe9-0c86-4c23-97e1-381d73162e6f" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_InfrastructureEnergyAlternativesIncAndIEAConstructorsLLCMember_919012bf-6154-4b67-a169-5bb3e99529f4" xlink:href="mtz-20230331.xsd#mtz_InfrastructureEnergyAlternativesIncAndIEAConstructorsLLCMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_f8c1d003-31e9-4168-9dac-7d85b7f4afc4" xlink:to="loc_mtz_InfrastructureEnergyAlternativesIncAndIEAConstructorsLLCMember_919012bf-6154-4b67-a169-5bb3e99529f4" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_IEAConstructorsLLCMember_6a90c7e9-8bec-4a78-bdaf-cd730432d806" xlink:href="mtz-20230331.xsd#mtz_IEAConstructorsLLCMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_f8c1d003-31e9-4168-9dac-7d85b7f4afc4" xlink:to="loc_mtz_IEAConstructorsLLCMember_6a90c7e9-8bec-4a78-bdaf-cd730432d806" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventTypeAxis_cf60565f-7dc6-44d6-bb28-3a80a22ea63e" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_SubsequentEventTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_1ca17dab-8996-42bd-9431-97636b0042fd" xlink:to="loc_us-gaap_SubsequentEventTypeAxis_cf60565f-7dc6-44d6-bb28-3a80a22ea63e" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_cf60565f-7dc6-44d6-bb28-3a80a22ea63e_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_SubsequentEventTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_cf60565f-7dc6-44d6-bb28-3a80a22ea63e" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_cf60565f-7dc6-44d6-bb28-3a80a22ea63e_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_761a0d5f-52ee-4d81-96b0-3c232c60f00c" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_SubsequentEventTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_cf60565f-7dc6-44d6-bb28-3a80a22ea63e" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_761a0d5f-52ee-4d81-96b0-3c232c60f00c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventMember_ee24d1a5-149a-467b-8737-f2edd32b27e2" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_SubsequentEventMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventTypeDomain_761a0d5f-52ee-4d81-96b0-3c232c60f00c" xlink:to="loc_us-gaap_SubsequentEventMember_ee24d1a5-149a-467b-8737-f2edd32b27e2" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_9d2aa93c-08fa-40ac-9320-c571362fe3c8" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ConcentrationRiskByBenchmarkAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_1ca17dab-8996-42bd-9431-97636b0042fd" xlink:to="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_9d2aa93c-08fa-40ac-9320-c571362fe3c8" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskBenchmarkDomain_9d2aa93c-08fa-40ac-9320-c571362fe3c8_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ConcentrationRiskBenchmarkDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_9d2aa93c-08fa-40ac-9320-c571362fe3c8" xlink:to="loc_us-gaap_ConcentrationRiskBenchmarkDomain_9d2aa93c-08fa-40ac-9320-c571362fe3c8_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskBenchmarkDomain_ece51cea-1888-43ff-a8ac-fac86aecb492" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ConcentrationRiskBenchmarkDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_9d2aa93c-08fa-40ac-9320-c571362fe3c8" xlink:to="loc_us-gaap_ConcentrationRiskBenchmarkDomain_ece51cea-1888-43ff-a8ac-fac86aecb492" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_LitigationSettlementBenchmarkMember_d971c36b-f162-4938-bcf8-30c5a22ccc18" xlink:href="mtz-20230331.xsd#mtz_LitigationSettlementBenchmarkMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskBenchmarkDomain_ece51cea-1888-43ff-a8ac-fac86aecb492" xlink:to="loc_mtz_LitigationSettlementBenchmarkMember_d971c36b-f162-4938-bcf8-30c5a22ccc18" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SalesRevenueNetMember_7d8ef314-9a7f-4453-9672-d9a71fa05a25" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_SalesRevenueNetMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskBenchmarkDomain_ece51cea-1888-43ff-a8ac-fac86aecb492" xlink:to="loc_us-gaap_SalesRevenueNetMember_7d8ef314-9a7f-4453-9672-d9a71fa05a25" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskByTypeAxis_01d70460-edc3-4c18-9097-f4fb6ec9da84" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ConcentrationRiskByTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_1ca17dab-8996-42bd-9431-97636b0042fd" xlink:to="loc_us-gaap_ConcentrationRiskByTypeAxis_01d70460-edc3-4c18-9097-f4fb6ec9da84" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskTypeDomain_01d70460-edc3-4c18-9097-f4fb6ec9da84_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ConcentrationRiskTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConcentrationRiskByTypeAxis_01d70460-edc3-4c18-9097-f4fb6ec9da84" xlink:to="loc_us-gaap_ConcentrationRiskTypeDomain_01d70460-edc3-4c18-9097-f4fb6ec9da84_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskTypeDomain_0c8d2543-0920-4838-ab60-2e22603e5818" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ConcentrationRiskTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConcentrationRiskByTypeAxis_01d70460-edc3-4c18-9097-f4fb6ec9da84" xlink:to="loc_us-gaap_ConcentrationRiskTypeDomain_0c8d2543-0920-4838-ab60-2e22603e5818" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_CommitmentsAndContingenciesConcentrationRiskMember_042da94c-bea3-45fd-bb7f-c6264b806743" xlink:href="mtz-20230331.xsd#mtz_CommitmentsAndContingenciesConcentrationRiskMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskTypeDomain_0c8d2543-0920-4838-ab60-2e22603e5818" xlink:to="loc_mtz_CommitmentsAndContingenciesConcentrationRiskMember_042da94c-bea3-45fd-bb7f-c6264b806743" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CustomerConcentrationRiskMember_96641e28-cb76-4bf0-b069-c18893f86f58" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CustomerConcentrationRiskMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskTypeDomain_0c8d2543-0920-4838-ab60-2e22603e5818" xlink:to="loc_us-gaap_CustomerConcentrationRiskMember_96641e28-cb76-4bf0-b069-c18893f86f58" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesAxis_20c929ee-f793-471b-84f7-00c24ddfeff3" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_ConsolidatedEntitiesAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_1ca17dab-8996-42bd-9431-97636b0042fd" xlink:to="loc_srt_ConsolidatedEntitiesAxis_20c929ee-f793-471b-84f7-00c24ddfeff3" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesDomain_20c929ee-f793-471b-84f7-00c24ddfeff3_default" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_ConsolidatedEntitiesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ConsolidatedEntitiesAxis_20c929ee-f793-471b-84f7-00c24ddfeff3" xlink:to="loc_srt_ConsolidatedEntitiesDomain_20c929ee-f793-471b-84f7-00c24ddfeff3_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesDomain_54847c4f-c3b7-473a-8eee-82af7f8ab538" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_ConsolidatedEntitiesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ConsolidatedEntitiesAxis_20c929ee-f793-471b-84f7-00c24ddfeff3" xlink:to="loc_srt_ConsolidatedEntitiesDomain_54847c4f-c3b7-473a-8eee-82af7f8ab538" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_SubsidiariesMember_cbb5732d-7bfc-43a3-8715-f79fcc8ee50c" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_SubsidiariesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidatedEntitiesDomain_54847c4f-c3b7-473a-8eee-82af7f8ab538" xlink:to="loc_srt_SubsidiariesMember_cbb5732d-7bfc-43a3-8715-f79fcc8ee50c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GuaranteeObligationsByNatureAxis_4a9a319f-42e2-4cfe-9f2b-288494b39cf5" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_GuaranteeObligationsByNatureAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_1ca17dab-8996-42bd-9431-97636b0042fd" xlink:to="loc_us-gaap_GuaranteeObligationsByNatureAxis_4a9a319f-42e2-4cfe-9f2b-288494b39cf5" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GuaranteeObligationsNatureDomain_4a9a319f-42e2-4cfe-9f2b-288494b39cf5_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_GuaranteeObligationsNatureDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_GuaranteeObligationsByNatureAxis_4a9a319f-42e2-4cfe-9f2b-288494b39cf5" xlink:to="loc_us-gaap_GuaranteeObligationsNatureDomain_4a9a319f-42e2-4cfe-9f2b-288494b39cf5_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GuaranteeObligationsNatureDomain_d8680a29-629c-46d0-892b-38bbe02120e8" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_GuaranteeObligationsNatureDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_GuaranteeObligationsByNatureAxis_4a9a319f-42e2-4cfe-9f2b-288494b39cf5" xlink:to="loc_us-gaap_GuaranteeObligationsNatureDomain_d8680a29-629c-46d0-892b-38bbe02120e8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PerformanceGuaranteeMember_4d7d6779-c3f3-4ee8-82f8-e452fd260f29" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PerformanceGuaranteeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsNatureDomain_d8680a29-629c-46d0-892b-38bbe02120e8" xlink:to="loc_us-gaap_PerformanceGuaranteeMember_4d7d6779-c3f3-4ee8-82f8-e452fd260f29" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialStandbyLetterOfCreditMember_46a6e9d4-83cf-4bd6-9554-5ede5e7d4329" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FinancialStandbyLetterOfCreditMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsNatureDomain_d8680a29-629c-46d0-892b-38bbe02120e8" xlink:to="loc_us-gaap_FinancialStandbyLetterOfCreditMember_46a6e9d4-83cf-4bd6-9554-5ede5e7d4329" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SuretyBondMember_f0e17010-f4eb-42c4-b251-3117081a805a" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_SuretyBondMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsNatureDomain_d8680a29-629c-46d0-892b-38bbe02120e8" xlink:to="loc_us-gaap_SuretyBondMember_f0e17010-f4eb-42c4-b251-3117081a805a" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_38893405-80a1-4e4d-a114-55d4bdabb1a0" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RelatedPartyTransactionsByRelatedPartyAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_1ca17dab-8996-42bd-9431-97636b0042fd" xlink:to="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_38893405-80a1-4e4d-a114-55d4bdabb1a0" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyDomain_38893405-80a1-4e4d-a114-55d4bdabb1a0_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RelatedPartyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_38893405-80a1-4e4d-a114-55d4bdabb1a0" xlink:to="loc_us-gaap_RelatedPartyDomain_38893405-80a1-4e4d-a114-55d4bdabb1a0_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyDomain_8606a64f-a64f-4820-8477-17611a089dbb" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RelatedPartyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_38893405-80a1-4e4d-a114-55d4bdabb1a0" xlink:to="loc_us-gaap_RelatedPartyDomain_8606a64f-a64f-4820-8477-17611a089dbb" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CorporateJointVentureMember_a09c1985-4f4a-40b4-b74d-49dfa9beb675" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CorporateJointVentureMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyDomain_8606a64f-a64f-4820-8477-17611a089dbb" xlink:to="loc_us-gaap_CorporateJointVentureMember_a09c1985-4f4a-40b4-b74d-49dfa9beb675" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_ContractualJointVentureMember_37ffef49-c387-4946-9840-e04e3d04fbd4" xlink:href="mtz-20230331.xsd#mtz_ContractualJointVentureMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyDomain_8606a64f-a64f-4820-8477-17611a089dbb" xlink:to="loc_mtz_ContractualJointVentureMember_37ffef49-c387-4946-9840-e04e3d04fbd4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_CaptiveInsuranceCompanyMember_80dfa55f-4345-45d7-afb2-c03702f2da56" xlink:href="mtz-20230331.xsd#mtz_CaptiveInsuranceCompanyMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyDomain_8606a64f-a64f-4820-8477-17611a089dbb" xlink:to="loc_mtz_CaptiveInsuranceCompanyMember_80dfa55f-4345-45d7-afb2-c03702f2da56" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_OwnershipAxis_3e588980-562d-4a7f-b18f-6e11f58acbd8" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_OwnershipAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_1ca17dab-8996-42bd-9431-97636b0042fd" xlink:to="loc_srt_OwnershipAxis_3e588980-562d-4a7f-b18f-6e11f58acbd8" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_OwnershipDomain_3e588980-562d-4a7f-b18f-6e11f58acbd8_default" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_OwnershipDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_OwnershipAxis_3e588980-562d-4a7f-b18f-6e11f58acbd8" xlink:to="loc_srt_OwnershipDomain_3e588980-562d-4a7f-b18f-6e11f58acbd8_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_OwnershipDomain_6207a10d-680d-47fb-b624-9631273dc554" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_OwnershipDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_OwnershipAxis_3e588980-562d-4a7f-b18f-6e11f58acbd8" xlink:to="loc_srt_OwnershipDomain_6207a10d-680d-47fb-b624-9631273dc554" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_JointVenturesThatProvideElectricalTransmissionInfrastructureServicesMember_ba5f6181-e430-4201-9db3-fe4fe9845567" xlink:href="mtz-20230331.xsd#mtz_JointVenturesThatProvideElectricalTransmissionInfrastructureServicesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_OwnershipDomain_6207a10d-680d-47fb-b624-9631273dc554" xlink:to="loc_mtz_JointVenturesThatProvideElectricalTransmissionInfrastructureServicesMember_ba5f6181-e430-4201-9db3-fe4fe9845567" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_JointVentureCivilConstructionProjectMember_b3fcdb6b-5320-49ca-9cb0-9bd2617f7ff7" xlink:href="mtz-20230331.xsd#mtz_JointVentureCivilConstructionProjectMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_OwnershipDomain_6207a10d-680d-47fb-b624-9631273dc554" xlink:to="loc_mtz_JointVentureCivilConstructionProjectMember_b3fcdb6b-5320-49ca-9cb0-9bd2617f7ff7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_ad5ef727-8289-4b1a-ae5f-b4d0ff6ca119" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_1ca17dab-8996-42bd-9431-97636b0042fd" xlink:to="loc_srt_RangeAxis_ad5ef727-8289-4b1a-ae5f-b4d0ff6ca119" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_ad5ef727-8289-4b1a-ae5f-b4d0ff6ca119_default" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_ad5ef727-8289-4b1a-ae5f-b4d0ff6ca119" xlink:to="loc_srt_RangeMember_ad5ef727-8289-4b1a-ae5f-b4d0ff6ca119_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_e6cdc6af-1225-4132-98f2-8d577eb16206" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_ad5ef727-8289-4b1a-ae5f-b4d0ff6ca119" xlink:to="loc_srt_RangeMember_e6cdc6af-1225-4132-98f2-8d577eb16206" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_6034e418-8b68-4151-aa17-556835104c50" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_MinimumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_e6cdc6af-1225-4132-98f2-8d577eb16206" xlink:to="loc_srt_MinimumMember_6034e418-8b68-4151-aa17-556835104c50" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_4137a0e8-8c21-4cc7-8ed9-5201f8ba56de" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_e6cdc6af-1225-4132-98f2-8d577eb16206" xlink:to="loc_srt_MaximumMember_4137a0e8-8c21-4cc7-8ed9-5201f8ba56de" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductOrServiceAxis_c2c47d0e-99ee-4965-9c7f-0b8d007f2383" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_ProductOrServiceAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_1ca17dab-8996-42bd-9431-97636b0042fd" xlink:to="loc_srt_ProductOrServiceAxis_c2c47d0e-99ee-4965-9c7f-0b8d007f2383" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_c2c47d0e-99ee-4965-9c7f-0b8d007f2383_default" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ProductOrServiceAxis_c2c47d0e-99ee-4965-9c7f-0b8d007f2383" xlink:to="loc_srt_ProductsAndServicesDomain_c2c47d0e-99ee-4965-9c7f-0b8d007f2383_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_5c488f32-23ed-4ea1-89ae-8eee76e61824" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ProductOrServiceAxis_c2c47d0e-99ee-4965-9c7f-0b8d007f2383" xlink:to="loc_srt_ProductsAndServicesDomain_5c488f32-23ed-4ea1-89ae-8eee76e61824" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyLiabilityAndCasualtyInsuranceSegmentMember_24b724b9-bd27-486e-b08c-6bba30bf58b9" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PropertyLiabilityAndCasualtyInsuranceSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_5c488f32-23ed-4ea1-89ae-8eee76e61824" xlink:to="loc_us-gaap_PropertyLiabilityAndCasualtyInsuranceSegmentMember_24b724b9-bd27-486e-b08c-6bba30bf58b9" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GroupPoliciesMember_832fc7e8-2f17-418e-b0fb-81e4a8318888" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_GroupPoliciesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_5c488f32-23ed-4ea1-89ae-8eee76e61824" xlink:to="loc_us-gaap_GroupPoliciesMember_832fc7e8-2f17-418e-b0fb-81e4a8318888" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccidentAndHealthInsuranceSegmentMember_cb170a4c-9188-452d-822c-907ef7b6c441" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AccidentAndHealthInsuranceSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_5c488f32-23ed-4ea1-89ae-8eee76e61824" xlink:to="loc_us-gaap_AccidentAndHealthInsuranceSegmentMember_cb170a4c-9188-452d-822c-907ef7b6c441" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LossContingenciesByNatureOfContingencyAxis_f33e081b-55ee-49de-b145-14757786090e" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LossContingenciesByNatureOfContingencyAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_1ca17dab-8996-42bd-9431-97636b0042fd" xlink:to="loc_us-gaap_LossContingenciesByNatureOfContingencyAxis_f33e081b-55ee-49de-b145-14757786090e" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LossContingencyNatureDomain_f33e081b-55ee-49de-b145-14757786090e_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LossContingencyNatureDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LossContingenciesByNatureOfContingencyAxis_f33e081b-55ee-49de-b145-14757786090e" xlink:to="loc_us-gaap_LossContingencyNatureDomain_f33e081b-55ee-49de-b145-14757786090e_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LossContingencyNatureDomain_dc59f9a0-96cb-4f0f-aa71-a62d05b35e2d" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LossContingencyNatureDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LossContingenciesByNatureOfContingencyAxis_f33e081b-55ee-49de-b145-14757786090e" xlink:to="loc_us-gaap_LossContingencyNatureDomain_dc59f9a0-96cb-4f0f-aa71-a62d05b35e2d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UninsuredRiskMember_f1f8b81c-4d7d-45fd-bd6d-483b7bc7fd3f" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_UninsuredRiskMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingencyNatureDomain_dc59f9a0-96cb-4f0f-aa71-a62d05b35e2d" xlink:to="loc_us-gaap_UninsuredRiskMember_f1f8b81c-4d7d-45fd-bd6d-483b7bc7fd3f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BalanceSheetLocationAxis_dfd3687e-98a8-4eb7-add5-f9830c7f006f" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BalanceSheetLocationAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_1ca17dab-8996-42bd-9431-97636b0042fd" xlink:to="loc_us-gaap_BalanceSheetLocationAxis_dfd3687e-98a8-4eb7-add5-f9830c7f006f" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_dfd3687e-98a8-4eb7-add5-f9830c7f006f_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BalanceSheetLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BalanceSheetLocationAxis_dfd3687e-98a8-4eb7-add5-f9830c7f006f" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_dfd3687e-98a8-4eb7-add5-f9830c7f006f_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_e306e92b-d091-4dfb-80ce-abbb79591e7f" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BalanceSheetLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BalanceSheetLocationAxis_dfd3687e-98a8-4eb7-add5-f9830c7f006f" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_e306e92b-d091-4dfb-80ce-abbb79591e7f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNoncurrentLiabilitiesMember_baf87126-0ede-4f96-9d43-9682a4d5a736" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherNoncurrentLiabilitiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_e306e92b-d091-4dfb-80ce-abbb79591e7f" xlink:to="loc_us-gaap_OtherNoncurrentLiabilitiesMember_baf87126-0ede-4f96-9d43-9682a4d5a736" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanTypeAxis_1addbfd9-1731-4f64-96e4-ec75dd10d256" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RetirementPlanTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_1ca17dab-8996-42bd-9431-97636b0042fd" xlink:to="loc_us-gaap_RetirementPlanTypeAxis_1addbfd9-1731-4f64-96e4-ec75dd10d256" xlink:type="arc" order="14"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanTypeDomain_1addbfd9-1731-4f64-96e4-ec75dd10d256_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RetirementPlanTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RetirementPlanTypeAxis_1addbfd9-1731-4f64-96e4-ec75dd10d256" xlink:to="loc_us-gaap_RetirementPlanTypeDomain_1addbfd9-1731-4f64-96e4-ec75dd10d256_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanTypeDomain_68aa289b-a9c3-46f2-8e99-1945ce2981ae" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RetirementPlanTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RetirementPlanTypeAxis_1addbfd9-1731-4f64-96e4-ec75dd10d256" xlink:to="loc_us-gaap_RetirementPlanTypeDomain_68aa289b-a9c3-46f2-8e99-1945ce2981ae" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PensionPlansDefinedBenefitMember_cb2ba9c7-e02d-4dc9-bb82-fe611478761b" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PensionPlansDefinedBenefitMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanTypeDomain_68aa289b-a9c3-46f2-8e99-1945ce2981ae" xlink:to="loc_us-gaap_PensionPlansDefinedBenefitMember_cb2ba9c7-e02d-4dc9-bb82-fe611478761b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_75aa0f1a-b900-4b45-bd7c-3dc22521f0c0" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessAcquisitionAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_1ca17dab-8996-42bd-9431-97636b0042fd" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_75aa0f1a-b900-4b45-bd7c-3dc22521f0c0" xlink:type="arc" order="15"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_75aa0f1a-b900-4b45-bd7c-3dc22521f0c0_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessAcquisitionAcquireeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_75aa0f1a-b900-4b45-bd7c-3dc22521f0c0" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_75aa0f1a-b900-4b45-bd7c-3dc22521f0c0_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_fc201d51-d05c-44e5-8a46-fe7ba8c25e41" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessAcquisitionAcquireeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_75aa0f1a-b900-4b45-bd7c-3dc22521f0c0" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_fc201d51-d05c-44e5-8a46-fe7ba8c25e41" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_A2022AcquisitionsInfrastructureEnergyAlternativesIncMember_f0058684-2ac0-40fc-8706-eae6adc8eb81" xlink:href="mtz-20230331.xsd#mtz_A2022AcquisitionsInfrastructureEnergyAlternativesIncMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_fc201d51-d05c-44e5-8a46-fe7ba8c25e41" xlink:to="loc_mtz_A2022AcquisitionsInfrastructureEnergyAlternativesIncMember_f0058684-2ac0-40fc-8706-eae6adc8eb81" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MajorCustomersAxis_eac3a96d-a0cd-4905-8647-a8ff735b7a53" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_MajorCustomersAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_1ca17dab-8996-42bd-9431-97636b0042fd" xlink:to="loc_srt_MajorCustomersAxis_eac3a96d-a0cd-4905-8647-a8ff735b7a53" xlink:type="arc" order="16"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_NameOfMajorCustomerDomain_eac3a96d-a0cd-4905-8647-a8ff735b7a53_default" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_NameOfMajorCustomerDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_MajorCustomersAxis_eac3a96d-a0cd-4905-8647-a8ff735b7a53" xlink:to="loc_srt_NameOfMajorCustomerDomain_eac3a96d-a0cd-4905-8647-a8ff735b7a53_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_NameOfMajorCustomerDomain_70ad1762-6abc-49e2-8a7a-f7f5b8d47f42" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_NameOfMajorCustomerDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_MajorCustomersAxis_eac3a96d-a0cd-4905-8647-a8ff735b7a53" xlink:to="loc_srt_NameOfMajorCustomerDomain_70ad1762-6abc-49e2-8a7a-f7f5b8d47f42" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_TenLargestCustomersMember_9190c103-e152-4e3e-9d48-61ebbbe72e27" xlink:href="mtz-20230331.xsd#mtz_TenLargestCustomersMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_NameOfMajorCustomerDomain_70ad1762-6abc-49e2-8a7a-f7f5b8d47f42" xlink:to="loc_mtz_TenLargestCustomersMember_9190c103-e152-4e3e-9d48-61ebbbe72e27" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mastec.com/role/RelatedPartyTransactionsDetails" xlink:type="simple" xlink:href="mtz-20230331.xsd#RelatedPartyTransactionsDetails"/>
  <link:definitionLink xlink:role="http://www.mastec.com/role/RelatedPartyTransactionsDetails" xlink:type="extended" id="i46a98b8b57114deba54f786763e2733f_RelatedPartyTransactionsDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionLineItems_43937400-ba30-453c-a6df-2e85fab3bd50" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RelatedPartyTransactionLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionExpensesFromTransactionsWithRelatedParty_4dbc39ec-4b13-47ac-b07b-6617020bc968" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RelatedPartyTransactionExpensesFromTransactionsWithRelatedParty"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_43937400-ba30-453c-a6df-2e85fab3bd50" xlink:to="loc_us-gaap_RelatedPartyTransactionExpensesFromTransactionsWithRelatedParty_4dbc39ec-4b13-47ac-b07b-6617020bc968" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableRelatedPartiesCurrentAndNoncurrent_2a110cf0-73ba-43de-959a-c9b082a7f228" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AccountsPayableRelatedPartiesCurrentAndNoncurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_43937400-ba30-453c-a6df-2e85fab3bd50" xlink:to="loc_us-gaap_AccountsPayableRelatedPartiesCurrentAndNoncurrent_2a110cf0-73ba-43de-959a-c9b082a7f228" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromRelatedParties_56a9a811-1865-436e-b9a0-f6204c850af9" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RevenueFromRelatedParties"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_43937400-ba30-453c-a6df-2e85fab3bd50" xlink:to="loc_us-gaap_RevenueFromRelatedParties_56a9a811-1865-436e-b9a0-f6204c850af9" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableRelatedParties_17264ad6-3a56-4280-bd1e-8c75e84e38e2" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AccountsReceivableRelatedParties"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_43937400-ba30-453c-a6df-2e85fab3bd50" xlink:to="loc_us-gaap_AccountsReceivableRelatedParties_17264ad6-3a56-4280-bd1e-8c75e84e38e2" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionAmountsOfTransaction_15fd62b3-a170-4b7b-b772-69c346273bbb" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RelatedPartyTransactionAmountsOfTransaction"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_43937400-ba30-453c-a6df-2e85fab3bd50" xlink:to="loc_us-gaap_RelatedPartyTransactionAmountsOfTransaction_15fd62b3-a170-4b7b-b772-69c346273bbb" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionOtherRevenuesFromTransactionsWithRelatedParty_8bc8fe9c-9976-41de-8a9c-e2e19920ea28" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RelatedPartyTransactionOtherRevenuesFromTransactionsWithRelatedParty"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_43937400-ba30-453c-a6df-2e85fab3bd50" xlink:to="loc_us-gaap_RelatedPartyTransactionOtherRevenuesFromTransactionsWithRelatedParty_8bc8fe9c-9976-41de-8a9c-e2e19920ea28" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentsInAffiliatesSubsidiariesAssociatesAndJointVentures_a77c09cc-3f27-4129-915d-464b518b97bc" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_InvestmentsInAffiliatesSubsidiariesAssociatesAndJointVentures"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_43937400-ba30-453c-a6df-2e85fab3bd50" xlink:to="loc_us-gaap_InvestmentsInAffiliatesSubsidiariesAssociatesAndJointVentures_a77c09cc-3f27-4129-915d-464b518b97bc" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_EquityMethodInvestmentRelatedPartyOwnershipPercentage_1e898c49-985f-430b-98df-f4a915f80539" xlink:href="mtz-20230331.xsd#mtz_EquityMethodInvestmentRelatedPartyOwnershipPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_43937400-ba30-453c-a6df-2e85fab3bd50" xlink:to="loc_mtz_EquityMethodInvestmentRelatedPartyOwnershipPercentage_1e898c49-985f-430b-98df-f4a915f80539" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireEquityMethodInvestments_52028ba3-c3b0-46c7-8db9-af6743827826" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PaymentsToAcquireEquityMethodInvestments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_43937400-ba30-453c-a6df-2e85fab3bd50" xlink:to="loc_us-gaap_PaymentsToAcquireEquityMethodInvestments_52028ba3-c3b0-46c7-8db9-af6743827826" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_EquityMethodInvestmentNegativeAmount_c1ae2ea5-41af-4294-b62d-ccabcc843032" xlink:href="mtz-20230331.xsd#mtz_EquityMethodInvestmentNegativeAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_43937400-ba30-453c-a6df-2e85fab3bd50" xlink:to="loc_mtz_EquityMethodInvestmentNegativeAmount_c1ae2ea5-41af-4294-b62d-ccabcc843032" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_AccountsReceivableNetOfDeferredRevenuesRelatedParties_a147e9fe-ac35-4780-85e2-893a5948f125" xlink:href="mtz-20230331.xsd#mtz_AccountsReceivableNetOfDeferredRevenuesRelatedParties"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_43937400-ba30-453c-a6df-2e85fab3bd50" xlink:to="loc_mtz_AccountsReceivableNetOfDeferredRevenuesRelatedParties_a147e9fe-ac35-4780-85e2-893a5948f125" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LettersOfCreditOutstandingAmount_0f023e52-2f8e-4bc1-99c1-f556feaa5908" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LettersOfCreditOutstandingAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_43937400-ba30-453c-a6df-2e85fab3bd50" xlink:to="loc_us-gaap_LettersOfCreditOutstandingAmount_0f023e52-2f8e-4bc1-99c1-f556feaa5908" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_NoncontrollingInterestPercentageOfVotingInterestsAcquired_a8073af7-f8d0-4f99-bf8c-7935f55c18b7" xlink:href="mtz-20230331.xsd#mtz_NoncontrollingInterestPercentageOfVotingInterestsAcquired"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_43937400-ba30-453c-a6df-2e85fab3bd50" xlink:to="loc_mtz_NoncontrollingInterestPercentageOfVotingInterestsAcquired_a8073af7-f8d0-4f99-bf8c-7935f55c18b7" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromPaymentsToMinorityShareholders_4a5cd3e0-55bf-41ba-a1c9-8a5cc07c4170" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ProceedsFromPaymentsToMinorityShareholders"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_43937400-ba30-453c-a6df-2e85fab3bd50" xlink:to="loc_us-gaap_ProceedsFromPaymentsToMinorityShareholders_4a5cd3e0-55bf-41ba-a1c9-8a5cc07c4170" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionEquityInterestsIssuedOrIssuableNumberOfSharesIssued_104f6b03-d19f-4b9a-8986-142392824304" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessAcquisitionEquityInterestsIssuedOrIssuableNumberOfSharesIssued"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_43937400-ba30-453c-a6df-2e85fab3bd50" xlink:to="loc_us-gaap_BusinessAcquisitionEquityInterestsIssuedOrIssuableNumberOfSharesIssued_104f6b03-d19f-4b9a-8986-142392824304" xlink:type="arc" order="14"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionEquityInterestIssuedOrIssuableValueAssigned_5602337f-50a4-4c4b-8c7c-5274244509c3" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessAcquisitionEquityInterestIssuedOrIssuableValueAssigned"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_43937400-ba30-453c-a6df-2e85fab3bd50" xlink:to="loc_us-gaap_BusinessAcquisitionEquityInterestIssuedOrIssuableValueAssigned_5602337f-50a4-4c4b-8c7c-5274244509c3" xlink:type="arc" order="15"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireLifeInsurancePolicies_cad6c3b0-fa2f-4122-87fc-8f1e000af305" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PaymentsToAcquireLifeInsurancePolicies"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_43937400-ba30-453c-a6df-2e85fab3bd50" xlink:to="loc_us-gaap_PaymentsToAcquireLifeInsurancePolicies_cad6c3b0-fa2f-4122-87fc-8f1e000af305" xlink:type="arc" order="16"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashSurrenderValueOfLifeInsurance_48f806e7-e60f-4afa-81a8-04beac5bc01f" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CashSurrenderValueOfLifeInsurance"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_43937400-ba30-453c-a6df-2e85fab3bd50" xlink:to="loc_us-gaap_CashSurrenderValueOfLifeInsurance_48f806e7-e60f-4afa-81a8-04beac5bc01f" xlink:type="arc" order="17"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_0dd76312-b5c5-4e9d-a59f-063a46f38a21" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_43937400-ba30-453c-a6df-2e85fab3bd50" xlink:to="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_0dd76312-b5c5-4e9d-a59f-063a46f38a21" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_f21b0567-9f5d-45f7-a5af-643601b468b6" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RelatedPartyTransactionsByRelatedPartyAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_0dd76312-b5c5-4e9d-a59f-063a46f38a21" xlink:to="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_f21b0567-9f5d-45f7-a5af-643601b468b6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyDomain_f21b0567-9f5d-45f7-a5af-643601b468b6_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RelatedPartyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_f21b0567-9f5d-45f7-a5af-643601b468b6" xlink:to="loc_us-gaap_RelatedPartyDomain_f21b0567-9f5d-45f7-a5af-643601b468b6_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyDomain_153e00f6-3bb2-4cfb-9b2c-6ff1e0117615" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RelatedPartyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_f21b0567-9f5d-45f7-a5af-643601b468b6" xlink:to="loc_us-gaap_RelatedPartyDomain_153e00f6-3bb2-4cfb-9b2c-6ff1e0117615" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ManagementMember_749ed607-4eb7-4419-9269-a5d70bbf070d" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_ManagementMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyDomain_153e00f6-3bb2-4cfb-9b2c-6ff1e0117615" xlink:to="loc_srt_ManagementMember_749ed607-4eb7-4419-9269-a5d70bbf070d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ImmediateFamilyMemberOfManagementOrPrincipalOwnerMember_6c17f549-1ecf-4a53-a147-59f4e0e2eef1" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ImmediateFamilyMemberOfManagementOrPrincipalOwnerMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyDomain_153e00f6-3bb2-4cfb-9b2c-6ff1e0117615" xlink:to="loc_us-gaap_ImmediateFamilyMemberOfManagementOrPrincipalOwnerMember_6c17f549-1ecf-4a53-a147-59f4e0e2eef1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_BoardOfDirectorsChairmanMember_85064805-8368-4b2a-b3da-75e6414d46aa" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_BoardOfDirectorsChairmanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyDomain_153e00f6-3bb2-4cfb-9b2c-6ff1e0117615" xlink:to="loc_srt_BoardOfDirectorsChairmanMember_85064805-8368-4b2a-b3da-75e6414d46aa" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ExecutiveOfficerMember_8d922356-0423-402d-820c-863252440d19" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_ExecutiveOfficerMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyDomain_153e00f6-3bb2-4cfb-9b2c-6ff1e0117615" xlink:to="loc_srt_ExecutiveOfficerMember_8d922356-0423-402d-820c-863252440d19" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ChiefExecutiveOfficerMember_aac18c07-5910-4f9e-8b37-3f5ce4dfe910" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_ChiefExecutiveOfficerMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyDomain_153e00f6-3bb2-4cfb-9b2c-6ff1e0117615" xlink:to="loc_srt_ChiefExecutiveOfficerMember_aac18c07-5910-4f9e-8b37-3f5ce4dfe910" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionAxis_58a10829-4c1e-4f97-bafd-d96d687affb1" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RelatedPartyTransactionAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_0dd76312-b5c5-4e9d-a59f-063a46f38a21" xlink:to="loc_us-gaap_RelatedPartyTransactionAxis_58a10829-4c1e-4f97-bafd-d96d687affb1" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionDomain_58a10829-4c1e-4f97-bafd-d96d687affb1_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RelatedPartyTransactionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RelatedPartyTransactionAxis_58a10829-4c1e-4f97-bafd-d96d687affb1" xlink:to="loc_us-gaap_RelatedPartyTransactionDomain_58a10829-4c1e-4f97-bafd-d96d687affb1_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionDomain_c96aa505-4474-48a9-a765-8529ba0ca2d6" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RelatedPartyTransactionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RelatedPartyTransactionAxis_58a10829-4c1e-4f97-bafd-d96d687affb1" xlink:to="loc_us-gaap_RelatedPartyTransactionDomain_c96aa505-4474-48a9-a765-8529ba0ca2d6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_EquipmentSuppliesAndServicesMember_5d505c42-d8d9-4b35-8181-1c733bca0399" xlink:href="mtz-20230331.xsd#mtz_EquipmentSuppliesAndServicesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionDomain_c96aa505-4474-48a9-a765-8529ba0ca2d6" xlink:to="loc_mtz_EquipmentSuppliesAndServicesMember_5d505c42-d8d9-4b35-8181-1c733bca0399" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquipmentMember_0b3c6424-1e67-44cc-9227-d636bab548c6" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_EquipmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionDomain_c96aa505-4474-48a9-a765-8529ba0ca2d6" xlink:to="loc_us-gaap_EquipmentMember_0b3c6424-1e67-44cc-9227-d636bab548c6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_SubcontractingArrangementsMember_30394d31-2b73-4418-9b2c-e6e6fa19c006" xlink:href="mtz-20230331.xsd#mtz_SubcontractingArrangementsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionDomain_c96aa505-4474-48a9-a765-8529ba0ca2d6" xlink:to="loc_mtz_SubcontractingArrangementsMember_30394d31-2b73-4418-9b2c-e6e6fa19c006" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_SubcontractingArrangementTwoMember_48e38676-4627-4ed5-9ab1-a5266b0692e2" xlink:href="mtz-20230331.xsd#mtz_SubcontractingArrangementTwoMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionDomain_c96aa505-4474-48a9-a765-8529ba0ca2d6" xlink:to="loc_mtz_SubcontractingArrangementTwoMember_48e38676-4627-4ed5-9ab1-a5266b0692e2" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LeaseAgreementsMember_8fe0582d-1936-449e-93da-649b0df98fa3" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LeaseAgreementsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionDomain_c96aa505-4474-48a9-a765-8529ba0ca2d6" xlink:to="loc_us-gaap_LeaseAgreementsMember_8fe0582d-1936-449e-93da-649b0df98fa3" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_ConstructionServicesMember_9d95cbb0-a2cb-44f2-a23c-63cbaf3366fd" xlink:href="mtz-20230331.xsd#mtz_ConstructionServicesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionDomain_c96aa505-4474-48a9-a765-8529ba0ca2d6" xlink:to="loc_mtz_ConstructionServicesMember_9d95cbb0-a2cb-44f2-a23c-63cbaf3366fd" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MajorCustomersAxis_e366eeb5-84ed-4340-867c-d00963aa8b10" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_MajorCustomersAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_0dd76312-b5c5-4e9d-a59f-063a46f38a21" xlink:to="loc_srt_MajorCustomersAxis_e366eeb5-84ed-4340-867c-d00963aa8b10" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_NameOfMajorCustomerDomain_e366eeb5-84ed-4340-867c-d00963aa8b10_default" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_NameOfMajorCustomerDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_MajorCustomersAxis_e366eeb5-84ed-4340-867c-d00963aa8b10" xlink:to="loc_srt_NameOfMajorCustomerDomain_e366eeb5-84ed-4340-867c-d00963aa8b10_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_NameOfMajorCustomerDomain_a1453283-33b5-40c1-a16d-90a6d4e065f3" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_NameOfMajorCustomerDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_MajorCustomersAxis_e366eeb5-84ed-4340-867c-d00963aa8b10" xlink:to="loc_srt_NameOfMajorCustomerDomain_a1453283-33b5-40c1-a16d-90a6d4e065f3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_RelatedCustomerMember_53098232-fc3b-403c-b386-b9671f3ff289" xlink:href="mtz-20230331.xsd#mtz_RelatedCustomerMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_NameOfMajorCustomerDomain_a1453283-33b5-40c1-a16d-90a6d4e065f3" xlink:to="loc_mtz_RelatedCustomerMember_53098232-fc3b-403c-b386-b9671f3ff289" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_FormerOwnerMember_756465ec-1594-4991-860f-49b503a6d341" xlink:href="mtz-20230331.xsd#mtz_FormerOwnerMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_NameOfMajorCustomerDomain_a1453283-33b5-40c1-a16d-90a6d4e065f3" xlink:to="loc_mtz_FormerOwnerMember_756465ec-1594-4991-860f-49b503a6d341" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_e5a339cd-51f6-4c1b-8370-232fb80c0d4f" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_0dd76312-b5c5-4e9d-a59f-063a46f38a21" xlink:to="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_e5a339cd-51f6-4c1b-8370-232fb80c0d4f" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_EquityMethodInvesteeNameDomain_e5a339cd-51f6-4c1b-8370-232fb80c0d4f_default" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_EquityMethodInvesteeNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_e5a339cd-51f6-4c1b-8370-232fb80c0d4f" xlink:to="loc_srt_EquityMethodInvesteeNameDomain_e5a339cd-51f6-4c1b-8370-232fb80c0d4f_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_EquityMethodInvesteeNameDomain_16d7b624-ae8d-4b6f-a248-e91d88a412dc" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_EquityMethodInvesteeNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_e5a339cd-51f6-4c1b-8370-232fb80c0d4f" xlink:to="loc_srt_EquityMethodInvesteeNameDomain_16d7b624-ae8d-4b6f-a248-e91d88a412dc" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_CrossCountryInfrastructureMember_6d0b09a1-5eb0-448f-ae12-2edc5f567e6b" xlink:href="mtz-20230331.xsd#mtz_CrossCountryInfrastructureMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_16d7b624-ae8d-4b6f-a248-e91d88a412dc" xlink:to="loc_mtz_CrossCountryInfrastructureMember_6d0b09a1-5eb0-448f-ae12-2edc5f567e6b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_ca5b5a3e-3dec-4eb1-95ac-3a81f736b4f4" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessAcquisitionAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_0dd76312-b5c5-4e9d-a59f-063a46f38a21" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_ca5b5a3e-3dec-4eb1-95ac-3a81f736b4f4" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_ca5b5a3e-3dec-4eb1-95ac-3a81f736b4f4_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessAcquisitionAcquireeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_ca5b5a3e-3dec-4eb1-95ac-3a81f736b4f4" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_ca5b5a3e-3dec-4eb1-95ac-3a81f736b4f4_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_3f5063f7-5485-413d-85ab-e528c53f95b3" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessAcquisitionAcquireeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_ca5b5a3e-3dec-4eb1-95ac-3a81f736b4f4" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_3f5063f7-5485-413d-85ab-e528c53f95b3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_A2023AcquisitionsMember_5cf3a7f6-12b2-4b7f-835f-638cbe01f3b0" xlink:href="mtz-20230331.xsd#mtz_A2023AcquisitionsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_3f5063f7-5485-413d-85ab-e528c53f95b3" xlink:to="loc_mtz_A2023AcquisitionsMember_5cf3a7f6-12b2-4b7f-835f-638cbe01f3b0" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_084d7162-3f33-4ac1-afb1-31e3f80e318d" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LongtermDebtTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_0dd76312-b5c5-4e9d-a59f-063a46f38a21" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_084d7162-3f33-4ac1-afb1-31e3f80e318d" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_084d7162-3f33-4ac1-afb1-31e3f80e318d_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_084d7162-3f33-4ac1-afb1-31e3f80e318d" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_084d7162-3f33-4ac1-afb1-31e3f80e318d_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_3b7cb927-5a5f-44ee-80da-e536d719a317" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_084d7162-3f33-4ac1-afb1-31e3f80e318d" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_3b7cb927-5a5f-44ee-80da-e536d719a317" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditMember_b49f7b1b-9389-4436-ac49-0f920ba4691f" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LineOfCreditMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_3b7cb927-5a5f-44ee-80da-e536d719a317" xlink:to="loc_us-gaap_LineOfCreditMember_b49f7b1b-9389-4436-ac49-0f920ba4691f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_6eaba77d-cf14-4f7c-b4b7-c5930adc833b" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StatementBusinessSegmentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_0dd76312-b5c5-4e9d-a59f-063a46f38a21" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_6eaba77d-cf14-4f7c-b4b7-c5930adc833b" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_6eaba77d-cf14-4f7c-b4b7-c5930adc833b_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_6eaba77d-cf14-4f7c-b4b7-c5930adc833b" xlink:to="loc_us-gaap_SegmentDomain_6eaba77d-cf14-4f7c-b4b7-c5930adc833b_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_70aad13a-5f8d-44e8-9919-d419389fabc9" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_6eaba77d-cf14-4f7c-b4b7-c5930adc833b" xlink:to="loc_us-gaap_SegmentDomain_70aad13a-5f8d-44e8-9919-d419389fabc9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mtz_OilAndGasSegmentMember_2f701b1b-ea6a-427e-b785-e4a8fcedf84d" xlink:href="mtz-20230331.xsd#mtz_OilAndGasSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_70aad13a-5f8d-44e8-9919-d419389fabc9" xlink:to="loc_mtz_OilAndGasSegmentMember_2f701b1b-ea6a-427e-b785-e4a8fcedf84d" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://fasb.org/us-gaap/role/eedm/ExtensibleEnumerationLists" xlink:type="simple" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-roles-2022.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_AssetsAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AssetsAbstract"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrentAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LiabilitiesCurrentAbstract"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtAndCapitalLeaseObligationsCurrent" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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="1"/>
  </link:definitionLink>
</link:linkbase>
