Yes, you should be able to write off mortgage interest on a cash-out refinance as long as you use the money to buy, build, or improve a home. But you should always work with a qualified tax preparer to make sure.