The Ultimate DeFi Tax Guide: Opportunities and Tax Challenges

Tynisa (Ty) Gaines
ByTynisa (Ty) Gaines, EAReviewed byZac McClure, MBAUpdated on April 20, 2026 · minute read
VerifiedExpert verified

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 treated as ordinary income.

  • DeFi platforms typically do not issue tax forms. Always keep your own transaction records, including crypto cost basis and timestamps, for accurate tax reporting.

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 a hard fork airdrop when you can control the new units, or from certain reward and incentive programs.

Pro tip
The key to a successful tax season after a busy year in DeFi is to keep your own complete records of transactions and activity.

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. Basis reporting becomes mandatory for covered digital assets, but not for every digital asset sale. Using multiple wallets and exchanges can further complicate things.

Pro tip
Anyone active across wallets or exchanges, and/or in DeFi, should always take ownership of their records in preparation for tax season.

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 you can control them. 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. 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 for tax reporting, and platform statements can vary a lot. 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.

If you can’t explain where the numbers came from, pause and clean the ledger first. Filing gets easier when your history makes sense.

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.

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. High earners may also owe the 3.8% net investment income tax on top.

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. 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. Congress repealed the DeFi broker reporting rule on April 10, 2025.

Separately, some brokers report digital asset proceeds on Form 1099-DA for 2025 activity, and most 2025 statements will not include crypto cost basis, so 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.

Pro tip
"Gas fees" (for transactions) are a major part of DeFi, especially Ethereum. You'll want to understand the tax implications of these. Consider our expert article and get educated before you trade: Are gas fees tax deductible?

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.

  • Schedule D summarizes your totals for the year.

  • Form 1040 includes the digital asset question.

  • Ordinary income from tokens flows through the appropriate income lines and schedules.

  • Form 1099-DA may appear for some broker-reported digital asset proceeds. It will likely not provide an accurate crypto cost basis for you, 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. The IRS and IRS Criminal Investigation use blockchain tracing and digital-asset analytics in enforcement. 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 from staking.

  • 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. 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, and your holding period sets short vs. long-term.

Withdrawing liquidity capital gains tax example

  • You deposit $2,000 of tokens into a pool.

  • 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.

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.

Aggressive filers treat wrapping as non-taxable because it does not change the underlying exposure.

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.

If you never accept or control scam tokens, 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, while the reward tokens you earn are ordinary income when credited. Because formal rules are pending, many filers choose a method and apply it consistently.

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 redemption value to your basis in the LP token.

Conservative vs. aggressive tax approaches to liquidity mining taxes

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.

  • Use one crypto accounting method consistently across wallets and years so you do not accidentally double-count.

  • Remember that wash sale rules generally apply to securities, not spot crypto, but proposals and edge cases exist, so treat aggressive loss moves carefully if your facts are messy.

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. Once it breaks, everything downstream gets suspicious.

  • 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 the canonical DeFi protocol, so it's important for most DeFi users to understand the tax implications of its use. 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.

A clean ledger saves time and reduces stress at filing. Whether you swapped a few tokens or farmed across chains, good data and consistent methods are the key to accurate DeFi tax reporting.

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

To stay up to date on the latest, follow TokenTax on Twitter @tokentax.

Tynisa (Ty) Gaines
Tynisa (Ty) GainesTax Expert at TokenTax
Tynisa (Ty) Gaines, EA has more than 20 years of experience as a tax professional. Ty has published numerous tax articles, two tax e-books, and an academic publication on cryptocurrency for the National Income Tax Workbook.
Zac McClure
Reviewed byZac McClureCo-Founder & CEO at TokenTax
Zac co-founded TokenTax after his career in international finance and accounting at JPMorgan, Imprint Capital and Bain. He has worked in more than a half-dozen countries and received his MBA from the UPenn Wharton School.