<XML>
<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.24.3</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>540</ContextCount>
  <ElementCount>320</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>true</FootnotesReported>
  <SegmentCount>198</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>15</UnitCount>
  <MyReports>
    <Report instance="ef20034535_6k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>000100 - Document - Document and Entity Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://atlanticayield.com/role/DocumentAndEntityInformation</Role>
      <ShortName>Document and Entity Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="ef20034535_6k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>010000 - Statement - Consolidated condensed statements of financial position</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://atlanticayield.com/role/ConsolidatedCondensedStatementsOfFinancialPosition</Role>
      <ShortName>Consolidated condensed statements of financial position</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="ef20034535_6k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>020000 - Statement - Consolidated condensed statements of profit or loss</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://atlanticayield.com/role/ConsolidatedCondensedStatementsOfProfitOrLoss</Role>
      <ShortName>Consolidated condensed statements of profit or loss</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="ef20034535_6k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>030000 - Statement - Consolidated condensed statements of comprehensive income</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://atlanticayield.com/role/ConsolidatedCondensedStatementsOfComprehensiveIncome</Role>
      <ShortName>Consolidated condensed statements of comprehensive income</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="ef20034535_6k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>040000 - Statement - Consolidated condensed statements of changes in equity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://atlanticayield.com/role/ConsolidatedCondensedStatementsOfChangesInEquity</Role>
      <ShortName>Consolidated condensed statements of changes in equity</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="ef20034535_6k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>050000 - Statement - Consolidated condensed cash flows statements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://atlanticayield.com/role/ConsolidatedCondensedCashFlowsStatements</Role>
      <ShortName>Consolidated condensed cash flows statements</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="ef20034535_6k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>060100 - Disclosure - Nature of the business</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://atlanticayield.com/role/NatureOfBusiness</Role>
      <ShortName>Nature of the business</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="ef20034535_6k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>060200 - Disclosure - Basis of preparation</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://atlanticayield.com/role/BasisOfPreparation</Role>
      <ShortName>Basis of preparation</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="ef20034535_6k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>060300 - Disclosure - Financial risk management</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://atlanticayield.com/role/FinancialRiskManagement</Role>
      <ShortName>Financial risk management</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="ef20034535_6k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>060400 - Disclosure - Financial information by segment</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://atlanticayield.com/role/FinancialInformationBySegment</Role>
      <ShortName>Financial information by segment</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="ef20034535_6k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>060500 - Disclosure - Business combinations</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://atlanticayield.com/role/BusinessCombinations</Role>
      <ShortName>Business combinations</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="ef20034535_6k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>060600 - Disclosure - Contracted concessional, PP&amp;E and other intangible assets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://atlanticayield.com/role/ContractedConcessionalPpEAndOtherIntangibleAssets</Role>
      <ShortName>Contracted concessional, PP&amp;E and other intangible assets</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="ef20034535_6k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>060700 - Disclosure - Investments carried under the equity method</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://atlanticayield.com/role/InvestmentsCarriedUnderEquityMethod</Role>
      <ShortName>Investments carried under the equity method</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="ef20034535_6k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>060800 - Disclosure - Assets held for sale</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://atlanticayield.com/role/AssetsHeldForSale</Role>
      <ShortName>Assets held for sale</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="ef20034535_6k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>060900 - Disclosure - Financial assets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://atlanticayield.com/role/FinancialAssets</Role>
      <ShortName>Financial assets</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="ef20034535_6k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>061000 - Disclosure - Derivative financial instruments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://atlanticayield.com/role/DerivativeFinancialInstruments</Role>
      <ShortName>Derivative financial instruments</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="ef20034535_6k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>061100 - Disclosure - Fair value of financial instruments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://atlanticayield.com/role/FairValueOfFinancialInstruments</Role>
      <ShortName>Fair value of financial instruments</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="ef20034535_6k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>061200 - Disclosure - Related parties</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://atlanticayield.com/role/RelatedParties</Role>
      <ShortName>Related parties</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="ef20034535_6k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>061300 - Disclosure - Trade and other receivables</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://atlanticayield.com/role/TradeAndOtherReceivables</Role>
      <ShortName>Trade and other receivables</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="ef20034535_6k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>061400 - Disclosure - Equity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://atlanticayield.com/role/Equity</Role>
      <ShortName>Equity</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="ef20034535_6k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>061500 - Disclosure - Corporate debt</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://atlanticayield.com/role/CorporateDebt</Role>
      <ShortName>Corporate debt</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="ef20034535_6k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>061600 - Disclosure - Project debt</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://atlanticayield.com/role/ProjectDebt</Role>
      <ShortName>Project debt</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="ef20034535_6k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>061700 - Disclosure - Grants and other liabilities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://atlanticayield.com/role/GrantsAndOtherLiabilities</Role>
      <ShortName>Grants and other liabilities</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>23</Position>
    </Report>
    <Report instance="ef20034535_6k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>061800 - Disclosure - Trade payables and other current liabilities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://atlanticayield.com/role/TradePayablesAndOtherCurrentLiabilities</Role>
      <ShortName>Trade payables and other current liabilities</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>24</Position>
    </Report>
    <Report instance="ef20034535_6k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>061900 - Disclosure - Other operating income and expenses</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://atlanticayield.com/role/OtherOperatingIncomeAndExpenses</Role>
      <ShortName>Other operating income and expenses</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>25</Position>
    </Report>
    <Report instance="ef20034535_6k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>062000 - Disclosure - Financial expense, net</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://atlanticayield.com/role/FinancialExpenseNet</Role>
      <ShortName>Financial expense, net</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>26</Position>
    </Report>
    <Report instance="ef20034535_6k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>062100 - Disclosure - Income Tax</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://atlanticayield.com/role/IncomeTax</Role>
      <ShortName>Income Tax</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>27</Position>
    </Report>
    <Report instance="ef20034535_6k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>062200 - Disclosure - Earnings per share</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://atlanticayield.com/role/EarningsPerShare</Role>
      <ShortName>Earnings per share</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>28</Position>
    </Report>
    <Report instance="ef20034535_6k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>062300 - Disclosure - Subsequent events</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://atlanticayield.com/role/SubsequentEvents</Role>
      <ShortName>Subsequent events</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>29</Position>
    </Report>
    <Report instance="ef20034535_6k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>070200 - Disclosure - Basis of preparation (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://atlanticayield.com/role/BasisOfPreparationPolicies</Role>
      <ShortName>Basis of preparation (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <Position>30</Position>
    </Report>
    <Report instance="ef20034535_6k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>071100 - Disclosure - Fair value of financial instruments (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://atlanticayield.com/role/FairValueOfFinancialInstrumentsPolicies</Role>
      <ShortName>Fair value of financial instruments (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <Position>31</Position>
    </Report>
    <Report instance="ef20034535_6k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>080100 - Disclosure - Nature of the business (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://atlanticayield.com/role/NatureOfBusinessTables</Role>
      <ShortName>Nature of the business (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://atlanticayield.com/role/NatureOfBusiness</ParentRole>
      <Position>32</Position>
    </Report>
    <Report instance="ef20034535_6k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>080400 - Disclosure - Financial information by segment (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://atlanticayield.com/role/FinancialInformationBySegmentTables</Role>
      <ShortName>Financial information by segment (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://atlanticayield.com/role/FinancialInformationBySegment</ParentRole>
      <Position>33</Position>
    </Report>
    <Report instance="ef20034535_6k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>080500 - Disclosure - Business combinations (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://atlanticayield.com/role/BusinessCombinationsTables</Role>
      <ShortName>Business combinations (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://atlanticayield.com/role/BusinessCombinations</ParentRole>
      <Position>34</Position>
    </Report>
    <Report instance="ef20034535_6k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>080600 - Disclosure - Contracted concessional, PP&amp;E and other intangible assets (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://atlanticayield.com/role/ContractedConcessionalPpEAndOtherIntangibleAssetsTables</Role>
      <ShortName>Contracted concessional, PP&amp;E and other intangible assets (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://atlanticayield.com/role/ContractedConcessionalPpEAndOtherIntangibleAssets</ParentRole>
      <Position>35</Position>
    </Report>
    <Report instance="ef20034535_6k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>080700 - Disclosure - Investments carried under the equity method (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://atlanticayield.com/role/InvestmentsCarriedUnderEquityMethodTables</Role>
      <ShortName>Investments carried under the equity method (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://atlanticayield.com/role/InvestmentsCarriedUnderEquityMethod</ParentRole>
      <Position>36</Position>
    </Report>
    <Report instance="ef20034535_6k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>080800 - Disclosure - Assets held for sale (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://atlanticayield.com/role/AssetsHeldForSaleTables</Role>
      <ShortName>Assets held for sale (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://atlanticayield.com/role/AssetsHeldForSale</ParentRole>
      <Position>37</Position>
    </Report>
    <Report instance="ef20034535_6k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>080900 - Disclosure - Financial assets (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://atlanticayield.com/role/FinancialAssetsTables</Role>
      <ShortName>Financial assets (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://atlanticayield.com/role/FinancialAssets</ParentRole>
      <Position>38</Position>
    </Report>
    <Report instance="ef20034535_6k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>081000 - Disclosure - Derivative financial instruments (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://atlanticayield.com/role/DerivativeFinancialInstrumentsTables</Role>
      <ShortName>Derivative financial instruments (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://atlanticayield.com/role/DerivativeFinancialInstruments</ParentRole>
      <Position>39</Position>
    </Report>
    <Report instance="ef20034535_6k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>081200 - Disclosure - Related parties (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://atlanticayield.com/role/RelatedPartiesTables</Role>
      <ShortName>Related parties (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://atlanticayield.com/role/RelatedParties</ParentRole>
      <Position>40</Position>
    </Report>
    <Report instance="ef20034535_6k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>081300 - Disclosure - Trade and other receivables (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://atlanticayield.com/role/TradeAndOtherReceivablesTables</Role>
      <ShortName>Trade and other receivables (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://atlanticayield.com/role/TradeAndOtherReceivables</ParentRole>
      <Position>41</Position>
    </Report>
    <Report instance="ef20034535_6k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>081500 - Disclosure - Corporate debt (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://atlanticayield.com/role/CorporateDebtTables</Role>
      <ShortName>Corporate debt (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://atlanticayield.com/role/CorporateDebt</ParentRole>
      <Position>42</Position>
    </Report>
    <Report instance="ef20034535_6k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>081600 - Disclosure - Project debt (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://atlanticayield.com/role/ProjectDebtTables</Role>
      <ShortName>Project debt (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://atlanticayield.com/role/ProjectDebt</ParentRole>
      <Position>43</Position>
    </Report>
    <Report instance="ef20034535_6k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>081700 - Disclosure - Grants and other liabilities (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://atlanticayield.com/role/GrantsAndOtherLiabilitiesTables</Role>
      <ShortName>Grants and other liabilities (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://atlanticayield.com/role/GrantsAndOtherLiabilities</ParentRole>
      <Position>44</Position>
    </Report>
    <Report instance="ef20034535_6k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>081800 - Disclosure - Trade payables and other current liabilities (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://atlanticayield.com/role/TradePayablesAndOtherCurrentLiabilitiesTables</Role>
      <ShortName>Trade payables and other current liabilities (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://atlanticayield.com/role/TradePayablesAndOtherCurrentLiabilities</ParentRole>
      <Position>45</Position>
    </Report>
    <Report instance="ef20034535_6k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>081900 - Disclosure - Other operating income and expenses (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://atlanticayield.com/role/OtherOperatingIncomeAndExpensesTables</Role>
      <ShortName>Other operating income and expenses (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://atlanticayield.com/role/OtherOperatingIncomeAndExpenses</ParentRole>
      <Position>46</Position>
    </Report>
    <Report instance="ef20034535_6k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>082000 - Disclosure - Financial expense, net (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://atlanticayield.com/role/FinancialExpenseNetTables</Role>
      <ShortName>Financial expense, net (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://atlanticayield.com/role/FinancialExpenseNet</ParentRole>
      <Position>47</Position>
    </Report>
    <Report instance="ef20034535_6k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>082200 - Disclosure - Earnings per share (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://atlanticayield.com/role/EarningsPerShareTables</Role>
      <ShortName>Earnings per share (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://atlanticayield.com/role/EarningsPerShare</ParentRole>
      <Position>48</Position>
    </Report>
    <Report instance="ef20034535_6k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>090100 - Disclosure - Nature of the business, Description (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://atlanticayield.com/role/NatureOfBusinessDescriptionDetails</Role>
      <ShortName>Nature of the business, Description (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>49</Position>
    </Report>
    <Report instance="ef20034535_6k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>090102 - Disclosure - Nature of the business, Concessional assets owned (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://atlanticayield.com/role/NatureOfBusinessConcessionalAssetsOwnedDetails</Role>
      <ShortName>Nature of the business, Concessional assets owned (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>50</Position>
    </Report>
    <Report instance="ef20034535_6k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>090104 - Disclosure - Nature of the business, Assets under construction or ready to start construction (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://atlanticayield.com/role/NatureOfBusinessAssetsUnderConstructionOrReadyToStartConstructionDetails</Role>
      <ShortName>Nature of the business, Assets under construction or ready to start construction (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>51</Position>
    </Report>
    <Report instance="ef20034535_6k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>090400 - Disclosure - Financial information by segment, Revenues and Adjusted EBITDA (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://atlanticayield.com/role/FinancialInformationBySegmentRevenuesAndAdjustedEbitdaDetails</Role>
      <ShortName>Financial information by segment, Revenues and Adjusted EBITDA (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>52</Position>
    </Report>
    <Report instance="ef20034535_6k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>090402 - Disclosure - Financial information by segment, Reconciliation of segment Adjusted EBITDA (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://atlanticayield.com/role/FinancialInformationBySegmentReconciliationOfSegmentAdjustedEbitdaDetails</Role>
      <ShortName>Financial information by segment, Reconciliation of segment Adjusted EBITDA (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>53</Position>
    </Report>
    <Report instance="ef20034535_6k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>090404 - Disclosure - Financial information by segment, Assets and liabilities by geography (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://atlanticayield.com/role/FinancialInformationBySegmentAssetsAndLiabilitiesByGeographyDetails</Role>
      <ShortName>Financial information by segment, Assets and liabilities by geography (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>54</Position>
    </Report>
    <Report instance="ef20034535_6k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>090406 - Disclosure - Financial information by segment, Assets and liabilities by business sector (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://atlanticayield.com/role/FinancialInformationBySegmentAssetsAndLiabilitiesByBusinessSectorDetails</Role>
      <ShortName>Financial information by segment, Assets and liabilities by business sector (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>55</Position>
    </Report>
    <Report instance="ef20034535_6k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>090408 - Disclosure - Financial information by segment, Depreciation, amortization and impairment charges recognized (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://atlanticayield.com/role/FinancialInformationBySegmentDepreciationAmortizationAndImpairmentChargesRecognizedDetails</Role>
      <ShortName>Financial information by segment, Depreciation, amortization and impairment charges recognized (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>56</Position>
    </Report>
    <Report instance="ef20034535_6k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>090500 - Disclosure - Business combinations, 2024 (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://atlanticayield.com/role/BusinessCombinations2024Details</Role>
      <ShortName>Business combinations, 2024 (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>57</Position>
    </Report>
    <Report instance="ef20034535_6k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>090502 - Disclosure - Business combinations, 2023 (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://atlanticayield.com/role/BusinessCombinations2023Details</Role>
      <ShortName>Business combinations, 2023 (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>58</Position>
    </Report>
    <Report instance="ef20034535_6k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>090600 - Disclosure - Contracted concessional, PP&amp;E and other intangible assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://atlanticayield.com/role/ContractedConcessionalPpEAndOtherIntangibleAssetsDetails</Role>
      <ShortName>Contracted concessional, PP&amp;E and other intangible assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://atlanticayield.com/role/ContractedConcessionalPpEAndOtherIntangibleAssetsTables</ParentRole>
      <Position>59</Position>
    </Report>
    <Report instance="ef20034535_6k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>090700 - Disclosure - Investments carried under the equity method (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://atlanticayield.com/role/InvestmentsCarriedUnderEquityMethodDetails</Role>
      <ShortName>Investments carried under the equity method (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://atlanticayield.com/role/InvestmentsCarriedUnderEquityMethodTables</ParentRole>
      <Position>60</Position>
    </Report>
    <Report instance="ef20034535_6k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>090800 - Disclosure - Assets held for sale, Details of assets held for sale (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://atlanticayield.com/role/AssetsHeldForSaleDetailsOfAssetsHeldForSaleDetails</Role>
      <ShortName>Assets held for sale, Details of assets held for sale (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>61</Position>
    </Report>
    <Report instance="ef20034535_6k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>090802 - Disclosure - Assets held for sale, Amounts of Assets held for sale (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://atlanticayield.com/role/AssetsHeldForSaleAmountsOfAssetsHeldForSaleDetails</Role>
      <ShortName>Assets held for sale, Amounts of Assets held for sale (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>62</Position>
    </Report>
    <Report instance="ef20034535_6k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>090900 - Disclosure - Financial assets, Non-current and current financial investments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://atlanticayield.com/role/FinancialAssetsNoncurrentAndCurrentFinancialInvestmentsDetails</Role>
      <ShortName>Financial assets, Non-current and current financial investments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>63</Position>
    </Report>
    <Report instance="ef20034535_6k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>090902 - Disclosure - Financial assets, Restructuring agreement of Abengoa (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://atlanticayield.com/role/FinancialAssetsRestructuringAgreementOfAbengoaDetails</Role>
      <ShortName>Financial assets, Restructuring agreement of Abengoa (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>64</Position>
    </Report>
    <Report instance="ef20034535_6k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>091000 - Disclosure - Derivative financial instruments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://atlanticayield.com/role/DerivativeFinancialInstrumentsDetails</Role>
      <ShortName>Derivative financial instruments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://atlanticayield.com/role/DerivativeFinancialInstrumentsTables</ParentRole>
      <Position>65</Position>
    </Report>
    <Report instance="ef20034535_6k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>091200 - Disclosure - Related parties (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://atlanticayield.com/role/RelatedPartiesDetails</Role>
      <ShortName>Related parties (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://atlanticayield.com/role/RelatedPartiesTables</ParentRole>
      <Position>66</Position>
    </Report>
    <Report instance="ef20034535_6k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R67.htm</HtmlFileName>
      <LongName>091300 - Disclosure - Trade and other receivables (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://atlanticayield.com/role/TradeAndOtherReceivablesDetails</Role>
      <ShortName>Trade and other receivables (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://atlanticayield.com/role/TradeAndOtherReceivablesTables</ParentRole>
      <Position>67</Position>
    </Report>
    <Report instance="ef20034535_6k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R68.htm</HtmlFileName>
      <LongName>091400 - Disclosure - Equity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://atlanticayield.com/role/EquityDetails</Role>
      <ShortName>Equity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://atlanticayield.com/role/Equity</ParentRole>
      <Position>68</Position>
    </Report>
    <Report instance="ef20034535_6k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R69.htm</HtmlFileName>
      <LongName>091500 - Disclosure - Corporate debt, Breakdown of corporate debt (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://atlanticayield.com/role/CorporateDebtBreakdownOfCorporateDebtDetails</Role>
      <ShortName>Corporate debt, Breakdown of corporate debt (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>69</Position>
    </Report>
    <Report instance="ef20034535_6k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R70.htm</HtmlFileName>
      <LongName>091502 - Disclosure - Corporate debt, Details of corporate debt (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://atlanticayield.com/role/CorporateDebtDetailsOfCorporateDebtDetails</Role>
      <ShortName>Corporate debt, Details of corporate debt (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>70</Position>
    </Report>
    <Report instance="ef20034535_6k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R71.htm</HtmlFileName>
      <LongName>091504 - Disclosure - Corporate debt, Repayment schedule (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://atlanticayield.com/role/CorporateDebtRepaymentScheduleDetails</Role>
      <ShortName>Corporate debt, Repayment schedule (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>71</Position>
    </Report>
    <Report instance="ef20034535_6k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R72.htm</HtmlFileName>
      <LongName>091600 - Disclosure - Project debt, Details of project debt (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://atlanticayield.com/role/ProjectDebtDetailsOfProjectDebtDetails</Role>
      <ShortName>Project debt, Details of project debt (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>72</Position>
    </Report>
    <Report instance="ef20034535_6k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R73.htm</HtmlFileName>
      <LongName>091602 - Disclosure - Project debt, Repayment schedule (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://atlanticayield.com/role/ProjectDebtRepaymentScheduleDetails</Role>
      <ShortName>Project debt, Repayment schedule (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>73</Position>
    </Report>
    <Report instance="ef20034535_6k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R74.htm</HtmlFileName>
      <LongName>091700 - Disclosure - Grants and other liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://atlanticayield.com/role/GrantsAndOtherLiabilitiesDetails</Role>
      <ShortName>Grants and other liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://atlanticayield.com/role/GrantsAndOtherLiabilitiesTables</ParentRole>
      <Position>74</Position>
    </Report>
    <Report instance="ef20034535_6k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R75.htm</HtmlFileName>
      <LongName>091800 - Disclosure - Trade payables and other current liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://atlanticayield.com/role/TradePayablesAndOtherCurrentLiabilitiesDetails</Role>
      <ShortName>Trade payables and other current liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://atlanticayield.com/role/TradePayablesAndOtherCurrentLiabilitiesTables</ParentRole>
      <Position>75</Position>
    </Report>
    <Report instance="ef20034535_6k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R76.htm</HtmlFileName>
      <LongName>091900 - Disclosure - Other operating income and expenses (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://atlanticayield.com/role/OtherOperatingIncomeAndExpensesDetails</Role>
      <ShortName>Other operating income and expenses (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://atlanticayield.com/role/OtherOperatingIncomeAndExpensesTables</ParentRole>
      <Position>76</Position>
    </Report>
    <Report instance="ef20034535_6k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R77.htm</HtmlFileName>
      <LongName>092000 - Disclosure - Financial expense, net (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://atlanticayield.com/role/FinancialExpenseNetDetails</Role>
      <ShortName>Financial expense, net (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://atlanticayield.com/role/FinancialExpenseNetTables</ParentRole>
      <Position>77</Position>
    </Report>
    <Report instance="ef20034535_6k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R78.htm</HtmlFileName>
      <LongName>092100 - Disclosure - Income Tax (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://atlanticayield.com/role/IncomeTaxDetails</Role>
      <ShortName>Income Tax (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://atlanticayield.com/role/IncomeTax</ParentRole>
      <Position>78</Position>
    </Report>
    <Report instance="ef20034535_6k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R79.htm</HtmlFileName>
      <LongName>092200 - Disclosure - Earnings per share (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://atlanticayield.com/role/EarningsPerShareDetails</Role>
      <ShortName>Earnings per share (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://atlanticayield.com/role/EarningsPerShareTables</ParentRole>
      <Position>79</Position>
    </Report>
    <Report instance="ef20034535_6k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R80.htm</HtmlFileName>
      <LongName>092300 - Disclosure - Subsequent events (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://atlanticayield.com/role/SubsequentEventsDetails</Role>
      <ShortName>Subsequent events (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://atlanticayield.com/role/SubsequentEvents</ParentRole>
      <Position>80</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File>aby-20240930.xsd</File>
    <File>aby-20240930_cal.xml</File>
    <File>aby-20240930_def.xml</File>
    <File>aby-20240930_lab.xml</File>
    <File>aby-20240930_pre.xml</File>
    <File doctype="6-K" isDefinitelyFs="true" isIfrs="true" isUsgaap="true" original="ef20034535_6k.htm">ef20034535_6k.htm</File>
  </InputFiles>
  <SupplementalFiles/>
  <BaseTaxonomies>
    <BaseTaxonomy items="6">http://xbrl.sec.gov/dei/2024</BaseTaxonomy>
    <BaseTaxonomy items="1121">https://xbrl.ifrs.org/taxonomy/2024-03-27/ifrs-full</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
</XML>
