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

<!--XBRL Document Created with Wdesk from Workiva-->
<!--Copyright 2022 Workiva-->
<!--r:de1aa3d8-9129-4a5d-a2f6-bf3156eb9374,g:d295ee4a-067a-4d30-bdb9-2f87141c8a05-->
<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:arcroleRef arcroleURI="http://www.esma.europa.eu/xbrl/esef/arcrole/wider-narrower" xlink:type="simple" xlink:href="http://www.xbrl.org/lrr/arcrole/esma-arcrole-2018-11-21.xsd#wider-narrower"/>
  <link:roleRef roleURI="http://www.telefonica.com/role/Estadosdecambiosenelpatrimonionetoconsolidadodelosejerciciosanualesterminadosel31dediciembre" xlink:type="simple" xlink:href="549300EEJH4FEPDBBR25-2021-12-31.xsd#Estadosdecambiosenelpatrimonionetoconsolidadodelosejerciciosanualesterminadosel31dediciembre"/>
  <link:definitionLink xlink:role="http://www.telefonica.com/role/Estadosdecambiosenelpatrimonionetoconsolidadodelosejerciciosanualesterminadosel31dediciembre" xlink:type="extended" id="ia6ce01d532c94937aea46ee9e09ac2ac_Estadosdecambiosenelpatrimonionetoconsolidadodelosejerciciosanualesterminadosel31dediciembre">
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_StatementOfChangesInEquityLineItems_a38c2466-dc1b-490c-af35-8c39abef9aac" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_StatementOfChangesInEquityLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_Equity_e31854c2-c586-45d3-b547-9a87c9ef3172" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_Equity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_StatementOfChangesInEquityLineItems_a38c2466-dc1b-490c-af35-8c39abef9aac" xlink:to="loc_ifrs-full_Equity_e31854c2-c586-45d3-b547-9a87c9ef3172" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ProfitLoss_16f9bd95-4fcd-4c73-984a-8af9abaf3753" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_ProfitLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_StatementOfChangesInEquityLineItems_a38c2466-dc1b-490c-af35-8c39abef9aac" xlink:to="loc_ifrs-full_ProfitLoss_16f9bd95-4fcd-4c73-984a-8af9abaf3753" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_OtherComprehensiveIncome_5dec1fb4-f14d-4dbe-b479-b8af9e58f638" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_OtherComprehensiveIncome"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_StatementOfChangesInEquityLineItems_a38c2466-dc1b-490c-af35-8c39abef9aac" xlink:to="loc_ifrs-full_OtherComprehensiveIncome_5dec1fb4-f14d-4dbe-b479-b8af9e58f638" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ComprehensiveIncome_9a44f2ed-86eb-4990-8bb5-7f96d1892d57" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_ComprehensiveIncome"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_StatementOfChangesInEquityLineItems_a38c2466-dc1b-490c-af35-8c39abef9aac" xlink:to="loc_ifrs-full_ComprehensiveIncome_9a44f2ed-86eb-4990-8bb5-7f96d1892d57" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DividendsPaid_1fbbc002-fb65-46dd-b3df-e71a4ccee353" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_DividendsPaid"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_StatementOfChangesInEquityLineItems_a38c2466-dc1b-490c-af35-8c39abef9aac" xlink:to="loc_ifrs-full_DividendsPaid_1fbbc002-fb65-46dd-b3df-e71a4ccee353" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_IncreaseDecreaseThroughTreasuryShareTransactions_4afa969d-2808-4e8a-865e-bbeb22ee0f84" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_IncreaseDecreaseThroughTreasuryShareTransactions"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_StatementOfChangesInEquityLineItems_a38c2466-dc1b-490c-af35-8c39abef9aac" xlink:to="loc_ifrs-full_IncreaseDecreaseThroughTreasuryShareTransactions_4afa969d-2808-4e8a-865e-bbeb22ee0f84" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_IncreaseDecreaseThroughChangeInEquityOfSubsidiaries_1fa3397f-6ea0-48cb-bd65-b54e043177e7" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_IncreaseDecreaseThroughChangeInEquityOfSubsidiaries"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_StatementOfChangesInEquityLineItems_a38c2466-dc1b-490c-af35-8c39abef9aac" xlink:to="loc_ifrs-full_IncreaseDecreaseThroughChangeInEquityOfSubsidiaries_1fa3397f-6ea0-48cb-bd65-b54e043177e7" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ReductionOfIssuedCapital_a467bdaa-d563-428b-9c31-e21e963ff968" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_ReductionOfIssuedCapital"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_StatementOfChangesInEquityLineItems_a38c2466-dc1b-490c-af35-8c39abef9aac" xlink:to="loc_ifrs-full_ReductionOfIssuedCapital_a467bdaa-d563-428b-9c31-e21e963ff968" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_tef_AumentoDisminucionATravesDeValoresSubordinadosSinFecha_c9c71acf-6dc6-49ef-b0e5-e14c241510eb" xlink:href="549300EEJH4FEPDBBR25-2021-12-31.xsd#tef_AumentoDisminucionATravesDeValoresSubordinadosSinFecha"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_StatementOfChangesInEquityLineItems_a38c2466-dc1b-490c-af35-8c39abef9aac" xlink:to="loc_tef_AumentoDisminucionATravesDeValoresSubordinadosSinFecha_c9c71acf-6dc6-49ef-b0e5-e14c241510eb" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_IncreaseDecreaseThroughTransfersAndOtherChangesEquity_f8cba2cf-c50c-4083-ac59-67704d983701" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_IncreaseDecreaseThroughTransfersAndOtherChangesEquity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_StatementOfChangesInEquityLineItems_a38c2466-dc1b-490c-af35-8c39abef9aac" xlink:to="loc_ifrs-full_IncreaseDecreaseThroughTransfersAndOtherChangesEquity_f8cba2cf-c50c-4083-ac59-67704d983701" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_Equity_6acaa220-be96-425b-89b5-84ddb5b852b7" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_Equity"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_StatementOfChangesInEquityTable_0d3e3cbf-6c86-4700-9c7d-f8317185fbab" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_StatementOfChangesInEquityTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_ifrs-full_StatementOfChangesInEquityLineItems_a38c2466-dc1b-490c-af35-8c39abef9aac" xlink:to="loc_ifrs-full_StatementOfChangesInEquityTable_0d3e3cbf-6c86-4700-9c7d-f8317185fbab" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="scenario"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ComponentsOfEquityAxis_682301a1-fc93-4ec9-aba9-f9caf95c7be5" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_ComponentsOfEquityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ifrs-full_StatementOfChangesInEquityTable_0d3e3cbf-6c86-4700-9c7d-f8317185fbab" xlink:to="loc_ifrs-full_ComponentsOfEquityAxis_682301a1-fc93-4ec9-aba9-f9caf95c7be5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_EquityMember_c50f943e-fccf-473b-bdcc-621a271b9dcc" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_EquityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_ifrs-full_ComponentsOfEquityAxis_682301a1-fc93-4ec9-aba9-f9caf95c7be5" xlink:to="loc_ifrs-full_EquityMember_c50f943e-fccf-473b-bdcc-621a271b9dcc" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_EquityAttributableToOwnersOfParentMember_2c1992d0-c3d2-468b-b4ec-8a0136b2ccb7" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_EquityAttributableToOwnersOfParentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_EquityMember_c50f943e-fccf-473b-bdcc-621a271b9dcc" xlink:to="loc_ifrs-full_EquityAttributableToOwnersOfParentMember_2c1992d0-c3d2-468b-b4ec-8a0136b2ccb7" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_IssuedCapitalMember_a5ede941-8235-4c17-b1a6-eff6c7939d00" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_IssuedCapitalMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_EquityAttributableToOwnersOfParentMember_2c1992d0-c3d2-468b-b4ec-8a0136b2ccb7" xlink:to="loc_ifrs-full_IssuedCapitalMember_a5ede941-8235-4c17-b1a6-eff6c7939d00" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_SharePremiumMember_b8bb6ccd-66c0-45a7-929d-8cbe6af06a46" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_SharePremiumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_EquityAttributableToOwnersOfParentMember_2c1992d0-c3d2-468b-b4ec-8a0136b2ccb7" xlink:to="loc_ifrs-full_SharePremiumMember_b8bb6ccd-66c0-45a7-929d-8cbe6af06a46" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_TreasurySharesMember_0baf5879-3976-4910-8cba-317eeb39fe0c" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_TreasurySharesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_EquityAttributableToOwnersOfParentMember_2c1992d0-c3d2-468b-b4ec-8a0136b2ccb7" xlink:to="loc_ifrs-full_TreasurySharesMember_0baf5879-3976-4910-8cba-317eeb39fe0c" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_OtherEquityInterestMember_cee8cc91-2de9-4b6c-83be-2266237e178a" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_OtherEquityInterestMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_EquityAttributableToOwnersOfParentMember_2c1992d0-c3d2-468b-b4ec-8a0136b2ccb7" xlink:to="loc_ifrs-full_OtherEquityInterestMember_cee8cc91-2de9-4b6c-83be-2266237e178a" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_StatutoryReserveMember_bb7cb16e-cc34-49d6-b935-6708f8846f33" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_StatutoryReserveMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_EquityAttributableToOwnersOfParentMember_2c1992d0-c3d2-468b-b4ec-8a0136b2ccb7" xlink:to="loc_ifrs-full_StatutoryReserveMember_bb7cb16e-cc34-49d6-b935-6708f8846f33" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_RetainedEarningsMember_d06cca52-4027-446e-a43f-0ebc3504073e" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_RetainedEarningsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_EquityAttributableToOwnersOfParentMember_2c1992d0-c3d2-468b-b4ec-8a0136b2ccb7" xlink:to="loc_ifrs-full_RetainedEarningsMember_d06cca52-4027-446e-a43f-0ebc3504073e" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ReserveOfGainsAndLossesOnRemeasuringAvailableforsaleFinancialAssetsMember_72a29981-f45f-429a-b936-94133a10612f" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_ReserveOfGainsAndLossesOnRemeasuringAvailableforsaleFinancialAssetsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_EquityAttributableToOwnersOfParentMember_2c1992d0-c3d2-468b-b4ec-8a0136b2ccb7" xlink:to="loc_ifrs-full_ReserveOfGainsAndLossesOnRemeasuringAvailableforsaleFinancialAssetsMember_72a29981-f45f-429a-b936-94133a10612f" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ReserveOfCashFlowHedgesMember_db884e33-1a57-41a6-aa28-70d45e761547" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_ReserveOfCashFlowHedgesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_EquityAttributableToOwnersOfParentMember_2c1992d0-c3d2-468b-b4ec-8a0136b2ccb7" xlink:to="loc_ifrs-full_ReserveOfCashFlowHedgesMember_db884e33-1a57-41a6-aa28-70d45e761547" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ReserveOfGainsAndLossesFromInvestmentsInEquityInstrumentsMember_0bc531dc-4190-403a-9aac-47af5eb669b5" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_ReserveOfGainsAndLossesFromInvestmentsInEquityInstrumentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_EquityAttributableToOwnersOfParentMember_2c1992d0-c3d2-468b-b4ec-8a0136b2ccb7" xlink:to="loc_ifrs-full_ReserveOfGainsAndLossesFromInvestmentsInEquityInstrumentsMember_0bc531dc-4190-403a-9aac-47af5eb669b5" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ReserveOfExchangeDifferencesOnTranslationMember_83a772d9-598d-4a34-85cf-29cd70ac55fe" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_ReserveOfExchangeDifferencesOnTranslationMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_EquityAttributableToOwnersOfParentMember_2c1992d0-c3d2-468b-b4ec-8a0136b2ccb7" xlink:to="loc_ifrs-full_ReserveOfExchangeDifferencesOnTranslationMember_83a772d9-598d-4a34-85cf-29cd70ac55fe" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_NoncontrollingInterestsMember_6f9cbce6-ede8-4a2e-afb8-4e7479b8e1d5" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_NoncontrollingInterestsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_EquityMember_c50f943e-fccf-473b-bdcc-621a271b9dcc" xlink:to="loc_ifrs-full_NoncontrollingInterestsMember_6f9cbce6-ede8-4a2e-afb8-4e7479b8e1d5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_RetrospectiveApplicationAndRetrospectiveRestatementAxis_a8e80d9f-75fe-4d59-a548-7661d3c62c2e" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_RetrospectiveApplicationAndRetrospectiveRestatementAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ifrs-full_StatementOfChangesInEquityTable_0d3e3cbf-6c86-4700-9c7d-f8317185fbab" xlink:to="loc_ifrs-full_RetrospectiveApplicationAndRetrospectiveRestatementAxis_a8e80d9f-75fe-4d59-a548-7661d3c62c2e" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_RestatedMember_fdea6581-690b-4b7d-919e-9aad7f96ca2c" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_RestatedMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_ifrs-full_RetrospectiveApplicationAndRetrospectiveRestatementAxis_a8e80d9f-75fe-4d59-a548-7661d3c62c2e" xlink:to="loc_ifrs-full_RestatedMember_fdea6581-690b-4b7d-919e-9aad7f96ca2c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_PreviouslyStatedMember_02822e4e-9467-4998-9c73-0245128f9cc9" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_PreviouslyStatedMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_RestatedMember_fdea6581-690b-4b7d-919e-9aad7f96ca2c" xlink:to="loc_ifrs-full_PreviouslyStatedMember_02822e4e-9467-4998-9c73-0245128f9cc9" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_FinancialEffectOfChangesInAccountingPolicyMember_159bd98e-e81e-4adf-b04e-a5e4008a2c2d" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_FinancialEffectOfChangesInAccountingPolicyMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_RestatedMember_fdea6581-690b-4b7d-919e-9aad7f96ca2c" xlink:to="loc_ifrs-full_FinancialEffectOfChangesInAccountingPolicyMember_159bd98e-e81e-4adf-b04e-a5e4008a2c2d" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.esma.europa.eu/xbrl/role/cor/esef_role-999999" xlink:type="simple" xlink:href="http://www.esma.europa.eu/taxonomy/2020-03-16/esef_cor.xsd#esef_role-999999"/>
  <link:definitionLink xlink:role="http://www.esma.europa.eu/xbrl/role/cor/esef_role-999999" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:href="http://www.esma.europa.eu/taxonomy/2020-03-16/esef_cor.xsd#esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_NameOfReportingEntityOrOtherMeansOfIdentification_41cf35c0-c804-4003-a007-e5bbaea04ef1NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_NameOfReportingEntityOrOtherMeansOfIdentification"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_NameOfReportingEntityOrOtherMeansOfIdentification_41cf35c0-c804-4003-a007-e5bbaea04ef1NotDimensionallyQualified" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DomicileOfEntity_c0826fdd-80e9-4d8d-a63e-2d257f2ce33eNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_DomicileOfEntity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_DomicileOfEntity_c0826fdd-80e9-4d8d-a63e-2d257f2ce33eNotDimensionallyQualified" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_LegalFormOfEntity_d74b1fac-cccc-4feb-8e50-f3226f83cf7eNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_LegalFormOfEntity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_LegalFormOfEntity_d74b1fac-cccc-4feb-8e50-f3226f83cf7eNotDimensionallyQualified" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_CountryOfIncorporation_00476b54-4ee5-4e6a-8cc7-eff8db0bbb04NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_CountryOfIncorporation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_CountryOfIncorporation_00476b54-4ee5-4e6a-8cc7-eff8db0bbb04NotDimensionallyQualified" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_AddressOfRegisteredOfficeOfEntity_fc40bd73-0d58-470f-a098-baf99f22dd56NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_AddressOfRegisteredOfficeOfEntity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_AddressOfRegisteredOfficeOfEntity_fc40bd73-0d58-470f-a098-baf99f22dd56NotDimensionallyQualified" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_PrincipalPlaceOfBusiness_1655cf5d-fd82-4739-9e90-91987abb358bNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_PrincipalPlaceOfBusiness"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_PrincipalPlaceOfBusiness_1655cf5d-fd82-4739-9e90-91987abb358bNotDimensionallyQualified" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DescriptionOfNatureOfEntitysOperationsAndPrincipalActivities_b53ae3c8-5c8a-42cc-8696-5dcc378caf4eNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_DescriptionOfNatureOfEntitysOperationsAndPrincipalActivities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_DescriptionOfNatureOfEntitysOperationsAndPrincipalActivities_b53ae3c8-5c8a-42cc-8696-5dcc378caf4eNotDimensionallyQualified" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_NameOfParentEntity_2172b366-9084-413a-977b-4259c2812d60NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_NameOfParentEntity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_NameOfParentEntity_2172b366-9084-413a-977b-4259c2812d60NotDimensionallyQualified" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_NameOfUltimateParentOfGroup_ffc1cef7-8a0c-4388-b74e-633cc45f8f15NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_NameOfUltimateParentOfGroup"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_NameOfUltimateParentOfGroup_ffc1cef7-8a0c-4388-b74e-633cc45f8f15NotDimensionallyQualified" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_NoncurrentAssets_a5b4a691-adf1-42d3-b2a8-fe8bd04001d8NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_NoncurrentAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_NoncurrentAssets_a5b4a691-adf1-42d3-b2a8-fe8bd04001d8NotDimensionallyQualified" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_IntangibleAssetsOtherThanGoodwill_945d8eca-7560-4e12-b060-4090cf5c95f5NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_IntangibleAssetsOtherThanGoodwill"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_IntangibleAssetsOtherThanGoodwill_945d8eca-7560-4e12-b060-4090cf5c95f5NotDimensionallyQualified" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_Goodwill_21ad7930-2053-4037-ae14-1dc3431d32ceNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_Goodwill"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_Goodwill_21ad7930-2053-4037-ae14-1dc3431d32ceNotDimensionallyQualified" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_PropertyPlantAndEquipment_71e6915a-be6b-4b43-9b25-533541904ed3NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_PropertyPlantAndEquipment"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_PropertyPlantAndEquipment_71e6915a-be6b-4b43-9b25-533541904ed3NotDimensionallyQualified" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_RightofuseAssets_bdec991a-f950-44c3-93c2-799cf974897fNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_RightofuseAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_RightofuseAssets_bdec991a-f950-44c3-93c2-799cf974897fNotDimensionallyQualified" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_InvestmentAccountedForUsingEquityMethod_c81b6606-3c29-4ca9-af76-a27fa2f8874eNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_InvestmentAccountedForUsingEquityMethod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_InvestmentAccountedForUsingEquityMethod_c81b6606-3c29-4ca9-af76-a27fa2f8874eNotDimensionallyQualified" xlink:type="arc" order="14"/>
    <link:loc xlink:type="locator" xlink:label="loc_tef_ActivosFinancierosYOtrosActivosNoCorrientes_2347fcb5-11e7-410a-81e7-f1cb2ad91448NotDimensionallyQualified" xlink:href="549300EEJH4FEPDBBR25-2021-12-31.xsd#tef_ActivosFinancierosYOtrosActivosNoCorrientes"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_tef_ActivosFinancierosYOtrosActivosNoCorrientes_2347fcb5-11e7-410a-81e7-f1cb2ad91448NotDimensionallyQualified" xlink:type="arc" order="15"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DeferredTaxAssets_1700fd5d-7669-412c-91e4-07a79edbd62eNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_DeferredTaxAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_DeferredTaxAssets_1700fd5d-7669-412c-91e4-07a79edbd62eNotDimensionallyQualified" xlink:type="arc" order="16"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_CurrentAssets_38b17162-3592-4f40-b526-96c4271fa42cNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_CurrentAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_CurrentAssets_38b17162-3592-4f40-b526-96c4271fa42cNotDimensionallyQualified" xlink:type="arc" order="17"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_Inventories_5d05ef9c-e8e9-466e-b227-066ac3cbcf35NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_Inventories"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_Inventories_5d05ef9c-e8e9-466e-b227-066ac3cbcf35NotDimensionallyQualified" xlink:type="arc" order="18"/>
    <link:loc xlink:type="locator" xlink:label="loc_tef_CuentasPorCobrarYOtrosActivosCorrientes_ea661f5f-bb72-4bdf-a927-25d7fa12399eNotDimensionallyQualified" xlink:href="549300EEJH4FEPDBBR25-2021-12-31.xsd#tef_CuentasPorCobrarYOtrosActivosCorrientes"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_tef_CuentasPorCobrarYOtrosActivosCorrientes_ea661f5f-bb72-4bdf-a927-25d7fa12399eNotDimensionallyQualified" xlink:type="arc" order="19"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_CurrentTaxAssetsCurrent_4e4dfae9-02fb-4b64-a12c-31d6ac47dc52NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_CurrentTaxAssetsCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_CurrentTaxAssetsCurrent_4e4dfae9-02fb-4b64-a12c-31d6ac47dc52NotDimensionallyQualified" xlink:type="arc" order="20"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_CurrentFinancialAssets_55820118-64ed-439c-9785-e4ca3b84d2beNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_CurrentFinancialAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_CurrentFinancialAssets_55820118-64ed-439c-9785-e4ca3b84d2beNotDimensionallyQualified" xlink:type="arc" order="21"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_CashAndCashEquivalents_50aacab3-8c00-419e-8bef-8c7f9f084d8cNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_CashAndCashEquivalents"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_CashAndCashEquivalents_50aacab3-8c00-419e-8bef-8c7f9f084d8cNotDimensionallyQualified" xlink:type="arc" order="22"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_NoncurrentAssetsOrDisposalGroupsClassifiedAsHeldForSaleOrAsHeldForDistributionToOwners_9fc76046-1e0b-446e-b1f3-e954712a54fcNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_NoncurrentAssetsOrDisposalGroupsClassifiedAsHeldForSaleOrAsHeldForDistributionToOwners"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_NoncurrentAssetsOrDisposalGroupsClassifiedAsHeldForSaleOrAsHeldForDistributionToOwners_9fc76046-1e0b-446e-b1f3-e954712a54fcNotDimensionallyQualified" xlink:type="arc" order="23"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_Assets_2a4d5afe-45a5-4a6d-a1f0-df99efdbfb51NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_Assets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_Assets_2a4d5afe-45a5-4a6d-a1f0-df99efdbfb51NotDimensionallyQualified" xlink:type="arc" order="24"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_Equity_46e9884e-59f3-483e-a4df-f5446fa526caNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_Equity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_Equity_46e9884e-59f3-483e-a4df-f5446fa526caNotDimensionallyQualified" xlink:type="arc" order="25"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_EquityAttributableToOwnersOfParent_890b9532-4c4b-48fc-8310-b938d8114892NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_EquityAttributableToOwnersOfParent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_EquityAttributableToOwnersOfParent_890b9532-4c4b-48fc-8310-b938d8114892NotDimensionallyQualified" xlink:type="arc" order="26"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_NoncontrollingInterests_dd91f8a7-8122-4eb2-a7a6-ed8ebf3372ffNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_NoncontrollingInterests"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_NoncontrollingInterests_dd91f8a7-8122-4eb2-a7a6-ed8ebf3372ffNotDimensionallyQualified" xlink:type="arc" order="27"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_NoncurrentLiabilities_208bccae-6902-4b20-8621-6f83547f6682NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_NoncurrentLiabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_NoncurrentLiabilities_208bccae-6902-4b20-8621-6f83547f6682NotDimensionallyQualified" xlink:type="arc" order="28"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_NoncurrentFinancialLiabilities_d7b85d27-5966-4ef3-97a1-64f1ebc6cecdNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_NoncurrentFinancialLiabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_NoncurrentFinancialLiabilities_d7b85d27-5966-4ef3-97a1-64f1ebc6cecdNotDimensionallyQualified" xlink:type="arc" order="29"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_NoncurrentLeaseLiabilities_961cd543-a218-46b0-85b5-0351dddf4fbdNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_NoncurrentLeaseLiabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_NoncurrentLeaseLiabilities_961cd543-a218-46b0-85b5-0351dddf4fbdNotDimensionallyQualified" xlink:type="arc" order="30"/>
    <link:loc xlink:type="locator" xlink:label="loc_tef_CuentasAPagarYOtrosPasivosNoCorrientes_7bc59208-cb8e-4b89-9085-3049d6535f77NotDimensionallyQualified" xlink:href="549300EEJH4FEPDBBR25-2021-12-31.xsd#tef_CuentasAPagarYOtrosPasivosNoCorrientes"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_tef_CuentasAPagarYOtrosPasivosNoCorrientes_7bc59208-cb8e-4b89-9085-3049d6535f77NotDimensionallyQualified" xlink:type="arc" order="31"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DeferredTaxLiabilities_e2d02c2e-206e-474a-8a60-1b5ce3933714NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_DeferredTaxLiabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_DeferredTaxLiabilities_e2d02c2e-206e-474a-8a60-1b5ce3933714NotDimensionallyQualified" xlink:type="arc" order="32"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_NoncurrentProvisions_1b605689-0ae7-4db3-8419-e67d23ec2d42NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_NoncurrentProvisions"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_NoncurrentProvisions_1b605689-0ae7-4db3-8419-e67d23ec2d42NotDimensionallyQualified" xlink:type="arc" order="33"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_CurrentLiabilities_a318ff38-e052-42e4-96ef-ac16077ccbf5NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_CurrentLiabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_CurrentLiabilities_a318ff38-e052-42e4-96ef-ac16077ccbf5NotDimensionallyQualified" xlink:type="arc" order="34"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_CurrentFinancialLiabilities_9adf54a3-48ee-436b-b8bd-4530de3bf782NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_CurrentFinancialLiabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_CurrentFinancialLiabilities_9adf54a3-48ee-436b-b8bd-4530de3bf782NotDimensionallyQualified" xlink:type="arc" order="35"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_CurrentLeaseLiabilities_5c14b3fd-8c82-434f-8c6f-04d7ec3ebd2cNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_CurrentLeaseLiabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_CurrentLeaseLiabilities_5c14b3fd-8c82-434f-8c6f-04d7ec3ebd2cNotDimensionallyQualified" xlink:type="arc" order="36"/>
    <link:loc xlink:type="locator" xlink:label="loc_tef_CuentasAPagarYOtrosPasivosCorrientes_f9be348e-9b98-4640-956d-8e502e756dc7NotDimensionallyQualified" xlink:href="549300EEJH4FEPDBBR25-2021-12-31.xsd#tef_CuentasAPagarYOtrosPasivosCorrientes"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_tef_CuentasAPagarYOtrosPasivosCorrientes_f9be348e-9b98-4640-956d-8e502e756dc7NotDimensionallyQualified" xlink:type="arc" order="37"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_CurrentTaxLiabilitiesCurrent_f7900ef6-2fea-4a43-b0e1-359a907a146aNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_CurrentTaxLiabilitiesCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_CurrentTaxLiabilitiesCurrent_f7900ef6-2fea-4a43-b0e1-359a907a146aNotDimensionallyQualified" xlink:type="arc" order="38"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_CurrentProvisions_d019d79e-9430-46f5-88e2-e09d3416a7c8NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_CurrentProvisions"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_CurrentProvisions_d019d79e-9430-46f5-88e2-e09d3416a7c8NotDimensionallyQualified" xlink:type="arc" order="39"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_LiabilitiesIncludedInDisposalGroupsClassifiedAsHeldForSale_2de80eb2-6527-4f03-8fbf-f7530cdb2490NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_LiabilitiesIncludedInDisposalGroupsClassifiedAsHeldForSale"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_LiabilitiesIncludedInDisposalGroupsClassifiedAsHeldForSale_2de80eb2-6527-4f03-8fbf-f7530cdb2490NotDimensionallyQualified" xlink:type="arc" order="40"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_EquityAndLiabilities_e1c23aec-f3fa-4436-b007-2f6d75e44c93NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_EquityAndLiabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_EquityAndLiabilities_e1c23aec-f3fa-4436-b007-2f6d75e44c93NotDimensionallyQualified" xlink:type="arc" order="41"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_Revenue_dbae1678-fc02-465d-8667-0844e8d36215NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_Revenue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_Revenue_dbae1678-fc02-465d-8667-0844e8d36215NotDimensionallyQualified" xlink:type="arc" order="42"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_OtherIncome_6d2d2168-a51d-48b9-b125-a276cc966427NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_OtherIncome"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_OtherIncome_6d2d2168-a51d-48b9-b125-a276cc966427NotDimensionallyQualified" xlink:type="arc" order="43"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_RawMaterialsAndConsumablesUsed_09136d75-37e5-4296-8140-2f61866fe378NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_RawMaterialsAndConsumablesUsed"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_RawMaterialsAndConsumablesUsed_09136d75-37e5-4296-8140-2f61866fe378NotDimensionallyQualified" xlink:type="arc" order="44"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_EmployeeBenefitsExpense_db213cda-6092-4e2d-903c-18e4bb3897a6NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_EmployeeBenefitsExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_EmployeeBenefitsExpense_db213cda-6092-4e2d-903c-18e4bb3897a6NotDimensionallyQualified" xlink:type="arc" order="45"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_OtherExpenseByNature_d7f0d257-56ab-461a-b275-37ecca0d61c5NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_OtherExpenseByNature"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_OtherExpenseByNature_d7f0d257-56ab-461a-b275-37ecca0d61c5NotDimensionallyQualified" xlink:type="arc" order="46"/>
    <link:loc xlink:type="locator" xlink:label="loc_tef_GananciaPerdidaDeActividadesOperativasAntesDeDepreciacionYAmortizacion_97c6e06c-4bfa-4d16-8996-a58072f4cc1aNotDimensionallyQualified" xlink:href="549300EEJH4FEPDBBR25-2021-12-31.xsd#tef_GananciaPerdidaDeActividadesOperativasAntesDeDepreciacionYAmortizacion"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_tef_GananciaPerdidaDeActividadesOperativasAntesDeDepreciacionYAmortizacion_97c6e06c-4bfa-4d16-8996-a58072f4cc1aNotDimensionallyQualified" xlink:type="arc" order="47"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DepreciationAndAmortisationExpense_db417bae-5061-449b-960b-782ee28c5586NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_DepreciationAndAmortisationExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_DepreciationAndAmortisationExpense_db417bae-5061-449b-960b-782ee28c5586NotDimensionallyQualified" xlink:type="arc" order="48"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ProfitLossFromOperatingActivities_9beabbc9-d30b-453d-9435-af8ef7ec9b47NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_ProfitLossFromOperatingActivities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_ProfitLossFromOperatingActivities_9beabbc9-d30b-453d-9435-af8ef7ec9b47NotDimensionallyQualified" xlink:type="arc" order="49"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ShareOfProfitLossOfAssociatesAndJointVenturesAccountedForUsingEquityMethod_40e29a0b-9b6d-4460-8e95-03d452573713NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_ShareOfProfitLossOfAssociatesAndJointVenturesAccountedForUsingEquityMethod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_ShareOfProfitLossOfAssociatesAndJointVenturesAccountedForUsingEquityMethod_40e29a0b-9b6d-4460-8e95-03d452573713NotDimensionallyQualified" xlink:type="arc" order="50"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_FinanceIncome_95c3b103-01d6-4281-bfdf-be7a15e99eeeNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_FinanceIncome"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_FinanceIncome_95c3b103-01d6-4281-bfdf-be7a15e99eeeNotDimensionallyQualified" xlink:type="arc" order="51"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_NetForeignExchangeGain_47364b38-5d45-4527-89bf-a76b58d1ad31NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_NetForeignExchangeGain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_NetForeignExchangeGain_47364b38-5d45-4527-89bf-a76b58d1ad31NotDimensionallyQualified" xlink:type="arc" order="52"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_FinanceCosts_6dc1078a-000a-4cd9-8917-9d9a943f7a5bNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_FinanceCosts"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_FinanceCosts_6dc1078a-000a-4cd9-8917-9d9a943f7a5bNotDimensionallyQualified" xlink:type="arc" order="53"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_NetForeignExchangeLoss_cc962aad-4023-41e2-8ef9-00d4bfd51eaaNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_NetForeignExchangeLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_NetForeignExchangeLoss_cc962aad-4023-41e2-8ef9-00d4bfd51eaaNotDimensionallyQualified" xlink:type="arc" order="54"/>
    <link:loc xlink:type="locator" xlink:label="loc_tef_GastoFinancieroNeto_0baee5b1-69a5-4aa5-ae68-b604325517b1NotDimensionallyQualified" xlink:href="549300EEJH4FEPDBBR25-2021-12-31.xsd#tef_GastoFinancieroNeto"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_tef_GastoFinancieroNeto_0baee5b1-69a5-4aa5-ae68-b604325517b1NotDimensionallyQualified" xlink:type="arc" order="55"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ProfitLossBeforeTax_e538eb46-7c2f-4290-b092-3297bd5c720fNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_ProfitLossBeforeTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_ProfitLossBeforeTax_e538eb46-7c2f-4290-b092-3297bd5c720fNotDimensionallyQualified" xlink:type="arc" order="56"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_IncomeTaxExpenseContinuingOperations_38cb5f47-79c2-4eef-a6b3-66c06ecafd7eNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_IncomeTaxExpenseContinuingOperations"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_IncomeTaxExpenseContinuingOperations_38cb5f47-79c2-4eef-a6b3-66c06ecafd7eNotDimensionallyQualified" xlink:type="arc" order="57"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ProfitLoss_5e5b18ea-a2f9-4276-b556-8968992bd5aaNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_ProfitLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_ProfitLoss_5e5b18ea-a2f9-4276-b556-8968992bd5aaNotDimensionallyQualified" xlink:type="arc" order="58"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ProfitLossAttributableToOwnersOfParent_20747144-238e-489d-80eb-c10b7faecbe5NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_ProfitLossAttributableToOwnersOfParent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_ProfitLossAttributableToOwnersOfParent_20747144-238e-489d-80eb-c10b7faecbe5NotDimensionallyQualified" xlink:type="arc" order="59"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ProfitLossAttributableToNoncontrollingInterests_e9aeba28-488d-4bcf-8341-5a3c2e8712ebNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_ProfitLossAttributableToNoncontrollingInterests"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_ProfitLossAttributableToNoncontrollingInterests_e9aeba28-488d-4bcf-8341-5a3c2e8712ebNotDimensionallyQualified" xlink:type="arc" order="60"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_BasicEarningsLossPerShare_82acbebf-767e-4145-a9d7-e25d23e4b096NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_BasicEarningsLossPerShare"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_BasicEarningsLossPerShare_82acbebf-767e-4145-a9d7-e25d23e4b096NotDimensionallyQualified" xlink:type="arc" order="61"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DilutedEarningsLossPerShare_ee7a944a-b719-4cf5-a36b-6e9839074a60NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_DilutedEarningsLossPerShare"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_DilutedEarningsLossPerShare_ee7a944a-b719-4cf5-a36b-6e9839074a60NotDimensionallyQualified" xlink:type="arc" order="62"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_OtherComprehensiveIncome_107a02c1-9c91-4cb7-9023-960f7d65eb73NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_OtherComprehensiveIncome"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_OtherComprehensiveIncome_107a02c1-9c91-4cb7-9023-960f7d65eb73NotDimensionallyQualified" xlink:type="arc" order="63"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_GainsLossesOnRemeasuringAvailableforsaleFinancialAssetsBeforeTax_35baedf0-642e-451d-bf54-d58e867fbed2NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_GainsLossesOnRemeasuringAvailableforsaleFinancialAssetsBeforeTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_GainsLossesOnRemeasuringAvailableforsaleFinancialAssetsBeforeTax_35baedf0-642e-451d-bf54-d58e867fbed2NotDimensionallyQualified" xlink:type="arc" order="64"/>
    <link:loc xlink:type="locator" xlink:label="loc_tef_EfectoImpositivoSobreLasGananciasPerdidasRelativoAActivosFinancierosMantenidosParaLaVentaAntesDeImpuestos_0e2c3886-0514-453a-b75b-f5fdc71802dfNotDimensionallyQualified" xlink:href="549300EEJH4FEPDBBR25-2021-12-31.xsd#tef_EfectoImpositivoSobreLasGananciasPerdidasRelativoAActivosFinancierosMantenidosParaLaVentaAntesDeImpuestos"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_tef_EfectoImpositivoSobreLasGananciasPerdidasRelativoAActivosFinancierosMantenidosParaLaVentaAntesDeImpuestos_0e2c3886-0514-453a-b75b-f5fdc71802dfNotDimensionallyQualified" xlink:type="arc" order="65"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ReclassificationAdjustmentsOnAvailableforsaleFinancialAssetsBeforeTax_8259bb3e-7b03-4279-bc8d-fcd6d7d1302cNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_ReclassificationAdjustmentsOnAvailableforsaleFinancialAssetsBeforeTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_ReclassificationAdjustmentsOnAvailableforsaleFinancialAssetsBeforeTax_8259bb3e-7b03-4279-bc8d-fcd6d7d1302cNotDimensionallyQualified" xlink:type="arc" order="66"/>
    <link:loc xlink:type="locator" xlink:label="loc_tef_EfectoImpositivoPorLaReclasificacionRelativosAActivosFinancierosMantenidosParaLaVentaAntesDeImpuestos_3ecba9ef-fed9-40d0-b594-695178cc3781NotDimensionallyQualified" xlink:href="549300EEJH4FEPDBBR25-2021-12-31.xsd#tef_EfectoImpositivoPorLaReclasificacionRelativosAActivosFinancierosMantenidosParaLaVentaAntesDeImpuestos"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_tef_EfectoImpositivoPorLaReclasificacionRelativosAActivosFinancierosMantenidosParaLaVentaAntesDeImpuestos_3ecba9ef-fed9-40d0-b594-695178cc3781NotDimensionallyQualified" xlink:type="arc" order="67"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_OtherComprehensiveIncomeNetOfTaxAvailableforsaleFinancialAssets_510d26a8-7f3b-40eb-a5f1-8baee739175dNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_OtherComprehensiveIncomeNetOfTaxAvailableforsaleFinancialAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_OtherComprehensiveIncomeNetOfTaxAvailableforsaleFinancialAssets_510d26a8-7f3b-40eb-a5f1-8baee739175dNotDimensionallyQualified" xlink:type="arc" order="68"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_GainsLossesOnCashFlowHedgesBeforeTax_3ce995a6-5702-4a10-900f-64e614d0c214NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_GainsLossesOnCashFlowHedgesBeforeTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_GainsLossesOnCashFlowHedgesBeforeTax_3ce995a6-5702-4a10-900f-64e614d0c214NotDimensionallyQualified" xlink:type="arc" order="69"/>
    <link:loc xlink:type="locator" xlink:label="loc_tef_EfectoImpositivoSobreLasGananciasPerdidasProcedentesDeCobertura_f240ae5a-bf4f-4e06-b376-7e8d231303daNotDimensionallyQualified" xlink:href="549300EEJH4FEPDBBR25-2021-12-31.xsd#tef_EfectoImpositivoSobreLasGananciasPerdidasProcedentesDeCobertura"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_tef_EfectoImpositivoSobreLasGananciasPerdidasProcedentesDeCobertura_f240ae5a-bf4f-4e06-b376-7e8d231303daNotDimensionallyQualified" xlink:type="arc" order="70"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ReclassificationAdjustmentsOnCashFlowHedgesBeforeTax_53920514-c100-482b-84e8-a705b140c88bNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_ReclassificationAdjustmentsOnCashFlowHedgesBeforeTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_ReclassificationAdjustmentsOnCashFlowHedgesBeforeTax_53920514-c100-482b-84e8-a705b140c88bNotDimensionallyQualified" xlink:type="arc" order="71"/>
    <link:loc xlink:type="locator" xlink:label="loc_tef_ImpuestoSobreLaRentaRelacionadoConLaReclasificacionDeGananciasPerdidasEnLaCoberturaDeFlujoDeEfectivo_f62f80da-73a1-4ecf-a830-0fc96568e368NotDimensionallyQualified" xlink:href="549300EEJH4FEPDBBR25-2021-12-31.xsd#tef_ImpuestoSobreLaRentaRelacionadoConLaReclasificacionDeGananciasPerdidasEnLaCoberturaDeFlujoDeEfectivo"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_tef_ImpuestoSobreLaRentaRelacionadoConLaReclasificacionDeGananciasPerdidasEnLaCoberturaDeFlujoDeEfectivo_f62f80da-73a1-4ecf-a830-0fc96568e368NotDimensionallyQualified" xlink:type="arc" order="72"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_OtherComprehensiveIncomeNetOfTaxCashFlowHedges_79726039-c12a-4fb7-851b-1254feb1d5e0NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_OtherComprehensiveIncomeNetOfTaxCashFlowHedges"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_OtherComprehensiveIncomeNetOfTaxCashFlowHedges_79726039-c12a-4fb7-851b-1254feb1d5e0NotDimensionallyQualified" xlink:type="arc" order="73"/>
    <link:loc xlink:type="locator" xlink:label="loc_tef_GananciasPerdidasPorCostosDeCoberturaDeFlujosDeEfectivoAntesDeImpuestos_4b8b561d-9823-4a83-9b02-9996381af468NotDimensionallyQualified" xlink:href="549300EEJH4FEPDBBR25-2021-12-31.xsd#tef_GananciasPerdidasPorCostosDeCoberturaDeFlujosDeEfectivoAntesDeImpuestos"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_tef_GananciasPerdidasPorCostosDeCoberturaDeFlujosDeEfectivoAntesDeImpuestos_4b8b561d-9823-4a83-9b02-9996381af468NotDimensionallyQualified" xlink:type="arc" order="74"/>
    <link:loc xlink:type="locator" xlink:label="loc_tef_ImpuestoALasGananciasRelacionadoConLosCostosDeCoberturaDeFlujosDeEfectivoIncluidosEnOtroResultadoIntegral_a8096ef9-9991-4d4d-b216-6da7ab8431d5NotDimensionallyQualified" xlink:href="549300EEJH4FEPDBBR25-2021-12-31.xsd#tef_ImpuestoALasGananciasRelacionadoConLosCostosDeCoberturaDeFlujosDeEfectivoIncluidosEnOtroResultadoIntegral"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_tef_ImpuestoALasGananciasRelacionadoConLosCostosDeCoberturaDeFlujosDeEfectivoIncluidosEnOtroResultadoIntegral_a8096ef9-9991-4d4d-b216-6da7ab8431d5NotDimensionallyQualified" xlink:type="arc" order="75"/>
    <link:loc xlink:type="locator" xlink:label="loc_tef_AjustesPorReclasificacionDeLosCostosDeCoberturaDeFlujosDeEfectivoAntesDeImpuestos_a7de0925-c078-4dc3-8fa2-ece7b8d4f9e5NotDimensionallyQualified" xlink:href="549300EEJH4FEPDBBR25-2021-12-31.xsd#tef_AjustesPorReclasificacionDeLosCostosDeCoberturaDeFlujosDeEfectivoAntesDeImpuestos"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_tef_AjustesPorReclasificacionDeLosCostosDeCoberturaDeFlujosDeEfectivoAntesDeImpuestos_a7de0925-c078-4dc3-8fa2-ece7b8d4f9e5NotDimensionallyQualified" xlink:type="arc" order="76"/>
    <link:loc xlink:type="locator" xlink:label="loc_tef_ImpuestoSobreLaRentaRelacionadoConLaReclasificacionDeGananciasPerdidasSobreCostosDeCoberturaDeFlujosDeEfectivo_04144d81-71e1-47a7-82d7-8d7e4b6d81d1NotDimensionallyQualified" xlink:href="549300EEJH4FEPDBBR25-2021-12-31.xsd#tef_ImpuestoSobreLaRentaRelacionadoConLaReclasificacionDeGananciasPerdidasSobreCostosDeCoberturaDeFlujosDeEfectivo"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_tef_ImpuestoSobreLaRentaRelacionadoConLaReclasificacionDeGananciasPerdidasSobreCostosDeCoberturaDeFlujosDeEfectivo_04144d81-71e1-47a7-82d7-8d7e4b6d81d1NotDimensionallyQualified" xlink:type="arc" order="77"/>
    <link:loc xlink:type="locator" xlink:label="loc_tef_OtrosResultadosIntegralesNetoDeImpuestosCostosDeCoberturaDeFlujosDeEfectivo_fcdb1fa4-d704-4eeb-9663-cc817a0566a3NotDimensionallyQualified" xlink:href="549300EEJH4FEPDBBR25-2021-12-31.xsd#tef_OtrosResultadosIntegralesNetoDeImpuestosCostosDeCoberturaDeFlujosDeEfectivo"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_tef_OtrosResultadosIntegralesNetoDeImpuestosCostosDeCoberturaDeFlujosDeEfectivo_fcdb1fa4-d704-4eeb-9663-cc817a0566a3NotDimensionallyQualified" xlink:type="arc" order="78"/>
    <link:loc xlink:type="locator" xlink:label="loc_tef_ParticipacionEnPerdidasGananciasImputadasDirectamenteAlPatrimonioNetoAsociadasYOtros_8dc8a4e4-102a-4b37-94cb-0b4b9dc2fab7NotDimensionallyQualified" xlink:href="549300EEJH4FEPDBBR25-2021-12-31.xsd#tef_ParticipacionEnPerdidasGananciasImputadasDirectamenteAlPatrimonioNetoAsociadasYOtros"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_tef_ParticipacionEnPerdidasGananciasImputadasDirectamenteAlPatrimonioNetoAsociadasYOtros_8dc8a4e4-102a-4b37-94cb-0b4b9dc2fab7NotDimensionallyQualified" xlink:type="arc" order="79"/>
    <link:loc xlink:type="locator" xlink:label="loc_tef_ImpuestoSobreLaRentaRelativoALaParticipacionEnLasGananciasPerdidasReconocidasDirectamenteEnElPatrimonioDeAsociadasYOtros_b6de5f6b-99f7-4b85-aba9-4de885f30773NotDimensionallyQualified" xlink:href="549300EEJH4FEPDBBR25-2021-12-31.xsd#tef_ImpuestoSobreLaRentaRelativoALaParticipacionEnLasGananciasPerdidasReconocidasDirectamenteEnElPatrimonioDeAsociadasYOtros"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_tef_ImpuestoSobreLaRentaRelativoALaParticipacionEnLasGananciasPerdidasReconocidasDirectamenteEnElPatrimonioDeAsociadasYOtros_b6de5f6b-99f7-4b85-aba9-4de885f30773NotDimensionallyQualified" xlink:type="arc" order="80"/>
    <link:loc xlink:type="locator" xlink:label="loc_tef_ReclasificacionRelacionadaConLaParticipacionEnLasGananciasPerdidasReconocidasDirectamenteEnElPatrimonioDeAsociadasYOtros_571ef8fb-651b-4c4d-afe2-efd53ee3cb20NotDimensionallyQualified" xlink:href="549300EEJH4FEPDBBR25-2021-12-31.xsd#tef_ReclasificacionRelacionadaConLaParticipacionEnLasGananciasPerdidasReconocidasDirectamenteEnElPatrimonioDeAsociadasYOtros"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_tef_ReclasificacionRelacionadaConLaParticipacionEnLasGananciasPerdidasReconocidasDirectamenteEnElPatrimonioDeAsociadasYOtros_571ef8fb-651b-4c4d-afe2-efd53ee3cb20NotDimensionallyQualified" xlink:type="arc" order="81"/>
    <link:loc xlink:type="locator" xlink:label="loc_tef_ImpuestoSobreLaRentaRelacionadoConLaReclasificacionDeLaParticipacionEnLasGananciasPerdidasReconocidasDirectamenteEnElPatrimonioDeAsociadasYOtros_8421f99b-ff87-472b-abb9-6a93ec301009NotDimensionallyQualified" xlink:href="549300EEJH4FEPDBBR25-2021-12-31.xsd#tef_ImpuestoSobreLaRentaRelacionadoConLaReclasificacionDeLaParticipacionEnLasGananciasPerdidasReconocidasDirectamenteEnElPatrimonioDeAsociadasYOtros"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_tef_ImpuestoSobreLaRentaRelacionadoConLaReclasificacionDeLaParticipacionEnLasGananciasPerdidasReconocidasDirectamenteEnElPatrimonioDeAsociadasYOtros_8421f99b-ff87-472b-abb9-6a93ec301009NotDimensionallyQualified" xlink:type="arc" order="82"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ShareOfOtherComprehensiveIncomeOfAssociatesAndJointVenturesAccountedForUsingEquityMethodThatWillBeReclassifiedToProfitOrLossNetOfTax_85bc526a-0d0d-46f7-9be8-71c0c1607b11NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_ShareOfOtherComprehensiveIncomeOfAssociatesAndJointVenturesAccountedForUsingEquityMethodThatWillBeReclassifiedToProfitOrLossNetOfTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_ShareOfOtherComprehensiveIncomeOfAssociatesAndJointVenturesAccountedForUsingEquityMethodThatWillBeReclassifiedToProfitOrLossNetOfTax_85bc526a-0d0d-46f7-9be8-71c0c1607b11NotDimensionallyQualified" xlink:type="arc" order="83"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_OtherComprehensiveIncomeNetOfTaxExchangeDifferencesOnTranslation_70c0e252-4e70-45a3-bb08-3dd1366a7699NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_OtherComprehensiveIncomeNetOfTaxExchangeDifferencesOnTranslation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_OtherComprehensiveIncomeNetOfTaxExchangeDifferencesOnTranslation_70c0e252-4e70-45a3-bb08-3dd1366a7699NotDimensionallyQualified" xlink:type="arc" order="84"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_OtherComprehensiveIncomeThatWillBeReclassifiedToProfitOrLossNetOfTax_4f454779-9402-434d-a870-bf8a064841b9NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_OtherComprehensiveIncomeThatWillBeReclassifiedToProfitOrLossNetOfTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_OtherComprehensiveIncomeThatWillBeReclassifiedToProfitOrLossNetOfTax_4f454779-9402-434d-a870-bf8a064841b9NotDimensionallyQualified" xlink:type="arc" order="85"/>
    <link:loc xlink:type="locator" xlink:label="loc_tef_PerdidasGananciasActuarialesYEfectoDelLimiteDelActivoPorPlanesDePrestacionDefinida_f2a5c895-0faa-4658-a01f-a71327387aabNotDimensionallyQualified" xlink:href="549300EEJH4FEPDBBR25-2021-12-31.xsd#tef_PerdidasGananciasActuarialesYEfectoDelLimiteDelActivoPorPlanesDePrestacionDefinida"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_tef_PerdidasGananciasActuarialesYEfectoDelLimiteDelActivoPorPlanesDePrestacionDefinida_f2a5c895-0faa-4658-a01f-a71327387aabNotDimensionallyQualified" xlink:type="arc" order="86"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_IncomeTaxRelatingToRemeasurementsOfDefinedBenefitPlansOfOtherComprehensiveIncome_b393d056-2494-492d-857a-bae975ce691cNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_IncomeTaxRelatingToRemeasurementsOfDefinedBenefitPlansOfOtherComprehensiveIncome"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_IncomeTaxRelatingToRemeasurementsOfDefinedBenefitPlansOfOtherComprehensiveIncome_b393d056-2494-492d-857a-bae975ce691cNotDimensionallyQualified" xlink:type="arc" order="87"/>
    <link:loc xlink:type="locator" xlink:label="loc_tef_AjustePorReclasificacionSobreNuevasMedicionesDePlanesDeBeneficiosDefinidosAntesDeImpuestos_d61cbe2a-499c-4aae-a7e3-5832df11f56aNotDimensionallyQualified" xlink:href="549300EEJH4FEPDBBR25-2021-12-31.xsd#tef_AjustePorReclasificacionSobreNuevasMedicionesDePlanesDeBeneficiosDefinidosAntesDeImpuestos"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_tef_AjustePorReclasificacionSobreNuevasMedicionesDePlanesDeBeneficiosDefinidosAntesDeImpuestos_d61cbe2a-499c-4aae-a7e3-5832df11f56aNotDimensionallyQualified" xlink:type="arc" order="88"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_OtherComprehensiveIncomeNetOfTaxGainsLossesOnRemeasurementsOfDefinedBenefitPlans_a1ae17e3-eef7-4e5c-8954-f0130f105789NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_OtherComprehensiveIncomeNetOfTaxGainsLossesOnRemeasurementsOfDefinedBenefitPlans"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_OtherComprehensiveIncomeNetOfTaxGainsLossesOnRemeasurementsOfDefinedBenefitPlans_a1ae17e3-eef7-4e5c-8954-f0130f105789NotDimensionallyQualified" xlink:type="arc" order="89"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_OtherComprehensiveIncomeBeforeTaxGainsLossesOnRevaluation_181baf51-d2f6-4ca7-b171-011da1c61356NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_OtherComprehensiveIncomeBeforeTaxGainsLossesOnRevaluation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_OtherComprehensiveIncomeBeforeTaxGainsLossesOnRevaluation_181baf51-d2f6-4ca7-b171-011da1c61356NotDimensionallyQualified" xlink:type="arc" order="90"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_IncomeTaxRelatingToChangesInRevaluationSurplusOfOtherComprehensiveIncome_a377d80a-c9d8-4414-a52b-864aae712328NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_IncomeTaxRelatingToChangesInRevaluationSurplusOfOtherComprehensiveIncome"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_IncomeTaxRelatingToChangesInRevaluationSurplusOfOtherComprehensiveIncome_a377d80a-c9d8-4414-a52b-864aae712328NotDimensionallyQualified" xlink:type="arc" order="91"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_OtherComprehensiveIncomeNetOfTaxGainsLossesOnRevaluation_bfcd4625-1bf9-464d-8e6d-1de3247432beNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_OtherComprehensiveIncomeNetOfTaxGainsLossesOnRevaluation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_OtherComprehensiveIncomeNetOfTaxGainsLossesOnRevaluation_bfcd4625-1bf9-464d-8e6d-1de3247432beNotDimensionallyQualified" xlink:type="arc" order="92"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_OtherComprehensiveIncomeThatWillNotBeReclassifiedToProfitOrLossNetOfTax_7d07378b-cac7-47ff-92c6-5a05fa4104daNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_OtherComprehensiveIncomeThatWillNotBeReclassifiedToProfitOrLossNetOfTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_OtherComprehensiveIncomeThatWillNotBeReclassifiedToProfitOrLossNetOfTax_7d07378b-cac7-47ff-92c6-5a05fa4104daNotDimensionallyQualified" xlink:type="arc" order="93"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ComprehensiveIncome_ca09bf21-3f56-40b1-a671-498c6e8528e0NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_ComprehensiveIncome"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_ComprehensiveIncome_ca09bf21-3f56-40b1-a671-498c6e8528e0NotDimensionallyQualified" xlink:type="arc" order="94"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ComprehensiveIncomeAttributableToOwnersOfParent_ae6cd454-5a7b-4790-9ad3-e51e8f48cbfeNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_ComprehensiveIncomeAttributableToOwnersOfParent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_ComprehensiveIncomeAttributableToOwnersOfParent_ae6cd454-5a7b-4790-9ad3-e51e8f48cbfeNotDimensionallyQualified" xlink:type="arc" order="95"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ComprehensiveIncomeAttributableToNoncontrollingInterests_d34b3c04-6d56-41d9-bece-4ba22cf1ad3aNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_ComprehensiveIncomeAttributableToNoncontrollingInterests"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_ComprehensiveIncomeAttributableToNoncontrollingInterests_d34b3c04-6d56-41d9-bece-4ba22cf1ad3aNotDimensionallyQualified" xlink:type="arc" order="96"/>
    <link:loc xlink:type="locator" xlink:label="loc_tef_FlujosDeEfectivoDeLasOperaciones_f0c1be78-281a-4d63-8dda-e5ae5cfe657cNotDimensionallyQualified" xlink:href="549300EEJH4FEPDBBR25-2021-12-31.xsd#tef_FlujosDeEfectivoDeLasOperaciones"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_tef_FlujosDeEfectivoDeLasOperaciones_f0c1be78-281a-4d63-8dda-e5ae5cfe657cNotDimensionallyQualified" xlink:type="arc" order="97"/>
    <link:loc xlink:type="locator" xlink:label="loc_tef_FlujosDeEfectivoUtilizadosEnOperaciones_485cc5fe-a0f9-4d5e-9228-32b577ca0400NotDimensionallyQualified" xlink:href="549300EEJH4FEPDBBR25-2021-12-31.xsd#tef_FlujosDeEfectivoUtilizadosEnOperaciones"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_tef_FlujosDeEfectivoUtilizadosEnOperaciones_485cc5fe-a0f9-4d5e-9228-32b577ca0400NotDimensionallyQualified" xlink:type="arc" order="98"/>
    <link:loc xlink:type="locator" xlink:label="loc_tef_PagoDeInteresesYOtrosGastosFinancierosNetoDeDividendosRecibidos_155db1df-6ef3-406c-901e-928dd166349eNotDimensionallyQualified" xlink:href="549300EEJH4FEPDBBR25-2021-12-31.xsd#tef_PagoDeInteresesYOtrosGastosFinancierosNetoDeDividendosRecibidos"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_tef_PagoDeInteresesYOtrosGastosFinancierosNetoDeDividendosRecibidos_155db1df-6ef3-406c-901e-928dd166349eNotDimensionallyQualified" xlink:type="arc" order="99"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_IncomeTaxesPaidRefundClassifiedAsOperatingActivities_e5de2db0-a677-420e-9e9e-a880ee2db935NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_IncomeTaxesPaidRefundClassifiedAsOperatingActivities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_IncomeTaxesPaidRefundClassifiedAsOperatingActivities_e5de2db0-a677-420e-9e9e-a880ee2db935NotDimensionallyQualified" xlink:type="arc" order="100"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_CashFlowsFromUsedInOperatingActivities_c6fea3d4-b3c7-4dee-9b74-8e38983e693cNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_CashFlowsFromUsedInOperatingActivities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_CashFlowsFromUsedInOperatingActivities_c6fea3d4-b3c7-4dee-9b74-8e38983e693cNotDimensionallyQualified" xlink:type="arc" order="101"/>
    <link:loc xlink:type="locator" xlink:label="loc_tef_ProductoDeCompraPropiedadPlantaYEquipoYActivosIntangiblesClasificadosComoActividadesDeInversion_ebcae422-c484-4086-8033-9914cb517098NotDimensionallyQualified" xlink:href="549300EEJH4FEPDBBR25-2021-12-31.xsd#tef_ProductoDeCompraPropiedadPlantaYEquipoYActivosIntangiblesClasificadosComoActividadesDeInversion"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_tef_ProductoDeCompraPropiedadPlantaYEquipoYActivosIntangiblesClasificadosComoActividadesDeInversion_ebcae422-c484-4086-8033-9914cb517098NotDimensionallyQualified" xlink:type="arc" order="102"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_CashFlowsFromLosingControlOfSubsidiariesOrOtherBusinessesClassifiedAsInvestingActivities_1fcc4a57-3f39-468b-902d-c6287d64318fNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_CashFlowsFromLosingControlOfSubsidiariesOrOtherBusinessesClassifiedAsInvestingActivities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_CashFlowsFromLosingControlOfSubsidiariesOrOtherBusinessesClassifiedAsInvestingActivities_1fcc4a57-3f39-468b-902d-c6287d64318fNotDimensionallyQualified" xlink:type="arc" order="103"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_CashFlowsUsedInObtainingControlOfSubsidiariesOrOtherBusinessesClassifiedAsInvestingActivities_a0b002ef-7629-4aaf-8804-eeaa5ce242d5NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_CashFlowsUsedInObtainingControlOfSubsidiariesOrOtherBusinessesClassifiedAsInvestingActivities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_CashFlowsUsedInObtainingControlOfSubsidiariesOrOtherBusinessesClassifiedAsInvestingActivities_a0b002ef-7629-4aaf-8804-eeaa5ce242d5NotDimensionallyQualified" xlink:type="arc" order="104"/>
    <link:loc xlink:type="locator" xlink:label="loc_tef_IngresosDeInversionesFinancierasNoIncluidosEnEquivalentesDeEfectivo_08d63f3b-ea59-49c2-a2c9-d492dd6e7783NotDimensionallyQualified" xlink:href="549300EEJH4FEPDBBR25-2021-12-31.xsd#tef_IngresosDeInversionesFinancierasNoIncluidosEnEquivalentesDeEfectivo"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_tef_IngresosDeInversionesFinancierasNoIncluidosEnEquivalentesDeEfectivo_08d63f3b-ea59-49c2-a2c9-d492dd6e7783NotDimensionallyQualified" xlink:type="arc" order="105"/>
    <link:loc xlink:type="locator" xlink:label="loc_tef_PagosPorInversionesFinancierasNoIncluidasEnEquivalentesDeEfectivo_f489d620-cdc6-4e1f-a41f-21f74661250eNotDimensionallyQualified" xlink:href="549300EEJH4FEPDBBR25-2021-12-31.xsd#tef_PagosPorInversionesFinancierasNoIncluidasEnEquivalentesDeEfectivo"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_tef_PagosPorInversionesFinancierasNoIncluidasEnEquivalentesDeEfectivo_f489d620-cdc6-4e1f-a41f-21f74661250eNotDimensionallyQualified" xlink:type="arc" order="106"/>
    <link:loc xlink:type="locator" xlink:label="loc_tef_IngresosDePagosPorColocacionesDeExcedentesDeEfectivoNoIncluidosEnEquivalentesDeEfectivo_4acdd6ca-aeec-4cf0-a825-e9fb240d854eNotDimensionallyQualified" xlink:href="549300EEJH4FEPDBBR25-2021-12-31.xsd#tef_IngresosDePagosPorColocacionesDeExcedentesDeEfectivoNoIncluidosEnEquivalentesDeEfectivo"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_tef_IngresosDePagosPorColocacionesDeExcedentesDeEfectivoNoIncluidosEnEquivalentesDeEfectivo_4acdd6ca-aeec-4cf0-a825-e9fb240d854eNotDimensionallyQualified" xlink:type="arc" order="107"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_CashFlowsFromUsedInInvestingActivities_17d772ba-8eea-4177-a660-b430d88963bbNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_CashFlowsFromUsedInInvestingActivities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_CashFlowsFromUsedInInvestingActivities_17d772ba-8eea-4177-a660-b430d88963bbNotDimensionallyQualified" xlink:type="arc" order="108"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DividendsPaidClassifiedAsFinancingActivities_9bf60a3b-e0ae-4cfd-8c1e-5b2b257ec217NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_DividendsPaidClassifiedAsFinancingActivities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_DividendsPaidClassifiedAsFinancingActivities_9bf60a3b-e0ae-4cfd-8c1e-5b2b257ec217NotDimensionallyQualified" xlink:type="arc" order="109"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ProceedsFromIssuingShares_f8c7adac-f94f-4392-830b-8dfc4920e412NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_ProceedsFromIssuingShares"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_ProceedsFromIssuingShares_f8c7adac-f94f-4392-830b-8dfc4920e412NotDimensionallyQualified" xlink:type="arc" order="110"/>
    <link:loc xlink:type="locator" xlink:label="loc_tef_IngresosDePagosPorAccionesEnTesoreriaYOtrasActividadesDeLosAccionistas_7fb1a607-91d8-405e-b797-7ef9c9be5177NotDimensionallyQualified" xlink:href="549300EEJH4FEPDBBR25-2021-12-31.xsd#tef_IngresosDePagosPorAccionesEnTesoreriaYOtrasActividadesDeLosAccionistas"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_tef_IngresosDePagosPorAccionesEnTesoreriaYOtrasActividadesDeLosAccionistas_7fb1a607-91d8-405e-b797-7ef9c9be5177NotDimensionallyQualified" xlink:type="arc" order="111"/>
    <link:loc xlink:type="locator" xlink:label="loc_tef_OperacionesConOtrosTenedoresDeInstrumentosDePatrimonio_873b15fa-5a71-42a6-8d95-1189adf09ec1NotDimensionallyQualified" xlink:href="549300EEJH4FEPDBBR25-2021-12-31.xsd#tef_OperacionesConOtrosTenedoresDeInstrumentosDePatrimonio"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_tef_OperacionesConOtrosTenedoresDeInstrumentosDePatrimonio_873b15fa-5a71-42a6-8d95-1189adf09ec1NotDimensionallyQualified" xlink:type="arc" order="112"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ProceedsFromIssueOfBondsNotesAndDebentures_e6a03aec-8971-46ee-a88e-04be3219799fNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_ProceedsFromIssueOfBondsNotesAndDebentures"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_ProceedsFromIssueOfBondsNotesAndDebentures_e6a03aec-8971-46ee-a88e-04be3219799fNotDimensionallyQualified" xlink:type="arc" order="113"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ProceedsFromBorrowingsClassifiedAsFinancingActivities_0fb8220c-8589-41f1-b5e8-1191d4488934NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_ProceedsFromBorrowingsClassifiedAsFinancingActivities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_ProceedsFromBorrowingsClassifiedAsFinancingActivities_0fb8220c-8589-41f1-b5e8-1191d4488934NotDimensionallyQualified" xlink:type="arc" order="114"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_RepaymentsOfBondsNotesAndDebentures_d6320540-d1e8-43d3-944f-51818c53023aNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_RepaymentsOfBondsNotesAndDebentures"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_RepaymentsOfBondsNotesAndDebentures_d6320540-d1e8-43d3-944f-51818c53023aNotDimensionallyQualified" xlink:type="arc" order="115"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_RepaymentsOfBorrowingsClassifiedAsFinancingActivities_5598be33-4a29-45da-bb4a-1cca57409f8cNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_RepaymentsOfBorrowingsClassifiedAsFinancingActivities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_RepaymentsOfBorrowingsClassifiedAsFinancingActivities_5598be33-4a29-45da-bb4a-1cca57409f8cNotDimensionallyQualified" xlink:type="arc" order="116"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_PaymentsOfLeaseLiabilitiesClassifiedAsFinancingActivities_361971ff-bf10-43bf-9efe-506fbbaa9d6fNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_PaymentsOfLeaseLiabilitiesClassifiedAsFinancingActivities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_PaymentsOfLeaseLiabilitiesClassifiedAsFinancingActivities_361971ff-bf10-43bf-9efe-506fbbaa9d6fNotDimensionallyQualified" xlink:type="arc" order="117"/>
    <link:loc xlink:type="locator" xlink:label="loc_tef_PagosDeExplotacionEInversionesMaterialesEIntangiblesFinanciados_ee44e70b-cb44-4ebf-b4f9-9f47ed7bb0b3NotDimensionallyQualified" xlink:href="549300EEJH4FEPDBBR25-2021-12-31.xsd#tef_PagosDeExplotacionEInversionesMaterialesEIntangiblesFinanciados"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_tef_PagosDeExplotacionEInversionesMaterialesEIntangiblesFinanciados_ee44e70b-cb44-4ebf-b4f9-9f47ed7bb0b3NotDimensionallyQualified" xlink:type="arc" order="118"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_CashFlowsFromUsedInFinancingActivities_54fef342-8443-425b-b729-77aa674bebcfNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_CashFlowsFromUsedInFinancingActivities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_CashFlowsFromUsedInFinancingActivities_54fef342-8443-425b-b729-77aa674bebcfNotDimensionallyQualified" xlink:type="arc" order="119"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_EffectOfExchangeRateChangesOnCashAndCashEquivalents_35d9b72b-a389-48a7-a592-dbc79d0c5c4eNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_EffectOfExchangeRateChangesOnCashAndCashEquivalents"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_EffectOfExchangeRateChangesOnCashAndCashEquivalents_35d9b72b-a389-48a7-a592-dbc79d0c5c4eNotDimensionallyQualified" xlink:type="arc" order="120"/>
    <link:loc xlink:type="locator" xlink:label="loc_tef_EfectivoReclasificadoAActivosMantenidosParaLaVenta_f9ae6131-b2d7-4646-b76f-5228e2138cd2NotDimensionallyQualified" xlink:href="549300EEJH4FEPDBBR25-2021-12-31.xsd#tef_EfectivoReclasificadoAActivosMantenidosParaLaVenta"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_tef_EfectivoReclasificadoAActivosMantenidosParaLaVenta_f9ae6131-b2d7-4646-b76f-5228e2138cd2NotDimensionallyQualified" xlink:type="arc" order="121"/>
    <link:loc xlink:type="locator" xlink:label="loc_tef_EfectoDeLosCambiosEnLosMetodosDeConsolidacionYOtrosSobreElEfectivoYEquivalentes_27404c30-d918-4c4c-8cfa-42a3d2d299b5NotDimensionallyQualified" xlink:href="549300EEJH4FEPDBBR25-2021-12-31.xsd#tef_EfectoDeLosCambiosEnLosMetodosDeConsolidacionYOtrosSobreElEfectivoYEquivalentes"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_tef_EfectoDeLosCambiosEnLosMetodosDeConsolidacionYOtrosSobreElEfectivoYEquivalentes_27404c30-d918-4c4c-8cfa-42a3d2d299b5NotDimensionallyQualified" xlink:type="arc" order="122"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_IncreaseDecreaseInCashAndCashEquivalents_a11b2084-bef1-49dd-a864-259f82ecfad5NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_IncreaseDecreaseInCashAndCashEquivalents"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_IncreaseDecreaseInCashAndCashEquivalents_a11b2084-bef1-49dd-a864-259f82ecfad5NotDimensionallyQualified" xlink:type="arc" order="123"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_Cash_0f5b2f1c-cc3b-4b0d-aa83-cdf60bb88abeNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_Cash"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_Cash_0f5b2f1c-cc3b-4b0d-aa83-cdf60bb88abeNotDimensionallyQualified" xlink:type="arc" order="124"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_CashEquivalents_d0a11009-c64a-455b-bbfb-e994f632389fNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_CashEquivalents"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_CashEquivalents_d0a11009-c64a-455b-bbfb-e994f632389fNotDimensionallyQualified" xlink:type="arc" order="125"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.telefonica.com/role/Anchoring" xlink:type="simple" xlink:href="549300EEJH4FEPDBBR25-2021-12-31.xsd#Anchoring"/>
  <link:definitionLink xlink:role="http://www.telefonica.com/role/Anchoring" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_tef_ActivosFinancierosYOtrosActivosNoCorrientes_66edf992-b33b-4de8-815f-3f2100ae0027" xlink:href="549300EEJH4FEPDBBR25-2021-12-31.xsd#tef_ActivosFinancierosYOtrosActivosNoCorrientes"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_NoncurrentAssets" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_NoncurrentAssets"/>
    <link:definitionArc xlink:arcrole="http://www.esma.europa.eu/xbrl/esef/arcrole/wider-narrower" xlink:from="loc_ifrs-full_NoncurrentAssets" xlink:to="loc_tef_ActivosFinancierosYOtrosActivosNoCorrientes_66edf992-b33b-4de8-815f-3f2100ae0027" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_OtherNoncurrentAssets" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_OtherNoncurrentAssets"/>
    <link:definitionArc xlink:arcrole="http://www.esma.europa.eu/xbrl/esef/arcrole/wider-narrower" xlink:from="loc_tef_ActivosFinancierosYOtrosActivosNoCorrientes_66edf992-b33b-4de8-815f-3f2100ae0027" xlink:to="loc_ifrs-full_OtherNoncurrentAssets" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_NoncurrentFinancialAssets" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_NoncurrentFinancialAssets"/>
    <link:definitionArc xlink:arcrole="http://www.esma.europa.eu/xbrl/esef/arcrole/wider-narrower" xlink:from="loc_tef_ActivosFinancierosYOtrosActivosNoCorrientes_66edf992-b33b-4de8-815f-3f2100ae0027" xlink:to="loc_ifrs-full_NoncurrentFinancialAssets" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_tef_AjustePorReclasificacionSobreNuevasMedicionesDePlanesDeBeneficiosDefinidosAntesDeImpuestos_37c22a70-90e1-48ba-a0a8-5a885ea73e64" xlink:href="549300EEJH4FEPDBBR25-2021-12-31.xsd#tef_AjustePorReclasificacionSobreNuevasMedicionesDePlanesDeBeneficiosDefinidosAntesDeImpuestos"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_OtherComprehensiveIncomeBeforeTaxGainsLossesOnRemeasurementsOfDefinedBenefitPlans" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_OtherComprehensiveIncomeBeforeTaxGainsLossesOnRemeasurementsOfDefinedBenefitPlans"/>
    <link:definitionArc xlink:arcrole="http://www.esma.europa.eu/xbrl/esef/arcrole/wider-narrower" xlink:from="loc_ifrs-full_OtherComprehensiveIncomeBeforeTaxGainsLossesOnRemeasurementsOfDefinedBenefitPlans" xlink:to="loc_tef_AjustePorReclasificacionSobreNuevasMedicionesDePlanesDeBeneficiosDefinidosAntesDeImpuestos_37c22a70-90e1-48ba-a0a8-5a885ea73e64" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_tef_AjustesPorReclasificacionDeLosCostosDeCoberturaDeFlujosDeEfectivoAntesDeImpuestos_79bc4937-662f-452d-9e01-e33fb8407e7d" xlink:href="549300EEJH4FEPDBBR25-2021-12-31.xsd#tef_AjustesPorReclasificacionDeLosCostosDeCoberturaDeFlujosDeEfectivoAntesDeImpuestos"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_OtherComprehensiveIncome" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_OtherComprehensiveIncome"/>
    <link:definitionArc xlink:arcrole="http://www.esma.europa.eu/xbrl/esef/arcrole/wider-narrower" xlink:from="loc_ifrs-full_OtherComprehensiveIncome" xlink:to="loc_tef_AjustesPorReclasificacionDeLosCostosDeCoberturaDeFlujosDeEfectivoAntesDeImpuestos_79bc4937-662f-452d-9e01-e33fb8407e7d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_tef_AumentoDisminucionATravesDeValoresSubordinadosSinFecha_8c2d921e-af76-40f3-bc02-ccc6b4983304" xlink:href="549300EEJH4FEPDBBR25-2021-12-31.xsd#tef_AumentoDisminucionATravesDeValoresSubordinadosSinFecha"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ChangesInEquity" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_ChangesInEquity"/>
    <link:definitionArc xlink:arcrole="http://www.esma.europa.eu/xbrl/esef/arcrole/wider-narrower" xlink:from="loc_ifrs-full_ChangesInEquity" xlink:to="loc_tef_AumentoDisminucionATravesDeValoresSubordinadosSinFecha_8c2d921e-af76-40f3-bc02-ccc6b4983304" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_tef_CuentasAPagarYOtrosPasivosCorrientes_ad4fe1c2-7b6f-47e6-aeee-f98e0fae3d51" xlink:href="549300EEJH4FEPDBBR25-2021-12-31.xsd#tef_CuentasAPagarYOtrosPasivosCorrientes"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_CurrentLiabilities" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_CurrentLiabilities"/>
    <link:definitionArc xlink:arcrole="http://www.esma.europa.eu/xbrl/esef/arcrole/wider-narrower" xlink:from="loc_ifrs-full_CurrentLiabilities" xlink:to="loc_tef_CuentasAPagarYOtrosPasivosCorrientes_ad4fe1c2-7b6f-47e6-aeee-f98e0fae3d51" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_OtherCurrentLiabilities" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_OtherCurrentLiabilities"/>
    <link:definitionArc xlink:arcrole="http://www.esma.europa.eu/xbrl/esef/arcrole/wider-narrower" xlink:from="loc_tef_CuentasAPagarYOtrosPasivosCorrientes_ad4fe1c2-7b6f-47e6-aeee-f98e0fae3d51" xlink:to="loc_ifrs-full_OtherCurrentLiabilities" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_TradeAndOtherCurrentPayables" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_TradeAndOtherCurrentPayables"/>
    <link:definitionArc xlink:arcrole="http://www.esma.europa.eu/xbrl/esef/arcrole/wider-narrower" xlink:from="loc_tef_CuentasAPagarYOtrosPasivosCorrientes_ad4fe1c2-7b6f-47e6-aeee-f98e0fae3d51" xlink:to="loc_ifrs-full_TradeAndOtherCurrentPayables" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_tef_CuentasAPagarYOtrosPasivosNoCorrientes_916fa82c-664a-4ca4-9cf8-6de9c1cdcd7b" xlink:href="549300EEJH4FEPDBBR25-2021-12-31.xsd#tef_CuentasAPagarYOtrosPasivosNoCorrientes"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_NoncurrentLiabilities" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_NoncurrentLiabilities"/>
    <link:definitionArc xlink:arcrole="http://www.esma.europa.eu/xbrl/esef/arcrole/wider-narrower" xlink:from="loc_ifrs-full_NoncurrentLiabilities" xlink:to="loc_tef_CuentasAPagarYOtrosPasivosNoCorrientes_916fa82c-664a-4ca4-9cf8-6de9c1cdcd7b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_NoncurrentPayables" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_NoncurrentPayables"/>
    <link:definitionArc xlink:arcrole="http://www.esma.europa.eu/xbrl/esef/arcrole/wider-narrower" xlink:from="loc_tef_CuentasAPagarYOtrosPasivosNoCorrientes_916fa82c-664a-4ca4-9cf8-6de9c1cdcd7b" xlink:to="loc_ifrs-full_NoncurrentPayables" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_OtherNoncurrentLiabilities" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_OtherNoncurrentLiabilities"/>
    <link:definitionArc xlink:arcrole="http://www.esma.europa.eu/xbrl/esef/arcrole/wider-narrower" xlink:from="loc_tef_CuentasAPagarYOtrosPasivosNoCorrientes_916fa82c-664a-4ca4-9cf8-6de9c1cdcd7b" xlink:to="loc_ifrs-full_OtherNoncurrentLiabilities" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_tef_CuentasPorCobrarYOtrosActivosCorrientes_fd13e000-6148-4ccd-9da4-da1b3e3dbe2e" xlink:href="549300EEJH4FEPDBBR25-2021-12-31.xsd#tef_CuentasPorCobrarYOtrosActivosCorrientes"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_CurrentAssets" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_CurrentAssets"/>
    <link:definitionArc xlink:arcrole="http://www.esma.europa.eu/xbrl/esef/arcrole/wider-narrower" xlink:from="loc_ifrs-full_CurrentAssets" xlink:to="loc_tef_CuentasPorCobrarYOtrosActivosCorrientes_fd13e000-6148-4ccd-9da4-da1b3e3dbe2e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_TradeAndOtherCurrentReceivables" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_TradeAndOtherCurrentReceivables"/>
    <link:definitionArc xlink:arcrole="http://www.esma.europa.eu/xbrl/esef/arcrole/wider-narrower" xlink:from="loc_tef_CuentasPorCobrarYOtrosActivosCorrientes_fd13e000-6148-4ccd-9da4-da1b3e3dbe2e" xlink:to="loc_ifrs-full_TradeAndOtherCurrentReceivables" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_OtherCurrentAssets" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_OtherCurrentAssets"/>
    <link:definitionArc xlink:arcrole="http://www.esma.europa.eu/xbrl/esef/arcrole/wider-narrower" xlink:from="loc_tef_CuentasPorCobrarYOtrosActivosCorrientes_fd13e000-6148-4ccd-9da4-da1b3e3dbe2e" xlink:to="loc_ifrs-full_OtherCurrentAssets" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_tef_EfectivoReclasificadoAActivosMantenidosParaLaVenta_9c649ca7-d39a-49a2-bd0b-b7595e94570b" xlink:href="549300EEJH4FEPDBBR25-2021-12-31.xsd#tef_EfectivoReclasificadoAActivosMantenidosParaLaVenta"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_CashAndCashEquivalentsClassifiedAsPartOfDisposalGroupHeldForSale" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_CashAndCashEquivalentsClassifiedAsPartOfDisposalGroupHeldForSale"/>
    <link:definitionArc xlink:arcrole="http://www.esma.europa.eu/xbrl/esef/arcrole/wider-narrower" xlink:from="loc_ifrs-full_CashAndCashEquivalentsClassifiedAsPartOfDisposalGroupHeldForSale" xlink:to="loc_tef_EfectivoReclasificadoAActivosMantenidosParaLaVenta_9c649ca7-d39a-49a2-bd0b-b7595e94570b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_tef_EfectoDeLosCambiosEnLosMetodosDeConsolidacionYOtrosSobreElEfectivoYEquivalentes_a8525b92-a0ba-4a01-bf78-1648d9e27050" xlink:href="549300EEJH4FEPDBBR25-2021-12-31.xsd#tef_EfectoDeLosCambiosEnLosMetodosDeConsolidacionYOtrosSobreElEfectivoYEquivalentes"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_IncreaseDecreaseInCashAndCashEquivalents" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_IncreaseDecreaseInCashAndCashEquivalents"/>
    <link:definitionArc xlink:arcrole="http://www.esma.europa.eu/xbrl/esef/arcrole/wider-narrower" xlink:from="loc_ifrs-full_IncreaseDecreaseInCashAndCashEquivalents" xlink:to="loc_tef_EfectoDeLosCambiosEnLosMetodosDeConsolidacionYOtrosSobreElEfectivoYEquivalentes_a8525b92-a0ba-4a01-bf78-1648d9e27050" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_tef_EfectoImpositivoPorLaReclasificacionRelativosAActivosFinancierosMantenidosParaLaVentaAntesDeImpuestos_16abcf34-9baf-461d-80e0-e1ce176a24aa" xlink:href="549300EEJH4FEPDBBR25-2021-12-31.xsd#tef_EfectoImpositivoPorLaReclasificacionRelativosAActivosFinancierosMantenidosParaLaVentaAntesDeImpuestos"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_IncomeTaxRelatingToAvailableforsaleFinancialAssetsOfOtherComprehensiveIncome" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_IncomeTaxRelatingToAvailableforsaleFinancialAssetsOfOtherComprehensiveIncome"/>
    <link:definitionArc xlink:arcrole="http://www.esma.europa.eu/xbrl/esef/arcrole/wider-narrower" xlink:from="loc_ifrs-full_IncomeTaxRelatingToAvailableforsaleFinancialAssetsOfOtherComprehensiveIncome" xlink:to="loc_tef_EfectoImpositivoPorLaReclasificacionRelativosAActivosFinancierosMantenidosParaLaVentaAntesDeImpuestos_16abcf34-9baf-461d-80e0-e1ce176a24aa" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_tef_EfectoImpositivoSobreLasGananciasPerdidasProcedentesDeCobertura_3719e008-9b41-4d25-8068-48abc6176308" xlink:href="549300EEJH4FEPDBBR25-2021-12-31.xsd#tef_EfectoImpositivoSobreLasGananciasPerdidasProcedentesDeCobertura"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_IncomeTaxRelatingToCashFlowHedgesOfOtherComprehensiveIncome" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_IncomeTaxRelatingToCashFlowHedgesOfOtherComprehensiveIncome"/>
    <link:definitionArc xlink:arcrole="http://www.esma.europa.eu/xbrl/esef/arcrole/wider-narrower" xlink:from="loc_ifrs-full_IncomeTaxRelatingToCashFlowHedgesOfOtherComprehensiveIncome" xlink:to="loc_tef_EfectoImpositivoSobreLasGananciasPerdidasProcedentesDeCobertura_3719e008-9b41-4d25-8068-48abc6176308" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_tef_EfectoImpositivoSobreLasGananciasPerdidasRelativoAActivosFinancierosMantenidosParaLaVentaAntesDeImpuestos_8caddd9b-864d-4c11-a281-e8163b0f0332" xlink:href="549300EEJH4FEPDBBR25-2021-12-31.xsd#tef_EfectoImpositivoSobreLasGananciasPerdidasRelativoAActivosFinancierosMantenidosParaLaVentaAntesDeImpuestos"/>
    <link:definitionArc xlink:arcrole="http://www.esma.europa.eu/xbrl/esef/arcrole/wider-narrower" xlink:from="loc_ifrs-full_IncomeTaxRelatingToAvailableforsaleFinancialAssetsOfOtherComprehensiveIncome" xlink:to="loc_tef_EfectoImpositivoSobreLasGananciasPerdidasRelativoAActivosFinancierosMantenidosParaLaVentaAntesDeImpuestos_8caddd9b-864d-4c11-a281-e8163b0f0332" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_tef_FlujosDeEfectivoDeLasOperaciones_5f91f5ef-cf6c-4a5e-b635-9f6b79a3da93" xlink:href="549300EEJH4FEPDBBR25-2021-12-31.xsd#tef_FlujosDeEfectivoDeLasOperaciones"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_CashFlowsFromUsedInOperations" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_CashFlowsFromUsedInOperations"/>
    <link:definitionArc xlink:arcrole="http://www.esma.europa.eu/xbrl/esef/arcrole/wider-narrower" xlink:from="loc_ifrs-full_CashFlowsFromUsedInOperations" xlink:to="loc_tef_FlujosDeEfectivoDeLasOperaciones_5f91f5ef-cf6c-4a5e-b635-9f6b79a3da93" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_OtherCashReceiptsFromOperatingActivities" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_OtherCashReceiptsFromOperatingActivities"/>
    <link:definitionArc xlink:arcrole="http://www.esma.europa.eu/xbrl/esef/arcrole/wider-narrower" xlink:from="loc_tef_FlujosDeEfectivoDeLasOperaciones_5f91f5ef-cf6c-4a5e-b635-9f6b79a3da93" xlink:to="loc_ifrs-full_OtherCashReceiptsFromOperatingActivities" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ReceiptsFromSalesOfGoodsAndRenderingOfServices" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_ReceiptsFromSalesOfGoodsAndRenderingOfServices"/>
    <link:definitionArc xlink:arcrole="http://www.esma.europa.eu/xbrl/esef/arcrole/wider-narrower" xlink:from="loc_tef_FlujosDeEfectivoDeLasOperaciones_5f91f5ef-cf6c-4a5e-b635-9f6b79a3da93" xlink:to="loc_ifrs-full_ReceiptsFromSalesOfGoodsAndRenderingOfServices" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_tef_FlujosDeEfectivoUtilizadosEnOperaciones_e064da3f-9d81-4d5e-b2fa-e1cf295fa827" xlink:href="549300EEJH4FEPDBBR25-2021-12-31.xsd#tef_FlujosDeEfectivoUtilizadosEnOperaciones"/>
    <link:definitionArc xlink:arcrole="http://www.esma.europa.eu/xbrl/esef/arcrole/wider-narrower" xlink:from="loc_ifrs-full_CashFlowsFromUsedInOperations" xlink:to="loc_tef_FlujosDeEfectivoUtilizadosEnOperaciones_e064da3f-9d81-4d5e-b2fa-e1cf295fa827" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_PaymentsToAndOnBehalfOfEmployees" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_PaymentsToAndOnBehalfOfEmployees"/>
    <link:definitionArc xlink:arcrole="http://www.esma.europa.eu/xbrl/esef/arcrole/wider-narrower" xlink:from="loc_tef_FlujosDeEfectivoUtilizadosEnOperaciones_e064da3f-9d81-4d5e-b2fa-e1cf295fa827" xlink:to="loc_ifrs-full_PaymentsToAndOnBehalfOfEmployees" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_PaymentsToSuppliersForGoodsAndServices" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_PaymentsToSuppliersForGoodsAndServices"/>
    <link:definitionArc xlink:arcrole="http://www.esma.europa.eu/xbrl/esef/arcrole/wider-narrower" xlink:from="loc_tef_FlujosDeEfectivoUtilizadosEnOperaciones_e064da3f-9d81-4d5e-b2fa-e1cf295fa827" xlink:to="loc_ifrs-full_PaymentsToSuppliersForGoodsAndServices" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_OtherCashPaymentsFromOperatingActivities" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_OtherCashPaymentsFromOperatingActivities"/>
    <link:definitionArc xlink:arcrole="http://www.esma.europa.eu/xbrl/esef/arcrole/wider-narrower" xlink:from="loc_tef_FlujosDeEfectivoUtilizadosEnOperaciones_e064da3f-9d81-4d5e-b2fa-e1cf295fa827" xlink:to="loc_ifrs-full_OtherCashPaymentsFromOperatingActivities" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_tef_GananciasPerdidasPorCostosDeCoberturaDeFlujosDeEfectivoAntesDeImpuestos_7950f6b0-1cd4-4287-b3f0-2b1bdff74a77" xlink:href="549300EEJH4FEPDBBR25-2021-12-31.xsd#tef_GananciasPerdidasPorCostosDeCoberturaDeFlujosDeEfectivoAntesDeImpuestos"/>
    <link:definitionArc xlink:arcrole="http://www.esma.europa.eu/xbrl/esef/arcrole/wider-narrower" xlink:from="loc_ifrs-full_OtherComprehensiveIncome" xlink:to="loc_tef_GananciasPerdidasPorCostosDeCoberturaDeFlujosDeEfectivoAntesDeImpuestos_7950f6b0-1cd4-4287-b3f0-2b1bdff74a77" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_tef_ImpuestoALasGananciasRelacionadoConLosCostosDeCoberturaDeFlujosDeEfectivoIncluidosEnOtroResultadoIntegral_68998d2a-5147-4582-8b35-89b1ca1ff16f" xlink:href="549300EEJH4FEPDBBR25-2021-12-31.xsd#tef_ImpuestoALasGananciasRelacionadoConLosCostosDeCoberturaDeFlujosDeEfectivoIncluidosEnOtroResultadoIntegral"/>
    <link:definitionArc xlink:arcrole="http://www.esma.europa.eu/xbrl/esef/arcrole/wider-narrower" xlink:from="loc_ifrs-full_OtherComprehensiveIncome" xlink:to="loc_tef_ImpuestoALasGananciasRelacionadoConLosCostosDeCoberturaDeFlujosDeEfectivoIncluidosEnOtroResultadoIntegral_68998d2a-5147-4582-8b35-89b1ca1ff16f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_tef_ImpuestoSobreLaRentaRelacionadoConLaReclasificacionDeGananciasPerdidasEnLaCoberturaDeFlujoDeEfectivo_7b088a78-bd10-4570-99b8-f65480427982" xlink:href="549300EEJH4FEPDBBR25-2021-12-31.xsd#tef_ImpuestoSobreLaRentaRelacionadoConLaReclasificacionDeGananciasPerdidasEnLaCoberturaDeFlujoDeEfectivo"/>
    <link:definitionArc xlink:arcrole="http://www.esma.europa.eu/xbrl/esef/arcrole/wider-narrower" xlink:from="loc_ifrs-full_IncomeTaxRelatingToCashFlowHedgesOfOtherComprehensiveIncome" xlink:to="loc_tef_ImpuestoSobreLaRentaRelacionadoConLaReclasificacionDeGananciasPerdidasEnLaCoberturaDeFlujoDeEfectivo_7b088a78-bd10-4570-99b8-f65480427982" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_tef_ImpuestoSobreLaRentaRelacionadoConLaReclasificacionDeGananciasPerdidasSobreCostosDeCoberturaDeFlujosDeEfectivo_15afd1c8-2d1b-47ab-965b-6a96df33c994" xlink:href="549300EEJH4FEPDBBR25-2021-12-31.xsd#tef_ImpuestoSobreLaRentaRelacionadoConLaReclasificacionDeGananciasPerdidasSobreCostosDeCoberturaDeFlujosDeEfectivo"/>
    <link:definitionArc xlink:arcrole="http://www.esma.europa.eu/xbrl/esef/arcrole/wider-narrower" xlink:from="loc_ifrs-full_OtherComprehensiveIncome" xlink:to="loc_tef_ImpuestoSobreLaRentaRelacionadoConLaReclasificacionDeGananciasPerdidasSobreCostosDeCoberturaDeFlujosDeEfectivo_15afd1c8-2d1b-47ab-965b-6a96df33c994" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_tef_ImpuestoSobreLaRentaRelacionadoConLaReclasificacionDeLaParticipacionEnLasGananciasPerdidasReconocidasDirectamenteEnElPatrimonioDeAsociadasYOtros_09112ffa-a7a4-4642-af66-70d8bbaabb40" xlink:href="549300EEJH4FEPDBBR25-2021-12-31.xsd#tef_ImpuestoSobreLaRentaRelacionadoConLaReclasificacionDeLaParticipacionEnLasGananciasPerdidasReconocidasDirectamenteEnElPatrimonioDeAsociadasYOtros"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_IncomeTaxRelatingToShareOfOtherComprehensiveIncomeOfAssociatesAndJointVenturesAccountedForUsingEquityMethodThatWillBeReclassifiedToProfitOrLoss" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_IncomeTaxRelatingToShareOfOtherComprehensiveIncomeOfAssociatesAndJointVenturesAccountedForUsingEquityMethodThatWillBeReclassifiedToProfitOrLoss"/>
    <link:definitionArc xlink:arcrole="http://www.esma.europa.eu/xbrl/esef/arcrole/wider-narrower" xlink:from="loc_ifrs-full_IncomeTaxRelatingToShareOfOtherComprehensiveIncomeOfAssociatesAndJointVenturesAccountedForUsingEquityMethodThatWillBeReclassifiedToProfitOrLoss" xlink:to="loc_tef_ImpuestoSobreLaRentaRelacionadoConLaReclasificacionDeLaParticipacionEnLasGananciasPerdidasReconocidasDirectamenteEnElPatrimonioDeAsociadasYOtros_09112ffa-a7a4-4642-af66-70d8bbaabb40" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_tef_ImpuestoSobreLaRentaRelativoALaParticipacionEnLasGananciasPerdidasReconocidasDirectamenteEnElPatrimonioDeAsociadasYOtros_ae1a46fe-9eea-4ff9-9ed9-69a01d6a4339" xlink:href="549300EEJH4FEPDBBR25-2021-12-31.xsd#tef_ImpuestoSobreLaRentaRelativoALaParticipacionEnLasGananciasPerdidasReconocidasDirectamenteEnElPatrimonioDeAsociadasYOtros"/>
    <link:definitionArc xlink:arcrole="http://www.esma.europa.eu/xbrl/esef/arcrole/wider-narrower" xlink:from="loc_ifrs-full_IncomeTaxRelatingToShareOfOtherComprehensiveIncomeOfAssociatesAndJointVenturesAccountedForUsingEquityMethodThatWillBeReclassifiedToProfitOrLoss" xlink:to="loc_tef_ImpuestoSobreLaRentaRelativoALaParticipacionEnLasGananciasPerdidasReconocidasDirectamenteEnElPatrimonioDeAsociadasYOtros_ae1a46fe-9eea-4ff9-9ed9-69a01d6a4339" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_tef_IngresosDeInversionesFinancierasNoIncluidosEnEquivalentesDeEfectivo_ba884123-8aa3-4eec-b861-49ec5c2b42fb" xlink:href="549300EEJH4FEPDBBR25-2021-12-31.xsd#tef_IngresosDeInversionesFinancierasNoIncluidosEnEquivalentesDeEfectivo"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_OtherCashReceiptsFromSalesOfEquityOrDebtInstrumentsOfOtherEntitiesClassifiedAsInvestingActivities" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_OtherCashReceiptsFromSalesOfEquityOrDebtInstrumentsOfOtherEntitiesClassifiedAsInvestingActivities"/>
    <link:definitionArc xlink:arcrole="http://www.esma.europa.eu/xbrl/esef/arcrole/wider-narrower" xlink:from="loc_ifrs-full_OtherCashReceiptsFromSalesOfEquityOrDebtInstrumentsOfOtherEntitiesClassifiedAsInvestingActivities" xlink:to="loc_tef_IngresosDeInversionesFinancierasNoIncluidosEnEquivalentesDeEfectivo_ba884123-8aa3-4eec-b861-49ec5c2b42fb" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_tef_IngresosDePagosPorAccionesEnTesoreriaYOtrasActividadesDeLosAccionistas_2fb6dcd3-9a5c-4de9-86e1-984f8561a1be" xlink:href="549300EEJH4FEPDBBR25-2021-12-31.xsd#tef_IngresosDePagosPorAccionesEnTesoreriaYOtrasActividadesDeLosAccionistas"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_CashFlowsFromUsedInInvestingActivities" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_CashFlowsFromUsedInInvestingActivities"/>
    <link:definitionArc xlink:arcrole="http://www.esma.europa.eu/xbrl/esef/arcrole/wider-narrower" xlink:from="loc_ifrs-full_CashFlowsFromUsedInInvestingActivities" xlink:to="loc_tef_IngresosDePagosPorAccionesEnTesoreriaYOtrasActividadesDeLosAccionistas_2fb6dcd3-9a5c-4de9-86e1-984f8561a1be" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ProceedsFromIssuingShares" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_ProceedsFromIssuingShares"/>
    <link:definitionArc xlink:arcrole="http://www.esma.europa.eu/xbrl/esef/arcrole/wider-narrower" xlink:from="loc_tef_IngresosDePagosPorAccionesEnTesoreriaYOtrasActividadesDeLosAccionistas_2fb6dcd3-9a5c-4de9-86e1-984f8561a1be" xlink:to="loc_ifrs-full_ProceedsFromIssuingShares" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_PaymentsToAcquireOrRedeemEntitysShares" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_PaymentsToAcquireOrRedeemEntitysShares"/>
    <link:definitionArc xlink:arcrole="http://www.esma.europa.eu/xbrl/esef/arcrole/wider-narrower" xlink:from="loc_tef_IngresosDePagosPorAccionesEnTesoreriaYOtrasActividadesDeLosAccionistas_2fb6dcd3-9a5c-4de9-86e1-984f8561a1be" xlink:to="loc_ifrs-full_PaymentsToAcquireOrRedeemEntitysShares" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_PaymentsFromChangesInOwnershipInterestsInSubsidiaries" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_PaymentsFromChangesInOwnershipInterestsInSubsidiaries"/>
    <link:definitionArc xlink:arcrole="http://www.esma.europa.eu/xbrl/esef/arcrole/wider-narrower" xlink:from="loc_tef_IngresosDePagosPorAccionesEnTesoreriaYOtrasActividadesDeLosAccionistas_2fb6dcd3-9a5c-4de9-86e1-984f8561a1be" xlink:to="loc_ifrs-full_PaymentsFromChangesInOwnershipInterestsInSubsidiaries" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ProceedsFromChangesInOwnershipInterestsInSubsidiaries" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_ProceedsFromChangesInOwnershipInterestsInSubsidiaries"/>
    <link:definitionArc xlink:arcrole="http://www.esma.europa.eu/xbrl/esef/arcrole/wider-narrower" xlink:from="loc_tef_IngresosDePagosPorAccionesEnTesoreriaYOtrasActividadesDeLosAccionistas_2fb6dcd3-9a5c-4de9-86e1-984f8561a1be" xlink:to="loc_ifrs-full_ProceedsFromChangesInOwnershipInterestsInSubsidiaries" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_tef_IngresosDePagosPorColocacionesDeExcedentesDeEfectivoNoIncluidosEnEquivalentesDeEfectivo_d3a2ad34-bac7-4d1c-8f6f-539487cfb5f7" xlink:href="549300EEJH4FEPDBBR25-2021-12-31.xsd#tef_IngresosDePagosPorColocacionesDeExcedentesDeEfectivoNoIncluidosEnEquivalentesDeEfectivo"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_OtherInflowsOutflowsOfCashClassifiedAsInvestingActivities" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_OtherInflowsOutflowsOfCashClassifiedAsInvestingActivities"/>
    <link:definitionArc xlink:arcrole="http://www.esma.europa.eu/xbrl/esef/arcrole/wider-narrower" xlink:from="loc_ifrs-full_OtherInflowsOutflowsOfCashClassifiedAsInvestingActivities" xlink:to="loc_tef_IngresosDePagosPorColocacionesDeExcedentesDeEfectivoNoIncluidosEnEquivalentesDeEfectivo_d3a2ad34-bac7-4d1c-8f6f-539487cfb5f7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_tef_OperacionesConOtrosTenedoresDeInstrumentosDePatrimonio_6765ed6b-7d7a-483c-971e-424310563c0f" xlink:href="549300EEJH4FEPDBBR25-2021-12-31.xsd#tef_OperacionesConOtrosTenedoresDeInstrumentosDePatrimonio"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_CashFlowsFromUsedInFinancingActivities" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_CashFlowsFromUsedInFinancingActivities"/>
    <link:definitionArc xlink:arcrole="http://www.esma.europa.eu/xbrl/esef/arcrole/wider-narrower" xlink:from="loc_ifrs-full_CashFlowsFromUsedInFinancingActivities" xlink:to="loc_tef_OperacionesConOtrosTenedoresDeInstrumentosDePatrimonio_6765ed6b-7d7a-483c-971e-424310563c0f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_PaymentsOfOtherEquityInstruments" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_PaymentsOfOtherEquityInstruments"/>
    <link:definitionArc xlink:arcrole="http://www.esma.europa.eu/xbrl/esef/arcrole/wider-narrower" xlink:from="loc_tef_OperacionesConOtrosTenedoresDeInstrumentosDePatrimonio_6765ed6b-7d7a-483c-971e-424310563c0f" xlink:to="loc_ifrs-full_PaymentsOfOtherEquityInstruments" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ProceedsFromIssuingOtherEquityInstruments" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_ProceedsFromIssuingOtherEquityInstruments"/>
    <link:definitionArc xlink:arcrole="http://www.esma.europa.eu/xbrl/esef/arcrole/wider-narrower" xlink:from="loc_tef_OperacionesConOtrosTenedoresDeInstrumentosDePatrimonio_6765ed6b-7d7a-483c-971e-424310563c0f" xlink:to="loc_ifrs-full_ProceedsFromIssuingOtherEquityInstruments" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_tef_PagoDeInteresesYOtrosGastosFinancierosNetoDeDividendosRecibidos_92b8c320-2645-4060-ad71-6495d0d381c6" xlink:href="549300EEJH4FEPDBBR25-2021-12-31.xsd#tef_PagoDeInteresesYOtrosGastosFinancierosNetoDeDividendosRecibidos"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_CashFlowsFromUsedInOperatingActivities" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_CashFlowsFromUsedInOperatingActivities"/>
    <link:definitionArc xlink:arcrole="http://www.esma.europa.eu/xbrl/esef/arcrole/wider-narrower" xlink:from="loc_ifrs-full_CashFlowsFromUsedInOperatingActivities" xlink:to="loc_tef_PagoDeInteresesYOtrosGastosFinancierosNetoDeDividendosRecibidos_92b8c320-2645-4060-ad71-6495d0d381c6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DividendsReceivedClassifiedAsOperatingActivities" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_DividendsReceivedClassifiedAsOperatingActivities"/>
    <link:definitionArc xlink:arcrole="http://www.esma.europa.eu/xbrl/esef/arcrole/wider-narrower" xlink:from="loc_tef_PagoDeInteresesYOtrosGastosFinancierosNetoDeDividendosRecibidos_92b8c320-2645-4060-ad71-6495d0d381c6" xlink:to="loc_ifrs-full_DividendsReceivedClassifiedAsOperatingActivities" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_InterestPaidClassifiedAsOperatingActivities" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_InterestPaidClassifiedAsOperatingActivities"/>
    <link:definitionArc xlink:arcrole="http://www.esma.europa.eu/xbrl/esef/arcrole/wider-narrower" xlink:from="loc_tef_PagoDeInteresesYOtrosGastosFinancierosNetoDeDividendosRecibidos_92b8c320-2645-4060-ad71-6495d0d381c6" xlink:to="loc_ifrs-full_InterestPaidClassifiedAsOperatingActivities" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_InterestReceivedClassifiedAsOperatingActivities" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_InterestReceivedClassifiedAsOperatingActivities"/>
    <link:definitionArc xlink:arcrole="http://www.esma.europa.eu/xbrl/esef/arcrole/wider-narrower" xlink:from="loc_tef_PagoDeInteresesYOtrosGastosFinancierosNetoDeDividendosRecibidos_92b8c320-2645-4060-ad71-6495d0d381c6" xlink:to="loc_ifrs-full_InterestReceivedClassifiedAsOperatingActivities" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_tef_PagosDeExplotacionEInversionesMaterialesEIntangiblesFinanciados_ba38fc73-a358-401e-b888-8a0c3d45944c" xlink:href="549300EEJH4FEPDBBR25-2021-12-31.xsd#tef_PagosDeExplotacionEInversionesMaterialesEIntangiblesFinanciados"/>
    <link:definitionArc xlink:arcrole="http://www.esma.europa.eu/xbrl/esef/arcrole/wider-narrower" xlink:from="loc_ifrs-full_CashFlowsFromUsedInFinancingActivities" xlink:to="loc_tef_PagosDeExplotacionEInversionesMaterialesEIntangiblesFinanciados_ba38fc73-a358-401e-b888-8a0c3d45944c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_tef_PagosPorInversionesFinancierasNoIncluidasEnEquivalentesDeEfectivo_28ade8b4-917b-47a5-beec-9fb6853de8b4" xlink:href="549300EEJH4FEPDBBR25-2021-12-31.xsd#tef_PagosPorInversionesFinancierasNoIncluidasEnEquivalentesDeEfectivo"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_OtherCashPaymentsToAcquireEquityOrDebtInstrumentsOfOtherEntitiesClassifiedAsInvestingActivities" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_OtherCashPaymentsToAcquireEquityOrDebtInstrumentsOfOtherEntitiesClassifiedAsInvestingActivities"/>
    <link:definitionArc xlink:arcrole="http://www.esma.europa.eu/xbrl/esef/arcrole/wider-narrower" xlink:from="loc_ifrs-full_OtherCashPaymentsToAcquireEquityOrDebtInstrumentsOfOtherEntitiesClassifiedAsInvestingActivities" xlink:to="loc_tef_PagosPorInversionesFinancierasNoIncluidasEnEquivalentesDeEfectivo_28ade8b4-917b-47a5-beec-9fb6853de8b4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_tef_ParticipacionEnPerdidasGananciasImputadasDirectamenteAlPatrimonioNetoAsociadasYOtros_6d681748-7727-4b57-bbf3-1b7562c6d942" xlink:href="549300EEJH4FEPDBBR25-2021-12-31.xsd#tef_ParticipacionEnPerdidasGananciasImputadasDirectamenteAlPatrimonioNetoAsociadasYOtros"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ShareOfOtherComprehensiveIncomeOfAssociatesAndJointVenturesAccountedForUsingEquityMethodThatWillBeReclassifiedToProfitOrLossBeforeTax" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_ShareOfOtherComprehensiveIncomeOfAssociatesAndJointVenturesAccountedForUsingEquityMethodThatWillBeReclassifiedToProfitOrLossBeforeTax"/>
    <link:definitionArc xlink:arcrole="http://www.esma.europa.eu/xbrl/esef/arcrole/wider-narrower" xlink:from="loc_ifrs-full_ShareOfOtherComprehensiveIncomeOfAssociatesAndJointVenturesAccountedForUsingEquityMethodThatWillBeReclassifiedToProfitOrLossBeforeTax" xlink:to="loc_tef_ParticipacionEnPerdidasGananciasImputadasDirectamenteAlPatrimonioNetoAsociadasYOtros_6d681748-7727-4b57-bbf3-1b7562c6d942" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_tef_PerdidasGananciasActuarialesYEfectoDelLimiteDelActivoPorPlanesDePrestacionDefinida_4986fc89-ce9f-41c3-bbea-5b9f203950e8" xlink:href="549300EEJH4FEPDBBR25-2021-12-31.xsd#tef_PerdidasGananciasActuarialesYEfectoDelLimiteDelActivoPorPlanesDePrestacionDefinida"/>
    <link:definitionArc xlink:arcrole="http://www.esma.europa.eu/xbrl/esef/arcrole/wider-narrower" xlink:from="loc_ifrs-full_OtherComprehensiveIncomeBeforeTaxGainsLossesOnRemeasurementsOfDefinedBenefitPlans" xlink:to="loc_tef_PerdidasGananciasActuarialesYEfectoDelLimiteDelActivoPorPlanesDePrestacionDefinida_4986fc89-ce9f-41c3-bbea-5b9f203950e8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_tef_ProductoDeCompraPropiedadPlantaYEquipoYActivosIntangiblesClasificadosComoActividadesDeInversion_20d3ad52-41bd-4b78-b0f2-403aeadd9efb" xlink:href="549300EEJH4FEPDBBR25-2021-12-31.xsd#tef_ProductoDeCompraPropiedadPlantaYEquipoYActivosIntangiblesClasificadosComoActividadesDeInversion"/>
    <link:definitionArc xlink:arcrole="http://www.esma.europa.eu/xbrl/esef/arcrole/wider-narrower" xlink:from="loc_ifrs-full_CashFlowsFromUsedInInvestingActivities" xlink:to="loc_tef_ProductoDeCompraPropiedadPlantaYEquipoYActivosIntangiblesClasificadosComoActividadesDeInversion_20d3ad52-41bd-4b78-b0f2-403aeadd9efb" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ProceedsFromSalesOfPropertyPlantAndEquipmentClassifiedAsInvestingActivities" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_ProceedsFromSalesOfPropertyPlantAndEquipmentClassifiedAsInvestingActivities"/>
    <link:definitionArc xlink:arcrole="http://www.esma.europa.eu/xbrl/esef/arcrole/wider-narrower" xlink:from="loc_tef_ProductoDeCompraPropiedadPlantaYEquipoYActivosIntangiblesClasificadosComoActividadesDeInversion_20d3ad52-41bd-4b78-b0f2-403aeadd9efb" xlink:to="loc_ifrs-full_ProceedsFromSalesOfPropertyPlantAndEquipmentClassifiedAsInvestingActivities" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ProceedsFromSalesOfIntangibleAssetsClassifiedAsInvestingActivities" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_ProceedsFromSalesOfIntangibleAssetsClassifiedAsInvestingActivities"/>
    <link:definitionArc xlink:arcrole="http://www.esma.europa.eu/xbrl/esef/arcrole/wider-narrower" xlink:from="loc_tef_ProductoDeCompraPropiedadPlantaYEquipoYActivosIntangiblesClasificadosComoActividadesDeInversion_20d3ad52-41bd-4b78-b0f2-403aeadd9efb" xlink:to="loc_ifrs-full_ProceedsFromSalesOfIntangibleAssetsClassifiedAsInvestingActivities" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_PurchaseOfIntangibleAssetsClassifiedAsInvestingActivities" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_PurchaseOfIntangibleAssetsClassifiedAsInvestingActivities"/>
    <link:definitionArc xlink:arcrole="http://www.esma.europa.eu/xbrl/esef/arcrole/wider-narrower" xlink:from="loc_tef_ProductoDeCompraPropiedadPlantaYEquipoYActivosIntangiblesClasificadosComoActividadesDeInversion_20d3ad52-41bd-4b78-b0f2-403aeadd9efb" xlink:to="loc_ifrs-full_PurchaseOfIntangibleAssetsClassifiedAsInvestingActivities" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_PurchaseOfPropertyPlantAndEquipmentClassifiedAsInvestingActivities" xlink:href="http://xbrl.ifrs.org/taxonomy/2020-03-16/full_ifrs/full_ifrs-cor_2020-03-16.xsd#ifrs-full_PurchaseOfPropertyPlantAndEquipmentClassifiedAsInvestingActivities"/>
    <link:definitionArc xlink:arcrole="http://www.esma.europa.eu/xbrl/esef/arcrole/wider-narrower" xlink:from="loc_tef_ProductoDeCompraPropiedadPlantaYEquipoYActivosIntangiblesClasificadosComoActividadesDeInversion_20d3ad52-41bd-4b78-b0f2-403aeadd9efb" xlink:to="loc_ifrs-full_PurchaseOfPropertyPlantAndEquipmentClassifiedAsInvestingActivities" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_tef_ReclasificacionRelacionadaConLaParticipacionEnLasGananciasPerdidasReconocidasDirectamenteEnElPatrimonioDeAsociadasYOtros_32f08b9a-5ff6-40b0-908e-6e7319e1485f" xlink:href="549300EEJH4FEPDBBR25-2021-12-31.xsd#tef_ReclasificacionRelacionadaConLaParticipacionEnLasGananciasPerdidasReconocidasDirectamenteEnElPatrimonioDeAsociadasYOtros"/>
    <link:definitionArc xlink:arcrole="http://www.esma.europa.eu/xbrl/esef/arcrole/wider-narrower" xlink:from="loc_ifrs-full_ShareOfOtherComprehensiveIncomeOfAssociatesAndJointVenturesAccountedForUsingEquityMethodThatWillBeReclassifiedToProfitOrLossBeforeTax" xlink:to="loc_tef_ReclasificacionRelacionadaConLaParticipacionEnLasGananciasPerdidasReconocidasDirectamenteEnElPatrimonioDeAsociadasYOtros_32f08b9a-5ff6-40b0-908e-6e7319e1485f" xlink:type="arc" order="1"/>
  </link:definitionLink>
</link:linkbase>
