XML 228 R212.htm IDEA: XBRL DOCUMENT
v3.22.4

Tax Matters - Narrative (Details) € in Millions, S/ in Millions, R$ in Millions |  | 1 Months Ended | 12 Months Ended |  |  |  |
--- | --- | --- | --- | --- | --- | --- | ---
Dec. 20, 2022 | Oct. 31, 2021 EUR (€) | Mar. 31, 2019 EUR (€) | Dec. 31, 2022 EUR (€) company yr | Dec. 31, 2022 BRL (R$) | Dec. 31, 2022 PEN (S/) | Dec. 31, 2021 EUR (€) company | Dec. 31, 2021 BRL (R$) | Dec. 31, 2020 EUR (€) | Dec. 31, 2022 BRL (R$) company yr | Dec. 31, 2022 PEN (S/) company yr | Oct. 24, 2022 EUR (€) | Apr. 20, 2022 EUR (€) | Apr. 20, 2022 BRL (R$) | Dec. 31, 2021 BRL (R$) company
Disclosure of temporary difference, unused tax losses and unused tax credits [line items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Number of consolidated tax group companies | company |  |  |  | 47 |  |  | 45 |  |  | 47 | 47 |  |  |  | 45
Deferred tax assets |  |  |  | € 4,884.0 |  |  | € 5,616.0 |  | € 6,416.0 |  |  |  |  |  |
Reversal of deferred tax assets for tax loss carryforwards and deductions |  |  |  |  |  |  | 294.0 |  |  |  |  |  |  |  |
Reversal of deferred tax assets for tax loss carryforwards |  |  |  | 85.0 |  |  | 69.0 |  |  |  |  |  |  |  |
Reversal of deferred tax assets for deductions |  |  |  | 112.0 |  |  | 225.0 |  |  |  |  |  |  |  |
Deferred tax liabilities |  |  |  | 3,067.0 |  |  | 2,602.0 |  | 2,620.0 |  |  |  |  |  |
Disposal of tax asset, loss carryforwards |  |  |  |  |  |  | 199.0 |  |  |  |  |  |  |  |
Disposal of tax asset, deductions |  |  |  |  |  |  | 193.0 |  |  |  |  |  |  |  |
Unused tax losses for which no deferred tax asset recognised |  |  |  | 3,825.0 |  |  |  |  |  |  |  |  |  |  |
Current income taxes payable |  |  |  | 957.0 |  |  | 1,120.0 |  |  |  |  |  |  |  |
Permanent differences |  |  |  | (793.0) |  |  | (1,705.0) |  | 289.0 |  |  |  |  |  |
Changes in deferred tax charge due to changes in tax rates |  |  |  | 1.0 |  |  | 51.0 |  | 14.0 |  |  |  |  |  |
Increase/(decrease) in tax expense arising from temporary differences |  |  |  | 43.0 |  |  | 84.0 |  | (8.0) |  |  |  |  |  |
Income tax expense |  |  |  | 641.0 |  |  | 1,378.0 |  | 626.0 |  |  |  |  |  |
Positive tax effect of impairment of goodwill |  |  |  | 2,042.0 |  |  |  |  |  |  |  |  |  |  |
Amortized goodwill for tax purposes |  |  |  | 406.0 |  |  | 343.0 |  |  |  |  |  |  |  |
Losses on litigation settlements |  |  |  | € 3,898.0 | R$ 21,712 |  | 3,032.0 | R$ 19,164 |  |  |  |  |  |  |
Number of years in processing lawsuits, tax litigation in Peru | yr |  |  |  | 20 |  |  |  |  |  | 20 | 20 |  |  |  |
Increase legal claim in Peru, tax litigation, (in percent) |  |  |  | 80.00% |  |  |  |  |  | 80.00% | 80.00% |  |  |  |
Other provisions |  |  |  | € 2,630.0 |  |  | 2,128.0 |  |  |  |  |  |  |  |
Telxius Telecom, S.A. |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Disclosure of temporary difference, unused tax losses and unused tax credits [line items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Current income taxes payable |  |  |  | 876.0 |  |  | 875.0 |  |  |  |  |  |  |  |
Unused tax deductions |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Disclosure of temporary difference, unused tax losses and unused tax credits [line items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Deferred tax assets |  |  |  | 4,884.0 |  |  |  |  |  |  |  |  |  |  |
Unused tax deductions | 2023 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Disclosure of temporary difference, unused tax losses and unused tax credits [line items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Deferred tax assets |  |  |  | 749.0 |  |  |  |  |  |  |  |  |  |  |
Temporary differences |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Disclosure of temporary difference, unused tax losses and unused tax credits [line items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Deferred tax assets |  |  |  | 5,205.0 |  |  | 4,610.0 |  |  |  |  |  |  |  |
Deferred tax liabilities |  |  |  | 5,964.0 |  |  | 5,138.0 |  |  |  |  |  |  |  |
Temporary differences | Bluevia Fibra, S.L.U. |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Disclosure of temporary difference, unused tax losses and unused tax credits [line items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Deferred tax assets |  |  |  | 548.0 |  |  |  |  |  |  |  |  |  | R$ 548 |
Tax credits for loss carryforwards |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Disclosure of temporary difference, unused tax losses and unused tax credits [line items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Deferred tax assets |  |  |  | 2,011.0 |  |  | 2,639.0 |  | 2,741.0 |  |  |  |  |  |
Deferred tax liabilities |  |  |  | 3,067.0 |  |  |  |  |  |  |  |  |  |  |
Unused tax losses for which no deferred tax asset recognised |  |  |  | 1,755.0 |  |  |  |  |  |  |  |  |  |  |
Tax credits for loss carryforwards | 2023 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Disclosure of temporary difference, unused tax losses and unused tax credits [line items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Deferred tax liabilities |  |  |  | 296.0 |  |  |  |  |  |  |  |  |  |  |
Unused tax losses for which no deferred tax asset recognised |  |  |  | 0.0 |  |  |  |  |  |  |  |  |  |  |
Spain |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Disclosure of temporary difference, unused tax losses and unused tax credits [line items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Deferred tax assets |  |  |  | 457.0 |  |  | 999.0 |  |  |  |  |  |  |  |
Unused tax losses for which no deferred tax asset recognised |  |  |  | 498.0 |  |  |  |  |  |  |  |  |  |  |
Spain | Total unused tax credits |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Disclosure of temporary difference, unused tax losses and unused tax credits [line items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Deferred tax assets |  |  |  | 565.0 |  |  | 903.0 |  |  |  |  |  |  |  |
Spain | Tax credits for loss carryforwards |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Disclosure of temporary difference, unused tax losses and unused tax credits [line items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Deferred tax assets |  |  |  | 457.0 |  |  | 999.0 |  | 1,283.0 |  |  |  |  |  |
Germany |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Disclosure of temporary difference, unused tax losses and unused tax credits [line items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Deferred tax assets |  |  |  | 810.0 |  |  |  |  |  |  |  |  |  |  |
Unused tax losses for which no deferred tax asset recognised |  |  |  | 5,452.0 |  |  |  |  |  |  |  |  |  |  |
Germany | Tax credits for loss carryforwards |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Disclosure of temporary difference, unused tax losses and unused tax credits [line items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Deferred tax assets |  |  |  | 810.0 |  |  | 778.0 |  | 813.0 |  |  |  |  |  |
Latin America |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Disclosure of temporary difference, unused tax losses and unused tax credits [line items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Deferred tax assets |  |  |  | 741.0 |  |  |  |  |  |  |  |  |  |  |
Unused tax losses for which no deferred tax asset recognised |  |  |  | 683.0 |  |  |  |  |  |  |  |  |  |  |
Latin America | Tax credits for loss carryforwards |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Disclosure of temporary difference, unused tax losses and unused tax credits [line items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Deferred tax assets |  |  |  | 741.0 |  |  | 861.0 |  | 645.0 |  |  |  |  |  |
Telefónica Spain |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Disclosure of temporary difference, unused tax losses and unused tax credits [line items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Deferred tax assets |  |  |  | 10.0 |  |  | 348.0 |  |  |  |  |  |  |  |
Disposal of deferred tax assets |  |  |  | 319.0 |  |  | 240.0 |  |  |  |  |  |  |  |
Tax proceedings | Telefónica Peru |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Disclosure of temporary difference, unused tax losses and unused tax credits [line items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Movements with a counterparty in judicial deposits |  |  |  | 138.0 |  | S/ 560 |  |  |  |  |  |  |  |  |
Deferred Tax Assets |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Disclosure of temporary difference, unused tax losses and unused tax credits [line items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Deferred tax relating to items credited directly to equity |  |  |  | (44.0) |  |  | (196.0) |  |  |  |  |  |  |  |
Increase/(decrease) in tax expense arising from temporary differences |  |  |  |  |  |  |  |  | 184.0 |  |  |  |  |  |
Deferred Tax Liabilities |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Disclosure of temporary difference, unused tax losses and unused tax credits [line items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Deferred tax relating to items credited directly to equity |  |  |  | 238.0 |  |  | 27.0 |  |  |  |  |  |  |  |
Increase/(decrease) in tax expense arising from temporary differences |  |  |  |  |  |  |  |  | 152.0 |  |  |  |  |  |
Tribunal Economico-Administrativo Central - Overpayments in 2008-2011 | Telefónica Spain |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Disclosure of temporary difference, unused tax losses and unused tax credits [line items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Income tax expense |  |  |  | 97.0 |  |  |  |  |  |  |  |  |  |  |
Peru - Rulings in June and August 2015 | Tax proceedings | Telefónica Peru |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Disclosure of temporary difference, unused tax losses and unused tax credits [line items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Other provisions |  |  |  | 945.0 |  |  |  |  |  |  | S/ 3,849 |  |  |  |
Supreme Court of Brazil - ICMS tax |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Disclosure of temporary difference, unused tax losses and unused tax credits [line items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Brazil VAT tax dispute, long-term indirect taxes receivable recorded |  |  |  |  |  |  | 356.0 |  |  |  |  |  |  |  | R$ 2,269
Brazil VAT tax dispute, decrease in taxes other than income tax |  |  |  | 73.0 | 397 |  | 261.0 | 1,660 |  |  |  |  |  |  |
Brazil VAT tax dispute, increase in finance income |  |  |  | 139.0 | 749 |  | 90.0 | 573 |  |  |  |  |  |  |
Brazil VAT tax dispute, monetary updating |  |  |  | 12.0 | R$ 67 |  | 6.0 | R$ 36 |  |  |  |  |  |  |
Brazil VAT tax dispute, credits pending compensation for the refund of payments made |  |  |  | 141.0 |  |  | 250.0 |  |  | R$ 787 |  |  |  |  | 1,579
Tax Group 24/90 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Disclosure of temporary difference, unused tax losses and unused tax credits [line items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Permanent differences |  |  |  |  |  |  | 387.0 |  |  |  |  |  |  |  |
Amount of tax expense to be paid |  | € 387.0 |  |  |  |  |  |  |  |  |  |  |  |  |
2008-2011 Inspection Procedure |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Disclosure of temporary difference, unused tax losses and unused tax credits [line items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Tax refund, receivable from tax paid |  |  |  |  |  |  |  |  |  |  |  | € 790.0 |  |  |
Tax refund, interest receivable from tax paid |  |  |  |  |  |  |  |  |  |  |  | € 526.0 |  |  |
Reversal of deferred tax assets for tax loss carryforwards |  |  |  | 512.0 |  |  |  |  |  |  |  |  |  |  |
Reversal of deferred tax assets for deductions |  |  |  | 278.0 |  |  |  |  |  |  |  |  |  |  |
Reversal of deferred tax assets for tax credits |  |  |  | 16.0 |  |  |  |  |  |  |  |  |  |  |
2008-2011 Inspection Procedure | Tax credits for loss carryforwards |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Disclosure of temporary difference, unused tax losses and unused tax credits [line items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Deferred tax assets |  |  |  | 58.0 |  |  |  |  |  |  |  |  |  |  |
Telecommunications Law, Law 14.195 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Disclosure of temporary difference, unused tax losses and unused tax credits [line items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Permanent differences |  |  |  | (651.0) |  |  |  |  |  |  |  |  |  |  |
Telefónica Brazil |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Disclosure of temporary difference, unused tax losses and unused tax credits [line items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Deferred tax assets |  |  |  | 78.0 |  |  | 221.0 |  |  |  |  |  |  |  |
Tax credits recognized |  |  |  |  |  |  | 221.0 |  |  |  |  |  |  |  |
Applied tax loss carryforwards |  |  |  | 86.0 |  |  |  |  |  |  |  |  |  |  |
Deferred tax liabilities |  |  |  | 59.0 |  |  | 179.0 |  |  |  |  |  |  |  |
Disposal of tax liability |  |  |  | 212.0 |  |  |  |  |  |  |  |  |  |  |
Receivables from taxes other than income tax |  |  |  | 212.0 |  |  |  |  |  | 1,146 |  |  |  |  |
Other possible contingencies |  |  |  | 19.0 |  |  | 16.0 |  |  | 104 |  |  |  |  | 98
Telefónica Brazil | Tax Year 2011 to 2017 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Disclosure of temporary difference, unused tax losses and unused tax credits [line items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Other possible contingencies |  |  |  | 5,346.0 |  |  | 2,860.0 |  |  | R$ 29,778 |  |  |  |  | R$ 18,078
Telefónica Germany |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Disclosure of temporary difference, unused tax losses and unused tax credits [line items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Tax credits recognized |  |  |  | 76.0 |  |  | 77.0 |  |  |  |  |  |  |  |
Applied tax loss carryforwards |  |  |  | 46.0 |  |  | 118.0 |  |  |  |  |  |  |  |
Deferred tax liabilities |  |  |  |  |  |  | 110.0 |  |  |  |  |  |  |  |
Disposal of tax liability |  |  |  | 42.0 |  |  |  |  |  |  |  |  |  |  |
Telefónica Germany | Deferred Tax Assets |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Disclosure of temporary difference, unused tax losses and unused tax credits [line items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Reversal of deferred tax assets |  |  |  |  |  |  |  |  | 159.0 |  |  |  |  |  |
Telefónica Compras Electrónicas, S.L. Development and provision of information Society services |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Disclosure of temporary difference, unused tax losses and unused tax credits [line items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Tax credits recognized |  |  |  | 76.0 |  |  | 72.0 |  |  |  |  |  |  |  |
Applied tax loss carryforwards |  |  |  | 76.0 |  |  | 66.0 |  |  |  |  |  |  |  |
Telefónica Compras Electrónicas, S.L. Development and provision of information Society services | Tax Expense (Income) |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Disclosure of temporary difference, unused tax losses and unused tax credits [line items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Unused provision reversed, other provisions |  |  |  | 186.0 |  |  |  |  |  |  |  |  |  |  |
Telefónica Compras Electrónicas, S.L. Development and provision of information Society services | Finance Income |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Disclosure of temporary difference, unused tax losses and unused tax credits [line items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Unused provision reversed, other provisions |  |  |  | 69.0 |  |  |  |  |  |  |  |  |  |  |
Telefónica Compras Electrónicas, S.L. Development and provision of information Society services | Temporary differences |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Disclosure of temporary difference, unused tax losses and unused tax credits [line items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Reversal of deferred tax assets |  |  |  |  |  |  |  |  | 24.0 |  |  |  |  |  |
Telefonica Colombia |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Disclosure of temporary difference, unused tax losses and unused tax credits [line items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Deferred tax assets |  |  |  | 26.0 |  |  |  |  |  |  |  |  |  |  |
Applied tax loss carryforwards |  |  |  | 119.0 |  |  |  |  |  |  |  |  |  |  |
Deferred tax liabilities |  |  |  | 22.0 |  |  | 71.0 |  |  |  |  |  |  |  |
Telefónica Peru | Tribunal Economico-Administrativo Central - Overpayments in 2008-2011 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Disclosure of temporary difference, unused tax losses and unused tax credits [line items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Income tax expense |  |  |  | 241.0 |  |  | 97.0 |  |  |  |  |  |  |  |
Vivo |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Disclosure of temporary difference, unused tax losses and unused tax credits [line items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Deferred tax assets |  |  |  |  |  |  | 143.0 |  |  |  |  |  |  |  |
Deferred tax liabilities |  |  |  |  |  |  | 143.0 |  |  |  |  |  |  |  |
Amortized goodwill for tax purposes |  |  |  | 143.0 |  |  |  |  |  |  |  |  |  |  |
Telefónica México | Deferred Tax Liabilities |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Disclosure of temporary difference, unused tax losses and unused tax credits [line items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Increase/(decrease) in tax expense arising from temporary differences |  |  |  |  |  |  | 83.0 |  |  |  |  |  |  |  |
Telefónica, S.A. |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Disclosure of temporary difference, unused tax losses and unused tax credits [line items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Deferred tax assets |  |  |  | 4,884.0 |  |  | 5,616.0 |  |  |  |  |  |  |  |
Reversal of deferred tax assets for tax loss carryforwards |  |  |  | 85.0 |  |  |  |  |  |  |  |  |  |  |
Reversal of deferred tax assets for tax credits |  |  |  | 112.0 |  |  |  |  |  |  |  |  |  |  |
Deferred tax liabilities |  |  |  | 3,067.0 |  |  | 2,602.0 |  |  |  |  |  |  |  |
Unrecorded tax loss carryforwards |  |  |  | 326.0 |  |  |  |  |  |  |  |  |  |  |
Telefónica, S.A. | Unused tax deductions |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Disclosure of temporary difference, unused tax losses and unused tax credits [line items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Deferred tax assets |  |  |  | 565.0 |  |  | 903.0 |  |  |  |  |  |  |  |
Telefónica, S.A. | Temporary differences |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Disclosure of temporary difference, unused tax losses and unused tax credits [line items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Deferred tax assets |  |  |  | 2,308.0 |  |  | 2,074.0 |  |  |  |  |  |  |  |
Telefónica, S.A. | Tax credits for loss carryforwards |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Disclosure of temporary difference, unused tax losses and unused tax credits [line items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Deferred tax assets |  |  |  | 2,011.0 |  |  | 2,639.0 |  |  |  |  |  |  |  |
Telefonica Germany And Group 3G UMTS Holding GmbH |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Disclosure of temporary difference, unused tax losses and unused tax credits [line items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Tax credits recognized |  |  |  | 152.0 |  |  |  |  |  |  |  |  |  |  |
Vauban/CAA | Bluevia Fibra, S.L.U. |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Disclosure of temporary difference, unused tax losses and unused tax credits [line items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Proportion of voting rights held in associate (in percentage) | 45.00% |  |  |  |  |  |  |  |  |  |  |  |  |  |
Consideration (share purchase price) |  |  |  |  |  |  |  |  |  |  |  |  | € 1,021.0 | R$ 1,021 |
Spain |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Disclosure of temporary difference, unused tax losses and unused tax credits [line items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Proceeds from favorable tax appeal |  |  | € 12.0 |  |  |  |  |  |  |  |  |  |  |  |
Spain | Unused tax deductions | 2023 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Disclosure of temporary difference, unused tax losses and unused tax credits [line items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Deferred tax assets |  |  |  | 458.0 |  |  |  |  |  |  |  |  |  |  |
Spain | Temporary differences |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Disclosure of temporary difference, unused tax losses and unused tax credits [line items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Reversal of deferred tax assets |  |  |  |  |  |  | 65.0 |  | € 101.0 |  |  |  |  |  |
Subsidiaries |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Disclosure of temporary difference, unused tax losses and unused tax credits [line items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Deferred tax liabilities |  |  |  | 319.0 |  |  | 220.0 |  |  |  |  |  |  |  |
Temporary differences associated with investments in subsidiaries, branches and associates and interests in joint arrangements for which deferred tax liabilities have not been recognised |  |  |  | € 234.0 |  |  | € 256.0 |  |  |  |  |  |  |  |

X
- Definition The amount of additional other provisions made. [Refer: Other provisions] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 37 -IssueDate 2022-03-24 -Paragraph 84 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=37&code=ifrs-tx-2022-en-r&anchor=para_84_b&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_AdditionalProvisionsOtherProvisions
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The fair value, at acquisition date, of cash transferred as consideration in a business combination. [Refer: Business combinations [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 3 -IssueDate 2022-03-24 -Paragraph B64 -Subparagraph f -Clause i -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=3&code=ifrs-tx-2022-en-r&anchor=para_B64_f_i&doctype=Appendix&subtype=B -URIDate 2022-03-24 + Details
Name: | ifrs-full_CashTransferred
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The amounts of income taxes recoverable in future periods in respect of: (a) deductible temporary differences; (b) the carryforward of unused tax losses; and (c) the carryforward of unused tax credits. [Refer: Temporary differences [member]; Unused tax credits [member]; Unused tax losses [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 12 -IssueDate 2022-03-24 -Paragraph 81 -Subparagraph g -Clause i -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=12&code=ifrs-tx-2022-en-r&anchor=para_81_g_i&doctype=Standard -URIDate 2022-03-24 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2022-03-24 -Paragraph 54 -Subparagraph o -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_54_o&doctype=Standard -URIDate 2022-03-24 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2022-03-24 -Paragraph 56 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_56&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_DeferredTaxAssets
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The amounts of income taxes payable in future periods in respect of taxable temporary differences. [Refer: Temporary differences [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 12 -IssueDate 2022-03-24 -Paragraph 81 -Subparagraph g -Clause i -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=12&code=ifrs-tx-2022-en-r&anchor=para_81_g_i&doctype=Standard -URIDate 2022-03-24 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2022-03-24 -Paragraph 54 -Subparagraph o -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_54_o&doctype=Standard -URIDate 2022-03-24 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2022-03-24 -Paragraph 56 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_56&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_DeferredTaxLiabilities
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The amount of deferred tax related to items credited (charged) directly to equity. [Refer: Deferred tax expense (income)] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 12 -IssueDate 2022-03-24 -Paragraph 81 -Subparagraph a -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=12&code=ifrs-tx-2022-en-r&anchor=para_81_a&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_DeferredTaxRelatingToItemsChargedOrCreditedDirectlyToEquity
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | duration

X
- Definition Line items represent concepts included in a table. These concepts are used to disclose reportable information associated with members defined in one or many axes of the table. + References No definition available. + Details
Name: | ifrs-full_DisclosureOfTemporaryDifferenceUnusedTaxLossesAndUnusedTaxCreditsLineItems
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount of goodwill in a business combination that is expected to be deductible for tax purposes. [Refer: Goodwill; Business combinations [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 3 -IssueDate 2022-03-24 -Paragraph B64 -Subparagraph k -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=3&code=ifrs-tx-2022-en-r&anchor=para_B64_k&doctype=Appendix&subtype=B -URIDate 2022-03-24 + Details
Name: | ifrs-full_GoodwillExpectedDeductibleForTaxPurposes
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The aggregate amount included in the determination of profit (loss) for the period in respect of current tax and deferred tax. [Refer: Current tax expense (income); Deferred tax expense (income)] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 8 -IssueDate 2022-03-24 -Paragraph 23 -Subparagraph h -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2022-en-r&anchor=para_23_h&doctype=Standard -URIDate 2022-03-24 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 26 -IssueDate 2022-03-24 -Paragraph 35 -Subparagraph b -Clause viii -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=26&code=ifrs-tx-2022-en-r&anchor=para_35_b_viii&doctype=Standard -URIDate 2022-03-24 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 12 -IssueDate 2022-03-24 -Paragraph 79 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=12&code=ifrs-tx-2022-en-r&anchor=para_79&doctype=Standard -URIDate 2022-03-24 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 12 -IssueDate 2022-03-24 -Paragraph 81 -Subparagraph c -Clause i -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=12&code=ifrs-tx-2022-en-r&anchor=para_81_c_i&doctype=Standard -URIDate 2022-03-24 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 12 -IssueDate 2022-03-24 -Paragraph 81 -Subparagraph c -Clause ii -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=12&code=ifrs-tx-2022-en-r&anchor=para_81_c_ii&doctype=Standard -URIDate 2022-03-24 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 12 -IssueDate 2022-03-24 -Paragraph B13 -Subparagraph g -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2022-en-r&anchor=para_B13_g&doctype=Appendix&subtype=B -URIDate 2022-03-24 Reference 7: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2022-03-24 -Paragraph 82 -Subparagraph d -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_82_d&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_IncomeTaxExpenseContinuingOperations
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The losses on settlements of litigation. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2022-03-24 -Paragraph 98 -Subparagraph f -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_98_f&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_LossesOnLitigationSettlements
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The amount of provisions other than provisions for employee benefits. [Refer: Provisions] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 37 -IssueDate 2022-03-24 -Paragraph 84 -Subparagraph a -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=37&code=ifrs-tx-2022-en-r&anchor=para_84_a&doctype=Standard -URIDate 2022-03-24 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2022-03-24 -Paragraph 78 -Subparagraph d -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_78_d&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_OtherProvisions
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The proportion of the voting rights in an associate held by the entity. [Refer: Associates [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 27 -IssueDate 2022-03-24 -Paragraph 17 -Subparagraph b -Clause iii -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=27&code=ifrs-tx-2022-en-r&anchor=para_17_b_iii&doctype=Standard -URIDate 2022-03-24 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 27 -IssueDate 2022-03-24 -Paragraph 16 -Subparagraph b -Clause iii -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=27&code=ifrs-tx-2022-en-r&anchor=para_16_b_iii&doctype=Standard -URIDate 2022-03-24 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 12 -IssueDate 2022-03-24 -Paragraph 21 -Subparagraph a -Clause iv -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2022-en-r&anchor=para_21_a_iv&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_ProportionOfVotingPowerHeldInAssociate
Namespace Prefix: | ifrs-full_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount of receivables from taxes other than income tax. Income taxes include all domestic and foreign taxes that are based on taxable profits. Income taxes also include taxes, such as withholding taxes, that are payable by a subsidiary, associate or joint arrangement on distributions to the reporting entity. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 1 -IssueDate 2022-03-24 -Paragraph 78 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_78_b&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_ReceivablesFromTaxesOtherThanIncomeTax
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The amount of benefit arising from a previously unrecognised tax loss, tax credit or temporary difference of a prior period that is used to reduce current tax expense. [Refer: Temporary differences [member]; Unused tax losses [member]; Unused tax credits [member]] + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Name IAS -Number 12 -IssueDate 2022-03-24 -Paragraph 80 -Subparagraph e -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=12&code=ifrs-tx-2022-en-r&anchor=para_80_e&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_TaxBenefitArisingFromPreviouslyUnrecognisedTaxLossTaxCreditOrTemporaryDifferenceOfPriorPeriodUsedToReduceCurrentTaxExpense
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The amount that represents the difference between the tax expense (income) and the product of the accounting profit multiplied by the applicable tax rate(s) that relates to changes in the tax rate. [Refer: Accounting profit] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 12 -IssueDate 2022-03-24 -Paragraph 81 -Subparagraph c -Clause i -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=12&code=ifrs-tx-2022-en-r&anchor=para_81_c_i&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_TaxEffectFromChangeInTaxRate
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The amount representing the difference between the tax expense (income) and the product of the accounting profit multiplied by the applicable tax rate(s) that relates to impairment of goodwill. [Refer: Accounting profit; Goodwill] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 12 -IssueDate 2022-03-24 -Paragraph 81 -Subparagraph c -Clause i -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=12&code=ifrs-tx-2022-en-r&anchor=para_81_c_i&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_TaxEffectOfImpairmentOfGoodwill
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The aggregate amount of temporary differences associated with investments in subsidiaries, branches and associates and interests in joint arrangements, for which deferred tax liabilities have not been recognised as a result of satisfying both of the following conditions: (a) the parent, investor, joint venturer or joint operator is able to control the timing of the reversal of the temporary difference; and (b) it is probable that the temporary difference will not reverse in the foreseeable future. [Refer: Associates [member]; Subsidiaries [member]; Temporary differences [member]; Investments in subsidiaries reported in separate financial statements] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 12 -IssueDate 2022-03-24 -Paragraph 81 -Subparagraph f -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=12&code=ifrs-tx-2022-en-r&anchor=para_81_f&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_TemporaryDifferencesAssociatedWithInvestmentsInSubsidiariesBranchesAndAssociatesAndInterestsInJointVentures
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | instant

X
- Definition The amount reversed for unused other provisions. [Refer: Other provisions] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 37 -IssueDate 2022-03-24 -Paragraph 84 -Subparagraph d -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=37&code=ifrs-tx-2022-en-r&anchor=para_84_d&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_UnusedProvisionReversedOtherProvisions
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The amount of unused tax losses for which no deferred tax asset is recognised in the statement of financial position. [Refer: Unused tax losses [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 12 -IssueDate 2022-03-24 -Paragraph 81 -Subparagraph e -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=12&code=ifrs-tx-2022-en-r&anchor=para_81_e&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_UnusedTaxLossesForWhichNoDeferredTaxAssetRecognised
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | instant

X
- Definition Applied Tax Loss Carryforwards + References No definition available. + Details
Name: | tef_AppliedTaxLossCarryforwards
Namespace Prefix: | tef_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Current Income Taxes Payable + References No definition available. + Details
Name: | tef_CurrentIncomeTaxesPayable
Namespace Prefix: | tef_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Disposal Of Tax Asset + References No definition available. + Details
Name: | tef_DisposalOfTaxAsset
Namespace Prefix: | tef_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Disposal Of Tax Asset, Deductions + References No definition available. + Details
Name: | tef_DisposalOfTaxAssetDeductions
Namespace Prefix: | tef_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Disposal Of Tax Asset, Loss Carryforwards + References No definition available. + Details
Name: | tef_DisposalOfTaxAssetLossCarryforwards
Namespace Prefix: | tef_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Disposal Of Tax Liability + References No definition available. + Details
Name: | tef_DisposalOfTaxLiability
Namespace Prefix: | tef_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Increase (Decrease) In Tax Expense Due To Temporary Differences + References No definition available. + Details
Name: | tef_IncreaseDecreaseInTaxExpenseDueToTemporaryDifferences
Namespace Prefix: | tef_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Increase Legal Claim In Peru, Tax Litigation, Percentage + References No definition available. + Details
Name: | tef_IncreaseLegalClaimInPeruTaxLitigationPercentage
Namespace Prefix: | tef_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Number Of Consolidated Tax Group Companies + References No definition available. + Details
Name: | tef_NumberOfConsolidatedTaxGroupCompanies
Namespace Prefix: | tef_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition Number Of Years In Processing Lawsuits, Tax Litigation In Peru + References No definition available. + Details
Name: | tef_NumberOfYearsInProcessingLawsuitsTaxLitigationInPeru
Namespace Prefix: | tef_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition Other possible contingent liabilities + References No definition available. + Details
Name: | tef_OtherPossibleContingentLiabilities
Namespace Prefix: | tef_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Proceeds from Favorable Tax Appeal + References No definition available. + Details
Name: | tef_ProceedsfromFavorableTaxAppeal
Namespace Prefix: | tef_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Reversal Of Deferred Tax Assets For Deductions + References No definition available. + Details
Name: | tef_ReversalOfDeferredTaxAssetsForDeductions
Namespace Prefix: | tef_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Reversal Of Deferred Tax Assets For Tax Credits + References No definition available. + Details
Name: | tef_ReversalOfDeferredTaxAssetsForTaxCredits
Namespace Prefix: | tef_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Reversal Of Deferred Tax Assets For Tax Loss Carryforwards + References No definition available. + Details
Name: | tef_ReversalOfDeferredTaxAssetsForTaxLossCarryforwards
Namespace Prefix: | tef_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Reversal Of Deferred Tax Assets For Tax Loss Carryforwards And Deductions + References No definition available. + Details
Name: | tef_ReversalOfDeferredTaxAssetsForTaxLossCarryforwardsAndDeductions
Namespace Prefix: | tef_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Reversal of deferred tax assets + References No definition available. + Details
Name: | tef_Reversalofdeferredtaxassets
Namespace Prefix: | tef_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Tax Credits Recognized + References No definition available. + Details
Name: | tef_TaxCreditsRecognized
Namespace Prefix: | tef_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Tax Dispute, Decrease In Taxes Other Than Income Tax + References No definition available. + Details
Name: | tef_TaxDisputeDecreaseInTaxesOtherThanIncomeTax
Namespace Prefix: | tef_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Tax Dispute, Increase In Finance Income + References No definition available. + Details
Name: | tef_TaxDisputeIncreaseInFinanceIncome
Namespace Prefix: | tef_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Tax Dispute, Long-Term Indirect Taxes Receivable + References No definition available. + Details
Name: | tef_TaxDisputeLongTermIndirectTaxesReceivable
Namespace Prefix: | tef_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Tax Dispute, Monetary Updating + References No definition available. + Details
Name: | tef_TaxDisputeMonetaryUpdating
Namespace Prefix: | tef_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Tax Dispute, Tax Credits To Refund Payments Made + References No definition available. + Details
Name: | tef_TaxDisputeTaxCreditsToRefundPaymentsMade
Namespace Prefix: | tef_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Tax Effect Of Other Permanent Differences + References No definition available. + Details
Name: | tef_TaxEffectOfOtherPermanentDifferences
Namespace Prefix: | tef_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Tax Inspection, Amount Of Tax Expense To Be Paid + References No definition available. + Details
Name: | tef_TaxInspectionAmountOfTaxExpenseToBePaid
Namespace Prefix: | tef_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Tax Refund, Interest Receivable From Tax Paid + References No definition available. + Details
Name: | tef_TaxRefundInterestReceivableFromTaxPaid
Namespace Prefix: | tef_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Tax Refund, Receivable From Tax Paid + References No definition available. + Details
Name: | tef_TaxRefundReceivableFromTaxPaid
Namespace Prefix: | tef_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Details
Name: | ifrs-full_SignificantInvestmentsInSubsidiariesAxis=tef_TelxiusTelecomSAMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_TemporaryDifferenceUnusedTaxLossesAndUnusedTaxCreditsAxis=ifrs-full_UnusedTaxCreditsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_MaturityAxis=ifrs-full_NotLaterThanOneYearMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_TemporaryDifferenceUnusedTaxLossesAndUnusedTaxCreditsAxis=ifrs-full_TemporaryDifferenceMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_SignificantInvestmentsInSubsidiariesAxis=tef_BlueviaFibraSLUMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_TemporaryDifferenceUnusedTaxLossesAndUnusedTaxCreditsAxis=ifrs-full_UnusedTaxLossesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_GeographicalAreasAxis=country_ES
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_TemporaryDifferenceUnusedTaxLossesAndUnusedTaxCreditsAxis=tef_TotalUnusedTaxCreditsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_GeographicalAreasAxis=country_DE
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_GeographicalAreasAxis=tef_HispanoamericaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_SegmentsAxis=tef_TelefonicaSpainMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ClassesOfProvisionsAxis=ifrs-full_ProvisionForTaxesOtherThanIncomeTaxMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_SegmentsAxis=tef_TelefonicaPeruMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_AssetsAndLiabilitiesAxis=tef_DeferredTaxAssetsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_AssetsAndLiabilitiesAxis=tef_DeferredTaxLiabilitiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_LitigationCaseAxis=tef_TribunalEconomicoAdministrativoCentralOverpaymentsin20082011Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_LitigationCaseAxis=tef_PeruRulingsinJuneandAugust2015Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_LitigationCaseAxis=tef_SupremeCourtOfBrazilICMSTaxMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_LitigationCaseAxis=tef_TaxGroup2490Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_LitigationCaseAxis=tef_A20082011InspectionProcedureMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_LitigationCaseAxis=tef_TelecommunicationsLawLaw14195Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | dei_LegalEntityAxis=tef_TelefonicaBrazilMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | tef_TaxPeriodAxis=tef_TaxYear2011To2017Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | dei_LegalEntityAxis=tef_TelefonicaGermanyMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | dei_LegalEntityAxis=tef_Group3GUMTSHoldingMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | tef_IncomeStatementLocationAxis=tef_TaxExpenseIncomeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | tef_IncomeStatementLocationAxis=tef_FinanceIncomeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | dei_LegalEntityAxis=tef_TelefonicaColombiaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | dei_LegalEntityAxis=tef_TelefonicaPeruMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | dei_LegalEntityAxis=tef_VivoMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | dei_LegalEntityAxis=tef_TelefonicaMexicoMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | dei_LegalEntityAxis=tef_TelefonicaS.A.Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | dei_LegalEntityAxis=tef_TelefonicaGermanyAndGroup3GUMTSHoldingGmbHMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | dei_LegalEntityAxis=tef_VaubanCAAMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_StatementGeographicalAxis=country_ES
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ConsolidatedEntitiesAxis=srt_SubsidiariesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |