How is the premium on a sold (written) put option taxed under Spanish income tax (IRPF) if it is exercised, and what is the tax base cost of the shares received?
Reviewed by Toni Faura · Last updated:
Writing (selling) a put option means collecting a premium in exchange for agreeing to buy shares at a set price (the strike) if the option holder so requests. When the option is exercised, many investors are unsure whether they must declare the premium received and what the tax base cost of the assigned shares is. The Spanish Directorate General for Taxation (Dirección General de Tributos, DGT) settles this in binding ruling (consulta vinculante) V2172-21, following the same approach as V1946-20.
The premium is not taxed when received
Options transactions generally give rise to capital gains or losses (ganancias o pérdidas patrimoniales) (art. 33 of Law 35/2006 on IRPF, Spanish personal income tax), unless they hedge a business activity. The same applies to options traded on foreign exchanges. The gain or loss does not arise when the premium is received but when the option is extinguished: on expiry, exercise or early close-out. If the option is exercised, the result is allocated to the tax year of the exercise date.
How the result of the exercised put is calculated
According to V2172-21, the result for the put writer is:
- the premium received,
- less the difference between the strike price paid and the market value of the shares received,
- less the transaction costs.
An illustrative example: a put on 100 shares with a strike of 10 is written for a premium of 100. It is exercised when the share trades at 8. The investor pays 1,000 for shares worth 800, i.e. 200 too much. Result: 100 − 200 = loss of 100, before commissions.
Inclusion in the savings income base
The result is included in the savings income base (base imponible del ahorro). A loss is first offset against other capital gains in the same year. Any remaining balance may be offset against investment income (rendimientos del capital mobiliario) up to 25 % of that income. Anything left can be carried forward for four years. The anti-avoidance (wash sale) rule in art. 33.5 does not affect this loss, because derivatives are not tradable securities for this purpose.
Base cost of the shares
The ruling states that the shares are treated as acquired at their market value on exercise. In the example, that is 800 – not the strike price (1,000) nor the strike less the premium (900). This avoids counting the overpayment twice, as it is already included in the option result. On a future sale, the gain or loss will be the difference between the disposal proceeds and that base cost (art. 37.1.a) LIRPF), applying FIFO where there are identical shares.
Points to check
- Broker statement: foreign brokers usually record the cost as strike minus premium. This does not match the DGT's approach, which is the one to follow in Spain.
- Commissions: they must only be deducted once. It is advisable to deduct them in the option result, as the ruling indicates.
- Date of market value: the most defensible option is the closing price on the exercise date, documented and applied consistently.
- Currency: everything is declared in euros. The usual practice is to convert each amount at the exchange rate on its date, although this has not been confirmed by a specific ruling.
- Earlier sales at a loss: the assignment counts as a purchase of identical shares. If you sold the same shares at a loss in the preceding months, that loss may be deferred (art. 33.5 LIRPF).
Related service: Personal income tax
Would you like us to look at your case?
I am interestedRelated questions
- Can I be registered on the padrón in Ibiza and remain tax resident in Madrid, and does the padrón qualify me for the resident flight discount?
- When does the Spanish income tax return season start and end, and what are the filing deadlines?
- Can I deduct private health insurance as a self-employed autónomo in Spain, and what are the requirements and limits?

