Where and when you pay capital gains tax
You pay capital gains tax to the Internal Revenue Service (IRS) as part of your annual income tax return, not as a separate payment. The tax is calculated on the profit you made when you sold an asset — a stock, property, cryptocurrency, or other investment — and you report it on your tax return filed by April 15 each year (or October 15 if you file an extension).
You do not send money directly to the IRS for capital gains alone. Instead, you report the sale on your return, the IRS calculates what you owe including capital gains tax, and you pay the total amount due through one of several methods. If your employer withheld taxes from your paychecks during the year, those payments are credited against what you owe.
The timing matters: if you sold an asset in 2024, you report that sale on the tax return you file in early 2025. The payment is due by April 15, 2025, unless you have already paid enough through withholding or quarterly estimated tax payments.
Key Takeaways
- Capital gains tax is reported on your annual tax return (Form 1040) using Schedule D, not paid separately to the IRS.
- You can pay through IRS Direct Pay (free, from your bank account), by credit or debit card (with a fee), by mail check, or through your tax software.
- If you expect to owe more than $1,000 in capital gains tax, you may need to make quarterly estimated tax payments during the year to avoid penalties.
- Long-term capital gains (assets held over one year) are taxed at lower rates than short-term gains and are reported on a different part of Schedule D.
- If you sold an asset at a loss, you can use that loss to reduce your capital gains tax or offset up to $3,000 of other income in the same year.
Reporting the sale on your tax return
Before you can pay capital gains tax, you must report each sale on Schedule D (Form 1040), which is the IRS form for reporting investment gains and losses. You list the asset sold, the date you bought it, the date you sold it, what you paid for it, what you sold it for, and your profit or loss.
The IRS also receives a copy of this information from your broker or the person who bought the asset from you. If you sold stock, your brokerage firm sends you a Form 1099-B showing the sale. If you sold real estate, the title company or real estate agent sends a Form 1099-S. These forms are matched against your tax return, so the numbers must match.
Schedule D separates long-term gains (assets held more than one year) from short-term gains (assets held one year or less). Long-term gains are taxed at 0%, 15%, or 20% depending on your income. Short-term gains are taxed at your ordinary income tax rate, which can be as high as 37%. This distinction is why the holding period matters.
Payment methods and how to use them
IRS Direct Pay is free and the fastest method. You go to irs.gov/payments, enter your Social Security number or tax ID, the amount owed, and your bank account information. The IRS withdraws the money directly from your checking or savings account on the date you choose. You can schedule the payment up to 120 days in advance. This method works only if you are paying from a U.S. bank account.
Credit or debit card payment is available through approved payment processors (currently Worldpay, Paymetrics, and Global Payments). You go to irs.gov/payments, select the card option, and enter your card details. The processor charges a convenience fee of roughly 1.87% to 2.35% of the amount paid — so paying $5,000 costs you $94 to $118 extra. The fee is not deductible.
Payment by check or money order is still an option. You write a check payable to "United States Treasury," write your Social Security number and tax year on the check, and mail it with your tax return to the IRS address for your state (listed in the Form 1040 instructions). Payment by check takes longer to process and offers no proof of payment until the IRS cashes it.
Through your tax software — TurboTax, H&R Block, TaxAct, and others — you can pay directly when you file. The software routes your payment through an approved processor and charges a fee. This is convenient if you are already using the software, but the fee is the same as paying by card directly.
Estimated tax payments if you owe a large amount
If you sold a major asset and expect to owe more than $1,000 in capital gains tax for the year, the IRS requires you to make quarterly estimated tax payments during the year. These are payments made in four installments: April 15, June 15, September 15, and January 15 of the following year. If you do not make these payments and you owe a large amount at tax time, you face a penalty even if you pay in full by April 15.
To calculate your estimated payment, you estimate your total tax for the year (including capital gains, ordinary income, and any other tax), subtract any tax already withheld from paychecks, and divide the remainder by four. You can pay each quarter through IRS Direct Pay, by card, or by check using Form 1040-ES.
If you did not make quarterly payments and now owe a penalty, you can request a waiver if this is your first time owing or if you had good reason not to pay. The IRS Form 2210 is used to calculate the penalty, and you can request relief by filing Form 2210 with your tax return or by calling the IRS at 1-800-829-1040.
What happens if you cannot pay by April 15
If you cannot pay the full amount by the deadline, you can still file your return on time and pay later. File your return by April 15 (or request an extension to October 15), and pay whatever you can. The IRS will charge you interest on the unpaid balance starting May 1 at a rate that changes quarterly — currently around 8% per year. You also face a failure-to-pay penalty of 0.5% per month on the unpaid amount.
You can set up a payment plan (called an installment agreement) with the IRS to pay over time. Short-term plans (120 days or less) have no setup fee. Long-term plans (more than 120 days) charge a setup fee of $31 to $225 depending on how you pay. You can request a plan through IRS Direct Pay, by phone at 1-800-829-1040, or by filing Form 9465 with your tax return.
If you are facing financial hardship, you can request a temporary delay in payment or an offer in compromise (paying less than you owe). These require documentation of your income and expenses. Start by calling the IRS at 1-800-829-1040 or visiting irs.gov/payments.
Keeping records of your payment
Save your payment confirmation. If you pay through IRS Direct Pay, you receive a confirmation number immediately. If you pay by card, the processor gives you a receipt. If you pay by check, keep a copy of the check and the envelope showing the postmark date. These records prove you paid on time if the IRS ever questions whether your payment arrived.
The IRS can take 2 to 4 weeks to process a payment after you make it. During that time, your account may still show a balance due. This is normal. Once the payment posts, your account updates. If you are concerned, you can check the status of your payment on irs.gov/payments or by calling 1-800-829-1040.
Frequently Asked Questions
Do I have to pay capital gains tax if I sold an asset at a loss?
No. If you sold an asset for less than you paid for it, you have a capital loss, not a gain. You can use that loss to reduce any capital gains you had that year. If your losses exceed your gains, you can deduct up to $3,000 of the loss against other income (like wages or interest). Any loss beyond $3,000 carries forward to future years.
What if I sold cryptocurrency or an NFT?
Cryptocurrency and NFTs are treated as capital assets by the IRS. Each sale is a taxable event. You report the sale on Schedule D the same way you would report stock, using the fair market value in U.S. dollars on the date of sale. If your exchange (Coinbase, Kraken, etc.) sends you a Form 1099-B or 1099-K, the IRS has a copy, so your numbers must match.
Can I deduct the cost of a tax professional or software from my capital gains tax?
Tax preparation fees are no longer deductible for most people. Prior to 2018, you could deduct them as a miscellaneous itemized deduction, but that deduction was suspended through 2025. Check current tax law or speak with a tax professional about whether this changes in future years.
What if I inherited an asset and then sold it?
Inherited assets receive a "step-up in basis," meaning your cost basis is the fair market value on the date of the person's death, not what they originally paid. If you inherited stock worth $50,000 and sold it for $52,000 a year later, your capital gain is only $2,000, not the full $52,000. This can significantly reduce your capital gains tax.
Do I owe capital gains tax if I sold my home?
You may not. If you owned and lived in the home as your primary residence for at least two of the last five years, you can exclude up to $250,000 of gain ($500,000 if married filing jointly) from tax. You report the sale on Schedule D but claim the exclusion, which reduces or eliminates your tax. This applies only to primary residences, not investment properties or vacation homes.