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

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2025 Workiva-->
<!--r:ac8cca0a-33f9-4a1a-bc09-54a86d27adb3,g:22b47fc2-6f0f-4d48-8947-d07702aed1c0-->
<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" xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd">
  <link:roleRef roleURI="http://www.xbrl.org/2009/role/negatedPeriodStartLabel" xlink:type="simple" xlink:href="http://www.xbrl.org/lrr/role/negated-2009-12-16.xsd#negatedPeriodStartLabel"/>
  <link:roleRef roleURI="http://www.xbrl.org/2009/role/netLabel" xlink:type="simple" xlink:href="http://www.xbrl.org/lrr/role/net-2009-12-16.xsd#netLabel"/>
  <link:roleRef roleURI="http://www.xbrl.org/2009/role/negatedNetLabel" xlink:type="simple" xlink:href="http://www.xbrl.org/lrr/role/negated-2009-12-16.xsd#negatedNetLabel"/>
  <link:roleRef roleURI="http://www.xbrl.org/2009/role/negatedTerseLabel" xlink:type="simple" xlink:href="http://www.xbrl.org/lrr/role/negated-2009-12-16.xsd#negatedTerseLabel"/>
  <link:roleRef roleURI="http://www.xbrl.org/2009/role/negatedPeriodEndLabel" xlink:type="simple" xlink:href="http://www.xbrl.org/lrr/role/negated-2009-12-16.xsd#negatedPeriodEndLabel"/>
  <link:roleRef roleURI="http://www.xbrl.org/2009/role/negatedLabel" xlink:type="simple" xlink:href="http://www.xbrl.org/lrr/role/negated-2009-12-16.xsd#negatedLabel"/>
  <link:roleRef roleURI="http://www.xbrl.org/2009/role/negatedTotalLabel" xlink:type="simple" xlink:href="http://www.xbrl.org/lrr/role/negated-2009-12-16.xsd#negatedTotalLabel"/>
  <link:labelLink xlink:role="http://www.xbrl.org/2003/role/link" xlink:type="extended">
    <link:label id="lab_tef_EffectOfChangesInConsolidationMethodsAndOthersOnCashAndEquivalents_label_en" xlink:label="lab_tef_EffectOfChangesInConsolidationMethodsAndOthersOnCashAndEquivalents" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en">Effect of Changes in Consolidation Methods and Others on Cash and Equivalents</link:label>
    <link:label id="lab_tef_EffectOfChangesInConsolidationMethodsAndOthersOnCashAndEquivalents_documentation_en" xlink:label="lab_tef_EffectOfChangesInConsolidationMethodsAndOthersOnCashAndEquivalents" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en">Effect of Changes in Consolidation Methods and Others on Cash and Equivalents</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_tef_EffectOfChangesInConsolidationMethodsAndOthersOnCashAndEquivalents" xlink:href="549300EEJH4FEPDBBR25-2024-12-31.xsd#tef_EffectOfChangesInConsolidationMethodsAndOthersOnCashAndEquivalents"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_tef_EffectOfChangesInConsolidationMethodsAndOthersOnCashAndEquivalents" xlink:to="lab_tef_EffectOfChangesInConsolidationMethodsAndOthersOnCashAndEquivalents" xlink:type="arc" order="1"/>
    <link:label id="lab_tef_DisclosureOfOtherLongTermCreditsTextBlock_label_en" xlink:label="lab_tef_DisclosureOfOtherLongTermCreditsTextBlock" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en">Disclosure Of Other Long-Term Credits [Text Block]</link:label>
    <link:label id="lab_tef_DisclosureOfOtherLongTermCreditsTextBlock_documentation_en" xlink:label="lab_tef_DisclosureOfOtherLongTermCreditsTextBlock" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en">Disclosure Of Other Long-Term Credits</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_tef_DisclosureOfOtherLongTermCreditsTextBlock" xlink:href="549300EEJH4FEPDBBR25-2024-12-31.xsd#tef_DisclosureOfOtherLongTermCreditsTextBlock"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_tef_DisclosureOfOtherLongTermCreditsTextBlock" xlink:to="lab_tef_DisclosureOfOtherLongTermCreditsTextBlock" xlink:type="arc" order="1"/>
    <link:label id="lab_ifrs-full_DomicileOfEntity_85e0d745-df69-4304-9930-6411e32de08e_terseLabel_en" xlink:label="lab_ifrs-full_DomicileOfEntity" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en">Domicile of entity</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DomicileOfEntity" xlink:href="https://xbrl.ifrs.org/taxonomy/2022-03-24/full_ifrs/full_ifrs-cor_2022-03-24.xsd#ifrs-full_DomicileOfEntity"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ifrs-full_DomicileOfEntity" xlink:to="lab_ifrs-full_DomicileOfEntity" xlink:type="arc" order="1"/>
    <link:label id="lab_tef_OtherComprehensiveIncomeNetOfTaxCashFlowHedgesCosts_4acd3299-72b6-40d4-bbfa-4189614238fb_totalLabel_en" xlink:label="lab_tef_OtherComprehensiveIncomeNetOfTaxCashFlowHedgesCosts" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:type="resource" xml:lang="en">Other comprehensive income, net of tax, cash flow hedges costs</link:label>
    <link:label id="lab_tef_OtherComprehensiveIncomeNetOfTaxCashFlowHedgesCosts_label_en" xlink:label="lab_tef_OtherComprehensiveIncomeNetOfTaxCashFlowHedgesCosts" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en">Other comprehensive income net of tax cash flow hedges costs</link:label>
    <link:label id="lab_tef_OtherComprehensiveIncomeNetOfTaxCashFlowHedgesCosts_documentation_en" xlink:label="lab_tef_OtherComprehensiveIncomeNetOfTaxCashFlowHedgesCosts" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en">Other comprehensive income net of tax cash flow hedges costs</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_tef_OtherComprehensiveIncomeNetOfTaxCashFlowHedgesCosts" xlink:href="549300EEJH4FEPDBBR25-2024-12-31.xsd#tef_OtherComprehensiveIncomeNetOfTaxCashFlowHedgesCosts"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_tef_OtherComprehensiveIncomeNetOfTaxCashFlowHedgesCosts" xlink:to="lab_tef_OtherComprehensiveIncomeNetOfTaxCashFlowHedgesCosts" xlink:type="arc" order="1"/>
    <link:label id="lab_tef_GainsLossesFromFinancialAssetsMeasuredAtFairValueThroughComprehensiveIncomeThatWillNotBeReclassifiedToProfitOrLossBeforeTax_label_en" xlink:label="lab_tef_GainsLossesFromFinancialAssetsMeasuredAtFairValueThroughComprehensiveIncomeThatWillNotBeReclassifiedToProfitOrLossBeforeTax" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en">Gains (Losses) From Financial Assets Measured At Fair Value Through Comprehensive Income That Will Not Be Reclassified To Profit Or Loss, Before Tax</link:label>
    <link:label id="lab_tef_GainsLossesFromFinancialAssetsMeasuredAtFairValueThroughComprehensiveIncomeThatWillNotBeReclassifiedToProfitOrLossBeforeTax_documentation_en" xlink:label="lab_tef_GainsLossesFromFinancialAssetsMeasuredAtFairValueThroughComprehensiveIncomeThatWillNotBeReclassifiedToProfitOrLossBeforeTax" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en">Gains (Losses) From Financial Assets Measured At Fair Value Through Comprehensive Income That Will Not Be Reclassified To Profit Or Loss, Before Tax</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_tef_GainsLossesFromFinancialAssetsMeasuredAtFairValueThroughComprehensiveIncomeThatWillNotBeReclassifiedToProfitOrLossBeforeTax" xlink:href="549300EEJH4FEPDBBR25-2024-12-31.xsd#tef_GainsLossesFromFinancialAssetsMeasuredAtFairValueThroughComprehensiveIncomeThatWillNotBeReclassifiedToProfitOrLossBeforeTax"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_tef_GainsLossesFromFinancialAssetsMeasuredAtFairValueThroughComprehensiveIncomeThatWillNotBeReclassifiedToProfitOrLossBeforeTax" xlink:to="lab_tef_GainsLossesFromFinancialAssetsMeasuredAtFairValueThroughComprehensiveIncomeThatWillNotBeReclassifiedToProfitOrLossBeforeTax" xlink:type="arc" order="1"/>
    <link:label id="lab_tef_PaymentsForFinancialInvestmentsNotIncludedInCashEquivalents_label_en" xlink:label="lab_tef_PaymentsForFinancialInvestmentsNotIncludedInCashEquivalents" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en">Payments for Financial Investments not Included in Cash Equivalents</link:label>
    <link:label id="lab_tef_PaymentsForFinancialInvestmentsNotIncludedInCashEquivalents_documentation_en" xlink:label="lab_tef_PaymentsForFinancialInvestmentsNotIncludedInCashEquivalents" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en">Payments for Financial Investments not Included in Cash Equivalents</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_tef_PaymentsForFinancialInvestmentsNotIncludedInCashEquivalents" xlink:href="549300EEJH4FEPDBBR25-2024-12-31.xsd#tef_PaymentsForFinancialInvestmentsNotIncludedInCashEquivalents"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_tef_PaymentsForFinancialInvestmentsNotIncludedInCashEquivalents" xlink:to="lab_tef_PaymentsForFinancialInvestmentsNotIncludedInCashEquivalents" xlink:type="arc" order="1"/>
    <link:label id="lab_ifrs-full_CashFlowsFromUsedInInvestingActivitiesAbstract_80ddbc1e-52fb-4a9a-bcd2-0e588732aa52_terseLabel_en" xlink:label="lab_ifrs-full_CashFlowsFromUsedInInvestingActivitiesAbstract" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en">Cash flows from (used in) investing activities [abstract]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_CashFlowsFromUsedInInvestingActivitiesAbstract" xlink:href="https://xbrl.ifrs.org/taxonomy/2022-03-24/full_ifrs/full_ifrs-cor_2022-03-24.xsd#ifrs-full_CashFlowsFromUsedInInvestingActivitiesAbstract"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ifrs-full_CashFlowsFromUsedInInvestingActivitiesAbstract" xlink:to="lab_ifrs-full_CashFlowsFromUsedInInvestingActivitiesAbstract" xlink:type="arc" order="1"/>
    <link:label id="lab_ifrs-full_ProfitLossAbstract_bc39b32f-cf75-4217-95c6-26c3f444e932_terseLabel_en" xlink:label="lab_ifrs-full_ProfitLossAbstract" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en">Profit (loss) [abstract]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ProfitLossAbstract" xlink:href="https://xbrl.ifrs.org/taxonomy/2022-03-24/full_ifrs/full_ifrs-cor_2022-03-24.xsd#ifrs-full_ProfitLossAbstract"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ifrs-full_ProfitLossAbstract" xlink:to="lab_ifrs-full_ProfitLossAbstract" xlink:type="arc" order="1"/>
    <link:label id="lab_tef_PaymentsProceedsOfTreasurySharesAndOtherOperationsWithShareholdersAndWithMinorityInterests_label_en" xlink:label="lab_tef_PaymentsProceedsOfTreasurySharesAndOtherOperationsWithShareholdersAndWithMinorityInterests" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en">(Payments)/ proceeds of treasury shares and other operations with shareholders and with minority interests</link:label>
    <link:label id="lab_tef_PaymentsProceedsOfTreasurySharesAndOtherOperationsWithShareholdersAndWithMinorityInterests_documentation_en" xlink:label="lab_tef_PaymentsProceedsOfTreasurySharesAndOtherOperationsWithShareholdersAndWithMinorityInterests" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en">(Payments)/ proceeds of treasury shares and other operations with shareholders and with minority interests</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_tef_PaymentsProceedsOfTreasurySharesAndOtherOperationsWithShareholdersAndWithMinorityInterests" xlink:href="549300EEJH4FEPDBBR25-2024-12-31.xsd#tef_PaymentsProceedsOfTreasurySharesAndOtherOperationsWithShareholdersAndWithMinorityInterests"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_tef_PaymentsProceedsOfTreasurySharesAndOtherOperationsWithShareholdersAndWithMinorityInterests" xlink:to="lab_tef_PaymentsProceedsOfTreasurySharesAndOtherOperationsWithShareholdersAndWithMinorityInterests" xlink:type="arc" order="1"/>
    <link:label id="lab_ifrs-full_EarningsPerShareAbstract_42cf37c0-c1d2-48d8-9e80-5c20fa6025bf_terseLabel_en" xlink:label="lab_ifrs-full_EarningsPerShareAbstract" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en">Earnings per share [abstract]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_EarningsPerShareAbstract" xlink:href="https://xbrl.ifrs.org/taxonomy/2022-03-24/full_ifrs/full_ifrs-cor_2022-03-24.xsd#ifrs-full_EarningsPerShareAbstract"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ifrs-full_EarningsPerShareAbstract" xlink:to="lab_ifrs-full_EarningsPerShareAbstract" xlink:type="arc" order="1"/>
    <link:label id="lab_ifrs-full_DescriptionOfNatureOfEntitysOperationsAndPrincipalActivities_53afba1e-35a0-496e-8338-7f0d4ae9a978_terseLabel_en" xlink:label="lab_ifrs-full_DescriptionOfNatureOfEntitysOperationsAndPrincipalActivities" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en">Description of nature of entity's operations and principal activities</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DescriptionOfNatureOfEntitysOperationsAndPrincipalActivities" xlink:href="https://xbrl.ifrs.org/taxonomy/2022-03-24/full_ifrs/full_ifrs-cor_2022-03-24.xsd#ifrs-full_DescriptionOfNatureOfEntitysOperationsAndPrincipalActivities"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ifrs-full_DescriptionOfNatureOfEntitysOperationsAndPrincipalActivities" xlink:to="lab_ifrs-full_DescriptionOfNatureOfEntitysOperationsAndPrincipalActivities" xlink:type="arc" order="1"/>
    <link:label id="lab_ifrs-full_LegalFormOfEntity_ac589f84-6686-4d89-8e15-17d1ec44fa1d_terseLabel_en" xlink:label="lab_ifrs-full_LegalFormOfEntity" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en">Legal form of entity</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_LegalFormOfEntity" xlink:href="https://xbrl.ifrs.org/taxonomy/2022-03-24/full_ifrs/full_ifrs-cor_2022-03-24.xsd#ifrs-full_LegalFormOfEntity"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ifrs-full_LegalFormOfEntity" xlink:to="lab_ifrs-full_LegalFormOfEntity" xlink:type="arc" order="1"/>
    <link:label id="lab_tef_FinancialAssetsAndOtherAssetsNonCurrent_label_en" xlink:label="lab_tef_FinancialAssetsAndOtherAssetsNonCurrent" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en">Financial assets and other assets, non-current</link:label>
    <link:label id="lab_tef_FinancialAssetsAndOtherAssetsNonCurrent_documentation_en" xlink:label="lab_tef_FinancialAssetsAndOtherAssetsNonCurrent" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en">Financial assets and other non-current assets</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_tef_FinancialAssetsAndOtherAssetsNonCurrent" xlink:href="549300EEJH4FEPDBBR25-2024-12-31.xsd#tef_FinancialAssetsAndOtherAssetsNonCurrent"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_tef_FinancialAssetsAndOtherAssetsNonCurrent" xlink:to="lab_tef_FinancialAssetsAndOtherAssetsNonCurrent" xlink:type="arc" order="1"/>
    <link:label id="lab_tef_PayablesAndOtherLiabilitiesNonCurrent_label_en" xlink:label="lab_tef_PayablesAndOtherLiabilitiesNonCurrent" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en">Payables and other liabilities, non-current</link:label>
    <link:label id="lab_tef_PayablesAndOtherLiabilitiesNonCurrent_documentation_en" xlink:label="lab_tef_PayablesAndOtherLiabilitiesNonCurrent" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en">Payables and other non-current liabilities</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_tef_PayablesAndOtherLiabilitiesNonCurrent" xlink:href="549300EEJH4FEPDBBR25-2024-12-31.xsd#tef_PayablesAndOtherLiabilitiesNonCurrent"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_tef_PayablesAndOtherLiabilitiesNonCurrent" xlink:to="lab_tef_PayablesAndOtherLiabilitiesNonCurrent" xlink:type="arc" order="1"/>
    <link:label id="lab_ifrs-full_NoncurrentLiabilitiesAbstract_1b6ca6f2-2937-4e1c-85e2-6d983ab751e2_terseLabel_en" xlink:label="lab_ifrs-full_NoncurrentLiabilitiesAbstract" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en">Non-current liabilities [abstract]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_NoncurrentLiabilitiesAbstract" xlink:href="https://xbrl.ifrs.org/taxonomy/2022-03-24/full_ifrs/full_ifrs-cor_2022-03-24.xsd#ifrs-full_NoncurrentLiabilitiesAbstract"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ifrs-full_NoncurrentLiabilitiesAbstract" xlink:to="lab_ifrs-full_NoncurrentLiabilitiesAbstract" xlink:type="arc" order="1"/>
    <link:label id="lab_ifrs-full_ShareOfOtherComprehensiveIncomeOfAssociatesAndJointVenturesAccountedForUsingEquityMethodThatWillBeReclassifiedToProfitOrLossNetOfTax_bcee3135-1ebc-40e7-af71-fd9f548e9f7d_totalLabel_en" xlink:label="lab_ifrs-full_ShareOfOtherComprehensiveIncomeOfAssociatesAndJointVenturesAccountedForUsingEquityMethodThatWillBeReclassifiedToProfitOrLossNetOfTax" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:type="resource" xml:lang="en">Share of other comprehensive income of associates and joint ventures accounted for using equity method that will be reclassified to profit or loss, net of tax</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ShareOfOtherComprehensiveIncomeOfAssociatesAndJointVenturesAccountedForUsingEquityMethodThatWillBeReclassifiedToProfitOrLossNetOfTax" xlink:href="https://xbrl.ifrs.org/taxonomy/2022-03-24/full_ifrs/full_ifrs-cor_2022-03-24.xsd#ifrs-full_ShareOfOtherComprehensiveIncomeOfAssociatesAndJointVenturesAccountedForUsingEquityMethodThatWillBeReclassifiedToProfitOrLossNetOfTax"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ifrs-full_ShareOfOtherComprehensiveIncomeOfAssociatesAndJointVenturesAccountedForUsingEquityMethodThatWillBeReclassifiedToProfitOrLossNetOfTax" xlink:to="lab_ifrs-full_ShareOfOtherComprehensiveIncomeOfAssociatesAndJointVenturesAccountedForUsingEquityMethodThatWillBeReclassifiedToProfitOrLossNetOfTax" xlink:type="arc" order="1"/>
    <link:label id="lab_ifrs-full_EffectOfExchangeRateChangesOnCashAndCashEquivalentsAbstract_e96ebcc7-5db9-4fca-8668-d1e569e77507_terseLabel_en" xlink:label="lab_ifrs-full_EffectOfExchangeRateChangesOnCashAndCashEquivalentsAbstract" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en">Effect of exchange rate changes on cash and cash equivalents [abstract]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_EffectOfExchangeRateChangesOnCashAndCashEquivalentsAbstract" xlink:href="https://xbrl.ifrs.org/taxonomy/2022-03-24/full_ifrs/full_ifrs-cor_2022-03-24.xsd#ifrs-full_EffectOfExchangeRateChangesOnCashAndCashEquivalentsAbstract"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ifrs-full_EffectOfExchangeRateChangesOnCashAndCashEquivalentsAbstract" xlink:to="lab_ifrs-full_EffectOfExchangeRateChangesOnCashAndCashEquivalentsAbstract" xlink:type="arc" order="1"/>
    <link:label id="lab_tef_GainsLossesOnCashFlowHedgeCostsBeforeTax_label_en" xlink:label="lab_tef_GainsLossesOnCashFlowHedgeCostsBeforeTax" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en">Gains (losses) on cash flow hedge costs, before tax</link:label>
    <link:label id="lab_tef_GainsLossesOnCashFlowHedgeCostsBeforeTax_documentation_en" xlink:label="lab_tef_GainsLossesOnCashFlowHedgeCostsBeforeTax" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en">Gains (losses) on cash flow hedge costs, before tax</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_tef_GainsLossesOnCashFlowHedgeCostsBeforeTax" xlink:href="549300EEJH4FEPDBBR25-2024-12-31.xsd#tef_GainsLossesOnCashFlowHedgeCostsBeforeTax"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_tef_GainsLossesOnCashFlowHedgeCostsBeforeTax" xlink:to="lab_tef_GainsLossesOnCashFlowHedgeCostsBeforeTax" xlink:type="arc" order="1"/>
    <link:label id="lab_tef_IncomeTaxRelatingToGainsLossesFromFinancialAssetsMeasuredAtFairValueThroughComprehensiveIncomeThatWillNotBeReclassifiedToProfitOrLoss_label_en" xlink:label="lab_tef_IncomeTaxRelatingToGainsLossesFromFinancialAssetsMeasuredAtFairValueThroughComprehensiveIncomeThatWillNotBeReclassifiedToProfitOrLoss" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en">Income Tax Relating To Gains (Losses) From Financial Assets Measured At Fair Value Through Comprehensive Income That Will Not Be Reclassified To Profit Or Loss</link:label>
    <link:label id="lab_tef_IncomeTaxRelatingToGainsLossesFromFinancialAssetsMeasuredAtFairValueThroughComprehensiveIncomeThatWillNotBeReclassifiedToProfitOrLoss_documentation_en" xlink:label="lab_tef_IncomeTaxRelatingToGainsLossesFromFinancialAssetsMeasuredAtFairValueThroughComprehensiveIncomeThatWillNotBeReclassifiedToProfitOrLoss" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en">Income Tax Relating To Gains (Losses) From Financial Assets Measured At Fair Value Through Comprehensive Income That Will Not Be Reclassified To Profit Or Loss</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_tef_IncomeTaxRelatingToGainsLossesFromFinancialAssetsMeasuredAtFairValueThroughComprehensiveIncomeThatWillNotBeReclassifiedToProfitOrLoss" xlink:href="549300EEJH4FEPDBBR25-2024-12-31.xsd#tef_IncomeTaxRelatingToGainsLossesFromFinancialAssetsMeasuredAtFairValueThroughComprehensiveIncomeThatWillNotBeReclassifiedToProfitOrLoss"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_tef_IncomeTaxRelatingToGainsLossesFromFinancialAssetsMeasuredAtFairValueThroughComprehensiveIncomeThatWillNotBeReclassifiedToProfitOrLoss" xlink:to="lab_tef_IncomeTaxRelatingToGainsLossesFromFinancialAssetsMeasuredAtFairValueThroughComprehensiveIncomeThatWillNotBeReclassifiedToProfitOrLoss" xlink:type="arc" order="1"/>
    <link:label id="lab_tef_PayablesAndOtherLiabilitiesCurrent_label_en" xlink:label="lab_tef_PayablesAndOtherLiabilitiesCurrent" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en">Payables and other liabilities, current</link:label>
    <link:label id="lab_tef_PayablesAndOtherLiabilitiesCurrent_documentation_en" xlink:label="lab_tef_PayablesAndOtherLiabilitiesCurrent" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en">Payables and other current liabilities</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_tef_PayablesAndOtherLiabilitiesCurrent" xlink:href="549300EEJH4FEPDBBR25-2024-12-31.xsd#tef_PayablesAndOtherLiabilitiesCurrent"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_tef_PayablesAndOtherLiabilitiesCurrent" xlink:to="lab_tef_PayablesAndOtherLiabilitiesCurrent" xlink:type="arc" order="1"/>
    <link:label id="lab_tef_ProceedsFromPaymentsForPlacementsOfCashSurplusesNotIncludedInCashEquivalents_label_en" xlink:label="lab_tef_ProceedsFromPaymentsForPlacementsOfCashSurplusesNotIncludedInCashEquivalents" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en">Proceeds from (Payments for) Placements of Cash Surpluses not Included in Cash Equivalents</link:label>
    <link:label id="lab_tef_ProceedsFromPaymentsForPlacementsOfCashSurplusesNotIncludedInCashEquivalents_documentation_en" xlink:label="lab_tef_ProceedsFromPaymentsForPlacementsOfCashSurplusesNotIncludedInCashEquivalents" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en">Proceeds from (Payments for) Placements of Cash Surpluses not Included in Cash Equivalents</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_tef_ProceedsFromPaymentsForPlacementsOfCashSurplusesNotIncludedInCashEquivalents" xlink:href="549300EEJH4FEPDBBR25-2024-12-31.xsd#tef_ProceedsFromPaymentsForPlacementsOfCashSurplusesNotIncludedInCashEquivalents"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_tef_ProceedsFromPaymentsForPlacementsOfCashSurplusesNotIncludedInCashEquivalents" xlink:to="lab_tef_ProceedsFromPaymentsForPlacementsOfCashSurplusesNotIncludedInCashEquivalents" xlink:type="arc" order="1"/>
    <link:label id="lab_ifrs-full_CurrentAssetsAbstract_04e53adb-e683-4db6-b153-a51cd64516de_terseLabel_en" xlink:label="lab_ifrs-full_CurrentAssetsAbstract" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en">Current assets [abstract]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_CurrentAssetsAbstract" xlink:href="https://xbrl.ifrs.org/taxonomy/2022-03-24/full_ifrs/full_ifrs-cor_2022-03-24.xsd#ifrs-full_CurrentAssetsAbstract"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ifrs-full_CurrentAssetsAbstract" xlink:to="lab_ifrs-full_CurrentAssetsAbstract" xlink:type="arc" order="1"/>
    <link:label id="lab_tef_CashReceivedFromOperations_label_en" xlink:label="lab_tef_CashReceivedFromOperations" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en">Cash received from operations</link:label>
    <link:label id="lab_tef_CashReceivedFromOperations_documentation_en" xlink:label="lab_tef_CashReceivedFromOperations" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en">Cash received from operations</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_tef_CashReceivedFromOperations" xlink:href="549300EEJH4FEPDBBR25-2024-12-31.xsd#tef_CashReceivedFromOperations"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_tef_CashReceivedFromOperations" xlink:to="lab_tef_CashReceivedFromOperations" xlink:type="arc" order="1"/>
    <link:label id="lab_ifrs-full_LiabilitiesAbstract_33d2c70e-00cc-4348-a7bb-c0771fd59a0e_terseLabel_en" xlink:label="lab_ifrs-full_LiabilitiesAbstract" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en">Liabilities [abstract]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_LiabilitiesAbstract" xlink:href="https://xbrl.ifrs.org/taxonomy/2022-03-24/full_ifrs/full_ifrs-cor_2022-03-24.xsd#ifrs-full_LiabilitiesAbstract"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ifrs-full_LiabilitiesAbstract" xlink:to="lab_ifrs-full_LiabilitiesAbstract" xlink:type="arc" order="1"/>
    <link:label id="lab_ifrs-full_ComprehensiveIncomeAttributableToAbstract_35e77726-00c7-4382-bfa7-18dfc910cfe5_terseLabel_en" xlink:label="lab_ifrs-full_ComprehensiveIncomeAttributableToAbstract" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en">Comprehensive income attributable to [abstract]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ComprehensiveIncomeAttributableToAbstract" xlink:href="https://xbrl.ifrs.org/taxonomy/2022-03-24/full_ifrs/full_ifrs-cor_2022-03-24.xsd#ifrs-full_ComprehensiveIncomeAttributableToAbstract"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ifrs-full_ComprehensiveIncomeAttributableToAbstract" xlink:to="lab_ifrs-full_ComprehensiveIncomeAttributableToAbstract" xlink:type="arc" order="1"/>
    <link:label id="lab_ifrs-full_CashFlowsFromUsedInOperatingActivities_7a1dfee6-0531-42da-b9d4-f7650a383d78_totalLabel_en" xlink:label="lab_ifrs-full_CashFlowsFromUsedInOperatingActivities" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:type="resource" xml:lang="en">Cash flows from (used in) operating activities</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_CashFlowsFromUsedInOperatingActivities" xlink:href="https://xbrl.ifrs.org/taxonomy/2022-03-24/full_ifrs/full_ifrs-cor_2022-03-24.xsd#ifrs-full_CashFlowsFromUsedInOperatingActivities"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ifrs-full_CashFlowsFromUsedInOperatingActivities" xlink:to="lab_ifrs-full_CashFlowsFromUsedInOperatingActivities" xlink:type="arc" order="1"/>
    <link:label id="lab_ifrs-full_NameOfParentEntity_bee20c1b-36bb-4d2d-ab39-fe8f07214d42_terseLabel_en" xlink:label="lab_ifrs-full_NameOfParentEntity" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en">Name of parent entity</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_NameOfParentEntity" xlink:href="https://xbrl.ifrs.org/taxonomy/2022-03-24/full_ifrs/full_ifrs-cor_2022-03-24.xsd#ifrs-full_NameOfParentEntity"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ifrs-full_NameOfParentEntity" xlink:to="lab_ifrs-full_NameOfParentEntity" xlink:type="arc" order="1"/>
    <link:label id="lab_tef_PaymentsProceedsFromShareCapitalDecreaseIncreaseWithMinorityInterest_label_en" xlink:label="lab_tef_PaymentsProceedsFromShareCapitalDecreaseIncreaseWithMinorityInterest" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en">(Payments)/Proceeds From Share Capital (Decrease)/Increase With Minority Interest</link:label>
    <link:label id="lab_tef_PaymentsProceedsFromShareCapitalDecreaseIncreaseWithMinorityInterest_documentation_en" xlink:label="lab_tef_PaymentsProceedsFromShareCapitalDecreaseIncreaseWithMinorityInterest" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en">(Payments)/Proceeds From Share Capital (Decrease)/Increase With Minority Interest</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_tef_PaymentsProceedsFromShareCapitalDecreaseIncreaseWithMinorityInterest" xlink:href="549300EEJH4FEPDBBR25-2024-12-31.xsd#tef_PaymentsProceedsFromShareCapitalDecreaseIncreaseWithMinorityInterest"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_tef_PaymentsProceedsFromShareCapitalDecreaseIncreaseWithMinorityInterest" xlink:to="lab_tef_PaymentsProceedsFromShareCapitalDecreaseIncreaseWithMinorityInterest" xlink:type="arc" order="1"/>
    <link:label id="lab_tef_GainsLossesFromFinancialAssetsMeasuredAtFairValueThroughComprehensiveIncomeThatWillNotBeReclassifiedToProfitOrLossNetOfTax_9182521f-4bd2-4783-950c-fe0cdb7515eb_totalLabel_en" xlink:label="lab_tef_GainsLossesFromFinancialAssetsMeasuredAtFairValueThroughComprehensiveIncomeThatWillNotBeReclassifiedToProfitOrLossNetOfTax" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:type="resource" xml:lang="en">Other comprehensive income, net of tax, gains (losses) on revaluation</link:label>
    <link:label id="lab_tef_GainsLossesFromFinancialAssetsMeasuredAtFairValueThroughComprehensiveIncomeThatWillNotBeReclassifiedToProfitOrLossNetOfTax_label_en" xlink:label="lab_tef_GainsLossesFromFinancialAssetsMeasuredAtFairValueThroughComprehensiveIncomeThatWillNotBeReclassifiedToProfitOrLossNetOfTax" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en">Gains (Losses) From Financial Assets Measured At Fair Value Through Comprehensive Income That Will Not Be Reclassified To Profit Or Loss, Net Of Tax</link:label>
    <link:label id="lab_tef_GainsLossesFromFinancialAssetsMeasuredAtFairValueThroughComprehensiveIncomeThatWillNotBeReclassifiedToProfitOrLossNetOfTax_documentation_en" xlink:label="lab_tef_GainsLossesFromFinancialAssetsMeasuredAtFairValueThroughComprehensiveIncomeThatWillNotBeReclassifiedToProfitOrLossNetOfTax" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en">Gains (Losses) From Financial Assets Measured At Fair Value Through Comprehensive Income That Will Not Be Reclassified To Profit Or Loss, Net Of Tax</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_tef_GainsLossesFromFinancialAssetsMeasuredAtFairValueThroughComprehensiveIncomeThatWillNotBeReclassifiedToProfitOrLossNetOfTax" xlink:href="549300EEJH4FEPDBBR25-2024-12-31.xsd#tef_GainsLossesFromFinancialAssetsMeasuredAtFairValueThroughComprehensiveIncomeThatWillNotBeReclassifiedToProfitOrLossNetOfTax"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_tef_GainsLossesFromFinancialAssetsMeasuredAtFairValueThroughComprehensiveIncomeThatWillNotBeReclassifiedToProfitOrLossNetOfTax" xlink:to="lab_tef_GainsLossesFromFinancialAssetsMeasuredAtFairValueThroughComprehensiveIncomeThatWillNotBeReclassifiedToProfitOrLossNetOfTax" xlink:type="arc" order="1"/>
    <link:label id="lab_tef_IncomeTaxRelatingToReclassificationOfGainsLossesOnCashFlowHedgeCosts_label_en" xlink:label="lab_tef_IncomeTaxRelatingToReclassificationOfGainsLossesOnCashFlowHedgeCosts" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en">Income Tax Relating to Reclassification of Gains (Losses) on Cash Flow Hedge Costs</link:label>
    <link:label id="lab_tef_IncomeTaxRelatingToReclassificationOfGainsLossesOnCashFlowHedgeCosts_documentation_en" xlink:label="lab_tef_IncomeTaxRelatingToReclassificationOfGainsLossesOnCashFlowHedgeCosts" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en">Income Tax Relating to Reclassification of Gains (Losses) on Cash Flow Hedge Costs</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_tef_IncomeTaxRelatingToReclassificationOfGainsLossesOnCashFlowHedgeCosts" xlink:href="549300EEJH4FEPDBBR25-2024-12-31.xsd#tef_IncomeTaxRelatingToReclassificationOfGainsLossesOnCashFlowHedgeCosts"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_tef_IncomeTaxRelatingToReclassificationOfGainsLossesOnCashFlowHedgeCosts" xlink:to="lab_tef_IncomeTaxRelatingToReclassificationOfGainsLossesOnCashFlowHedgeCosts" xlink:type="arc" order="1"/>
    <link:label id="lab_ifrs-full_CashFlowsFromUsedInFinancingActivities_bf8d595c-6eb4-49bc-a822-2cd33ed159d3_totalLabel_en" xlink:label="lab_ifrs-full_CashFlowsFromUsedInFinancingActivities" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:type="resource" xml:lang="en">Cash flows from (used in) financing activities</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_CashFlowsFromUsedInFinancingActivities" xlink:href="https://xbrl.ifrs.org/taxonomy/2022-03-24/full_ifrs/full_ifrs-cor_2022-03-24.xsd#ifrs-full_CashFlowsFromUsedInFinancingActivities"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ifrs-full_CashFlowsFromUsedInFinancingActivities" xlink:to="lab_ifrs-full_CashFlowsFromUsedInFinancingActivities" xlink:type="arc" order="1"/>
    <link:label id="lab_tef_ReclassificationAdjustmentsOnCashFlowHedgeCostsBeforeTax_label_en" xlink:label="lab_tef_ReclassificationAdjustmentsOnCashFlowHedgeCostsBeforeTax" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en">Reclassification adjustments on cash flow hedge costs, before tax</link:label>
    <link:label id="lab_tef_ReclassificationAdjustmentsOnCashFlowHedgeCostsBeforeTax_documentation_en" xlink:label="lab_tef_ReclassificationAdjustmentsOnCashFlowHedgeCostsBeforeTax" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en">Reclassification adjustments on cash flow hedge costs, before tax</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_tef_ReclassificationAdjustmentsOnCashFlowHedgeCostsBeforeTax" xlink:href="549300EEJH4FEPDBBR25-2024-12-31.xsd#tef_ReclassificationAdjustmentsOnCashFlowHedgeCostsBeforeTax"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_tef_ReclassificationAdjustmentsOnCashFlowHedgeCostsBeforeTax" xlink:to="lab_tef_ReclassificationAdjustmentsOnCashFlowHedgeCostsBeforeTax" xlink:type="arc" order="1"/>
    <link:label id="lab_tef_ProceedsFromFinancialInvestmentsNotIncludedInCashEquivalents_label_en" xlink:label="lab_tef_ProceedsFromFinancialInvestmentsNotIncludedInCashEquivalents" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en">Proceeds from Financial Investments not Included in Cash Equivalents</link:label>
    <link:label id="lab_tef_ProceedsFromFinancialInvestmentsNotIncludedInCashEquivalents_documentation_en" xlink:label="lab_tef_ProceedsFromFinancialInvestmentsNotIncludedInCashEquivalents" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en">Proceeds from Financial Investments not Included in Cash Equivalents</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_tef_ProceedsFromFinancialInvestmentsNotIncludedInCashEquivalents" xlink:href="549300EEJH4FEPDBBR25-2024-12-31.xsd#tef_ProceedsFromFinancialInvestmentsNotIncludedInCashEquivalents"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_tef_ProceedsFromFinancialInvestmentsNotIncludedInCashEquivalents" xlink:to="lab_tef_ProceedsFromFinancialInvestmentsNotIncludedInCashEquivalents" xlink:type="arc" order="1"/>
    <link:label id="lab_tef_IncomeTaxRelatingToShareOfGainsLossesRecognizedDirectlyInEquityOfAssociatesAndOther_label_en" xlink:label="lab_tef_IncomeTaxRelatingToShareOfGainsLossesRecognizedDirectlyInEquityOfAssociatesAndOther" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en">Income Tax Relating to Share of Gains (Losses) Recognized Directly in Equity of Associates and Other</link:label>
    <link:label id="lab_tef_IncomeTaxRelatingToShareOfGainsLossesRecognizedDirectlyInEquityOfAssociatesAndOther_documentation_en" xlink:label="lab_tef_IncomeTaxRelatingToShareOfGainsLossesRecognizedDirectlyInEquityOfAssociatesAndOther" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en">Income Tax Relating to Share of Gains (Losses) Recognized Directly in Equity of Associates and Other</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_tef_IncomeTaxRelatingToShareOfGainsLossesRecognizedDirectlyInEquityOfAssociatesAndOther" xlink:href="549300EEJH4FEPDBBR25-2024-12-31.xsd#tef_IncomeTaxRelatingToShareOfGainsLossesRecognizedDirectlyInEquityOfAssociatesAndOther"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_tef_IncomeTaxRelatingToShareOfGainsLossesRecognizedDirectlyInEquityOfAssociatesAndOther" xlink:to="lab_tef_IncomeTaxRelatingToShareOfGainsLossesRecognizedDirectlyInEquityOfAssociatesAndOther" xlink:type="arc" order="1"/>
    <link:label id="lab_tef_DisclosureOfDepositsAndGuaranteesTextBlock_label_en" xlink:label="lab_tef_DisclosureOfDepositsAndGuaranteesTextBlock" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en">Disclosure Of Deposits And Guarantees [Text Block]</link:label>
    <link:label id="lab_tef_DisclosureOfDepositsAndGuaranteesTextBlock_documentation_en" xlink:label="lab_tef_DisclosureOfDepositsAndGuaranteesTextBlock" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en">Disclosure Of Deposits And Guarantees</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_tef_DisclosureOfDepositsAndGuaranteesTextBlock" xlink:href="549300EEJH4FEPDBBR25-2024-12-31.xsd#tef_DisclosureOfDepositsAndGuaranteesTextBlock"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_tef_DisclosureOfDepositsAndGuaranteesTextBlock" xlink:to="lab_tef_DisclosureOfDepositsAndGuaranteesTextBlock" xlink:type="arc" order="1"/>
    <link:label id="lab_ifrs-full_AssetsAbstract_a841ae81-6141-44c4-a0d5-7ee8ae0d667c_terseLabel_en" xlink:label="lab_ifrs-full_AssetsAbstract" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en">Assets [abstract]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_AssetsAbstract" xlink:href="https://xbrl.ifrs.org/taxonomy/2022-03-24/full_ifrs/full_ifrs-cor_2022-03-24.xsd#ifrs-full_AssetsAbstract"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ifrs-full_AssetsAbstract" xlink:to="lab_ifrs-full_AssetsAbstract" xlink:type="arc" order="1"/>
    <link:label id="lab_tef_IncomeTaxRelatingToReclassificationOfGainsLossesOnCashFlowHedge_label_en" xlink:label="lab_tef_IncomeTaxRelatingToReclassificationOfGainsLossesOnCashFlowHedge" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en">Income Tax Relating to Reclassification of Gains (Losses) on Cash Flow Hedge</link:label>
    <link:label id="lab_tef_IncomeTaxRelatingToReclassificationOfGainsLossesOnCashFlowHedge_documentation_en" xlink:label="lab_tef_IncomeTaxRelatingToReclassificationOfGainsLossesOnCashFlowHedge" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en">Income Tax Relating to Reclassification of Gains (Losses) on Cash Flow Hedge</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_tef_IncomeTaxRelatingToReclassificationOfGainsLossesOnCashFlowHedge" xlink:href="549300EEJH4FEPDBBR25-2024-12-31.xsd#tef_IncomeTaxRelatingToReclassificationOfGainsLossesOnCashFlowHedge"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_tef_IncomeTaxRelatingToReclassificationOfGainsLossesOnCashFlowHedge" xlink:to="lab_tef_IncomeTaxRelatingToReclassificationOfGainsLossesOnCashFlowHedge" xlink:type="arc" order="1"/>
    <link:label id="lab_tef_DisclosureOfEnvironmentalAspectsTextBlock_label_en" xlink:label="lab_tef_DisclosureOfEnvironmentalAspectsTextBlock" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en">Disclosure of environmental aspects [Text Block]</link:label>
    <link:label id="lab_tef_DisclosureOfEnvironmentalAspectsTextBlock_documentation_en" xlink:label="lab_tef_DisclosureOfEnvironmentalAspectsTextBlock" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en">Disclosure of environmental aspects</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_tef_DisclosureOfEnvironmentalAspectsTextBlock" xlink:href="549300EEJH4FEPDBBR25-2024-12-31.xsd#tef_DisclosureOfEnvironmentalAspectsTextBlock"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_tef_DisclosureOfEnvironmentalAspectsTextBlock" xlink:to="lab_tef_DisclosureOfEnvironmentalAspectsTextBlock" xlink:type="arc" order="1"/>
    <link:label id="lab_ifrs-full_PrincipalPlaceOfBusiness_948f6f2a-2232-47da-9607-5ac49deb424e_terseLabel_en" xlink:label="lab_ifrs-full_PrincipalPlaceOfBusiness" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en">Principal place of business</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_PrincipalPlaceOfBusiness" xlink:href="https://xbrl.ifrs.org/taxonomy/2022-03-24/full_ifrs/full_ifrs-cor_2022-03-24.xsd#ifrs-full_PrincipalPlaceOfBusiness"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ifrs-full_PrincipalPlaceOfBusiness" xlink:to="lab_ifrs-full_PrincipalPlaceOfBusiness" xlink:type="arc" order="1"/>
    <link:label id="lab_tef_CashReclassifiedToAssetsHeldForSale_label_en" xlink:label="lab_tef_CashReclassifiedToAssetsHeldForSale" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en">Cash Reclassified To Assets Held For Sale</link:label>
    <link:label id="lab_tef_CashReclassifiedToAssetsHeldForSale_documentation_en" xlink:label="lab_tef_CashReclassifiedToAssetsHeldForSale" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en">Cash Reclassified To Assets Held For Sale</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_tef_CashReclassifiedToAssetsHeldForSale" xlink:href="549300EEJH4FEPDBBR25-2024-12-31.xsd#tef_CashReclassifiedToAssetsHeldForSale"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_tef_CashReclassifiedToAssetsHeldForSale" xlink:to="lab_tef_CashReclassifiedToAssetsHeldForSale" xlink:type="arc" order="1"/>
    <link:label id="lab_ifrs-full_CountryOfIncorporation_1e377663-97a6-483b-bcbe-7b199fd31229_terseLabel_en" xlink:label="lab_ifrs-full_CountryOfIncorporation" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en">Country of incorporation</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_CountryOfIncorporation" xlink:href="https://xbrl.ifrs.org/taxonomy/2022-03-24/full_ifrs/full_ifrs-cor_2022-03-24.xsd#ifrs-full_CountryOfIncorporation"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ifrs-full_CountryOfIncorporation" xlink:to="lab_ifrs-full_CountryOfIncorporation" xlink:type="arc" order="1"/>
    <link:label id="lab_tef_IncreaseDecreaseThroughUndatedSubordinatedSecurities_label_en" xlink:label="lab_tef_IncreaseDecreaseThroughUndatedSubordinatedSecurities" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en">Increase (Decrease) through Undated Subordinated Securities</link:label>
    <link:label id="lab_tef_IncreaseDecreaseThroughUndatedSubordinatedSecurities_documentation_en" xlink:label="lab_tef_IncreaseDecreaseThroughUndatedSubordinatedSecurities" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en">Increase (Decrease) through Undated Subordinated Securities</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_tef_IncreaseDecreaseThroughUndatedSubordinatedSecurities" xlink:href="549300EEJH4FEPDBBR25-2024-12-31.xsd#tef_IncreaseDecreaseThroughUndatedSubordinatedSecurities"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_tef_IncreaseDecreaseThroughUndatedSubordinatedSecurities" xlink:to="lab_tef_IncreaseDecreaseThroughUndatedSubordinatedSecurities" xlink:type="arc" order="1"/>
    <link:label id="lab_ifrs-full_CashFlowsFromUsedInInvestingActivities_f83c6a1e-afa7-44c4-a2de-bf90b24028c0_totalLabel_en" xlink:label="lab_ifrs-full_CashFlowsFromUsedInInvestingActivities" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:type="resource" xml:lang="en">Cash flows from (used in) investing activities</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_CashFlowsFromUsedInInvestingActivities" xlink:href="https://xbrl.ifrs.org/taxonomy/2022-03-24/full_ifrs/full_ifrs-cor_2022-03-24.xsd#ifrs-full_CashFlowsFromUsedInInvestingActivities"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ifrs-full_CashFlowsFromUsedInInvestingActivities" xlink:to="lab_ifrs-full_CashFlowsFromUsedInInvestingActivities" xlink:type="arc" order="1"/>
    <link:label id="lab_ifrs-full_NameOfUltimateParentOfGroup_8bcc729e-70c4-4c9f-8dd4-f2fa045111ab_terseLabel_en" xlink:label="lab_ifrs-full_NameOfUltimateParentOfGroup" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en">Name of ultimate parent of group</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_NameOfUltimateParentOfGroup" xlink:href="https://xbrl.ifrs.org/taxonomy/2022-03-24/full_ifrs/full_ifrs-cor_2022-03-24.xsd#ifrs-full_NameOfUltimateParentOfGroup"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ifrs-full_NameOfUltimateParentOfGroup" xlink:to="lab_ifrs-full_NameOfUltimateParentOfGroup" xlink:type="arc" order="1"/>
    <link:label id="lab_ifrs-full_ComponentsOfEquityAxis_24ce5d00-6a3d-4757-943a-105d630792f4_terseLabel_en" xlink:label="lab_ifrs-full_ComponentsOfEquityAxis" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en">Components of equity [axis]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ComponentsOfEquityAxis" xlink:href="https://xbrl.ifrs.org/taxonomy/2022-03-24/full_ifrs/full_ifrs-cor_2022-03-24.xsd#ifrs-full_ComponentsOfEquityAxis"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ifrs-full_ComponentsOfEquityAxis" xlink:to="lab_ifrs-full_ComponentsOfEquityAxis" xlink:type="arc" order="1"/>
    <link:label id="lab_ifrs-full_CurrentLiabilitiesAbstract_8aeb3461-2d7f-479c-9614-e5b66be14937_terseLabel_en" xlink:label="lab_ifrs-full_CurrentLiabilitiesAbstract" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en">Current liabilities [abstract]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_CurrentLiabilitiesAbstract" xlink:href="https://xbrl.ifrs.org/taxonomy/2022-03-24/full_ifrs/full_ifrs-cor_2022-03-24.xsd#ifrs-full_CurrentLiabilitiesAbstract"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ifrs-full_CurrentLiabilitiesAbstract" xlink:to="lab_ifrs-full_CurrentLiabilitiesAbstract" xlink:type="arc" order="1"/>
    <link:label id="lab_ifrs-full_NoncurrentAssetsAbstract_10a94f1e-ef25-41a1-a0e0-584066d3351a_terseLabel_en" xlink:label="lab_ifrs-full_NoncurrentAssetsAbstract" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en">Non-current assets [abstract]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_NoncurrentAssetsAbstract" xlink:href="https://xbrl.ifrs.org/taxonomy/2022-03-24/full_ifrs/full_ifrs-cor_2022-03-24.xsd#ifrs-full_NoncurrentAssetsAbstract"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ifrs-full_NoncurrentAssetsAbstract" xlink:to="lab_ifrs-full_NoncurrentAssetsAbstract" xlink:type="arc" order="1"/>
    <link:label id="lab_ifrs-full_NameOfReportingEntityOrOtherMeansOfIdentification_90ad3c6d-7adc-495b-a714-a3f708a28fd9_terseLabel_en" xlink:label="lab_ifrs-full_NameOfReportingEntityOrOtherMeansOfIdentification" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en">Name of reporting entity or other means of identification</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_NameOfReportingEntityOrOtherMeansOfIdentification" xlink:href="https://xbrl.ifrs.org/taxonomy/2022-03-24/full_ifrs/full_ifrs-cor_2022-03-24.xsd#ifrs-full_NameOfReportingEntityOrOtherMeansOfIdentification"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ifrs-full_NameOfReportingEntityOrOtherMeansOfIdentification" xlink:to="lab_ifrs-full_NameOfReportingEntityOrOtherMeansOfIdentification" xlink:type="arc" order="1"/>
    <link:label id="lab_ifrs-full_OtherComprehensiveIncomeAbstract_2768985c-98a0-4afe-834b-cd5aded4944a_terseLabel_en" xlink:label="lab_ifrs-full_OtherComprehensiveIncomeAbstract" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en">Other comprehensive income [abstract]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_OtherComprehensiveIncomeAbstract" xlink:href="https://xbrl.ifrs.org/taxonomy/2022-03-24/full_ifrs/full_ifrs-cor_2022-03-24.xsd#ifrs-full_OtherComprehensiveIncomeAbstract"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ifrs-full_OtherComprehensiveIncomeAbstract" xlink:to="lab_ifrs-full_OtherComprehensiveIncomeAbstract" xlink:type="arc" order="1"/>
    <link:label id="lab_ifrs-full_EquityAndLiabilitiesAbstract_adf3ca29-80d6-4c0d-be8d-6082288784f6_terseLabel_en" xlink:label="lab_ifrs-full_EquityAndLiabilitiesAbstract" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en">Equity and liabilities [abstract]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_EquityAndLiabilitiesAbstract" xlink:href="https://xbrl.ifrs.org/taxonomy/2022-03-24/full_ifrs/full_ifrs-cor_2022-03-24.xsd#ifrs-full_EquityAndLiabilitiesAbstract"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ifrs-full_EquityAndLiabilitiesAbstract" xlink:to="lab_ifrs-full_EquityAndLiabilitiesAbstract" xlink:type="arc" order="1"/>
    <link:label id="lab_tef_ReceivablesAndOtherAssetsCurrent_label_en" xlink:label="lab_tef_ReceivablesAndOtherAssetsCurrent" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en">Receivables and other assets, current</link:label>
    <link:label id="lab_tef_ReceivablesAndOtherAssetsCurrent_documentation_en" xlink:label="lab_tef_ReceivablesAndOtherAssetsCurrent" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en">Receivables and other current assets</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_tef_ReceivablesAndOtherAssetsCurrent" xlink:href="549300EEJH4FEPDBBR25-2024-12-31.xsd#tef_ReceivablesAndOtherAssetsCurrent"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_tef_ReceivablesAndOtherAssetsCurrent" xlink:to="lab_tef_ReceivablesAndOtherAssetsCurrent" xlink:type="arc" order="1"/>
    <link:label id="lab_ifrs-full_IncreaseDecreaseInCashAndCashEquivalents_32c574e1-02d8-4f35-a9b6-dc15b28d9b57_totalLabel_en" xlink:label="lab_ifrs-full_IncreaseDecreaseInCashAndCashEquivalents" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:type="resource" xml:lang="en">Increase (decrease) in cash and cash equivalents</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_IncreaseDecreaseInCashAndCashEquivalents" xlink:href="https://xbrl.ifrs.org/taxonomy/2022-03-24/full_ifrs/full_ifrs-cor_2022-03-24.xsd#ifrs-full_IncreaseDecreaseInCashAndCashEquivalents"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ifrs-full_IncreaseDecreaseInCashAndCashEquivalents" xlink:to="lab_ifrs-full_IncreaseDecreaseInCashAndCashEquivalents" xlink:type="arc" order="1"/>
    <link:label id="lab_ifrs-full_ReductionOfIssuedCapital_caaa874e-a337-4bf8-bbeb-5b8338241839_negatedLabel_en" xlink:label="lab_ifrs-full_ReductionOfIssuedCapital" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:type="resource" xml:lang="en">Reduction of issued capital</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ReductionOfIssuedCapital" xlink:href="https://xbrl.ifrs.org/taxonomy/2022-03-24/full_ifrs/full_ifrs-cor_2022-03-24.xsd#ifrs-full_ReductionOfIssuedCapital"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ifrs-full_ReductionOfIssuedCapital" xlink:to="lab_ifrs-full_ReductionOfIssuedCapital" xlink:type="arc" order="1"/>
    <link:label id="lab_tef_TaxEffectOnGainsLossesOnHedges_label_en" xlink:label="lab_tef_TaxEffectOnGainsLossesOnHedges" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en">Tax effect on gains (losses) on hedges</link:label>
    <link:label id="lab_tef_TaxEffectOnGainsLossesOnHedges_documentation_en" xlink:label="lab_tef_TaxEffectOnGainsLossesOnHedges" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en">Tax effect on gains (losses) on hedges</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_tef_TaxEffectOnGainsLossesOnHedges" xlink:href="549300EEJH4FEPDBBR25-2024-12-31.xsd#tef_TaxEffectOnGainsLossesOnHedges"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_tef_TaxEffectOnGainsLossesOnHedges" xlink:to="lab_tef_TaxEffectOnGainsLossesOnHedges" xlink:type="arc" order="1"/>
    <link:label id="lab_tef_NetPaymentsOfInterestAndOtherFinancialExpensesNetOfDividendsReceived_label_en" xlink:label="lab_tef_NetPaymentsOfInterestAndOtherFinancialExpensesNetOfDividendsReceived" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en">Net payments of interest and other financial expenses, net of dividends received</link:label>
    <link:label id="lab_tef_NetPaymentsOfInterestAndOtherFinancialExpensesNetOfDividendsReceived_documentation_en" xlink:label="lab_tef_NetPaymentsOfInterestAndOtherFinancialExpensesNetOfDividendsReceived" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en">Net payments of interest and other financial expenses, net of dividends received</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_tef_NetPaymentsOfInterestAndOtherFinancialExpensesNetOfDividendsReceived" xlink:href="549300EEJH4FEPDBBR25-2024-12-31.xsd#tef_NetPaymentsOfInterestAndOtherFinancialExpensesNetOfDividendsReceived"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_tef_NetPaymentsOfInterestAndOtherFinancialExpensesNetOfDividendsReceived" xlink:to="lab_tef_NetPaymentsOfInterestAndOtherFinancialExpensesNetOfDividendsReceived" xlink:type="arc" order="1"/>
    <link:label id="lab_ifrs-full_CashFlowsFromUsedInOperatingActivitiesAbstract_dea07499-7b86-4621-8b0c-b4ffd7591c60_terseLabel_en" xlink:label="lab_ifrs-full_CashFlowsFromUsedInOperatingActivitiesAbstract" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en">Cash flows from (used in) operating activities [abstract]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_CashFlowsFromUsedInOperatingActivitiesAbstract" xlink:href="https://xbrl.ifrs.org/taxonomy/2022-03-24/full_ifrs/full_ifrs-cor_2022-03-24.xsd#ifrs-full_CashFlowsFromUsedInOperatingActivitiesAbstract"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ifrs-full_CashFlowsFromUsedInOperatingActivitiesAbstract" xlink:to="lab_ifrs-full_CashFlowsFromUsedInOperatingActivitiesAbstract" xlink:type="arc" order="1"/>
    <link:label id="lab_tef_OperationsWithOtherEquityHolders_label_en" xlink:label="lab_tef_OperationsWithOtherEquityHolders" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en">Operations with other equity holders</link:label>
    <link:label id="lab_tef_OperationsWithOtherEquityHolders_documentation_en" xlink:label="lab_tef_OperationsWithOtherEquityHolders" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en">Operations with other equity holders</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_tef_OperationsWithOtherEquityHolders" xlink:href="549300EEJH4FEPDBBR25-2024-12-31.xsd#tef_OperationsWithOtherEquityHolders"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_tef_OperationsWithOtherEquityHolders" xlink:to="lab_tef_OperationsWithOtherEquityHolders" xlink:type="arc" order="1"/>
    <link:label id="lab_tef_CashPaidFromOperations_label_en" xlink:label="lab_tef_CashPaidFromOperations" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en">Cash paid from operations</link:label>
    <link:label id="lab_tef_CashPaidFromOperations_documentation_en" xlink:label="lab_tef_CashPaidFromOperations" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en">Cash paid from operations</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_tef_CashPaidFromOperations" xlink:href="549300EEJH4FEPDBBR25-2024-12-31.xsd#tef_CashPaidFromOperations"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_tef_CashPaidFromOperations" xlink:to="lab_tef_CashPaidFromOperations" xlink:type="arc" order="1"/>
    <link:label id="lab_tef_IncomeTaxRelatingToCashFlowHedgeCostsIncludedInOtherComprehensiveIncome_label_en" xlink:label="lab_tef_IncomeTaxRelatingToCashFlowHedgeCostsIncludedInOtherComprehensiveIncome" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en">Income tax relating to cash flow hedge costs included in other comprehensive income</link:label>
    <link:label id="lab_tef_IncomeTaxRelatingToCashFlowHedgeCostsIncludedInOtherComprehensiveIncome_documentation_en" xlink:label="lab_tef_IncomeTaxRelatingToCashFlowHedgeCostsIncludedInOtherComprehensiveIncome" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en">Income tax relating to cash flow hedge costs included in other comprehensive income</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_tef_IncomeTaxRelatingToCashFlowHedgeCostsIncludedInOtherComprehensiveIncome" xlink:href="549300EEJH4FEPDBBR25-2024-12-31.xsd#tef_IncomeTaxRelatingToCashFlowHedgeCostsIncludedInOtherComprehensiveIncome"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_tef_IncomeTaxRelatingToCashFlowHedgeCostsIncludedInOtherComprehensiveIncome" xlink:to="lab_tef_IncomeTaxRelatingToCashFlowHedgeCostsIncludedInOtherComprehensiveIncome" xlink:type="arc" order="1"/>
    <link:label id="lab_tef_OperatingPaymentsAndFinancingTangibleAndIntangibleInvestments_label_en" xlink:label="lab_tef_OperatingPaymentsAndFinancingTangibleAndIntangibleInvestments" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en">Operating payments and financing tangible and intangible investments</link:label>
    <link:label id="lab_tef_OperatingPaymentsAndFinancingTangibleAndIntangibleInvestments_documentation_en" xlink:label="lab_tef_OperatingPaymentsAndFinancingTangibleAndIntangibleInvestments" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en">Operating payments and financing tangible and intangible investments</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_tef_OperatingPaymentsAndFinancingTangibleAndIntangibleInvestments" xlink:href="549300EEJH4FEPDBBR25-2024-12-31.xsd#tef_OperatingPaymentsAndFinancingTangibleAndIntangibleInvestments"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_tef_OperatingPaymentsAndFinancingTangibleAndIntangibleInvestments" xlink:to="lab_tef_OperatingPaymentsAndFinancingTangibleAndIntangibleInvestments" xlink:type="arc" order="1"/>
    <link:label id="lab_ifrs-full_EquityAbstract_70c5cc77-58c8-44ca-9de2-21fe0598149d_terseLabel_en" xlink:label="lab_ifrs-full_EquityAbstract" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en">Equity [abstract]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_EquityAbstract" xlink:href="https://xbrl.ifrs.org/taxonomy/2022-03-24/full_ifrs/full_ifrs-cor_2022-03-24.xsd#ifrs-full_EquityAbstract"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ifrs-full_EquityAbstract" xlink:to="lab_ifrs-full_EquityAbstract" xlink:type="arc" order="1"/>
    <link:label id="lab_ifrs-full_ProfitLossAttributableToAbstract_e66d3378-7262-474c-9b44-f18c01a05ca1_terseLabel_en" xlink:label="lab_ifrs-full_ProfitLossAttributableToAbstract" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en">Profit (loss), attributable to [abstract]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ProfitLossAttributableToAbstract" xlink:href="https://xbrl.ifrs.org/taxonomy/2022-03-24/full_ifrs/full_ifrs-cor_2022-03-24.xsd#ifrs-full_ProfitLossAttributableToAbstract"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ifrs-full_ProfitLossAttributableToAbstract" xlink:to="lab_ifrs-full_ProfitLossAttributableToAbstract" xlink:type="arc" order="1"/>
    <link:label id="lab_ifrs-full_StatementOfChangesInEquityLineItems_43df5c5e-1d7a-41ba-9afd-0338ff930c73_terseLabel_en" xlink:label="lab_ifrs-full_StatementOfChangesInEquityLineItems" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en">Statement of changes in equity [line items]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_StatementOfChangesInEquityLineItems" xlink:href="https://xbrl.ifrs.org/taxonomy/2022-03-24/full_ifrs/full_ifrs-cor_2022-03-24.xsd#ifrs-full_StatementOfChangesInEquityLineItems"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ifrs-full_StatementOfChangesInEquityLineItems" xlink:to="lab_ifrs-full_StatementOfChangesInEquityLineItems" xlink:type="arc" order="1"/>
    <link:label id="lab_tef_DisclosuresOfContractualAssetsAndLiabilitiesAndDeferredExpensesTextBlock_label_en" xlink:label="lab_tef_DisclosuresOfContractualAssetsAndLiabilitiesAndDeferredExpensesTextBlock" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en">Disclosures of contractual assets and liabilities, and deferred expenses [Text Block]</link:label>
    <link:label id="lab_tef_DisclosuresOfContractualAssetsAndLiabilitiesAndDeferredExpensesTextBlock_documentation_en" xlink:label="lab_tef_DisclosuresOfContractualAssetsAndLiabilitiesAndDeferredExpensesTextBlock" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en">Disclosures of contractual assets and liabilities, and deferred expenses</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_tef_DisclosuresOfContractualAssetsAndLiabilitiesAndDeferredExpensesTextBlock" xlink:href="549300EEJH4FEPDBBR25-2024-12-31.xsd#tef_DisclosuresOfContractualAssetsAndLiabilitiesAndDeferredExpensesTextBlock"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_tef_DisclosuresOfContractualAssetsAndLiabilitiesAndDeferredExpensesTextBlock" xlink:to="lab_tef_DisclosuresOfContractualAssetsAndLiabilitiesAndDeferredExpensesTextBlock" xlink:type="arc" order="1"/>
    <link:label id="lab_tef_NetFinancialExpense_7679460f-d24f-40bc-9530-d38497693b1c_totalLabel_en" xlink:label="lab_tef_NetFinancialExpense" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:type="resource" xml:lang="en">Net Financial Expense</link:label>
    <link:label id="lab_tef_NetFinancialExpense_label_en" xlink:label="lab_tef_NetFinancialExpense" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en">Net Financial Expense</link:label>
    <link:label id="lab_tef_NetFinancialExpense_documentation_en" xlink:label="lab_tef_NetFinancialExpense" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en">Net Financial Expense</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_tef_NetFinancialExpense" xlink:href="549300EEJH4FEPDBBR25-2024-12-31.xsd#tef_NetFinancialExpense"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_tef_NetFinancialExpense" xlink:to="lab_tef_NetFinancialExpense" xlink:type="arc" order="1"/>
    <link:label id="lab_ifrs-full_AddressOfRegisteredOfficeOfEntity_0eeb0745-f0ab-4613-a6f5-20d33f6475d9_terseLabel_en" xlink:label="lab_ifrs-full_AddressOfRegisteredOfficeOfEntity" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en">Address of entity's registered office</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_AddressOfRegisteredOfficeOfEntity" xlink:href="https://xbrl.ifrs.org/taxonomy/2022-03-24/full_ifrs/full_ifrs-cor_2022-03-24.xsd#ifrs-full_AddressOfRegisteredOfficeOfEntity"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ifrs-full_AddressOfRegisteredOfficeOfEntity" xlink:to="lab_ifrs-full_AddressOfRegisteredOfficeOfEntity" xlink:type="arc" order="1"/>
    <link:label id="lab_tef_PaymentsOnInvestmentsProceedsFromTheSaleInPropertyPlantAndEquipmentAndIntangibleAssetsNet_label_en" xlink:label="lab_tef_PaymentsOnInvestmentsProceedsFromTheSaleInPropertyPlantAndEquipmentAndIntangibleAssetsNet" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en">(Payments on investments)/ proceeds from the sale in property, plant and equipment and intangible assets, net</link:label>
    <link:label id="lab_tef_PaymentsOnInvestmentsProceedsFromTheSaleInPropertyPlantAndEquipmentAndIntangibleAssetsNet_documentation_en" xlink:label="lab_tef_PaymentsOnInvestmentsProceedsFromTheSaleInPropertyPlantAndEquipmentAndIntangibleAssetsNet" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en">(Payments on investments)/ proceeds from the sale in property, plant and equipment and intangible assets, net</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_tef_PaymentsOnInvestmentsProceedsFromTheSaleInPropertyPlantAndEquipmentAndIntangibleAssetsNet" xlink:href="549300EEJH4FEPDBBR25-2024-12-31.xsd#tef_PaymentsOnInvestmentsProceedsFromTheSaleInPropertyPlantAndEquipmentAndIntangibleAssetsNet"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_tef_PaymentsOnInvestmentsProceedsFromTheSaleInPropertyPlantAndEquipmentAndIntangibleAssetsNet" xlink:to="lab_tef_PaymentsOnInvestmentsProceedsFromTheSaleInPropertyPlantAndEquipmentAndIntangibleAssetsNet" xlink:type="arc" order="1"/>
    <link:label id="lab_ifrs-full_CashFlowsFromUsedInFinancingActivitiesAbstract_cf1ba857-2748-41e1-991a-810ec012249a_terseLabel_en" xlink:label="lab_ifrs-full_CashFlowsFromUsedInFinancingActivitiesAbstract" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en">Cash flows from (used in) financing activities [abstract]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_CashFlowsFromUsedInFinancingActivitiesAbstract" xlink:href="https://xbrl.ifrs.org/taxonomy/2022-03-24/full_ifrs/full_ifrs-cor_2022-03-24.xsd#ifrs-full_CashFlowsFromUsedInFinancingActivitiesAbstract"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ifrs-full_CashFlowsFromUsedInFinancingActivitiesAbstract" xlink:to="lab_ifrs-full_CashFlowsFromUsedInFinancingActivitiesAbstract" xlink:type="arc" order="1"/>
    <link:label id="lab_ifrs-full_StatementOfChangesInEquityTable_675b0c56-e692-4e1d-8561-4d809f66bc74_terseLabel_en" xlink:label="lab_ifrs-full_StatementOfChangesInEquityTable" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en">Statement of changes in equity [table]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_StatementOfChangesInEquityTable" xlink:href="https://xbrl.ifrs.org/taxonomy/2022-03-24/full_ifrs/full_ifrs-cor_2022-03-24.xsd#ifrs-full_StatementOfChangesInEquityTable"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ifrs-full_StatementOfChangesInEquityTable" xlink:to="lab_ifrs-full_StatementOfChangesInEquityTable" xlink:type="arc" order="1"/>
  </link:labelLink>
</link:linkbase>
