If your adjusted tax basis on your house is less than the sale price of the house, you may incur a capital gains tax. For example, if you bought your house for $200,000 and it sells for $300,000, you have a $100,000 capital gain, minus the cost of any improvements you added to the property. This gain will be taxed at the capital gains tax rate, subject to your one-time exclusion ($250,000 for one person, $500,000 for a married couple). Check with a tax expert to see whether you’ll face a capital gains issue at the sale or foreclosure of your house. If you will, consult a bankruptcy lawyer for advice on how filing for bankruptcy might help.