Kointax.ioKointax.io

Crypto Lending: Taxation of Interest and Collateral

How crypto loan interest, deposited collateral, and forced liquidations are taxed in Spain. Aave, Compound, and CeFi platforms.

··6 min read
Revisado

Respuesta rápida

How crypto loan interest, deposited collateral, and forced liquidations are taxed in Spain. Aave, Compound, and CeFi platforms.

Crypto Lending: Taxation of Interest and Collateral

Crypto lending —lending or borrowing digital assets— is one of the most popular ways to generate passive yield. However, it has tax implications that many users overlook.

Lending Cryptocurrencies: Taxation of Interest

When you lend your cryptocurrencies (on Aave, Compound, Nexo, BlockFi…) and receive interest:

Classification: Income from movable capital (Article 25.2 IRPF).

Taxable event timing: When the interest is credited, at the market value at that moment.

Example:

  • You lent 10,000 USDC at 5% APY.
  • You receive 500 USDC in interest during the year.
  • 1 USDC ≈ €0.95 on that day → declarable yield: €475.

Borrowing Cryptocurrencies: Collateral

When you deposit cryptocurrencies as collateral to obtain a loan in another asset:

  • The deposit of collateral does not generate a taxable event — there is no actual transfer.
  • The loan received is not income — it is a debt.
  • Interest paid is not deductible for individual IRPF (it is for companies).

Forced Liquidations

If the value of your collateral falls below the collateralization ratio and the protocol automatically liquidates you:

Tax-wise, a transfer of your collateral occurs at the liquidation price.

The gain or loss is calculated as:

  • Transfer value = liquidation price in EUR.
  • Acquisition cost = FIFO cost of the liquidated collateral.

Painful example:

  • You had 1 ETH as collateral, acquired at €1,500.
  • The protocol automatically liquidates you when ETH is worth €1,200.
  • Capital loss: 1,200 − 1,500 = −€300 (deductible).

aTokens and cTokens (position tokens)

When you deposit in Aave, you receive aTokens. When you deposit in Compound, you receive cTokens. Are these a transfer?

The most widespread position among tax advisors is that there is no transfer upon receiving aTokens/cTokens, as they are simply a receipt of your position. What is taxed is the accumulated yield when you withdraw.

However, one must stay alert to changes in AEAT criteria on this point.

CeFi Platforms (Nexo, Celsius, BlockFi…)

The treatment is the same as DeFi: interest is taxed as income from movable capital. The difference is that in CeFi there is an intermediary that theoretically could apply withholding, although in practice foreign exchanges do not do so.

If the platform goes bankrupt (like Celsius), the unrecovered amounts are declarable capital losses.

Conclusion

Crypto lending generates declarable yields in the year of credit. Interest paid is not deductible for individuals. And forced liquidations are transfers with their corresponding gain or loss. Keeping a record of every lending position is essential for a correct tax return.

Sobre el autor

Verificado

Equipo editorial de Kointax

Equipo fiscal cripto · España

Detrás del contenido de Kointax hay un equipo de profesionales en fiscalidad española y desarrollo de software cripto. Revisamos cada guía contrastando con consultas vinculantes de la DGT, jurisprudencia de la Audiencia Nacional, normativa europea (MiCA, DAC8) y casos prácticos reales tratados en nuestra plataforma. El

Trabajo continuo con consultas vinculantes DGT actualizadas
Cobertura técnica directa de + 130 fuentes (exchanges + blockchains)

Especialidades: Fiscalidad cripto en España (IRPF, IVA, ISD) · Modelos 100, 172, 173, 720, 721 · Doctrina vinculante DGT cripto

Última revisión:

Preguntas y respuestas

Cargando preguntas…

Haznos tu pregunta

Las preguntas son moderadas antes de publicarse. No compartas información personal sensible.

Ready to calculate your crypto taxes?

Kointax — FIFO, LIFO, HIFO or WAC method. 80+ compatible exchanges. Excel + PDF report ready for your tax return.

Start free — no card needed