Uniswap and UNI taxes in the US: 2026 DeFi reporting guide
A Uniswap swap is generally a taxable exchange of one digital asset for another. Liquidity positions are harder: depositing tokens, receiving an LP token or NFT, accruing fees and withdrawing different token amounts can represent multiple property events. The IRS has not published a Uniswap-specific safe harbor, so a reliable report must preserve the contract facts and avoid labeling every deposit nontaxable or every pool-value increase ordinary income.
Every Uniswap token swap needs a USD calculation
Prepare Your Crypto Tax Workpapers
Import your transactions, review the results and generate detailed tax workpapers without building the entire calculation manually in spreadsheets.
Start for free →US federal tax law treats digital assets as property. Exchanging ETH for USDC, USDC for UNI or one token for another is generally a disposition of the asset given up and an acquisition of the asset received. It does not become nontaxable because no dollars pass through a bank account or because the exchange is executed by a smart contract.
For an investor, gain or loss equals the US-dollar amount realized minus adjusted basis in the disposed units. The received asset generally starts with a cost basis equal to its US-dollar value, adjusted for applicable transaction costs. The holding period for the new asset begins after the swap.
| Swap leg | Tax calculation | Record |
|---|---|---|
| Token given up | Capital gain or loss for an investor | Basis lot, holding period and USD amount realized |
| Token received | New property acquisition | USD basis, amount and timestamp |
| Gas paid in ETH | ETH disposition plus transaction-cost treatment | ETH basis and properly allocated USD fee |
| Protocol fee embedded in quote | Part of economic proceeds or acquisition cost | Router quote and actual token flows |
Multi-hop routing may use intermediary pools, but the report should follow the taxpayer's actual token flows and legal exchanges rather than create invented investor lots for internal routing the taxpayer never owned. The US DeFi tax guide explains bridges, wrapping and lending alongside swaps.
Adding liquidity can be a property exchange
When a user contributes two tokens to a Uniswap pool, the smart contract may issue an LP token or an NFT position representing contractual rights. The IRS has not issued a ruling that every liquidity deposit is tax-free. The central question is whether the user exchanged the contributed assets for materially different property or merely placed the same property in an agency or custodial arrangement.
Uniswap positions generally change the holder's rights: the user owns a pool claim or NFT, not an individually segregated quantity of each contributed token, and withdrawal quantities vary with trading activity. Those facts can support treating the deposit as a taxable exchange. Some taxpayers and advisers may reach a different result for a particular contract. Software should therefore expose the chosen treatment and preserve both calculations rather than silently assume no disposal.
| Event | Taxable-exchange model | Nonrecognition position requiring support |
|---|---|---|
| Deposit token A and token B | Dispose of A and B for LP/NFT property | Track deposit as continued ownership or agency |
| Receive LP token or NFT | Establish USD basis in new property | Use as technical position reference only |
| Withdraw pool assets | Dispose of LP/NFT and acquire returned tokens | Allocate original basis and realize only supported events |
| Position migrates to new contract | Potential exchange of property | Show why rights did not materially change |
A report that selects the taxable-exchange model should calculate gains at entry and exit. A report using a nonrecognition position must maintain basis across changing token quantities and explain its legal rationale. Either way, the result should be marked as a policy choice for review, not an IRS-confirmed Uniswap rule.
LP fees, incentives and impermanent loss
Liquidity providers can earn trading fees, incentive tokens or other rewards. If a reward is separately credited and the user can sell, exchange or transfer it, the conservative income position is ordinary income at fair market value when dominion and control begins. That value generally becomes basis for a later disposition.
Uniswap v3 fees may accrue within a position and require collection. Whether uncollected amounts create current income depends on the taxpayer's rights, accounting method and ability to control the value. The staking dominion-and-control principle is useful, but Revenue Ruling 2023-14 is about proof-of-stake validation rewards, not a blanket ruling for all AMM fees.
Impermanent loss is an economic comparison between providing liquidity and holding the original assets. It is not a separate deduction recognized by that label in the Internal Revenue Code. Tax gain or loss comes from recognized property dispositions and adjusted basis under the selected LP treatment. A dashboard showing negative impermanent loss does not by itself create a Form 8949 loss.
- Separate principal contributions from fee income.
- Record collected and uncollected fee amounts independently.
- Track incentive tokens as their own assets and lots.
- Do not deduct impermanent loss as an extra line after already calculating pool dispositions.
- Keep gas costs linked to the transaction they facilitate.
- Flag amounts without a reliable USD value as not calculable.
UNI governance tokens and the 2020 distribution
Buying and selling UNI follows the normal digital-asset property rules. Voting in governance without receiving consideration generally does not create income. UNI received for services, liquidity incentives or other rewards can be ordinary income when controlled, followed by capital gain or loss when later disposed of.
The well-known 2020 UNI distribution was not an airdrop following a hard fork. Revenue Ruling 2019-24 therefore should not be cited as an express ruling on that event. Its tax treatment depends on general section 61 principles and the recipient's facts, including whether the allocation rewarded prior use or services, whether it was a prize or another accession to wealth, and when the user claimed and obtained dominion and control.
A conservative report can show claimed UNI at fair market value when it became transferable as ordinary-income review, while clearly labeling the classification as not covered by a UNI-specific IRS ruling. If income is included, that amount generally becomes basis. An unclaimed eligibility record should not automatically be booked as income without analyzing whether the person had constructive receipt or control.
- Preserve the eligible wallet and distribution terms.
- Record claim transaction, timestamp and UNI amount.
- Determine when the tokens became transferable.
- Capture a supportable USD fair market value.
- Keep the basis lot for every later sale or swap.
- Mark the tax category for fact-specific confirmation.
The US airdrop tax guide separates hard-fork distributions from independent promotional allocations.
Gas, failed transactions and token approvals
Approving a token allowance does not itself transfer beneficial ownership and generally is not a sale. A failed transaction also may consume ETH gas without completing the intended swap. The ETH spent is still gone, but the tax treatment of that cost depends on the failed activity and whether it was investment, business or personal.
Gas paid for a completed asset acquisition may be capitalized into basis; gas associated with a sale may affect amount realized. Business expenses can follow section 162, while investment expenses face separate limitations. A report should not use one universal “gas deduction” toggle.
| Transaction | Token transfer result | Reporting focus |
|---|---|---|
| Approval only | No asset received or sold | ETH gas disposition and related purpose |
| Failed swap | Intended exchange did not occur | Gas loss or cost classification |
| Completed swap | Disposed and received assets | Gain/loss, new basis and fee allocation |
| LP deposit | Pool position or NFT received | Selected property-exchange policy |
Reconstructing Uniswap activity from self-custody
Self-custody activity may never appear on a broker statement. The taxpayer still must report taxable transactions. A reliable import decodes the router, pool, NFT manager and token contracts, then reconciles those events to wallet balances. Raw transfer logs alone can misclassify approvals, wrapped ETH, internal router hops and fee claims.
- wallet address and chain ID;
- transaction hash, block time and timezone;
- token contract, symbol, decimals and amount;
- pool address and position identifier;
- tokens deposited, withdrawn and separately collected;
- USD price source for each taxable event;
- gas amount and transaction purpose;
- chosen LP recognition method and review status.
The US DeFi filing workflow shows how decoded events move into reconciliation and tax forms.
Forms for Uniswap and UNI transactions
Investor swaps and recognized LP-property dispositions generally appear on Form 8949 and Schedule D. Nonbusiness rewards and other ordinary digital-asset income appear on Form 1040 or Schedule 1 as applicable. A liquidity or validator business may require Schedule C, Schedule SE and business inventory or expense analysis.
A Form 1099-DA from a centralized broker does not include every Uniswap wallet transaction. IRS FAQ 108 confirms that income, gain and loss remain reportable even without an information return. The Form 8949 crypto instructions explain lot reporting and adjustments.
Frequently asked questions
Is a Uniswap swap taxable if I receive another crypto?
Generally yes. It is an exchange of property, so the disposed token has gain or loss and the received token starts a new basis and holding period.
Is adding liquidity always taxable?
The IRS has no Uniswap-specific ruling. A taxable exchange can be supported where tokens are exchanged for materially different LP or NFT rights; any nonrecognition position needs a documented legal rationale.
Can I deduct impermanent loss?
Not as a separate item merely because a dashboard reports it. Tax loss comes from recognized dispositions and adjusted basis under the chosen liquidity-position treatment.
Was the 2020 UNI distribution covered by the hard-fork ruling?
No express IRS ruling says so. It was not a hard-fork airdrop, so general income, control and distribution facts must be analyzed.
Are uncollected Uniswap fees already income?
It depends on the enforceable right and ability to control the fees. Record accrued and collected amounts separately and avoid treating Revenue Ruling 2023-14 as a specific AMM-fee ruling.
Official sources
- IRS: Digital assets
- IRS: Digital asset transaction FAQs
- IRS Revenue Ruling 2019-24: hard forks and airdrops
- IRS Revenue Ruling 2023-14: staking rewards
- IRS Topic 409: Capital gains and losses
Official-source review completed September 2, 2026. The IRS has not issued Uniswap-specific recognition guidance; the article states those uncertainties instead of presenting one LP method as settled law.
Related Resources
Generate Your Crypto Tax Report
Import your transactions, review the results and generate a detailed PDF report with a transaction-level audit trail.
Start for free →Disclaimer: This article is for general informational purposes only and does not constitute tax advice. For individual tax advice, consult a licensed tax professional.