Private mortgage insurance (PMI) is a cost that you can deduct when filing your federal tax returns.