< Back to IRS

Sofia Morales

How do taxes work for retirement withdrawals from taxable brokerage accounts?

I'm getting ready to retire at 58 and trying to figure out the tax implications. We've built up a decent amount in various accounts, with about half of our assets in a taxable brokerage account. Fortunately, we live in a state with no income tax, so just dealing with federal. Here's what I'm wondering: If my wife and I pull $180k from our taxable account in the first year, and let's say 75% of that is long-term capital gains (so around $135k) and 25% is just our original principal that's already been taxed (about $45k), how do we calculate our tax bill? From what I understand, for married filing jointly, the first $89k of long-term capital gains is taxed at 0%, and anything above that is at 15%. So that would mean: $135k - $89k = $46k taxable at 15% $46k × 15% = $6.9k in federal taxes What I'm not clear on is whether the standard deduction applies to capital gains or only to regular income. Does anyone know if I can use the standard deduction to lower the capital gains that get taxed? Also, I'll need to buy health insurance through the ACA marketplace. What counts as my "income" for determining ACA subsidies? Is it the full $135k in capital gains? And are ACA premiums considered pre-tax? Thanks for any help figuring this out!

You're mostly on the right track with your calculations, but let me clear up a few things. The standard deduction does apply before you calculate your taxable income, including capital gains. For 2025, the MFJ standard deduction will be around $30,000 (it's adjusted annually for inflation). This means you'd subtract that from your total income FIRST. For capital gains tax brackets, the 0% bracket applies to your taxable income, not just your capital gains. So you'd add any other income (interest, dividends, etc.) to your capital gains, subtract your standard deduction, and THEN apply the capital gains rates. For ACA subsidies, they use Modified Adjusted Gross Income (MAGI), which includes your capital gains. The $135k in gains would count toward your MAGI, but not the $45k of principal return since that's not income. ACA premiums are generally NOT pre-tax unless you're self-employed (then you might get a partial deduction). Hope this helps clear things up!

0 coins

Wait, I thought the standard deduction only applies to ordinary income, not capital gains? Is that incorrect? And for ACA purposes, do I need to include the portion of my dividends that get automatically reinvested, or only what I actually withdraw?

0 coins

The standard deduction reduces your total taxable income before you calculate tax. It's not specifically tied to ordinary income or capital gains - it reduces both. First, you determine your Adjusted Gross Income (AGI), which includes all income (wages, capital gains, interest, etc.), then subtract the standard deduction to get your taxable income. That final taxable income figure is what determines your capital gains tax bracket. For ACA purposes, all dividends count toward your MAGI whether you reinvest them or not. The IRS considers dividends as income when they're distributed to you, regardless of what you choose to do with them afterward. Only withdrawals of principal from your taxable account don't count as income.

0 coins

I went through this exact situation last year and ended up really confused when trying to figure out my taxes. I tried using regular tax software but kept getting different results depending on how I entered things. I finally found this AI tool called taxr.ai (https://taxr.ai) that specializes in investment and retirement tax questions. It was super helpful because I could upload my brokerage statements and it would identify which portions were capital gains vs. return of principal, and then calculate the tax implications. It even helped me figure out which specific lots to sell to optimize my tax situation for ACA subsidies. The best part was being able to run different withdrawal scenarios to see how they'd affect both my taxes and healthcare costs.

0 coins

How accurate was it compared to what you actually ended up owing? I'm skeptical of AI tools for something as critical as retirement planning. Did it account for things like the Net Investment Income Tax?

0 coins

Does it handle quarterly estimated tax payments? I'm retiring next year and have no idea how to calculate those without a regular paycheck for withholding.

0 coins

It was actually spot-on when I compared it to my final tax bill - within about $50 of what I actually owed. I was surprised too because I had a complicated situation with some inherited stocks. For quarterly estimated taxes, it does calculate those for you and even generates the payment vouchers. It looks at your expected income pattern throughout the year and helps you avoid underpayment penalties. It was actually really useful because my income is way more irregular now than when I had a steady paycheck.

0 coins

Just wanted to update - I tried out taxr.ai after being skeptical at first. Gotta say I'm impressed! I uploaded my last 3 years of brokerage statements and it showed me that I've been selling investments in pretty much the worst possible tax order. By changing which specific shares I sell, it looks like I can save about $4,200 in taxes on the withdrawals I'm planning for next year. The tool also showed me that if I stay below a certain MAGI threshold, my ACA premiums drop dramatically. I had no idea the cliff was so steep! Definitely going to structure my withdrawals differently now. Anyone else retiring before Medicare age should really look at this carefully.

0 coins

If you're planning to manage your own retirement withdrawals, you'll probably need to talk to the IRS at some point. I tried calling them about capital gains questions for MONTHS and could never get through. The wait times were insane - I'd be on hold for 2+ hours and then get disconnected. I found this service called Claimyr (https://claimyr.com) that actually got me through to a real IRS agent in about 15 minutes. They have this smart system that navigates the IRS phone tree and waits on hold for you, then calls you when they have an agent on the line. You can see how it works here: https://youtu.be/_kiP6q8DX5c The agent I spoke with helped me understand how the capital gains taxation works with other income sources and confirmed that I was calculating my estimated tax payments correctly. Saved me a lot of stress and potential penalties.

0 coins

This sounds too good to be true. The IRS is notoriously impossible to reach. How does this service actually work? Do they have special access or something?

0 coins

I'm calling BS on this. Nobody gets through to the IRS that quickly. I bet they're just charging you to call the same number we all have access to.

0 coins

They don't have special access - they just have a system that keeps trying different paths through the IRS phone menu and stays on hold so you don't have to. It's basically like having someone dedicated to calling the IRS for you until they get through. It's definitely not BS. I was super skeptical too because I had already wasted so many hours trying to get through. But I had this specific question about how capital gains affected my Required Minimum Distributions that I couldn't find a clear answer to online, so I gave it a shot. The system called me back when it had an agent on the line, and I got my questions answered in one call. Totally worth it for the time I saved.

0 coins

I have to publicly eat my words about Claimyr. After posting that skeptical comment, I decided to try it myself because I had a complicated question about how my rental property depreciation interacts with capital gains in retirement. I was honestly shocked when I got a call back in about 20 minutes with an actual IRS tax specialist on the line. He walked me through the proper way to report my capital gains alongside passive income from my rental properties and cleared up my confusion about form 8949. For what it's worth, he also confirmed what someone mentioned earlier - the standard deduction DOES apply before calculating your capital gains tax brackets. This made a big difference in my planning because it effectively raises the 0% capital gains threshold by the standard deduction amount.

0 coins

I retired 3 years ago at 57 and can share some practical experience. One thing that wasn't mentioned yet is tax-loss harvesting in your taxable accounts. Even in retirement, you should be looking for opportunities to offset some of your gains. Last year I was able to harvest about $12k in losses from some underperforming international funds, which directly offset $12k of my gains when I sold some appreciated stocks. That saved me about $1,800 in taxes that year. Also, don't forget that your capital gains plus your other income determines your Medicare IRMAA surcharges once you hit 65. If you can plan your withdrawals to stay under the IRMAA thresholds, you can save thousands in Medicare premiums later.

0 coins

Thanks for sharing your experience! I hadn't thought about continuing tax-loss harvesting in retirement. Do you have any specific strategy for identifying which positions to harvest losses from? And how do you track the adjusted cost basis for all these transactions?

0 coins

I keep a simple spreadsheet where I record purchase dates and prices, then sort by performance when looking for harvesting opportunities. The best candidates are typically funds or stocks that have underperformed compared to similar alternatives, so I can sell the losers and buy something similar but not identical (to avoid wash sale rules). For cost basis tracking, I mostly rely on my brokerage's reporting tools. Most major brokers have pretty good systems now that track tax lots accurately. I double-check their numbers when doing my annual tax planning in November/December. The key is to make harvesting decisions before year-end when you have a better picture of your total gains for the year.

0 coins

Has anyone here used Roth conversions as part of their strategy? I'm 56 and considering converting some traditional IRA money to Roth during years when my income is lower. Seems like it could help manage the tax brackets and ACA subsidies long-term.

0 coins

I've been doing Roth conversions for the past 4 years. Absolutely worth it if you can afford to pay the taxes now. I convert just enough each year to "fill up" the 12% tax bracket. The math works out better than leaving it all in traditional accounts and paying RMDs later at potentially higher rates. Just watch out for the impact on your ACA subsidies during the conversion years - the conversion amount counts as income for subsidy calculations. I usually offset this by harvesting some capital losses in my taxable accounts.

0 coins

Great discussion here! I'm in a similar situation planning for early retirement and wanted to add a few points that might help others: One thing to be really careful about is the Net Investment Income Tax (NIIT) - if your modified adjusted gross income exceeds $250k for married filing jointly, you'll pay an additional 3.8% tax on investment income including capital gains. This can push your effective capital gains rate from 15% to 18.8%. Also, regarding ACA subsidies, there are some "cliff effects" where small changes in income can dramatically impact your premiums. The subsidy calculations use very specific income thresholds, so it's worth modeling different withdrawal scenarios. Sometimes it's better to realize slightly less income to stay under a threshold, even if it means paying 0% capital gains tax on a smaller amount. For those managing their own withdrawals, consider the "bucket strategy" - keep 1-2 years of expenses in cash/CDs, 3-7 years in bonds, and the rest in stocks. This lets you avoid selling stocks during market downturns and gives you more flexibility in managing your annual tax situation. The tax planning in early retirement is definitely complex, but taking the time to understand these interactions can save thousands per year!

0 coins

This is incredibly helpful, especially the point about the NIIT! I hadn't considered how that 3.8% additional tax could impact our planning. One follow-up question - does the bucket strategy you mentioned help with sequence of returns risk too? I'm worried about retiring right before a market crash and having to sell stocks at a loss to cover our expenses. Also, when you say "1-2 years in cash/CDs" - is that 1-2 years of total expenses, or just the portion we'd be withdrawing from taxable accounts?

0 coins

IRS AI

Expert Assistant
Secure

Powered by Claimyr AI

T
I
+
20,087 users helped today