How Is DeFi Taxed In The US? Pools, Lending And Staking

The IRS has never published guidance written for DeFi. It has published guidance for property, for staking rewards and for tokens received without a purchase, and every DeFi question is answered by pushing the on-chain facts through those rules. This guide does that, protocol behaviour by protocol behaviour, and says plainly where the answer is settled and where it is a filing position.
The gap matters because DeFi generates events that no exchange statement describes. A single afternoon can produce a swap, a pool deposit, a receipt token, a reward claim, a bridge and six gas payments, and the only record of any of it is a chain of transaction hashes. Software will label those rows something. Whether the label is defensible is a separate question, and it is the question an IRS notice turns on.
What Makes a DeFi Transaction Taxable in the US
Start from the one rule that is not in dispute. The IRS treats digital assets as property, set out in Notice 2014-21 and carried through every piece of guidance since. General property principles apply, which means a taxable event happens when you dispose of property, and income arises when you receive property you did not pay for.
Is every DeFi transaction taxable?
No. Moving your own tokens between your own wallets is not a disposal, because you have not exchanged anything. Approving a contract to spend your tokens is not a disposal. Depositing into a protocol may or may not be, depending on what you get back and what you give up. What is reliably taxable is a swap of one token for another, a sale for dollars, a payment for goods or services, and the receipt of new tokens as a reward. The IRS virtual currency FAQs confirm the exchange of one virtual currency for another is a taxable disposition.
Capital gain or ordinary income: which one applies
Two separate systems run at once, and most DeFi errors are a row filed under the wrong one. A disposal produces a capital gain or loss, reported on Form 8949 and carried to Schedule D. A receipt of new tokens for doing something, or for holding something, is ordinary income at the fair market value when you receive it, and that value becomes your basis in those tokens. Getting this wrong twice on the same tokens is the classic DeFi mistake: the reward is not reported as income, so it enters the book at zero basis, and the whole value is then taxed again as gain when the tokens are sold.
The holding period, and why DeFi breaks it
The rate on a gain depends on how long you held the asset. IRS Topic 409 sets the line at one year: hold longer and the gain is long term, taxed at the preferential rates; hold a year or less and it is short term, taxed as ordinary income. DeFi shortens holding periods constantly and silently. Every rebalance inside an automated strategy, every auto-compound of a reward, every wrap and unwrap resets the clock on the units involved if the step is treated as a disposal. A position you believe you have held for two years can be a stack of three-week lots by the time it is reconciled.
Adding and Removing Liquidity: Is the Deposit a Disposal?
This is the single largest open question in DeFi tax, and anyone who tells you it is settled is not reading the guidance. It deserves a direct answer about what is known and what is not.
What the IRS has actually said about liquidity pools
Nothing. There is no revenue ruling, no notice and no regulation addressing the deposit of tokens into an automated market maker. The IRS digital assets hub does not mention liquidity provision. The analysis therefore runs on first principles: has property been exchanged for other property, or has the taxpayer retained ownership of the same property.
The disposal position
On most AMMs you hand over two tokens and receive a different asset, an LP token, whose value tracks a share of a pool rather than the tokens you deposited. You cannot demand your exact tokens back. You are entitled to a proportion of whatever the pool holds when you exit, which is usually a different mix. Applied to the disposition rules in Publication 544, that reads as an exchange of property for property, which is a taxable disposal of both deposited tokens at fair market value, with the LP token taking that value as its basis.
The non-disposal position
The competing view treats the LP token as a receipt evidencing continued beneficial ownership rather than as property received in exchange. On this reading the deposit is closer to leaving assets with a custodian, nothing is realised, and the tax event waits until the position is closed or the underlying tokens change. This position is arguable, it produces a materially lower current-year bill, and it carries more risk on examination because the taxpayer is asserting continued ownership of tokens that have demonstrably been pooled with other people.
What a defensible filing position looks like
Pick one treatment, apply it to every pool in the book, and document why. What does not survive scrutiny is a book that treats some deposits as disposals and others as transfers because two different tools produced two different labels. Consistency is what makes the position defensible, and inconsistency is what makes a reconciliation look like a guess. Whichever treatment is taken, the basis of the LP token and the basis of what comes back out must reconcile to the same starting cost, and that arithmetic is what an examiner asks for first.
LP Tokens and What the Receipt Token Represents
Is receiving an LP token income?
No. An LP token is issued in exchange for the assets you deposited, not as a reward. You paid for it with the tokens you put in. Treating LP token receipts as income is a common automated misclassification, and on a large pool it manufactures income that never existed. The same applies to the receipt tokens lending protocols issue against a deposit.
What is the cost basis of an LP token?
Under the disposal treatment, the basis of the LP token is the fair market value of the tokens surrendered at the moment of deposit, which follows the ordinary basis rules in Publication 551. Under the non-disposal treatment, no new asset is created for tax purposes and the original basis simply continues in the underlying tokens. The two produce very different numbers on exit, which is why the treatment has to be chosen before the book is built rather than discovered afterwards.
Concentrated liquidity positions and NFTs
Concentrated liquidity protocols do not issue a fungible LP token. They mint a position NFT that encodes a price range, and the position is rebalanced, increased, decreased, collected from and sometimes merged with other positions. Each of those is a separate on-chain action with its own potential treatment, and a fee collection is not the same event as a decrease in liquidity even though both send tokens to your wallet. A book that cannot tell a fee collection from a partial withdrawal will report the returned principal as income.
Impermanent Loss and Why It Is Not a Deduction
Can I deduct impermanent loss?
No. Impermanent loss is not a tax concept. It describes the difference between the value of a pooled position and the value those tokens would have had if you had simply held them, and the US tax system does not recognise a loss on an opportunity you did not take. A loss becomes deductible when it is realised on a disposal of property, not when a position underperforms a counterfactual.
Where the loss actually shows up
It shows up as a smaller gain or a real loss when the position is closed, because you receive fewer of the appreciating token and more of the depreciating one than you put in. The economic effect is captured by ordinary basis and proceeds arithmetic on exit. Nothing has to be done to claim it, and nothing can be claimed before then. Where people go wrong is entering a manual adjustment for impermanent loss and then also reporting the real exit, which claims the same economics twice.
Lending and Borrowing in DeFi
Is taking a crypto loan a taxable event?
Generally no. Borrowing is not income and posting collateral is not a sale, on the same principle that a mortgage is not a taxable receipt. You have an obligation to repay, so there is no accession to wealth. That analysis holds where the loan is genuinely a loan: recourse or collateral terms that leave you economically exposed to the collateral, and an actual repayment obligation. It weakens where the arrangement transfers ownership of the collateral outright with no obligation to return the same property.
Is interest received taxable, and when?
Yes, as ordinary income, at the fair market value when you have the right to it and can dispose of it. That is the same dominion and control test the IRS applied to staking in Revenue Ruling 2023-14. On lending protocols, interest is frequently not paid as a separate transfer at all: the receipt token appreciates against the underlying, or the balance rebases. There is no transaction to find in a wallet history, which is precisely why these positions are under-reported.
Liquidations
A liquidation is a disposal of the collateral, whether or not you chose it. The protocol sells your collateral to repay the debt, the sale price is your proceeds, and the gain or loss against your basis is yours to report. Liquidations tend to happen in crashes, which means they frequently produce deductible losses that go unclaimed because the taxpayer never treated the event as a sale.
Receipt tokens from lending protocols
Deposit tokens into a lending market and you receive an interest bearing receipt token back. Whether that exchange is itself a disposal runs on the same analysis as the LP question above, and should be answered the same way across the book. The separate question, and the one that moves numbers most, is how the accrued interest inside that receipt token is picked up as income when there is no reward transaction to point at.
Staking and Liquid Staking Tokens
When is a staking reward taxable?
When you gain dominion and control over it. Revenue Ruling 2023-14 holds that a cash method taxpayer who stakes proof of stake tokens and receives additional units includes the fair market value of those units in gross income in the year control is gained, valued at the date and time control is gained. Rewards locked by a protocol until an unbonding period ends are not yet yours in that sense; rewards that land claimable in your wallet are. Our guide on reporting staking rewards works through the timing in detail.
What is the basis of a staking reward?
The amount included in income. Value it once, report it once, and carry that figure as the basis of those units. This is the single highest value control in a DeFi book, because it is what prevents the same value being taxed twice. When rewards are missed as income, the units enter at zero basis and the entire proceeds are taxed as gain on sale.
Liquid staking tokens: is the swap a disposal?
Staking ETH through a liquid staking protocol returns a different token that trades independently, and that has the shape of an exchange of property for property. There is no IRS guidance on the point. The conservative treatment is a disposal at fair market value on entry and again on exit; the alternative treats the liquid token as a receipt for the same staked asset. The decision must be made once and applied consistently, and the reward accrual inside a rebasing or value accruing liquid token still has to be picked up as income regardless of which treatment is used for the wrapper.
Rebasing tokens
A rebasing token increases the number of units in your wallet without any transaction you signed. There is no transfer to find, no hash to cite, and most reconciliation tools see only a balance that changed. The accrual is still income when you control it. Reconstructing it requires reading the balance at intervals against the rebase index, which is work no exchange statement does for you.
Wrapping, Bridging and Chain Migrations
Is wrapping ETH into WETH a disposal?
There is no IRS guidance directly answering this, and practice splits. The economic argument against a disposal is strong: WETH is redeemable one for one for ETH at any time through a contract with no counterparty risk and no price exposure, so nothing has changed in substance. The formal argument for a disposal is that a different token with a different contract address has been received in exchange. Most defensible books treat a one for one wrap of the same asset as a non-event and document the redemption mechanics as the reason. What matters most is that the same answer is given every time.
Is bridging a token to another chain a disposal?
It depends entirely on what the bridge does, and the label on the button tells you nothing. A lock and mint bridge holds your original token and issues a claim on another chain, which looks like a continuation of the same position. A liquidity network bridge does something quite different: it takes your token on one side and pays you a different token from a pool on the other, which is a swap with a different counterparty. The two are indistinguishable from a wallet history and distinguishable from the contracts. Getting this right requires reading the contract, not the user interface.
Token migrations and contract upgrades
When a project migrates to a new contract and requires holders to swap old tokens for new at a fixed ratio, the substance is usually a continuation rather than a bargained exchange, and the basis and holding period carry across. Where the migration changes the economic rights attached to the token, or where holders had a genuine choice between outcomes, the analysis is closer to a disposal. Document the ratio, the deadline and the mechanism at the time, because migration contracts disappear and the evidence is difficult to recover later.
Airdrops, Governance Tokens and Claim Transactions
When is an airdrop income?
Revenue Ruling 2019-24 addresses tokens received after a hard fork and holds that the taxpayer has gross income when they have dominion and control over the new units, valued at fair market value at that point. The same dominion and control test drives the airdrop analysis. Tokens sitting claimable behind a contract you have not interacted with are not yet under your control; tokens delivered to your wallet, or claimed by you, are.
Claiming a governance token you earned by using a protocol
A retroactive distribution to past users is not a gift. It is consideration for the use of the protocol, and the value at claim is ordinary income and becomes your basis. Governance token claims are the most commonly missed income item in a DeFi book, partly because the claim transaction looks like any other contract interaction and partly because the token often has no price at the moment of the claim. A token with no established market still needs a valuation, and the reasoning behind it needs to be on the file.
Unsolicited tokens you never claimed
Wallets accumulate tokens nobody asked for, many of them worthless by design and some of them traps that cannot be sold. A token you did not claim, cannot sell and never interacted with is not an accession to wealth in any meaningful sense, and the practical treatment is to exclude it and log the reason. The position changes the moment you dispose of one for real proceeds. Those proceeds are real even when the token was junk, and they belong in the return.
Gas Fees, Protocol Fees and What Goes Into Basis
Are gas fees deductible?
Not as an expense for an individual investor. They are handled through basis, which is the mechanism Publication 551 describes: a cost of acquiring property is added to its basis, and a cost of disposing of property reduces the amount realised. Gas paid to buy a token increases the basis of that token. Gas paid on a sale reduces the proceeds. Either way the fee reduces the gain, but it does so on the correct row rather than as a separate deduction.
Gas on a failed transaction
A reverted transaction still burns gas, and there is no asset for that cost to attach to. There is no IRS guidance on the point. It is a small number in isolation and a meaningful one across an active year on a congested chain, and the practical answer is to record it, take a consistent position and be able to show the reverted hashes if asked.
Fees paid in the token being sold
Where the gas or protocol fee is paid in the same token being transacted, the fee payment is itself a disposal of that token as well as a cost of the main transaction. On a chain with a native gas token this happens on every single interaction. It is arithmetically small per row and large in aggregate, and it is a frequent source of tiny balance drifts that eventually make a wallet impossible to reconcile.
What Form 1099-DA Does Not Cover
Why your DeFi activity may reach no 1099 at all
The broker reporting regime, described on the IRS page covering the final regulations for broker reporting on sales and exchanges of digital assets, puts custodial brokers inside the reporting net. Self custodied DeFi activity conducted through your own wallet is a different matter, and the separate rule that would have reached decentralised front ends was repealed by Congress. The practical consequence for you is unchanged reporting duty with no statement to rely on: nothing arrives in the post, and the obligation to report every disposal remains exactly as it was. Our guide to what Form 1099-DA means for your return covers the custodial side.
Cost basis and the wallet-by-wallet rule
Basis is now tracked per wallet and per account rather than pooled across everything you own. Revenue Procedure 2024-28 provides the safe harbour for allocating unused basis to each wallet or account. For a DeFi user with assets spread over a dozen addresses this is the difference between a defensible book and an unprovable one, and the allocation has to be reasonable and documented. We cover the mechanics in tracking cost basis across wallets, and the recovery route when the history is incomplete in fixing missing cost basis.
Which Forms Your DeFi Activity Lands On
Every item below is reported on an ordinary individual return. DeFi has no return of its own.
| DeFi event | Character | Where it is reported |
|---|---|---|
| Token swap on a DEX | Capital gain or loss | Form 8949, carried to Schedule D |
| Sale of a token for dollars | Capital gain or loss | Form 8949, carried to Schedule D |
| Staking rewards | Ordinary income at value on control | Schedule 1 other income, or Schedule C if a trade or business |
| Lending interest | Ordinary income | Schedule 1 other income |
| Airdrop or governance token claim | Ordinary income at value on control | Schedule 1 other income |
| Liquidation of collateral | Capital gain or loss | Form 8949, carried to Schedule D |
| Liquidity pool entry and exit | Depends on the treatment taken | Form 8949 where treated as a disposal |
| Transfer between your own wallets | Not a taxable event | Not reported, but recorded |
The digital asset question on the front page of Form 1040 is answered before any of this, and Schedule 1 carries the income items that are not from a trade or business. Our walkthrough of Form 8949 and Schedule D for crypto covers the capital side box by box.
The Records a DeFi Position Actually Needs
What to capture per transaction
For every on-chain action: the transaction hash, the chain, the timestamp, the wallet that signed it, the contract it interacted with, every token in and every token out with exact amounts, the gas paid and the token it was paid in, and a US dollar value for each leg at that timestamp. The valuation source matters as much as the value, because an examiner will ask where the price came from.
Why block explorers are not enough
An explorer shows transfers. It does not tell you that a transfer was a fee collection rather than a withdrawal of principal, that a deposit opened a position that is still open, or that two transfers on two chains twenty minutes apart were the same bridge. That interpretation layer is the actual work, and it is the layer where automated reports fail. A reconciled DeFi book is a set of positions with a life cycle, not a list of transfers.
The test your book has to pass
At the end of the year, the quantity of every asset the book says you hold should equal the quantity the chain says you hold, wallet by wallet. If the book and the chain disagree, something has been missed, double counted or misclassified, and the tax figures are wrong regardless of how clean the report looks. That check is mechanical, it is available for free on every public chain, and it is skipped far more often than it is run.
When To Bring In a Crypto Tax Accountant
Plenty of DeFi users can file their own return. The point at which outside help pays for itself is usually one of four: positions across several chains where transfers between your own wallets are being read as disposals, pool or lending positions where the entry and exit no longer reconcile, missing acquisition history that leaves disposals sitting at zero basis, or an IRS notice already in hand.
CountDeFi are crypto tax accountants, not a CPA firm and we do not employ a CPA. What we do is the reconciliation: rebuild the book from the raw chain and exchange data, classify every position by what the contract actually did, verify closing balances against the chain, and produce the schedules. Who signs and files the return is a separate role. Many of our clients have their own CPA or enrolled agent who files from our reports, and that split works well. What a DeFi tax accountant does explains the division of labour, and our DeFi tax accounting service and general crypto tax accounting service set out the scope.
- IRS Notice 2014-21: virtual currency treated as property
- IRS Revenue Ruling 2023-14: staking rewards and dominion and control
- IRS Revenue Ruling 2019-24: tokens received on a hard fork
- IRS Revenue Procedure 2024-28: allocating unused basis to wallets and accounts
- IRS: Digital assets
- IRS: Frequently asked questions on virtual currency transactions
- IRS: Instructions for Form 8949
- IRS Publication 544: Sales and Other Dispositions of Assets
- IRS Publication 551: Basis of Assets
- IRS Topic 409: Capital gains and losses
- IRS: Final regulations for broker reporting on digital assets
Frequently Asked Questions
Is adding liquidity to a pool a taxable event?
The IRS has issued no guidance on the point. The conservative treatment is that depositing two tokens and receiving an LP token is an exchange of property for property and therefore a disposal of both deposited tokens at fair market value. A non-disposal position is arguable on the basis that the LP token evidences continued ownership. Whichever is taken, it must be taken consistently across every pool and documented.
Are LP tokens taxed when I receive them?
No. An LP token is received in exchange for assets you deposited, not as a reward, so it is not income. Automated tools frequently misclassify LP token receipts as income and inflate the income figure substantially on an active pool.
Can I deduct impermanent loss on my tax return?
No. Impermanent loss is not a realised loss and is not a tax concept. The economics appear as a smaller gain or a real loss when the position is closed, through ordinary basis and proceeds arithmetic, and no separate adjustment should be claimed.
Is borrowing against my crypto taxable?
Generally no. A loan is not income and posting collateral is not a sale, because the repayment obligation means there is no accession to wealth. A liquidation of that collateral is a different matter and is a disposal you have to report.
Is wrapping ETH into WETH a disposal?
There is no IRS guidance on it. Many defensible books treat a one for one wrap of the same asset, redeemable at any time through a contract, as a non-event, on the basis that nothing has changed in substance. The formal argument that a different token was received also exists. Take one position and apply it every time.
Is bridging a token to another chain a disposal?
It depends on the bridge mechanism. A lock and mint bridge that holds your token and issues a claim elsewhere reads as a continuation. A liquidity network bridge that pays you out of a pool on the far side is closer to a swap. The wallet history looks identical in both cases, so the contract decides it.
When is a staking reward taxable?
When you gain dominion and control over the units. Revenue Ruling 2023-14 requires the fair market value to be included in gross income in the year control is gained, valued at the date and time control is gained. That value also becomes your basis in those units.
Does my exchange report my DeFi activity to the IRS?
Broker reporting reaches custodial brokers. Activity you conduct from your own wallet through a protocol generally reaches no broker, so no form arrives. The duty to report every disposal is unchanged, which means the reconciliation is yours to build and yours to defend.
Do I have to report DeFi if I only lost money?
Yes. Disposals are reported whether they produced a gain or a loss, and reporting losses is how they become usable against gains. A year of losses that is never reported is a year of relief given up.
Chris Herbst is the founder of CountDeFi, a crypto tax specialist whose qualifications span investment management, financial analysis, mathematical statistics and computer science. He holds the Chartered Business Accountant in Practice (CBAP) designation with the Chartered Institute for Business Accountants (CIBA) and the General Tax Practitioner (GTP) designation with the South African Institute of Taxation (SAIT). His combined background in investments, accounting and tax, mathematical statistics and computer science underpins his work in complex crypto tax reporting. This article is for educational purposes only and does not constitute tax, legal or investment advice. Consult a qualified tax professional for guidance specific to your situation. View our Editorial Policy.

