 Here's how it works. When you sell your house, a half million dollars in profit is tax-free if you sell as a married couple. If you're single, a quarter million dollars in profit is tax-free. So if you and your spouse live in a place for decades and you sell it and pocket a half million dollars in profit, no taxes, not a dime.