The Ultimate DeFi Tax Guide: Opportunities and Tax Challenges
TokenTax content follows strict guidelines for editorial accuracy and integrity. We do not accept money from third party sites, so we can give you the most unbiased and accurate information possible.
For US taxpayers, DeFi activity is taxed and reported under the same IRS digital asset rules as other crypto activity.
Crypto-to-crypto swaps and sales for USD trigger capital gains or losses. Airdrops, mined crypto, and token rewards are generally ordinary income at fair market value once you can control them.
DeFi platforms typically do not issue tax forms. Always keep your own transaction records, including crypto cost basis and timestamps, for accurate tax reporting.
Why trust our crypto tax experts
For US taxpayers, DeFi activity is taxed just like other crypto activity. The two general tax buckets are:
Capital gains or losses from taxable disposals: you sell crypto for USD, swap crypto for crypto, or spend crypto, and the value you receive differs from your crypto cost basis.
Ordinary income from tokens you receive: you receive digital assets as payment for services, from mining rewards, from an airdrop after a hard fork when you can control the new units (a hard fork alone, with no new units received, is not income), or from certain reward and incentive programs.
Pro tip
Keep your own records of every swap, deposit, reward, and fee. DeFi protocols don't send tax forms.
Are DeFi taxes covered under existing IRS crypto tax rules?
Yes. The IRS has not issued DeFi-specific rules for every protocol and transaction type. In practice, most DeFi activity gets reported using the same property and income principles that apply to other digital assets.
Overview of DeFi taxes
For US tax purposes, digital assets are treated as property. That means selling, swapping, or spending a token is often a taxable disposal that can create a capital gain or loss.
If you receive tokens as rewards, incentives, or payouts, you may have ordinary income when you can control the tokens. The fair market value you include as income generally becomes your starting crypto cost basis for those tokens.
DeFi users: keep your own records, always
Even if you use a single centralized exchange, you are still responsible for complete reporting, and the exchange's tax forms may be incomplete for your situation.
For 2025 broker reporting on Form 1099-DA, many statements will include gross proceeds but not crypto cost basis, so you will likely still need your own records to calculate gains or losses.
Even as Form 1099-DA basis reporting begins for some 2026 sales, you'll still want your own records. Starting with 2026 sales, brokers must report basis only for covered assets, which generally means assets you acquired on or after January 1, 2026, and held in the same account. Using multiple wallets and exchanges can further complicate things.
Since January 1, 2025, you track cost basis separately for each wallet or account, under Rev. Proc. 2024-28.
Pro tip
If you use more than one wallet or exchange, export your history from each one every year. Exchanges can close or limit access.
How do DeFi taxes work in the US?
This table shows common DeFi actions and the tax bucket they tend to land in for US taxpayers.
DeFi action | What it often looks like for US taxes | What to track for reporting |
|---|---|---|
Swap token A for token B | Taxable disposal, capital gain or loss | Date/time, proceeds value, fees, crypto cost basis of token A |
Sell tokens for USD | Taxable disposal, capital gain or loss | Proceeds, fees, holding period, crypto cost basis |
Receive rewards or incentive tokens | Ordinary income when you control them | Timestamp, fair market value, later disposal details |
Borrow against crypto | Often not taxable by itself | Loan details, collateral movements |
Collateral gets liquidated | Taxable disposal of collateral | Liquidation proceeds, fees, crypto cost basis in collateral |
LP deposit and LP withdrawal | Can be gray-area depending on mechanics | Exact steps, tokens in and out, valuations, fees |
International taxpayers can refer to our helpful country guides. Here's a further look at common DeFi activity and what it means for US taxpayers:
Lending
If you lend tokens and receive interest or reward tokens, those amounts are often treated as ordinary income when they are credited to you and are subject to your control. Later, disposing of those tokens is a separate capital gain or loss event based on your crypto cost basis.
Borrowing
Taking a crypto-backed loan is usually not taxable by itself because you have not disposed of property. If your collateral is liquidated to repay the loan, that liquidation is a taxable disposal measured from your crypto cost basis to the collateral's value at sale.
Interest deductibility depends on what you use the borrowed funds for under existing investment-interest rules.
Liquidity pools
Depositing into or withdrawing from a pool can be treated conservatively as a taxable exchange of property for property, or more aggressively as a non-taxable technical step. Because the IRS has not published specific rules here yet, taxpayers pick a position and apply it consistently.
Yield farm governance tokens
Tokens you receive for participating in a protocol are generally ordinary income when you have dominion and control over them. Later disposal triggers capital gains or losses based on that income-time crypto cost basis.
Margin trading
Crypto margin and perp products do not all behave the same way for tax reporting, and platform statements can vary widely. A practical approach is to reconcile every close-out, fee, and funding line item to your own records so your capital results and income items tie back to crypto cost basis and timestamps.
DeFi tax rates for short-term capital gains and ordinary income
Short-term capital gains are taxed at ordinary income tax rates. Most token income is also taxed at ordinary income tax rates when you control the tokens. If your DeFi activity is a trade or business, that income may also be subject to self-employment tax.
DeFi tax rates for long-term capital gains
Long-term capital gains use the three-tier system of 0%, 15%, and 20%. The income thresholds that separate those tiers vary by filing status and are inflation-adjusted each year by the IRS. You may also owe the 3.8% net investment income tax if your modified adjusted gross income is over $200,000 ($250,000 if married filing jointly). Those thresholds are not adjusted for inflation.
Most states with an income tax also tax crypto gains and income, usually following federal rules. Check your state's tax agency.
How are DeFi transactions taxed?
Disposals: swaps and sales create taxable disposals. If you swap one token for another, that is treated as exchanging property for property. Paying with tokens at a merchant is also a disposal.
Crypto capital gain or loss: In most cases, you calculate your crypto capital gain or loss as proceeds (value received, minus fees) minus crypto cost basis in the asset you disposed of. You can use our free crypto tax calculator for on-the-fly calculations.
Crypto income: Income in tokens is taxed when you control the tokens. For staking, IRS Revenue Ruling 2023-14 says rewards are income at fair market value on the date you gain dominion and control over them. Common examples include staking rewards, liquidity mining payouts, referral rewards, and airdrops. The amount you report as income often becomes your crypto cost basis in those tokens for any later disposal.
Do DeFi exchanges report to the IRS?
Usually no for non-custodial DeFi protocols, and often yes for centralized and custodial brokers. On April 10, 2025, a Congressional Review Act resolution (Public Law 119-5) canceled the IRS rule that would have treated DeFi front ends as brokers. Custodial brokers must still file Form 1099-DA.
Separately, some brokers report digital asset proceeds on Form 1099-DA for 2025 activity. Brokers don't have to report basis for 2025 sales, so many 2025 forms show proceeds in box 1f and leave box 1g (cost or other basis) blank. You still need your own records to calculate gain or loss.
DeFi tax challenges
You can do everything "on chain" and still have to self-report, because many DeFi protocols do not issue tax forms.
One missing transfer label can throw off crypto cost basis across a whole chain of swaps.
Bridges, wrappers, partial fills, and failed transactions can clutter your history and create duplicate imports if you are not careful.
IRS guidance does not cover every DeFi mechanic cleanly, so consistency matters when you choose an approach.
A broker crypto tax form can show proceeds while your crypto cost basis lives somewhere else, so you still need reconciliation.
Relevant IRS tax forms for DeFi taxes
Form 8949 lists each taxable disposal of digital assets held as capital assets, including token-for-token swaps, with dates, proceeds, basis, and adjustments. Use boxes G, H, or I for short-term digital asset sales and J, K, or L for long-term ones.
Schedule D summarizes your totals for the year.
Form 1040 includes the digital asset question. It asks whether you received, sold, exchanged or otherwise disposed of a digital asset during the year. Most DeFi activity beyond buying and holding means answering Yes.
Ordinary token income, such as staking rewards or airdrops, generally goes on Schedule 1, line 8v, for digital assets not reported elsewhere. If the activity is a trade or business, report it on Schedule C.
Form 1099-DA may appear for some broker-reported digital asset proceeds. It may show no basis or an incomplete basis, especially for crypto you moved in from a wallet or DeFi protocol, and especially if you're active across DeFi and use centralized exchanges for on- and off-ramping. Always keep your own complete records.
The IRS and DeFi taxes
The IRS defines digital assets broadly and asks about them on Form 1040. Answering yes and then failing to report taxable events can invite notices. The safest path is to track everything and file it completely.
Enforcement continues to expand. Public blockchains are traceable, and the IRS has pursued crypto users through summonses and investigations. Do not assume that using a DEX or a bridge makes activity invisible.
Pro tip
Many DeFi users also hold and trade NFTs. Consider our expert NFT tax guide to learn more about NFT taxes for US taxpayers.
How does the IRS tax governance tokens?
Receiving governance tokens for participation is generally ordinary income at fair market value when you control them. Your basis is set at that value.
When you later sell or swap those tokens, you compute a capital gain or loss using that basis and your holding period. Keep separate lots if rewards vest over time at different market prices.
Governance tokens tax example
You receive $500 of governance tokens as a reward for supplying liquidity to a protocol.
Report $500 of ordinary income for the year. This also becomes your cost basis and starts your holding period.
Three months later, you sell the tokens for $700.
Capital result = $700 proceeds (minus fees) minus $500 basis = $200 short-term capital gain.
Report the sale on Form 8949 and carry the totals to Schedule D.
How does the IRS tax DeFi loans?
Borrowing with a crypto loan is not income because you still owe the funds. If a platform liquidates your collateral, that sale is your taxable event. The platform's statement plus on-chain data can help you compute proceeds and basis.
Interest deductibility depends on what you use the borrowed funds for. Investment interest is often limited and subject to special rules. Interest on money borrowed to buy investments may be deductible up to your net investment income if you itemize, using Form 4952. When in doubt, review the investment-interest rules before taking deductions.
DeFi loans tax example
You deposit 2 ETH with a total cost basis of $3,000, so $1,500 per ETH.
Borrowing stablecoins is not taxable.
The price drops and the protocol liquidates 1 ETH for $2,400.
Treat the liquidation like a sale. Capital result = proceeds ($2,400, minus any fees) minus basis ($1,500).
With no fees, that is a $900 capital gain.
Forced sales are still taxable. If you held the ETH for more than one year, the gain is long term. If not, it is short term.
How does the IRS tax bridged tokens?
Bridging usually moves the same coin between networks without changing your economic position.
Many practitioners treat a pure bridge as non-taxable. If the bridge involves wrapping or unwrapping that could be argued as a different asset, some adopt a conservative taxable exchange position instead. Apply one method consistently and document it.
If bridging includes rewards or requires swapping into a new asset, those parts may be taxable. Separate the steps in your records so you do not over- or under-report.
How does the IRS tax wrapped tokens?
The IRS has not issued wrapped token rules to date. Two approaches are common. Conservative filers treat wrapping as exchanging one asset for another and recognize any gain or loss at the wrap and unwrap steps.
Some filers treat wrapping as no sale because the underlying asset stays the same.
Whichever method you use, apply it consistently across your returns over the years. In either case, later disposal of the token is a taxable event measured from basis to proceeds.
How does the IRS tax DeFi airdrops?
The cleanest IRS guidance is for a crypto airdrop that follows a hard fork. In that case, the IRS says you have ordinary income if you receive units of the new cryptocurrency and you can exercise dominion and control over them.
For other DeFi airdrops, the IRS has not published a single rule that fits every promo or protocol incentive. Many taxpayers still use the same basic idea: if you can control the tokens, you may have ordinary income at fair market value at that time, and that value becomes your crypto cost basis for a later sale or swap.
IRS guidance ties airdrop income to dominion and control. No IRS ruling addresses unsolicited or scam tokens directly, so if you never accept or control them, you may not have income. Keep screenshots and addresses so you can show what happened if you ever need to.
How does the IRS tax liquidity mining?
Liquidity mining often looks like two things at once. Exchanging your asset for an LP token can be treated as a taxable exchange under a conservative approach, and the reward tokens you earn are treated as ordinary income when credited. The IRS has issued no specific rules on these steps. Notice 2024-57 also lets brokers skip reporting wrapping, liquidity pool, staking, and lending transactions for now, so your own records carry the load.
If you later redeem the LP token, you may realize gains or losses compared with basis under that same method. Detailed pool statements and on-chain explorers help you separate principal from rewards for accurate reporting.
Depositing liquidity: capital gains
Conservative view: exchanging assets for LP tokens is a disposal and may realize a gain or loss at deposit.
Aggressive view: treat as a non-taxable technical step. Choose and document.
Depositing liquidity capital gains tax example
You acquired tokens for $1,200.
At deposit, they are worth $1,500.
Taking a conservative approach, you recognize a $300 capital gain at deposit.
Rewards you later receive are ordinary income when credited.
Withdrawing liquidity: capital gains tax
Redeeming LP tokens back to the underlying assets is typically treated as a disposal under the conservative method. You compare the redemption value to your basis in the LP token.
Withdrawing liquidity capital gains tax example
You deposit tokens worth $2,000 into a pool. Under the conservative approach, you already recognized any gain at deposit, so your basis in the LP tokens is $2,000.
Your LP share later redeems for $3,000 of assets.
Taking a conservative approach, your $1,000 appreciation is realized at exit and reported as a capital gain. Track lots if you added to the position over time.
Two ways taxpayers report liquidity pools
Talk to a tax professional before choosing one, and ask whether disclosure on Form 8275 fits your facts.
Conservative: treat deposit and withdrawal as taxable exchanges plus ordinary income for rewards.
Aggressive: treat the LP steps as non-taxable, tax only rewards and final disposals. Apply one policy consistently and support it with contemporaneous records.
Minimizing taxes on DeFi transactions
If you can hold a position longer than one year, you may move a short-term gain into long-term capital gains treatment, depending on your income and filing status.
If you have losses, you can use them to offset capital gains, but only if your history and crypto cost basis are accurate.
Track fees and transaction costs, because they can change proceeds and crypto cost basis outcomes.
Track cost basis wallet by wallet, and use a
crypto accounting method other than FIFO only when your records show which units you sold. Otherwise FIFO applies within each wallet or account.
The wash sale rule in section 1091 covers stock and securities. It does not apply to crypto held directly today.
Best practices for tracking and reporting DeFi taxes
Consolidate your crypto wallet data early. Waiting until filing week is how mistakes happen.
Reconcile transfers between wallets you control so they do not show up as sales.
Save transaction hashes, timestamps, and any protocol statements or screenshots for rewards and claims.
Protect your crypto cost basis trail like a chain of custody.
Keep a year-end snapshot of addresses you controlled and balances held.
Can DeFi protocols be used for tax evasion?
No. Public chains are traceable, and the IRS uses analytics to connect transactions to taxpayers. DeFi does not remove the duty to report crypto income, capital gains, or losses.
Pro tip
Uniswap is one of the most used DEXs. Our expert guide breaks Uniswap taxes down into simple concepts so you can quickly understand and develop a DeFi tax strategy.
How TokenTax simplifies DeFi taxes
Our platform pulls on-chain activity from major networks and DEXs, matches it with exchange records, and computes gains, losses, and token income. We support common accounting methods and can help you prepare the forms you need to file.
If your situation is complex, our team of crypto tax experts can help you pick and defend a consistent approach in areas where the rules are still developing.
If your DeFi history spans multiple wallets and chains, start by getting a clean transaction ledger and crypto cost basis, then decide whether you want to file DIY or work with our expert team at TokenTax.
DeFi tax FAQs
How can you profit from DeFi?
Is DeFi borrowing taxable?
Are there tax implications for US taxpayers using DeFi platforms outside the US?
Can the IRS track DeFi wallets?
Are transfers between personal DeFi wallets taxable?
What are non-taxable DeFi transactions?
Are Ethereum gas fees tax deductible?
To stay up to date on the latest, follow TokenTax on Twitter @tokentax.