Are Solana DeFi swaps and yield farming rewards taxable?

Trying to figure out where I stand before I file. I've been active on Solana DeFi all year — doing token swaps on a DEX and also depositing into liquidity pools to earn yield. Two questions wrapped into one situation: when I swap one token for another (say SOL to USDC to some other token), is each of those a taxable event? And the rewards that drip into my wallet from the yield farming side — do those count as income when I receive them, or only when I sell them? I pulled my wallet history and it's hundreds of transactions. I know crypto is treated as property but I wasn't sure if DeFi specifically had different rules. Already read the IRS digital assets page and it said "exchanging" is taxable but wasn't clear on the farming rewards side. What are other people doing here?

40 comments

Each swap on a DEX is a taxable disposal under the property rules. When you trade SOL for USDC you are selling SOL, so you recognize gain or loss equal to the fair market value of what you received minus your cost basis in what you gave up. Same thing for every hop in a multi-token swap — each leg is its own event. The IRS digital assets page at https://www.irs.gov/businesses/small-businesses-self-employed/digital-assets spells this out. So yes, hundreds of swaps means potentially hundreds of rows on Form 8949.

Nina B.

Author

That's what I was afraid of. So every single swap, even tiny ones routing through intermediate tokens, is a separate line on Form 8949? That's going to be a monster return.

Does your wallet export a CSV with dates, amounts and the token prices at time of transaction? Because that's really the core problem with Solana DeFi — the on-chain data is all there but converting it into cost basis records with USD values at the moment of each swap is tedious. If your DEX or a crypto tax tool can spit out a 1099-DA for 2025 that helps, but most DeFi protocols won't. You'll likely have to build your own records or use a third-party aggregator.

Nina B.

Author

I exported from the wallet but it only shows token amounts, not USD values at the time. I've been manually looking up prices which is taking forever. Someone mentioned crypto tax software but I haven't tried any yet.

Yeah manual price lookups for hundreds of transactions is brutal. Even if you use software make sure it's pulling reliable price feeds — the basis you use on Form 8949 column (e) has to reflect actual fair market value at the time of the transaction, not an approximation.

On the yield farming rewards piece: the IRS treats those as ordinary income in the year you receive them, valued at fair market value on the date received. That's the same treatment as staking rewards — it's income first, then when you later sell or swap those reward tokens you recognize a separate capital gain or loss on top. I had Taxr read through my own DeFi wallet export and it flagged each reward deposit separately, matched dates to USD values and drafted a summary of what fell into income versus what fell into 8949 disposals. Really clarified the two-layer tax problem. taxr.ai if you want to try it on your own records.

Nina B.

Author

Two-layer is a good way to put it. So my farming rewards are income at receipt, and then when those reward tokens eventually get swapped they become a disposal event too. Got it, that makes sense even if it's painful.

Worth noting the holding period on reward tokens typically starts the day after you receive them, since the day you receive them is when you first acquire them. So if you swap reward tokens within a year of receiving them, the gain on that disposal is short-term.

Does liquidity pool treatment differ from straight yield farming? Because when you deposit into an LP you sometimes receive LP tokens back and I wasn't sure if that exchange itself is a taxable event or just the rewards.

This is genuinely unsettled. The IRS hasn't issued specific guidance on LP token issuance. The conservative position is that depositing assets into a pool in exchange for LP tokens is a disposal of the original assets — meaning it's a taxable swap just like any other exchange. Some practitioners argue it's more like a contribution to a partnership but there's no IRS ruling confirming that treatment for DeFi LPs.

So the safer filing position is to treat the LP token receipt as a taxable event? That seems aggressive but I guess if there's no guidance the conservative read is the defensible one.

Can I ask what tracking method you're using for cost basis? FIFO, HIFO, specific identification? On Solana where you might hold the same token acquired at many different prices, the choice matters a lot for how much gain you recognize on each disposal.

Nina B.

Author

Honestly I haven't picked a method yet. I assumed FIFO was the default but I didn't know if I had a choice.

You can use specific identification if you have adequate records identifying which lots you're selling, but you have to make that identification at the time of the sale, not after the fact. If you don't, FIFO is generally the default. See Publication 550 for the basis rules — the IRS doesn't specify a required method for crypto but the general securities rules are the starting point most practitioners use.

Reporting side: since these are DeFi transactions you won't have a 1099-B for most of them, and the new 1099-DA rules are still rolling out for DeFi protocols. So you'll likely be in Form 8949 box I (short-term digital assets, no Form 1099-DA received) or box L (long-term digital assets, no Form 1099-DA received). I ran my own Solana swap history through Taxr and it grouped everything by short-term vs long-term, labeled which box applied and built out the column (d) proceeds and column (e) basis rows so I could review before entering them. Saved a lot of back-and-forth.

Nina B.

Author

This is exactly the format problem I was running into — knowing which box to check and how to structure all these rows. Boxes I and L for no-1099-DA DeFi transactions, that makes sense.

What blockchain explorer are you using to verify your transaction history? Solana's on-chain data is public but some transactions get recorded oddly especially if you used aggregators that route through multiple programs in one transaction.

Nina B.

Author

