You're not doing anything wrong. An inherited house is "personal property", unless and until you convert it to a rental property or a business purpose. The rules for personal property, whether it be a house, a car, furniture, etc., is that if you sell it for a gain, you must pay tax, but if you sell it for a loss you cannot deduct the loss. I know, it doesn't sound fair! But that's the tax code.