Disclosure: The article may contain affiliate links from partners who may compensate us. However, the words, opinions, and reviews are our own. Learn how we make money to support our mission.
Selling stocks or crypto can feel simple inside an app. You tap sell, the money moves, and the transaction is done. But for taxes, that sale may create a gain, loss, or reporting requirement, even if you never moved the money back to your bank account.
In this guide, you’ll learn how to file taxes if you sold stocks or crypto, what forms and records to gather, how capital gains and losses work, and when to get help before filing.
For stocks, a taxable event usually happens when you sell shares in a taxable brokerage account. For crypto, taxable events can include more than just selling for dollars.
Common taxable events may include:
| Transaction | Usually Taxable? |
|---|---|
| Selling stock for cash | Yes |
| Selling crypto for cash | Yes |
| Trading one stock for another through a sale | Yes |
| Trading one crypto for another | Usually yes |
| Using crypto to buy something | Usually yes |
| Receiving crypto as payment | Usually income |
| Holding stock or crypto without selling | Usually no taxable sale |
| Transferring assets between your own accounts or wallets | Usually not a sale, but keep records |
The IRS says taxpayers may need to report transactions involving digital assets such as cryptocurrency and NFTs, and income from digital assets is taxable.
What to do:
Make a list of every stock, fund, or crypto transaction where you sold, exchanged, spent, or received an asset.
👉 Explore: Tax software and free filing options in the Marketplace →
If you sold stocks, ETFs, or mutual funds through a brokerage, you may receive Form 1099-B or a consolidated brokerage tax statement. This form usually reports sale proceeds, cost basis when available, holding period, and whether the basis was reported to the IRS.
For crypto, forms may vary by platform. You may receive a tax form, a transaction history, or a gain/loss report. Newer digital asset reporting rules are also expanding, so some taxpayers may see Form 1099-DA depending on the year, broker, and transaction type. IRS Form 8949 instructions state that Form 8949 is used to report sales and exchanges of capital assets and reconcile amounts reported on Forms 1099-B, 1099-DA, 1099-S, or substitute statements with what you report on your return.
Gather:
What to do:
Download tax forms from every brokerage, investing app, crypto exchange, and wallet you used. Do not rely only on what arrives by mail.
👉 Related: How Tax Deductions Reduce Your Taxable Income →
A capital gain or loss is based on the difference between what you received when you sold the asset and your adjusted basis.
The IRS explains it simply: you have a capital gain if you sell an asset for more than your adjusted basis, and a capital loss if you sell it for less than your adjusted basis.
| Term | What It Means |
|---|---|
| Sale proceeds | What you received when you sold |
| Cost basis | What you paid, adjusted for fees, reinvestments, splits, or other changes |
| Capital gain | Sale proceeds are higher than basis |
| Capital loss | Sale proceeds are lower than basis |
Example:
You bought stock for $2,000 and sold it for $2,700. Your capital gain is $700 before any adjustments.
What to do:
Review cost basis carefully. If your brokerage or crypto platform does not have complete basis information, you may need your own records.
Holding period matters.
Short-term capital gains generally apply when you held the asset for one year or less before selling. These gains are usually taxed at ordinary income tax rates.
Long-term capital gains generally apply when you held the asset for more than one year. These gains may qualify for lower long-term capital gains tax rates, depending on your taxable income and filing status. IRS Tax Topic 409 explains that short-term and long-term gains and losses are classified based on how long you held the asset before selling.
What to do:
Sort your sales into short-term and long-term categories. Your brokerage statement may do this for stocks, but crypto records may require more work.
Many stock and crypto sales are reported on Form 8949 and summarized on Schedule D.
The IRS says Form 8949 is used to reconcile amounts reported to you and the IRS on Forms 1099-B or 1099-S with the amounts reported on your return, and the subtotals are carried to Schedule D, where gain or loss is calculated in aggregate.
For digital assets, the IRS says taxpayers should use Form 8949 to calculate capital gain or loss and report it on Schedule D.
What to do:
If you use tax software, import transactions when possible but still review the results. If you had many crypto transactions, consider crypto tax software or a professional preparer.
Crypto can be confusing because a sale does not always look like a sale. Swapping one cryptocurrency for another may still be treated as disposing of one asset and acquiring another.
For example:
| Crypto Action | Tax Issue |
|---|---|
| Sell Bitcoin for dollars | Capital gain or loss |
| Trade Ethereum for Solana | Capital gain or loss on Ethereum |
| Use crypto to buy something | Capital gain or loss on crypto used |
| Receive crypto for work | Income, then future gain/loss when sold |
| Move crypto from one wallet you own to another | Usually not a taxable sale, but recordkeeping matters |
What to do:
Do not report only cash-out transactions. Review every exchange, swap, sale, spending event, reward, and income event.
If you sold stocks or crypto at a loss, that loss may help offset capital gains. If your capital losses are greater than your capital gains, you may be able to deduct a limited amount against ordinary income and carry forward unused losses to future years.
The IRS notes that losses from assets held for personal use, such as your home or car, are not deductible, but losses from transactions entered into for profit, such as stock sales, may be deductible.
What to do:
Report losses accurately. They may reduce taxable gains, but you need proper transaction records and cost basis.
A wash sale can happen when you sell a stock or security at a loss and buy the same or substantially identical security within a restricted period before or after the sale. If the wash sale rule applies, the loss may be disallowed or deferred.
Brokerage statements may flag wash sale adjustments, but tracking can get more complicated if you have multiple brokerage accounts.
Crypto has historically been treated differently from securities for wash sale purposes, but tax rules can change and crypto legislation is an active area. Do not rely on old assumptions without checking current rules.
What to do:
Review your 1099-B for wash sale adjustments. If you trade frequently, use tax software or a tax professional who understands investment reporting.
The federal tax return includes a digital asset question. If you had digital asset activity, answer carefully.
The IRS says taxpayers must answer the digital asset question and report all digital asset-related income when they file. Digital assets can include cryptocurrency, stablecoins, NFTs, and other assets that use cryptographic technology.
What to do:
Do not skip the question or answer “no” automatically. Review your activity first.
Smile Money Tip:
Crypto taxes are easiest when you track as you go. Waiting until filing season to rebuild wallet, exchange, and swap history can turn one return into a puzzle.
You may be able to file with tax software if you had a few basic stock sales and your brokerage provides complete cost basis. But tax help may be worth it if your activity is more complex.
Consider help if you had:
What to do:
If you do not understand how your gain or loss was calculated, do not file blindly. Get help before submitting.
Possibly. Taxes are triggered by the sale, not by whether you transfer the money to your bank.
Yes, you generally still report the sale. The loss may help offset gains or reduce taxable income within IRS limits.
Usually, yes. Exchanging one digital asset for another may create a gain or loss on the asset you gave up.
You are still responsible for accurate reporting. Use your purchase records, account history, or prior brokerage statements to reconstruct basis.
Usually, buying and selling investments inside a tax-advantaged retirement account does not create regular taxable capital gains. Distributions, rollovers, or conversions may have separate reporting.
Selling stocks or crypto does not have to make tax season scary, but it does require good records. The key is knowing what you sold, what you paid, what you received, and how long you held the asset.
Do not wait until tax time to piece everything together. Download your forms, review cost basis, track crypto activity carefully, and get help when the numbers do not make sense.
Next Steps:
Share the knowledge: