When to sell and rebuy to harvest long-term capital gains in a low-income year
Trying to figure out the right timing here. My income is unusually low this year — took time off between jobs — and I've been told this is a good time to harvest long-term capital gains while they might be taxed at 0%. I have a few ETF positions I've held over a year with significant unrealized gains. I know there's a wash sale rule but I've seen conflicting things about whether it even applies to gains. I want to sell, potentially lock in the gain at a low rate, then immediately rebuy to step up my cost basis. My questions: does the timing of the sale within the year matter — like does it need to happen before a certain date? And is there anything about the rebuy that could cause a problem I'm not thinking of? I've tried reading Publication 550 but it gets complicated fast.