Central Economic-Administrative CourtRG 1535/2024

A person gifting shares of the same class transfers the oldest first and cannot choose which ones to give

The TEAC reiterates that the income tax FIFO rule also applies to gifts. It identifies which securities are transferred; it does not value them.

In a resolution of 19 February 2026 (RG 1535/2024), the Spanish Central Economic-Administrative Court (TEAC) reiterates that the FIFO method in article 37.2 of the Personal Income Tax Act also applies to gifts of homogeneous securities, even though paragraph 1 of the same article refers only to transfers for consideration.

FIFO (first in, first out) means that, where the taxpayer holds identical securities acquired at different times, the oldest are deemed to be transferred first.

The TEAC is not breaking new ground: it confirms the criterion it already laid down in its resolution of 25 February 2025 (RG 3001/2022), in line with rulings V3222-20 and V1953-23 of the Directorate General of Taxes (Dirección General de Tributos, DGT). The reiteration nonetheless matters in practice: it affects the planning of gifts of portfolios and business shareholdings acquired at different times.

The regulatory framework

Article 37 of Law 35/2006 of 28 November on Personal Income Tax (LIRPF) contains special rules for valuing capital gains. Paragraph 2 provides:

“For the purposes of letters a), b) and c) of the previous paragraph, where there are homogeneous securities, those transferred by the taxpayer shall be deemed to be those acquired first.”

Paragraph 1 of the same article, for its part, governs the transfer value in transfers for consideration of listed securities, unlisted securities and units in collective investment undertakings.

This is where the interpretive doubt arises. If paragraph 2 refers to letters a), b) and c) of paragraph 1, and these concern transfers for consideration, one might think FIFO only applies to transactions with a price. Gifts, in which the transfer value is set under the Inheritance and Gift Tax rules (article 36 LIRPF), would fall outside it. That was the taxpayer’s argument.

The case

In 2017 the taxpayer gifted shares in a company that she had acquired at different times and, in reporting the capital gain in her Personal Income Tax return, applied FIFO. The result was a gain of EUR 4,920,142.92.

She later sought rectification of her self-assessment in order to use the acquisition value of the specific shares identified in the deed (EUR 8,409,602 instead of EUR 3,489,459.08), which reduced the gain to zero. She argued that article 37.2 LIRPF does not apply to gratuitous transfers and that, unlike the Basque foral tax authorities —the historical territories of the Basque Country, which legislate their own Personal Income Tax—, the State legislature had not expressly extended it to them.

The Spanish Tax Agency (Agencia Estatal de Administración Tributaria, AEAT) refused the rectification, and the TEAC, hearing the claim as the sole review instance, upholds that position. The amount at stake in the claim was EUR 1,131,632.88.

The TEAC’s reasoning

The TEAC distinguishes between the two paragraphs of article 37. Paragraph 1 governs the transfer value and therefore refers to transfers for consideration: in a gift, that value makes no sense as a price, because there is none, and it is set by article 36 LIRPF.

Paragraph 2, by contrast, contains a rule identifying the securities transferred, which must apply to both types of transfer, “since there is no reason whatsoever to justify a difference in treatment”. The reference in paragraph 2 to paragraph 1 must therefore be read as covering both transfers for consideration and gratuitous transfers.

The TEAC also rejects the other arguments. The fact that the law has not been amended to state this expressly does not prevent its application, and the reform of the Basque foral rules is, in its view, an additional reason to hold that FIFO also governs gratuitous transfers.

It therefore dismisses the claim and confirms that FIFO applies to the gift.

Editor’s view

In our opinion, the conclusion is technically correct: a gift of homogeneous securities requires, just like a sale, identifying which securities are transferred in order to know their acquisition value. Two points that the resolution does not address, because they were not part of the claim, are nonetheless worth highlighting.

The first is the real scope for planning. The donor cannot choose which specific securities are transferred: FIFO deems the oldest to be gifted, usually those with the lowest acquisition value and therefore the highest gain. The only variables open to planning are the number of securities gifted and the timing of the gift. The case itself illustrates this: identifying the shares in the deed did not displace the rule.

The second is the interaction with the family-business regime. Where the gift benefits from the 95% Inheritance and Gift Tax reduction (article 20.6 of the Inheritance and Gift Tax Act, LISD) and, for the donor, from the rule excluding the capital gain from Personal Income Tax (article 33.3.c) LIRPF), FIFO is neutral for the donor, since the gain is not taxed.

It remains relevant, however, for the donee, who takes over the acquisition value and date of the securities gifted. Identifying those securities determines the gain that will arise when the donee transfers them in the future.

Preparing the gift

Anyone preparing a gift of homogeneous securities acquired at different times should bear in mind three implications of this doctrine.

First, the donor cannot designate in the deed which securities are gifted in order to reduce the Personal Income Tax gain. FIFO applies regardless, as the rejection of the identification made in the deed in this case confirms.

Second, if the gift qualifies for the 95% reduction with the gain excluded for the donor, planning should focus on the donee, who receives the securities with the acquisition value and date of those first acquired by the donor.

Third, where there are blocks of shares acquired at different times with significant differences in value —common among founders who have subscribed successive capital increases or investors who came in at different rounds—, FIFO can produce counter-intuitive results. The calculation should be run before the deed is signed.

In our view, the administrative position on FIFO in gifts can now be regarded as settled. Planning comes down to deciding how many securities to gift and when, but not which ones.

Sources

  1. TEAC, resolution of 19/02/2026, RG 1535/2024 (FIFO in gratuitous transfers of homogeneous securities)
  2. TEAC, resolution of 25/02/2025, RG 3001/2022 (criterion reiterated)
  3. DGT, binding ruling V3222-20 of 28/10/2020 (FIFO in gifts)
  4. DGT, binding ruling V1953-23 of 05/07/2023 (FIFO in gifts)
  5. Articles 36 and 37 LIRPF — Law 35/2006 of 28 November.

Related analyses

  1. · TEAC · TEAC RG 56323/2026A non-resident who held Spanish property through a foreign company was not liable to Wealth Tax before the 2022 reform
  2. · TEAC · RG 06015/2024The TEAC accepts that the employee needed for property letting to count as a business may be provided by another group company
  3. · TEAC · RG 7969/2022A foreign foundation that inherits Spanish property is taxed on the gain as a non-resident if it did not opt into the Law 49/2002 regime

All analyses on Wealth, inheritance and solidarity tax (3)