How is capital gains tax worked out when a non-resident sells in Spain?

The gain is the transfer value less the acquisition value, taxed at 19 percent for every non-resident. The transfer value is the sale price less the seller's costs of selling, such as agent commission and the notary, registry and legal costs. The acquisition value is what you paid, plus improvements, plus the taxes and costs of buying. Any amortisation deducted against rental income comes off the acquisition value, which raises the gain.

Where this comes from: Manual de Tributacion de No Residentes, cap. 3, ganancias patrimoniales derivadas de la venta de inmuebles, AEAT sede electronica, read 2026-09-07; Tipos de gravamen IRNR sin establecimiento permanente, AEAT sede electronica, read 2026-09-07.

Checked against the official source on 2026-09-07.

How is capital gains tax worked out when a non-resident sells in Spain?

The gain is the transfer value less the acquisition value, taxed at 19 percent for every non-resident. The transfer value is the sale price less the seller's costs of selling, such as agent commission and the notary, registry and legal costs. The acquisition value is what you paid, plus improvements, plus the taxes and costs of buying. Any amortisation deducted against rental income comes off the acquisition value, which raises the gain.

The full answer with its official sources

Pages from here