Investments, Crypto and Equity Pay

Community

Join

4797 vs 8949 — which form do I use for selling rental property?

Sold a rental property I'd held for about 11 years. I bought it as a pure investment, never lived there, depreciated it every year. My CPA retired so I'm doing this myself for the first time and I'm completely turned around on 4797 vs 8949. TurboTax keeps asking which form applies and I don't want to pick the wrong one and mess up the depreciation recapture piece. I read something about how gains on business property go on Form 4797 but then I also saw that some real estate sales end up on Form 8949 and Schedule D. Can someone explain which one actually applies to my situation and whether I need both or just one?

To summarize the flow for a rental property held more than a year: Form 4797 Part III first (compute gain, recapture depreciation), excess gain goes to Part I (section 1231 netting, check lookback), net 1231 gain flows to Schedule D line 11, then Schedule D Tax Worksheet handles the rate differential. Form 8949 is not in that chain at all unless you have a separate capital asset sale in the same year.

If you're still uncertain after reading all this — and the numbers are significant after 11 years of depreciation — an enrolled agent or CPA who handles real estate dispositions would be worth the consultation fee. The 1231 lookback, the 8582 suspended loss calculation, and the 1250 recapture rate interaction can combine in ways that are easy to get slightly wrong, and slightly wrong on a large gain can mean a real dollar difference.

Tony W.

Author

Genuinely considering it at this point. The core answer is clear — 4797, not 8949 — but the layers on top of it are more involved than I expected.

What is code M on Form 8949 and what do I do with it?

Trying to figure out what is code M on Form 8949. My broker sent a 1099-B and my tax software auto-populated a bunch of entries with different codes in column (f). Most I can figure out but code M is throwing me. The software put it on a long-term transaction and adjusted the number in column (g) but I don't understand why. The cost basis on the 1099-B looks way lower than what I actually paid. I already checked my old trade confirmations and I'm pretty sure the basis is wrong on the broker side. Is code M what tells the IRS the basis was adjusted? Do I still have to enter the wrong basis from the 1099-B first and then correct it, or can I just put the right number directly?

For the ordinary income piece that code D is separating out — confirm whether your software is reporting it on Schedule D line 1 or 8 net or whether it's routing the reclassified amount to a different line. If the software doesn't reclassify it automatically you may need to add it manually as interest income on Schedule B.

Which line does the ordinary income portion usually land on? I've seen it handled differently in different software.

There is a dedicated place — accrued market discount is reported as interest income on Schedule B, which flows to Form 1040 line 2b; Schedule D has no ordinary income line. Check what your program does and trace it.

To pull everything together for the original question: code D in column (f) of Form 8949 flags that accrued market discount is being reclassified from capital gain to ordinary income. The column (g) entry shows the amount of the adjustment. You still use the 1099-B basis in column (e) if box D is checked. The reclassified amount must also appear as ordinary income elsewhere on your return or the numbers won't reconcile.

Tara B.

Author

That nails it for me. I think I had the mechanics right but wasn't sure the ordinary income piece had to show up separately. Going to trace through the software to confirm it's being picked up.

Wash sales crypto — do the rules actually apply to crypto losses?

So I sold ETH at a loss in October and bought back in three days later because I thought crypto was exempt from wash sale rules. My broker didn't flag anything on my 1099-B and I've seen people online say crypto is treated as property so the wash sale rules don't apply. But now I'm reading conflicting stuff and I'm not sure if I can actually claim that ETH loss on Form 8949 or if I have to add the disallowed amount back to my cost basis on the new coins. I already entered everything in my tax software and it let me take the loss no questions asked. The amounts are significant enough that I'm worried about getting this wrong. Can someone clarify whether wash sales crypto is actually an issue right now under current law or if I'm safe to claim the loss?

I sold the same coin across three different exchanges in the same week to harvest losses. Each exchange shows different cost basis because I bought at different times. Wash sale aside — does using FIFO across three separate exchange accounts create problems?

