In the U.S., DeFi is generally taxed under the same federal tax rules that apply to other crypto transactions: capital gains when you dispose of crypto, and ordinary income when you earn crypto.
The problem when filing for taxes is that DeFi doesn’t fit neatly into traditional tax categories. A single transaction can involve a token swap, a transfer of assets, a liquidity position, and a reward, and all potentially creating different tax questions.
The difficult part is identifying which DeFi activity creates which type of tax, and when the tax liability arises.
So, how exactly does the U.S. tax DeFi? This guide should make it simple. I break down how the Internal Revenue Service (IRS) treats swaps, staking, lending, liquidity pools, yield farming, and other common DeFi activities, so you can understand what is taxable, when it is taxable, and how to report it.
Key Takeaways
- DeFi rewards are generally taxed as ordinary income when you receive or gain control of them.
- The taxable income is generally based on the crypto’s fair market value in USD when received and the activity.
- Staking rewards are taxed as ordinary income.
- Liquidity pool rewards are taxed as ordinary income.
- Yield farming rewards are generally taxed as ordinary income; selling them later can create capital gains or losses.
- Interest received in new tokens is generally taxable as ordinary income.
How Does the IRS Classify DeFi Transactions?
The IRS does not have a separate tax classification for “DeFi.” Instead, it generally treats digital assets as property and applies the existing federal tax rules based on what actually happened in the transaction.
For DeFi, that means the same activity can fall into different tax categories:
- Selling or swapping crypto: generally a capital gain or loss if the asset is held as a capital asset.
- Receiving staking rewards: generally ordinary income when you have dominion and control over the rewards.
- Receiving other DeFi rewards: may create ordinary income, depending on the nature of the payment.
- Lending crypto: the tax treatment depends on the structure of the lending arrangement and what you receive in return.
- Liquidity provision: the IRS has specifically identified LP transactions as a category for which broker reporting is temporarily excepted pending further guidance—but that is a reporting exception, not a tax exemption.
Capital Gains Tax on DeFi Transactions
Capital Gains Tax applies when you dispose of a crypto asset. In DeFi, this can happen in several common situations:
- Swapping one cryptocurrency for another on a decentralized exchange (DEX)
- Using crypto to buy another asset, including stablecoins or wrapped tokens
- Selling crypto for fiat (like USD)
- Adding or removing liquidity from a protocol if LP tokens are issued
- Unwrapping or wrapping tokens when the exchange is treated as a trade
In each of these scenarios, you’re either giving up ownership of one asset or receiving a different one in return. That change is considered a disposal, and the IRS expects you to calculate any gain or loss based on the asset’s cost basis and fair market value at the time of the transaction.
Example
If you bought ETH for $1,500 and later swapped it on Uniswap when it was worth $2,000, your taxable capital gain is $500.
Short-Term vs Long-Term Gains
The IRS taxes gains differently depending on how long you held the asset.
- Held for 1 year or less: The gain is generally short-term and taxed at your ordinary income tax rate.
- Held for more than 1 year: The gain is generally long-term and typically taxed at 0%, 15%, or 20%, depending on your taxable income.
Income Tax on DeFi Transactions
Income Tax applies when you earn new crypto through DeFi protocols. These earnings are considered ordinary income and must be reported at their fair market value in USD on the day you receive them.
Common DeFi Activities That Trigger Income Tax
Here are some common DeFi activities likely to trigger Income Tax:
- Receiving staking rewards from DeFi platforms
- Earning liquidity mining rewards in the form of new tokens
- Getting interest from lending crypto through a protocol
- Play-to-earn tokens and rewards earned by participating in DeFi-based games
- Yield farming rewards when the protocol issues new tokens as incentives
Example
- If you earn $200 worth of staking rewards during a week, that $200 becomes taxable income at the time of receipt.
- If a liquidity mining program distributes tokens worth $45 to your wallet, that $45 is also taxable immediately.
- Even small rewards count; for example, a $12 airdrop must be reported.
Self-Employment Tax Consideration
If you earn DeFi income frequently or operate in a way that resembles a business activity, the IRS may treat your rewards as self-employment income. In such cases, you may owe additional self-employment tax alongside regular income tax.
Self-employment tax generally consists of 12.4% Social Security tax and 2.9% Medicare tax, subject to the applicable rules and limits.
DeFi Transaction Tax Treatment: An Overview
The tax treatment of DeFi transactions in the US depends on whether the activity results in a disposal or new income. The table below outlines how various DeFi actions are likely taxed based on current IRS guidance and interpretations.
DeFi Transaction | Is It Taxable? | Likely Tax Treatment | Trigger Event |
Swapping crypto on DEXes | Yes | Capital gain/loss | Disposing of one crypto for another |
Buying crypto with USD on DEX | No | Not taxable | Purchase itself is not a disposition |
Buying crypto with another crypto | Yes | Capital gain/loss | Disposal of the crypto used to purchase |
Lending crypto — no token received | Generally no at lending | Not taxable at transfer* | No disposition established merely by lending |
Lending crypto — token/claim received | Uncertain | Depends on structure | IRS has not provided comprehensive DeFi lending guidance |
Interest/rewards received from lending | Generally yes | Ordinary income* | When income is received/available, depending on the arrangement |
Borrowing crypto — no disposition | Generally no | Loan proceeds generally not income | Receipt of loan proceeds |
Borrowing crypto — token issued | Uncertain | Depends on structure | Do not automatically classify as a crypto-to-crypto trade |
Repaying a crypto loan | Potentially yes | Capital gain/loss may arise from crypto used for repayment | Disposal of crypto used to repay |
Paying interest in crypto | Yes | Capital gain/loss on crypto spent | Disposal of crypto used to pay interest |
Paying interest in fiat | No | Generally not a crypto disposal | Fiat payment |
Receiving staking rewards | Yes | Ordinary income | When you obtain dominion and control |
Yield farming — new tokens received | Generally yes | Income when received; later capital gain/loss on disposal | Receipt of rewards |
Yield farming — existing token appreciates | No tax merely from appreciation | Capital gain/loss when disposed | Sale/exchange/disposition |
Adding liquidity — LP token received | Uncertain | Tax treatment not definitively established | IRS has specifically identified LP transactions for temporary reporting relief |
Removing liquidity | Potentially | Depends on structure and whether a taxable disposition occurs | Redemption/disposition, if applicable |
LP rewards — new tokens | Generally yes | Income when received/controlled | Receipt of rewards |
LP token appreciates | No tax merely from appreciation | Capital gain/loss on disposition | Sale/exchange/redemption |
Margin trading/derivatives | Depends | Varies by instrument and tax rules | Settlement, closing, sale, etc. |
Token wrapping/unwrapping | Uncertain | IRS has not provided definitive substantive treatment | Depends on the wrapping structure |
Transfer/gas fees paid in crypto | Yes | Capital gain/loss on crypto spent | Disposal of crypto to pay fee |
Rebase tokens — supply adjustment | Generally no immediate tax merely from rebase | Generally no realized gain solely from quantity adjustment | Tax generally arises upon disposition |
Play-to-earn — tokens earned | Yes | Income | Receipt/control of tokens |
Play-to-earn — selling/trading rewards | Yes | Capital gain/loss | Disposal of earned tokens |
DeFi Transaction Tax Treatment: Detailed Analysis
Now that you have a general idea of how DeFi Transactions are taxed in the US, let’s get into its details:
Swapping Crypto on DEXs
Swapping one cryptocurrency for another on a DEX counts as a taxable disposal. The IRS taxes the gain based on the difference between your cost basis and the asset’s fair market value at the time of the swap. This applies to all token-for-token trades, including stablecoins, and requires accurate tracking of dates, values, and fees.
Example: Suppose you bought 2 UNI for $10 each ($20 total).
Months later, you swap the 2 UNI for AAVE when UNI is worth $15 each ($30 total) on Uniswap.
Capital Gains = $30 – $20 = $10.
Adding and Removing Liquidity from Pools
Adding liquidity often triggers a taxable event because receiving LP tokens can qualify as a crypto-to-crypto trade.
Moreover, removing liquidity is also a disposal, as exchanging LP tokens for underlying assets may generate gains. Tax applies when the value you receive differs from your cost basis.
Example:
You deposit $300 worth of USDC and ETH into a Uniswap pool and receive LP tokens worth $340.
Capital Gains = $340 – $300 = $40.
When you later redeem the LP tokens, the returned assets may trigger another gain.
Receiving Liquidity Pool Rewards
Rewards issued for providing liquidity are treated as ordinary income when received. The IRS requires reporting the tokens’ fair market value in USD on the day they become accessible. Later selling or swapping these tokens triggers Capital Gains Tax, using the declared income value as your cost basis.
Example:
If Curve Finance distributes 5 CRV tokens to your wallet and they’re worth $5.60 each, you must report 5 × $5.60 = $28 as ordinary income on the day the tokens arrive.
DeFi Staking Rewards
The IRS clarified in 2023 that staking rewards are taxable “when received,” meaning when you can sell, transfer, or use them. After including the value as income, any later sale, trade, or use of the staking rewards may trigger Capital Gains Tax. Your cost basis is the value declared as income at the time of receipt.
Example: If you stake LDO on Lido and receive 1.2 LDO worth $43 on the day it becomes claimable, you must report $43 as income. That $43 becomes the cost basis for future capital gains.
Yield Farming Rewards
If you receive new tokens as a reward, the IRS is likely to treat these as income. The fair market value of the tokens on the day you receive them becomes taxable and should be reported under Income Tax. If returns simply increase the value of existing assets without issuing new tokens, no tax applies at that moment. However, when you dispose of the tokens, through selling, trading, or using them, you will be liable for Capital Gains Tax on any profit from the transaction.
Example: If PancakeSwap rewards you with 8 CAKE tokens worth $5 each, you report 8 × $5 = $40 as income. If a strategy boosts your deposit value instead of issuing new tokens, you’re taxed only when selling the increased-value asset.
Borrowing Crypto in DeFi
Borrowing alone isn’t taxable because receiving a loan-backed asset doesn’t count as disposal. However, if a platform issues a token representing your collateral or loaned amount, this may be treated as a crypto-to-crypto trade. In such cases, any increase in value is subject to Capital Gains Tax.
Example:
You deposit $500 worth of COMP as collateral on Aave and receive aTokens worth $560. This token swap may be treated as disposal, giving you a taxable gain of $560 – $500 = $60.
Paying Interest in DeFi
Paying interest in cryptocurrency is treated as spending crypto on a service, triggering a disposal. Tax is applied to the difference between the crypto’s cost basis and its fair market value at the time of payment. Paying interest in fiat isn’t taxable.
Example: You repay your Aave loan using 0.01 ETH. If you purchased that ETH for $150 but its value at repayment is $190, the IRS sees this as spending crypto, meaning you recognize a gain of $190 – $150 = $40.
Earning Interest Through DeFi Protocols
When protocols pay interest in new tokens, the IRS treats the fair market value as taxable income on receipt. If interest is reflected only as increased asset value without issuing new tokens, tax applies later as Capital Gains upon disposal.
Example:
If Compound pays you 0.03 COMP in interest and it’s worth $18 total at the moment you receive it, you must report $18 of income. If interest accrues only as increased value without issuing new COMP, tax applies when you sell.
Wrapped Tokens
Wrapping a token is considered exchanging one crypto for another, making it a taxable disposal. Even if values match closely, the IRS requires reporting the fair market value at the time of wrapping. Any increase over your cost basis results in Capital Gains Tax.
Example:
You convert 1 BTC purchased at $30,000 into WBTC on Ethereum when BTC’s market price is $31,200. Even though WBTC mirrors BTC, this token swap is taxable, resulting in a gain of $1200.
Transaction and Transfer Fees
Transaction fees paid in crypto during trades increase your cost basis or reduce disposal proceeds. Transfer fees paid in crypto may count as a taxable disposal, as spending crypto is itself a taxable event. Accurate fair market value tracking is essential for correct reporting.
Example:
If you transfer SOL from one wallet to another and pay 0.01 SOL as a network fee worth $6, the IRS views this as spending crypto, so you must report $6 as a taxable disposal.
Play-to-Earn (P2E) Gaming Rewards
New tokens earned through gaming are taxable as income based on their fair market value when received. Later selling or trading them triggers Capital Gains Tax, calculated from the value previously recognized as income.
Example:
If Axie Infinity rewards you with 3 AXS tokens for gameplay and each token is worth $4, you must report 3 × $4 = $12 as income on the day received. Selling later for more creates capital gains
Tax on Token Rebases
Token rebases adjust token supply without changing the total value held. The IRS has not issued specific rules, but many treat rebases similarly to stock splits, meaning no tax at the moment of adjustment. Keeping detailed records is still essential for calculating future gains or losses.
Example:
If an OHM-style rebase increases your token count from 1 OHM to 1.1 OHM but the total value remains $100, no income is recognized immediately. Tax applies only when you later sell the tokens.
How to Report Crypto DeFi Taxes in the USA?
Reporting DeFi taxes in the USA requires listing your capital gains and income on specific IRS forms. Each DeFi action, swaps, liquidity moves, staking, yield farming, airdrops, must go into the correct section of your Form 1040. Here’s a simplified breakdown of which forms apply to each type of activity.
Tax Category | IRS Form | Purpose | What You Report |
Capital Gains (Swaps, Trades, Liquidity Disposals) | Lists every taxable disposal of crypto | Asset description (e.g., “1.5 ETH”), date acquired, date sold, proceeds (USD), cost basis (USD), gas fees added to cost basis | |
Summarizes totals from Form 8949 | Short-term vs. long-term capital gains or losses | ||
Ordinary Income (Staking, Yield Farming, Airdrops, LP Rewards) | Reports “Other Income” | Line 8z: Total USD value of all rewards, airdrops, interest, and earnings received | |
Business Income (Only if DeFi is operated as a business) | Reports business income + allows expense deductions | Total business income and expenses; triggers 15.3% self-employment tax if used |
DeFi Broker Reporting Rule Repealed: What Does It Mean?
In April 2025, Congress passed a joint resolution disapproving the IRS rule that would have required certain DeFi participants to report users’ digital-asset transactions to the IRS. President Trump signed the resolution into law, and under the Congressional Review Act, the rule was given no legal force or effect. The IRS subsequently removed it from the regulations.
What does this mean for DeFi users?
- DeFi platforms are not subject to that repealed reporting requirement.
- You still have to report your own taxable DeFi transactions. Repealing the broker-reporting rule does not repeal the underlying tax rules. The IRS states that taxpayers must report digital-asset income, gains, and losses whether or not they receive a Form 1099-DA.
- Recordkeeping becomes even more important. Unlike transactions reported by covered brokers, DeFi activity may not come with a corresponding tax form, leaving you responsible for reconstructing transactions, cost basis, gains, and income.
How KoinX Helps You Track DeFi Taxes
KoinX brings DeFi activity from different wallets and blockchains into a single transaction history, helping you reconstruct your taxable activity even when transactions happen across multiple protocols. You can connect supported wallets directly or import transaction data through supported methods.
- Consolidates DeFi activity: Import transactions from wallets, exchanges, and blockchains into one dashboard.
- Tracks wallet-to-wallet transfers: KoinX detects transfers between your own wallets, helping avoid duplicate transactions and preserve the correct cost basis.
- Categorises DeFi transactions: Activities such as swaps, staking rewards, and airdrops are classified for tax reporting.
- Flags missing information: You can review issues such as missing cost basis or unmatched transfers before generating your report.
- Generates tax reports: Once your transactions are reviewed, KoinX generates country-specific tax reports based on your configured tax settings.
The key benefit for DeFi users is reconstructing the complete transaction trail. Repealed broker-reporting requirements do not remove the need to report taxable DeFi activity yourself, so maintaining complete records remains essential. Start tracking your DeFi taxes with accuracy, speed, and confidence, without the manual burden. Try KoinX for free and stay fully IRS-compliant ahead of the upcoming tax deadline.
Conclusion
The repeal of the DeFi broker reporting rule may mean fewer reporting obligations for DeFi platforms, but it does not make DeFi transactions tax-free or remove the taxpayer’s responsibility to report them. Your tax liability still depends on what you do with your assets, whether you swap, sell, earn rewards, or receive tokens.
That’s why I use KoinX to simplify this process by organizing your DeFi transactions, calculating taxes, and preparing reports, all in one place. Sign up for KoinX today and take control of your DeFi tax reporting with confidence.
Frequently Asked Questions
Do I Have To Report DeFi Losses To The IRS?
Yes. If you’ve incurred losses from DeFi activities such as trading or liquidity withdrawals, you must report them. These losses can be used to offset your capital gains and reduce your overall tax liability. Unused losses may also be carried forward to future tax years as per IRS guidelines.
Are Gas Fees Deductible When Calculating DeFi Taxes?
Yes, gas fees paid to facilitate the purchase, sale, or disposition of digital assets can generally be treated as digital asset transaction costs. For example, a gas fee paid when swapping tokens can reduce the amount realized on the disposition or be included in the basis of an acquired asset. However, fees paid simply to transfer crypto between your own wallets are not treated as digital asset transaction costs under current IRS guidance.
What Happens If I Don’t Report My DeFi Earnings?
Failure to report DeFi earnings may result in IRS penalties, audits, or interest on unpaid taxes. The IRS treats most DeFi earnings as income or capital gains, and non-compliance can lead to legal consequences. It’s essential to stay transparent and report all taxable events properly.
Can I Amend My Tax Return If I Missed DeFi Transactions?
Yes. If you realize that you missed reporting DeFi transactions after filing, you can file an amended tax return using Form 1040-X. This allows you to correct your records and stay compliant. It’s recommended to take this step promptly to avoid potential penalties.
Do I Have to Report Small DeFi Earnings Under $10?
Yes. There is no general $10 threshold below which DeFi income becomes non-taxable. If you receive taxable digital-asset income, you generally must report it regardless of whether it is worth $10 or less. The IRS specifically includes rewards and other digital-asset income among transactions that may need to be reported.
How Do I Report Gas Fees for DeFi on My Tax Return?
Gas fees can reduce your taxable gains when tied directly to a disposal, such as swapping tokens or withdrawing liquidity. In those cases, you add the gas fee to your cost basis or subtract it from your proceeds. Gas fees for non-disposal actions, like transferring tokens between wallets, may not be deductible. Keep detailed records so your tax software or accountant can apply them correctly.