Refinancing your home does not directly affect your capital gains tax. Capital gains tax applies when you sell an asset for more than you bought, like property or stocks. Refinancing is simply changing the terms of your loan, not selling the property. However, taking cash out during refinancing and using it to improve your home may reduce the potential capital gains when you sell your home.