I've been using Solscan. It shows the token transfers but sometimes a single transaction has like 10 inner instructions and I can't tell what's a fee, what's a swap leg, what's a reward.

Fees paid in SOL to execute transactions are generally deductible as a cost of acquiring or disposing of the asset — you can fold them into your basis or proceeds. But you need to track them separately from the swap amounts or you'll double count.

Are the yield farming rewards coming from a protocol that issues a governance token, or is it straight yield in the same token you deposited? Because if it's a new token you've never held before, your basis in it is whatever its fair market value was when it hit your wallet, and that same amount is ordinary income.

Nina B.

Author

Mix of both. Some pools pay out in the same token (like earning more SOL) and some issue a separate governance token. The governance token one is especially messy because the price was volatile on the day I received each drip.

The capital loss limitation is worth keeping in mind too if some of your swaps produced losses. If your total capital losses exceed your capital gains for the year, the amount you can deduct against other income is limited — the Schedule D instructions and Topic 409 on irs.gov cover the exact figure and the carryover worksheet for whatever spills past the limit.

Yeah and wash sale rules technically apply to securities under Publication 550, but the IRS hasn't explicitly extended them to crypto in the same way, so a lot of people note that crypto losses might not be subject to wash sale disallowance. That said the law can change and it's a risk area worth flagging to a preparer.

Right, crypto isn't stock or a security in the traditional sense so the statutory wash sale rules under current law don't automatically apply — but you're correct that it's worth mentioning to a CPA given how actively Congress has been looking at this.

If you have a large number of transactions you're confident were reported with basis reported to the IRS and no adjustments needed, you can put the totals directly on Schedule D lines 1a or 8a respectively under Exception 1 instead of listing every row on Form 8949. But that only works if basis was reported to the IRS and there are no codes or adjustments needed in columns (f) or (g) — no-1099 DeFi swaps with basis not reported still go on Form 8949.

Nina B.

Author

Wait, so the shortcut only covers transactions with basis reported to the IRS? My no-1099 swaps still have to be listed on Form 8949 even with no adjustments? That's going to take a huge amount of time.

Correct — your basis-not-reported swaps still go on Form 8949, and you still have to maintain the underlying records in case the IRS asks. The Exception 1 shortcut is only for basis-reported transactions, not permission to skip the recordkeeping. And if any swap has an adjustment or a code you have to break that one out onto its own 8949 row.

Has anyone dealt with wrapped tokens on Solana — like wrapping SOL to wSOL? Is that wrap itself a taxable disposal or just a technical conversion?

No clear IRS guidance specific to wrapping. The same analysis applies as LP tokens — the conservative position treats it as an exchange of one asset for another, which would be taxable. Some argue they're economically identical assets and no gain/loss should be recognized, but there's no ruling backing that up for the DeFi context.

Don't forget the ordinary income from yield farming rewards feeds into your AGI and can affect other things — QBI deductions, premium tax credits, capital gain rates depending on your bracket. It's not just a DeFi-specific issue if the numbers are significant.

Nina B.

Author

Good reminder. I hadn't thought about second-order effects on the rest of the return. I might need to actually sit down with a CPA or enrolled agent if the totals are large enough.

Where do you report the ordinary income from yield farming rewards on the actual return? It's not self-employment income necessarily — most people drop it on Schedule 1 line 8z as other income with a description, but I've seen it reported different ways.

Schedule 1 line 8z with a description like "DeFi yield farming rewards" is a common approach when it's passive income from holding/providing liquidity rather than a business. If someone is running this as an active trade or business it could be Schedule C, but most individual retail DeFi participants aren't meeting that threshold.

That tracks. The character of the income matters — passive yield vs active business activity — and most people doing personal DeFi investing are on the passive side.

Publication 525 covers taxable and nontaxable income broadly, and Publication 550 covers investment income and expenses — between those two and the IRS digital assets page you can get most of the framework. The gap is that IRS guidance hasn't caught up to every DeFi-specific scenario so there's genuine uncertainty on a few of these edge cases.

Nina B.

Author

Thanks — I've been working mostly off the digital assets page but I'll dig into 550 and 525 more carefully. At least now I have a clearer picture of what's settled versus what's still a gray area.

To flag one thing that came up earlier about wash sales: Publication 550 defines wash sales for stock and securities and specifies the 30-day before-and-after window and the disallowance rules. Under current law crypto isn't a security so those rules don't apply the same way. But don't take that as a free pass — it's an area Congress has proposed changing multiple times.

Agreed. And even setting aside wash sales, if you're harvesting losses in crypto make sure you're keeping records of which lots you sold, when, and what the basis was. If the rules change retroactively or the IRS takes a different position your records need to hold up.

Given how many unsettled questions are in this thread — LP token treatment, wrapping, the Schedule 1 vs Schedule C question for heavy DeFi users — if your totals are meaningful I'd genuinely recommend taking the records to an enrolled agent or CPA who handles crypto. The positions you take now can affect future years too, especially if you're still active in DeFi.

Nina B.

Author

Yeah that's probably the right call for me at this point. I'll compile everything, use the framework from this thread to organize it, and bring it to someone who knows this space. Really helpful discussion overall.