My mutual fund has now made up its losses during the recession and is starting to pay out capital gains. I have no control over when the overall portfolio realizes its gains but I can realize the unrealized gains quicker. I have heard something about at least long term capital gains being tax-free if you are low income; 15% bracket or less about $47K. The portfolio turnover rate is low so there are quite a few unrealized gains. I was thinking that I should sell some or all of the shares to realize the unrealized gains and pay the tax when the rate is 0% and then buy them right back to increase my cost basis to reduce my future unrealized gains when I sell at a later time.
Is this still the case? I will not sell all of them if doing so would put me just over the $47K threshold. If I did would there be severe penalties? I know the government has a habit of discouraging people from just exceeding certain arbitrary amounts. I must also allow some room for a very bull market during the sell day since the stock can not be sold intraday. If I didn't I may suddenly have to pay tax due to crossing this threshold. Are the short term gains also tax free? If this transaction momentarily raises my income during the no own period and my cash flow exceeds certain other thresholds will this affect other things that could change my taxes Examples would be the $10,150 filing threshold and the $25K tax free SS threshold?

