DeFi Taxes Explained: Swaps, Lending, Liquidity Pools and Yield

How DeFi is taxed in the US: DEX swaps, lending interest, liquidity pools, farming rewards, borrowing, liquidations and record keeping.

defi taxes guide

Last updated: November 25, 2026. This guide is general information for US taxpayers, not tax advice. Rules change; check IRS guidance or a tax professional for your situation.

DeFi is taxed under the same basic US rules as other crypto: swapping one token for another is a taxable exchange, and rewards, interest and yield are ordinary income when you receive them. Many DeFi actions, like depositing into a lending pool or adding liquidity, do not have clear IRS guidance yet, so the tax treatment depends on how the transaction works and how conservative you want to be.

DeFi tax treatment at a glance

DeFi activityCommon tax treatment
Swapping tokens on a DEXTaxable exchange (capital gain or loss)
Lending interest / yieldOrdinary income when received
Liquidity mining or farming rewardsOrdinary income when received
Staking rewardsOrdinary income when you gain control
Depositing into a lending protocolUnclear; may be taxable if you get a different token back
Adding or removing liquidity (LP tokens)Unclear; often treated as a taxable swap
Wrapping (ETH to WETH)Unclear; many treat it as non-taxable, some as a swap
Borrowing against cryptoUsually not taxable; liquidation is a taxable sale

Swaps and trades

Every token-for-token swap on Uniswap or any other DEX is a disposal of the token you give up. You report a gain or loss based on its value at the time minus your cost basis. Gas fees can usually be added to cost basis or subtracted from proceeds.

Yield, interest and rewards

Interest from lending, farming rewards and governance token rewards are generally ordinary income at fair market value when you receive them (or can claim them). That value becomes the cost basis for those tokens. See staking rewards tax and airdrop taxes.

Liquidity pools

When you add two tokens to a pool you get LP tokens back. Many tax professionals treat this as exchanging your tokens for a new asset (taxable), while others treat it as a non-taxable deposit. Removing liquidity raises the same question. Choose one reasonable method, apply it consistently, and keep records.

Borrowing and liquidations

Taking a loan against your crypto is generally not taxable. But if the protocol liquidates your collateral, that is treated as a sale, which can create a taxable gain or loss.

Reporting and records

  • DeFi protocols generally do not send 1099 forms. A 2024 IRS rule that would have treated some DeFi front-ends as brokers was repealed by Congress in 2025, so you must track activity yourself.
  • Export wallet history and use crypto tax software that reads on-chain data. See our crypto tax software comparison.
  • Report disposals on Form 8949 and income on Schedule 1 or Schedule C.

Pending changes

The Digital Asset Tax Certainty Act approved by the House Ways and Means Committee in September 2026 includes rules on crypto lending and staking. It is not law yet. See crypto wash sale rule for the bill’s status.

FAQ

Is moving tokens into a DeFi wallet taxable?

No, moving crypto between your own wallets is not taxable. See is transferring crypto taxable.

Are impermanent losses deductible?

Generally you realize a gain or loss only when you exit the pool or dispose of the tokens, not while the pool value moves.

More crypto tax guides

Posted by ESSALAMA

is a dedicated cryptocurrency writer and analyst at CryptoMaximal.com, bringing clarity to the complex world of digital assets. With a passion for blockchain technology and decentralized finance, Essalama delivers in-depth market analysis, educational content, and timely insights that help both newcomers and experienced traders navigate the crypto landscape. At CryptoMaximal, Essalama covers everything from Bitcoin and Ethereum fundamentals to emerging DeFi protocols, NFT trends, and regulatory developments. Through well-researched articles and accessible explanations, Essalama transforms complicated crypto concepts into actionable knowledge for readers worldwide. Whether you're looking to understand the latest market movements, explore new blockchain projects, or stay informed about the future of finance, Essalama's content at CryptoMaximal.com provides the expertise and perspective you need to make informed decisions in the digital asset space. Read how we research and update our articles in our Editorial Policy: https://cryptomaximal.com/editorial-policy/

No comments yet

Leave a Reply

Your email address will not be published. Required fields are marked *