v3.8.0.1

Nature of the business, Description (Details) $ / shares in Units, $ in Thousands |  |  |  | 12 Months Ended |
--- | --- | --- | --- | --- | ---
May 14, 2015 $ / shares | Jan. 22, 2015 USD ($) $ / shares | Jun. 18, 2014 USD ($) $ / shares shares | Dec. 31, 2017 | Dec. 31, 2014 USD ($) ConcessionalAsset | Feb. 28, 2017
Nature of the business [Abstract] |  |  |  |  |  |
Shares issued (in shares) | shares |  |  | 24,850,000 |  |  |
Share price (in dollars per share) | $ / shares | $ 33.14 |  | $ 29 |  |  |
Proceeds from issuing shares |  |  | $ 720,650 |  |  |
Interest consideration transferred |  |  |  |  |  | 12.50%
Subsidiary of Abengoa [Member] |  |  |  |  |  |
Nature of the business [Abstract] |  |  |  |  |  |
Shares purchased by underwriters (in shares) | shares |  |  | 3,727,500 |  |  |
Total proceeds from offering |  |  | $ 828,748 |  |  |
Abengoa [Member] |  |  |  |  |  |
Nature of the business [Abstract] |  |  |  |  |  |
Ownership interest |  |  |  | 41.47% |  |
Share price (in dollars per share) | $ / shares |  | $ 31 |  |  |  |
Proceeds from issuing shares |  | $ 327,980 |  |  |  |
Number of concessional assets contributed | ConcessionalAsset |  |  |  |  | 10 |
Interest consideration transferred |  |  |  |  | 64.28% |
Cash consideration transferred |  |  |  |  | $ 655,300 |
Cash retained for liquidity purposes |  |  |  |  | $ 30,000 |

X
- Definition The amount of cash retained by the acquiree recognised at the acquisition date for business combinations. + References No definition available. + Details
Name: | aby_CashRetainedByAcquireeAtAcquisitionDate
Namespace Prefix: | aby_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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 contracted concessional assets contributed to the Company. + References No definition available. + Details
Name: | aby_NumberOfContractedConcessionalAssetsContributed
Namespace Prefix: | aby_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition The total cash inflow from issuing shares through an initial public offering and from a secondary offering. + References No definition available. + Details
Name: | aby_ProceedsFromIssuingSharesInitialPublicOfferingAndSecondaryOffering
Namespace Prefix: | aby_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The proportion of ownership interests in the parent held by a subsidiary. + References No definition available. + Details
Name: | aby_ProportionOfOwnershipInterestInParentHeldBySubsidiary
Namespace Prefix: | aby_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Price per share received for common stock issued or sold in the stock transaction. + References No definition available. + Details
Name: | aby_SharePriceSaleOfStock
Namespace Prefix: | aby_
Data Type: | num:perShareItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of shares of stock sold during the period in a secondary offering. + References No definition available. + Details
Name: | aby_StockSoldInSecondaryOffering
Namespace Prefix: | aby_
Data Type: | xbrli:sharesItemType
Balance Type: | na
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 2016-01-13 -Paragraph B64 -Subparagraph f -Clause i -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IFRS&num=3&date=2016-03-30&anchor=para_B64_f_i&doctype=Appendix&seq=2 -URIDate 2016-03-31 + Details
Name: | ifrs-full_CashTransferred
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The number of shares issued by the entity. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 1 -IssueDate 2016-01-13 -Paragraph 106 -Subparagraph d -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IAS&num=1&date=2016-03-30&anchor=para_106_d&doctype=Standard -URIDate 2016-03-31 + Details
Name: | ifrs-full_NumberOfSharesIssued
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition The percentage of voting equity interests acquired in a business combination. [Refer: Business combinations [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 3 -IssueDate 2016-01-13 -Paragraph B64 -Subparagraph c -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IFRS&num=3&date=2016-03-30&anchor=para_B64_c&doctype=Appendix&seq=2 -URIDate 2016-03-31 + Details
Name: | ifrs-full_PercentageOfVotingEquityInterestsAcquired
Namespace Prefix: | ifrs-full_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition The cash inflow from issuing shares. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Name IAS -Number 7 -IssueDate 2016-01-13 -Paragraph 17 -Subparagraph a -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IAS&num=7&date=2016-03-30&anchor=para_17_a&doctype=Standard -URIDate 2016-03-31 + Details
Name: | ifrs-full_ProceedsFromIssuingShares
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | ifrs-full_CategoriesOfRelatedPartiesAxis=ifrs-full_SubsidiariesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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