It can, but not the way you'd think. Starting in 2025 the IRS requires basis to be tracked wallet by wallet (account by account), so each exchange applying FIFO to its own holdings is the required approach, unless you specifically identify units within that account; you can't use one global pool across all exchanges. Many people use crypto tax software to aggregate across exchanges. Keep the underlying records.

One thing that helped me: Publication 550 at irs.gov covers wash sales in chapter 4 and explicitly describes what "stock or securities" means in that context. Reading that made it clear why crypto doesn't fit the definition right now. Worth a look if you want to see the actual statutory basis rather than just taking people's word for it on a forum.

Rachel J.

Author

Saving chapter 4 for later — good to have the actual publication to point to if anyone ever questions the position.

Capital gains for non resident aliens — how does the US actually tax this?

Trying to figure out capital gains for non resident aliens because I'm on an F-1 visa, have been in the US about 14 months total, and I sold some ETFs through a US brokerage last year. My broker sent a 1099-B. I'm pretty sure I'm still a nonresident alien under the substantial presence test but I wanted to confirm how capital gains get taxed in that case. TurboTax kept trying to push me to a resident return and I bailed out. Do nonresident aliens even owe US tax on stock sale gains, or does it depend on the type of asset? I've read conflicting things — some say it's not taxable, some say it depends on whether the income is "effectively connected." Which form do I even file?

For the original question about which form: 1040-NR is the return for nonresident aliens. It has a Schedule OI for other information including days present in the US and visa type, and Schedule NEC for income not effectively connected with a US business. Capital gains that are non-ECI go on Schedule NEC and are taxed at 30% (or treaty rate) if you were present 183 days or more; below that they aren't taxed. The 1040-NR instructions on irs.gov walk through this by income category.

Sam N.

Author

This is the clearest summary of the forms I've seen. So my filing is 1040-NR with Schedule OI completed, the gains on Schedule NEC if I was here 183+ days, and possibly a statement attached about the 1099-B?

Exactly that — gains on Schedule NEC only if you hit 183 days. And if you received dividends, those go on Schedule NEC at whatever rate applies (statutory 30% or reduced treaty rate). Report any withholding from the 1042-S on the credits section. Keep your W-8BEN acknowledgment and entry/exit records with your tax file in case questions come up later.

Worth mentioning Publication 519 (US Tax Guide for Aliens) — the IRS wrote it specifically for this situation. It covers the substantial presence test, what counts as ECI, treaty benefits, and which forms to file. It's on irs.gov and is much more readable than the 1040-NR instructions alone. For anyone working through capital gains for non resident aliens for the first time, it's the right starting point.

Sam N.

Author

Had no idea that publication existed. Going to read through it this week before I start the return.

Where is capital gains tax calculated on 1040?

Filed my own return this year for the first time with actual stock sales — sold some index fund shares I'd held for a few years and also dumped some shares I'd bought last spring at a loss. My broker sent a 1099-B and I entered everything into the software, but I honestly don't know where capital gains tax calculated on 1040 actually shows up. The software just kind of... did it. I want to understand what lines matter, what feeds into what, and whether the number on my final return is actually right. I checked the IRS website but got lost between Schedule D and Form 8949 and couldn't figure out how they connect to the 1040 itself.

The About Form 8949 page on irs.gov links to the instructions and the form itself. The instructions have a column (f) code table that lists every situation — W for wash sale, B for incorrect basis, H for home sale exclusion, and others. Reading that table once makes the whole form much less mysterious.

Printed the full PDF from my software and found both the Schedule D and the Qualified Dividends and Capital Gain Tax Worksheet attached. Could finally see where the preferential rate got applied to my long-term gain. The chain from 8949 to Schedule D to the worksheet to 1040 line 16 is all there — I just hadn't been printing the full return before. Thanks everyone.