It is important to know and understand who can be claimed as a dependent, as well as who can generate a personal exemption for your taxes. It’s not as simple as you might think, especially in complex family situations, such as when a child lives separate from one of his parents, or when there are more than two generations living in the same home.

And best of all, you only really need to know this for the 2017 tax year (at least the exemption part), since exemptions are eliminated for your 2018 tax return.

Recently the IRS published IRS Tax Tip 2018-20, which outlines several reminders about exemptions and dependents for 2017 returns. The text of the Tip is reproduced below:

Five Things to Remember About Exemptions and Dependents for Tax Year 2017

Most taxpayers can claim one personal exemption for themselves and, if married, one for their spouse. This helps reduce their taxable income on their 2017 tax return. They may also be able to claim an exemption for each of their dependents. Each exemption normally allows them to deduct $4,050 on their 2017 tax return. While each is worth the same amount, different rules apply to each type.

Here are five key points for taxpayers to keep in mind on exemptions and dependents when filing their 2017 tax return:

  • Claiming Personal Exemptions. On a joint return, taxpayers can claim one exemption for themselves and one for their spouse. If a married taxpayer files a separate return, they can only claim an exemption for their spouse if their spouse meets all of these requirements. The spouse:

    • Had no gross income.
    • Is not filing a tax return.
    • Was not the dependent of another taxpayer.
  • Claiming Exemptions for Dependents. A dependent is either a child or a relative who meets a set of tests. Taxpayers can normally claim an exemption for their dependents. Taxpayers should remember to list a Social Security number for each dependent on their tax return.
  • Dependents Cannot Claim Exemption. If a taxpayer claims an exemption for their dependent, the dependent cannot claim a personal exemption on their own tax return. This is true even if the taxpayer does not claim the dependent’s exemption on their tax return.
  • Dependents May Have to File a Tax Return. This depends on certain factors like total income, whether they are married, and if they owe certain taxes.
  • Exemption Phase-Out. Taxpayers earning above certain amounts will lose part or all the $4,050 exemption. These amounts differ based on the taxpayer’s filing status.