v3.8.0.1

Equity (Details) $ / shares in Units, $ in Thousands |  |  |  |  |  |  |  |  |  |  | 1 Months Ended | 6 Months Ended | 12 Months Ended | 18 Months Ended
--- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | ---
Nov. 13, 2017 $ / shares | Aug. 03, 2017 $ / shares | May 15, 2017 $ / shares | Mar. 15, 2017 USD ($) | Feb. 27, 2017 $ / shares | Feb. 24, 2017 USD ($) | Jul. 14, 2015 shares | May 14, 2015 $ / shares shares | Jan. 22, 2015 USD ($) $ / shares shares | Jun. 18, 2014 USD ($) $ / shares shares | Jan. 21, 2015 | Jul. 13, 2015 | Dec. 31, 2017 USD ($) Vote $ / shares shares | Dec. 31, 2016 USD ($)
Equity [Abstract] |  |  |  |  |  |  |  |  |  |  |  |  |  |
Number of shares sold (in shares) | shares |  |  |  |  |  |  |  | 20,217,260 |  | 24,850,000 |  |  |  |
Share price (in dollars per share) | $ / shares |  |  |  |  |  |  |  | $ 33.14 |  | $ 29 |  |  |  |
Proceeds from issuing shares |  |  |  |  |  |  |  |  |  | $ 720,650 |  |  |  |
Share capital |  |  |  |  |  |  |  |  |  | 2,485 |  |  | $ 10,022 | $ 10,022
Additional paid in capital |  |  |  |  |  |  |  |  |  | $ 682,810 |  |  |  |
Discount percentage applied to share price |  |  |  |  |  |  |  | 3.00% |  |  |  |  |  |
Shares outstanding (in shares) | shares |  |  |  |  |  |  |  |  |  |  |  |  | 100,217,260 |
Nominal value per share (in dollars per share) | $ / shares |  |  |  |  |  |  |  |  |  |  |  |  | $ 0.10 |
Voting right per share | Vote |  |  |  |  |  |  |  |  |  |  |  |  | 1 |
Dividends retained from Abengoa |  |  |  |  |  | $ 10,400 |  |  |  |  |  |  |  |
Treasury shares held (in shares) | shares |  |  |  |  |  |  |  |  |  |  |  |  | 0 |
Increase (decrease) in treasury shares (in shares) | shares |  |  |  |  |  |  |  |  |  |  |  |  | 0 |
First Quarter [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |
Equity [Abstract] |  |  |  |  |  |  |  |  |  |  |  |  |  |
Dividend declared and paid (in dollars per share) | $ / shares |  |  | $ 0.25 |  |  |  |  |  |  |  |  |  |  |
Second Quarter [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |
Equity [Abstract] |  |  |  |  |  |  |  |  |  |  |  |  |  |
Dividend declared and paid (in dollars per share) | $ / shares |  | $ 0.26 |  |  |  |  |  |  |  |  |  |  |  |
Third Quarter [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |
Equity [Abstract] |  |  |  |  |  |  |  |  |  |  |  |  |  |
Dividend declared and paid (in dollars per share) | $ / shares | $ 0.29 |  |  |  |  |  |  |  |  |  |  |  |  |
Fourth Quarter [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |
Equity [Abstract] |  |  |  |  |  |  |  |  |  |  |  |  |  |
Dividend declared and paid (in dollars per share) | $ / shares |  |  |  |  | $ 0.25 |  |  |  |  |  |  |  |  |
Abengoa [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |
Equity [Abstract] |  |  |  |  |  |  |  |  |  |  |  |  |  |
Number of shares sold (in shares) | shares |  |  |  |  |  |  | 2,000,000 |  | 10,580,000 |  |  |  |  |
Share price (in dollars per share) | $ / shares |  |  |  |  |  |  |  |  | $ 31 |  |  |  |  |
Proceeds from issuing shares |  |  |  |  |  |  |  |  | $ 327,980 |  |  |  |  |
Ownership interest |  |  |  |  |  |  |  |  |  |  | 64.30% | 51.10% |  | 49.10%
Percent of newly-issued shares subscribed |  |  |  |  |  |  |  | 51.00% |  |  |  |  |  |
Dividends retained from Abengoa |  |  |  | $ 10,400 |  |  |  |  |  |  |  |  |  |
Exchangeable Notes [Member] | Abengoa [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |
Equity [Abstract] |  |  |  |  |  |  |  |  |  |  |  |  |  |
Ownership interest |  |  |  |  |  |  |  |  |  |  |  |  | 41.47% |
Number of shares issued upon conversion of exchangeable notes (in shares) | shares |  |  |  |  |  |  |  |  |  |  |  |  | 7,595,639 |
Principal amount |  |  |  |  |  |  |  |  |  |  |  |  | $ 279,000 |
Subsidiary of Abengoa [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |
Equity [Abstract] |  |  |  |  |  |  |  |  |  |  |  |  |  |
Shares purchased by underwriters (in shares) | shares |  |  |  |  |  |  |  |  |  | 3,727,500 |  |  |  |
Total proceeds from offering |  |  |  |  |  |  |  |  |  | $ 828,748 |  |  |  |

X
- Definition The discount percentage applied to the per share closing price of the entity's common stock sold. + References No definition available. + Details
Name: | aby_DiscountPercentageAppliedToSharePrice
Namespace Prefix: | aby_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Dividends retained from Abengoa related to the preferred equity investment in Abengoa Concessoes Brasil Holding (ACBH), which is a subsidiary of Abengoa engaged in the development, construction, investment and management of contracted concessions in Brazil, comprised mostly of transmission lines. Retention is based on the underlying investment agreement supported by the additional agreement reached with Abengoa in the third quarter of 2016. + References No definition available. + Details
Name: | aby_DividendsRetained
Namespace Prefix: | aby_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The number of shares issued upon conversion of convertible securities. + References No definition available. + Details
Name: | aby_NumberOfSharesIssuedUponConversionOfConvertibleSecurities
Namespace Prefix: | aby_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition The number of shares of stock sold by the entity. + References No definition available. + Details
Name: | aby_NumberOfSharesOfStockSold
Namespace Prefix: | aby_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition The number of treasure shares purchased, sold, issued or cancelled during the period. + References No definition available. + Details
Name: | aby_NumberOfTreasurySharesPurchasedSoldIssuedOrCancelled
Namespace Prefix: | aby_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition The percentage of newly-issued shares of stock an investor has agreed to purchase before it is offered to the public. + References No definition available. + Details
Name: | aby_PercentageOfNewlyIssuedSharesSubscribed
Namespace Prefix: | aby_
Data Type: | num:percentItemType
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 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 number of previously-issued common shares repurchased by the issuing entity and held in treasury. + References No definition available. + Details
Name: | aby_TreasurySharesNumberOfShares
Namespace Prefix: | aby_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition The number of voting rights granted for each share owned. + References No definition available. + Details
Name: | aby_VotingRightPerShare
Namespace Prefix: | aby_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount received or receivable from the issuance of the entity's shares in excess of nominal value and amounts received from other transactions involving the entity's stock or stockholders. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 1 -IssueDate 2016-01-13 -Paragraph 55 -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IAS&num=1&date=2016-03-30&anchor=para_55&doctype=Standard -URIDate 2016-03-31 + Details
Name: | ifrs-full_AdditionalPaidinCapital
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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

X
- Definition The amount of dividends paid per ordinary share. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 34 -IssueDate 2016-01-13 -Paragraph 16A -Subparagraph f -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IAS&num=34&date=2016-03-30&anchor=para_16A_f&doctype=Standard -URIDate 2016-03-31 + Details
Name: | ifrs-full_DividendsPaidOrdinarySharesPerShare
Namespace Prefix: | ifrs-full_
Data Type: | num:perShareItemType
Balance Type: | na
Period Type: | duration

X
- Definition The nominal value of capital issued. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Name IAS -Number 1 -IssueDate 2016-01-13 -Paragraph 78 -Subparagraph e -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IAS&num=1&date=2016-03-30&anchor=para_78_e&doctype=Standard -URIDate 2016-03-31 + Details
Name: | ifrs-full_IssuedCapital
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The nominal or face amount of a financial instrument, used to calculate payments made on that instrument. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 1 -IssueDate 2016-01-13 -Paragraph 112 -Subparagraph c -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IAS&num=1&date=2016-03-30&anchor=para_112_c&doctype=Standard -URIDate 2016-03-31 + Details
Name: | ifrs-full_NotionalAmount
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | instant

X
- Definition The number of shares that have been authorised and issued, reduced by treasury shares held. [Refer: Treasury shares] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2016-01-13 -Paragraph 79 -Subparagraph a -Clause iv -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IAS&num=1&date=2016-03-30&anchor=para_79_a_iv&doctype=Standard -URIDate 2016-03-31 + Details
Name: | ifrs-full_NumberOfSharesOutstanding
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition The nominal value per share. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2016-01-13 -Paragraph 79 -Subparagraph a -Clause iii -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IAS&num=1&date=2016-03-30&anchor=para_79_a_iii&doctype=Standard -URIDate 2016-03-31 + Details
Name: | ifrs-full_ParValuePerShare
Namespace Prefix: | ifrs-full_
Data Type: | num:perShareItemType
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
- Definition The proportion of ownership interests in a subsidiary held by non-controlling interests. [Refer: Subsidiaries [member]; Non-controlling interests] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 12 -IssueDate 2016-01-13 -Paragraph 12 -Subparagraph c -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IFRS&num=12&date=2016-03-30&anchor=para_12_c&doctype=Standard -URIDate 2016-03-31 + Details
Name: | ifrs-full_ProportionOfOwnershipInterestsHeldByNoncontrollingInterests
Namespace Prefix: | ifrs-full_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

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

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

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

X
- Details
Name: | ifrs-full_MaturityAxis=aby_LaterThanNineMonthsAndNotLaterThanTwelveMonthsMember
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: |

X
- Details
Name: | ifrs-full_BorrowingsByNameAxis=aby_ExchangeableNotesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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