Complete summary: crypto taxation in Spain 2024-2025
Legal framework
AEAT classifies crypto as intangible assets. Gains = capital gains taxed at savings base (19-28%):
- ≤€6,000: 19% | €6,001-50,000: 21% | €50,001-200,000: 23% | >€200,000: 28%
Global FIFO method
Spain requires global portfolio FIFO: first units acquired are first sold, across all exchanges/wallets combined.
Taxable events: YES
✅ Selling crypto for euros | Crypto-to-crypto swaps | Paying with crypto | Donations | NFT purchases (crypto used) + sales
Taxable events: NO
❌ Buying crypto with euros | Self-transfers between own wallets | HODLing
Capital income (also 19-28%)
Staking rewards | DeFi interest | Airdrops | Mining/Farming — all at market value when received
Informational models
- Model 172: Crypto balance declaration (>€50k at foreign exchanges)
- Model 173: Crypto operations declaration
- Model 720: Foreign assets (>€50k at foreign exchanges)
Loss compensation
- vs. other capital gains same year
- vs. up to 25% of net positive capital income same year
- Unused losses carry forward 4 years
Special situations
- DeFi: swaps = gains/losses; farming rewards = capital income
- NFTs: buy with crypto = disposal; sell = gain/loss
- Margin: closed position PnL = capital gain/loss
- Corporate: crypto on balance → Corporate Tax (25%)
Tax calendar
Jan-Mar: Models 172/173 | Apr-Jun: IRPF campaign | Dec: year-end tax planning
kointax automates the entire process: imports 300+ sources, calculates global FIFO, classifies all operations, generates IRPF report + Models 172/173.


