Café Jurídico de Oficio MCHM Abogados
Respuestas rápidas y fiables a tus preguntas legales
Fiscal tributario

Good afternoon. Earlier this year, I realized a substantial capital gain from the sale of an investment property, which will be taxed under the savings tax base of my IRPF. On the other hand, I hold shares in listed companies that are currently trading at a steep loss, as well as an underperforming mutual fund. Can I sell those shares or redeem the fund units before December 31st to offset the capital gain from the property? Are there any specific statutory restrictions or holding periods I must comply with so that the Tax Agency does not disallow the loss? Foro Jurídico Almería

Fecha: 05-11-2026 18:01:53

Respuesta Destacada

It is essential to highlight critical operational rules reinforced by binding rulings from the Directorate-General for Taxation (Dirección General de Tributos):
1. Hierarchy of Offsetting Rules in the Savings Base: The IRPF Act, capital losses must first be set off exclusively against capital gains realized in the same fiscal year until fully absorbed. If a net negative balance remains, it can be offset against the positive balance of income from movable capital (rendimientos del capital mobiliario, such as dividends or interest income) earned in the same tax year, capped at 25% of that positive balance.
2. Residual Losses and 4-Year Carryforward: If an unabsorbed capital loss persists after applying this mechanism, the remaining balance may be carried forward and offset during the subsequent four calendar years, following the identical statutory order and limits.
3. Execution vs. Settlement Dates: In year-end financial market transactions, account for trade settlement cycles (standard T+2 for equities). The trade execution order must be submitted with sufficient lead time to ensure definitive market settlement and accounting accrual prior to December 31st.

Otras respuestas

Asunto: 155728

Yes. Under Spanish Personal Income Tax regulations, you are legally entitled to integrate and offset capital gains and losses realized within the same fiscal period under the savings tax base (base imponible del ahorro). Both the gain generated from the real estate conveyance and the loss arising from the stock sale or mutual fund redemption belong to the same statutory basket.
Consequently, if you formally execute the sale of the shares or the redemption of the mutual fund units before December 31st, the resulting net capital losses will directly offset the capital gain realized from the real estate sale, lowering your taxable savings base subject to progressive tax rates (19% to 28%).
However, you must strictly comply with the anti-wash sale rule:
• For listed securities, the capital loss cannot be computed in the tax period if you acquire homogeneous securities within the two months prior to or following the transfer that triggered the loss.
• For unlisted shares or corporate interests, the repurchase window expands to one year.
• For mutual funds, the loss is deferred if you subscribe to homogeneous units within that same timeframe.
The disallowed loss is not forfeited; its tax recognition is deferred until the subsequent, definitive transfer of the newly acquired replacement assets.

Fecha de respuesta: 05-11-2026 15:57:28 | Responder
← Volver al Café Jurídico