When a tax bill is larger than your savings, money in a brokerage or retirement account can look like the obvious solution. Sometimes it is reasonable. But each source has its own tax consequences, and a withdrawal that creates new taxable income can leave you owing more next year. This article walks through the trade-offs.

Option 1: Selling investments in a taxable account
Selling stocks, funds or other investments held in a regular (non-retirement) account is a taxable event:
- If you sell for more than your cost basis, the gain is taxable. Assets held more than one year generally receive long-term capital gain treatment, usually at lower rates than ordinary income; shorter holdings are taxed as ordinary income.
- If you sell at a loss, the loss can offset gains and, within limits, some ordinary income.
- Your broker reports sales on Form 1099-B, and you report them on Form 8949 and Schedule D.
Selling positions with little or no gain, or with losses, can raise cash with less tax cost. Be aware of the wash-sale rule if you plan to buy the same investment back soon after selling at a loss.
Option 2: Withdrawing from a retirement account
Withdrawals from traditional IRAs, 401(k)s and similar plans are generally taxed as ordinary income in the year you take them. If you are younger than the age set by law for penalty-free withdrawals, an additional tax on early distributions usually applies unless an exception fits your situation. IRS Publication 590-B lists the exceptions.
Plans often withhold some tax from a distribution, but the amount withheld may not match your actual tax. A large withdrawal can also push you into a higher bracket or reduce credits that depend on income. The result can be a new tax bill next year created by paying this year's.
Roth IRA contributions (not earnings) can generally be withdrawn without tax, but they also lose their future tax-free growth.
Option 3: An IRS payment plan
Many individuals can set up a short-term extension to pay or a longer installment agreement online. Interest and some penalties continue while the balance is unpaid, and there may be a setup fee for longer plans, but you keep your investments working and avoid creating new taxable income. For many people the total cost of a plan is lower than the taxes and lost growth from an early retirement withdrawal. See our guide to IRS payment plans.
Comparing the options
- Taxable investments with small gains: often the lowest-cost source if you have them.
- Payment plan: spreads cost over time with interest; no new taxable income.
- Retirement withdrawal: often the most expensive once income tax, any additional tax and lost growth are included, especially before retirement age.
- Credit cards or personal loans: add fees and interest and affect your credit file.
Other points to consider
- A 401(k) loan, if your plan allows it, is not a taxable distribution when repaid on schedule, but leaving the job can make it due quickly.
- Selling to pay tax in one year can affect next year's estimated payments; plan for them.
- Keep the trade confirmations and 1099 forms; you will need them when you file.
This article is general information, not investment or tax advice. Rules on distributions and exceptions are detailed; confirm your situation with IRS publications or a qualified professional before withdrawing from a retirement account.
Whatever you decide, keep a record of how you paid and of any forms you receive, and set aside money for any tax the sale or withdrawal itself creates.
Related articles
- IRS Payment Plans: How to Handle a Tax Bill You Cannot Pay in Full
- Cryptocurrency Tax Guide 2026: What the IRS Expects
- 10 Proven Tax Saving Strategies for 2026
Informational only. TaxLoan.org is not a lender, tax preparer or debt-relief company, and is not affiliated with or endorsed by the IRS. Figures quoted are 2025 tax-year values. This article is not tax, legal or financial advice; check IRS.gov or a qualified professional for your situation. See our disclaimer.