XML 111 R95.htm IDEA: XBRL DOCUMENT
v3.22.4

Accounting Policies - Impairment of non-current assets (Details) | 12 Months Ended
--- | ---
Dec. 31, 2022
Disclosure Of Significant Accounting Policies [Abstract] |
Period covering projected cash flows for calculation of impairment | 5 years

X
- Definition Disclosure Of Significant Accounting Policies [Abstract] + References No definition available. + Details
Name: | tef_DisclosureOfSignificantAccountingPoliciesAbstract
Namespace Prefix: | tef_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Period covering projected cash flows for calculation of impairment + References No definition available. + Details
Name: | tef_PeriodCoveringProjectedCashFlowsForCalculationOfImpairment
Namespace Prefix: | tef_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration