Should I sell AGTHX with gains to switch to index fund or keep holding?

Been sitting on AGTHX in a taxable brokerage account for about 9 years. I'm up pretty significantly and have been reading a lot about how actively managed funds underperform index funds over the long run. My plan is to dump it and move into a total market index fund. But every time I get close to pulling the trigger I think about the tax hit. My 1099-B from last year already shows this would be long-term since I've held over a year, so I know it goes on Schedule D as long-term. What I can't figure out is whether the tax cost of switching actually makes sense, or if I should just hold AGTHX forever and let it ride. Has anyone actually done this math and switched? Did the tax hit feel worth it in the end?

33 comments

The tax hit is real but the math usually favors switching if the index fund's lower expense ratio compounds over enough years. The way to frame it: how many years does the index fund need to outperform by its expense advantage just to recover the capital gains tax you pay now? With a 9-year hold that's long-term gain, so you're looking at the preferential long-term capital gains rate rather than ordinary income. What matters for the break-even calc is your total gain, your tax bracket, and the annual fee difference between the two funds.

Raj G.

Author

That break-even framing is exactly what I needed. I've been thinking about it in terms of "how much tax do I owe" not "how many years to recover it." Makes the question much cleaner.

Worth noting that AGTHX also distributes capital gains every year, so you're already paying some tax cost just by holding it in a taxable account. Those annual distributions show up on your 1099-DIV. An index fund in the same slot would distribute almost nothing. So the "hold and avoid taxes" logic is a bit of an illusion if you're in a taxable account.

Raj G.

Author

Oh I didn't think about the ongoing distribution drag. My 1099-DIV from AGTHX this year was actually pretty chunky. That changes the hold calculus a lot.

Active funds in taxable accounts are genuinely tax-inefficient. The annual cap gain distributions alone can eat into your after-tax return even without you doing anything. That's part of why the index fund switch often pencils out faster than people expect.

I did exactly this switch two years ago, different fund but same situation. I uploaded my brokerage statement and 1099-B to taxr.ai and had Taxr pull out my total long-term gain, estimate what it would add to my Schedule D, and lay out which tax bracket that gain might push me into. It drafted a simple worksheet so I could see the actual after-tax cost before I decided. Ended up switching. On the tax side: since you've held over a year, your gain goes in Part II of Form 8949 with box D, E, or F depending on whether your broker reported basis to the IRS. Then it flows to Schedule D line 8b, 9, or 10 matching that box.

Raj G.

Author

Really helpful to hear someone actually did it. The Form 8949 Part II piece I think I have covered since my broker is reporting basis, so it should be box D for me. The worksheet idea is what I need before I commit.

The bracket question is huge. If the gain pushes you into a higher long-term rate tier, the break-even period stretches out considerably. Worth running the numbers with and without the gain to see where you land.

One thing people skip: check whether you have any capital loss carryforwards from prior years. If you do, those offset the AGTHX gain dollar for dollar before any tax is owed. Pull up your prior Schedule D or the carryover worksheet. A big enough carryforward could make the switch nearly free from a tax standpoint.

Raj G.

Author

I do have a small carryforward from 2022. Didn't even think to factor that in. Going to dig up that Schedule D now.

Holding AGTHX in a taxable account "forever" isn't really tax-free either. When you eventually sell you owe the same tax, just later. The exception would be if you plan to hold until death and your heirs get a stepped-up basis, but that's a pretty long time horizon to anchor a fund decision to.

The step-up at death angle is real but yeah, planning your investment around that is a stretch for most people. Easier to just take the gain now while rates may be favorable and move on.

Raj G.

Author

The step-up idea had honestly crossed my mind but I'm mid-career so that felt a little grim as a strategy.

If you're in a lower income year, that's the time to do the switch. Long-term capital gains rates depend on your taxable income for the year. A year where your income is lower could mean a meaningfully lower rate on that AGTHX gain. If you have any flexibility in timing, that's worth looking at.

Are you holding AGTHX in any tax-advantaged accounts too? If you have shares in a 401k or IRA you could switch those to an index fund with zero tax cost right now. That wouldn't help the taxable account question directly but at least you'd stop paying active management fees on part of your position immediately.

Raj G.

Author

Yes actually, I do have some in my IRA. Hadn't thought about moving that portion first since there's no tax consequence there. Going to do that regardless now.

The form mechanics: your 9-year holding period makes this long-term no question. For securities traded on an established market the holding period starts the day after the trade date you bought and ends on the trade date you sell. Report it on Form 8949 Part II. If your broker reported the basis to the IRS, check box D and enter the proceeds in column (d) and basis in column (e). It flows to Schedule D line 8b, or if there are no adjustments needed you can skip Form 8949 and report it directly on line 8a.

Went through a similar fund consolidation last year and the piece that tripped me up was figuring out my actual cost basis across multiple purchase lots. I'd been reinvesting dividends for years so I had dozens of lots at different prices. I gave Taxr the transaction history export from my brokerage and it organized every lot by acquisition date and cost, flagged which ones were long-term versus short-term, and showed me what my blended basis actually was. Made filling out Form 8949 a lot more manageable. Each lot technically needs its own line on 8949 unless you can aggregate using the average cost method your broker allows.

Raj G.

Author

The multiple lots issue is exactly what I'm dreading. I've had dividend reinvestment on the whole time so I definitely have years of small lots stacked up. Good to know there might be a way to organize that before I start entering lines.

Average cost method is what most mutual fund brokers default to, so check what your brokerage used. That can collapse all the lots into one line on Form 8949, which is way simpler.

Don't forget the state tax layer. Depending on where you live, your state may tax capital gains as ordinary income with no preferential rate. That changes the break-even calculation meaningfully. A switch that looks efficient at the federal level might be more expensive total once state tax is added.

This is the thing that made me pause on a similar move. My state taxes gains at ordinary income rates so the total tax cost was higher than I expected from just looking at federal numbers.

For what it's worth I had Taxr go through my Schedule D draft after I made a similar switch and it caught that I'd entered one lot's holding period incorrectly, which would have made a long-term gain look short-term on Form 8949. It compared my transaction dates against the holding period rule and flagged the line before I filed. The rule itself is straightforward — count from the day after your purchase trade date to your sale trade date — but with a lot of reinvested lots it's easy to get one wrong.

Raj G.

Author

That's a genuinely scary thing to get wrong since short-term rates can be a lot higher. Good to know that's a real risk with many lots.

Errors like that are common when people have years of DRIP lots. Each reinvested dividend starts its own holding period clock, so a purchase from 11 months ago is still short-term even if your first shares are 9 years old.

The other thing worth considering: if you plan to donate any appreciated shares to charity or a donor-advised fund, you can give the AGTHX shares directly instead of selling. You'd avoid all the capital gains tax and still get the full deduction for the fair market value. That won't work for the whole position but it could reduce how much taxable gain you trigger.

Raj G.

Author

I do give to charity annually. Never thought about donating appreciated shares directly. That might let me reduce the taxable portion meaningfully while still making the switch on the rest.

To correct something: an earlier comment implied the switch is straightforward if you're in a lower bracket. That's right at the federal level, but make sure you're also checking whether the gain affects the net investment income tax. That's a separate layer that kicks in above certain modified AGI thresholds — the Form 8960 instructions have the details. It's not a capital gains rate but it adds to the total tax cost of the sale.

The charitable giving angle is worth taking seriously. If you give shares directly, the deduction is based on FMV and you never recognize the gain. See Publication 526 at irs.gov for how contributed property is treated. The donor-advised fund route is the easiest operationally since you can contribute a lump of shares and then recommend grants from the fund over time.

Raj G.

Author

Donor-advised fund makes a lot of sense for my situation. I can contribute the most appreciated lots, avoid that gain entirely, and then sell the rest with a smaller tax bill.

Pulling together what the thread has covered: (1) confirm your holding period lot by lot — each DRIP purchase is its own lot with its own clock; (2) check for capital loss carryforwards that offset the gain; (3) consider donating the highest-gain lots; (4) look at your state tax rate not just federal; (5) if you switch, report each lot on Form 8949 Part II with box D if basis is reported to the IRS, columns (d) and (e) filled, and no adjustment in (g) unless something is off. Schedule D line 8b gets the total. That's the full picture.

Raj G.

Author

This is exactly the checklist I needed. Going to run through each of these before I make the call. Thanks everyone — this thread was genuinely useful.

One more practical note: some brokers will let you do a fund exchange and they'll generate a consolidated 1099-B at year end that lists every lot, the proceeds, the cost basis, and whether it's short or long-term. Makes the Form 8949 work much easier since you're just transcribing what's on the 1099-B rather than reconstructing anything. Ask your brokerage what their reporting looks like for a full liquidation before you execute.