v3.23.1

Nature of the business, Assets acquired (Details) | 3 Months Ended | 12 Months Ended
--- | --- | ---
Mar. 31, 2023 Plant MW | Dec. 31, 2022 Asset
Nature of the business [Abstract] |  |
Number of assets under construction | Asset |  | 3
Abengoa S.A. [Member] |  |
Nature of the business [Abstract] |  |
Percentage of revenue |  | 5.00%
Albisu [Member] |  |
Nature of the business [Abstract] |  |
Gross capacity | 10 |
Period of PPA | 15 years |
la Tolua and Tierra Linda [Member] |  |
Nature of the business [Abstract] |  |
Gross capacity | 30 |
Period of PPA | 10 years |
Number of solar plants acquired | Plant | 2 |
Rioglass Servicios S.L.U [Member] |  |
Nature of the business [Abstract] |  |
Percentage of revenue |  | 72.00%

X
- Definition The rated electric power generation capacity in Megawatts (MW) or Kilovolts (kV) of a power generation facility. + References No definition available. + Details
Name: | aby_Capacity
Namespace Prefix: | aby_
Data Type: | dtr-types:powerItemType
Balance Type: | na
Period Type: | duration

X
- References No definition available. + Details
Name: | aby_NatureOfTheBusinessDisclosureAbstract
Namespace Prefix: | aby_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The number of assets under construction by the company. + References No definition available. + Details
Name: | aby_NumberOfAssetsUnderConstruction
Namespace Prefix: | aby_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition The number of solar PV plants acquired by the entity. + References No definition available. + Details
Name: | aby_NumberOfSolarPlantsAcquired
Namespace Prefix: | aby_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Period of contract, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. + References No definition available. + Details
Name: | aby_TermOfContract
Namespace Prefix: | aby_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition The percentage of the entity's revenue. [Refer: Revenue] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IFRS -Number 8 -IssueDate 2022-03-24 -Paragraph 34 -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2022-en-r&anchor=para_34&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_PercentageOfEntitysRevenue
Namespace Prefix: | ifrs-full_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

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

X
- Details
Name: | ifrs-full_BusinessCombinationsAxis=aby_AlbisuMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_BusinessCombinationsAxis=aby_LaToluaAndTierraLindaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_BusinessCombinationsAxis=aby_RioglassServiciosSLUMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |