If you are filing your taxes for 2018, 2019, 2020, or 2021 and you meet the eligibility requirements, you may deduct your PMI on your federal taxes.