Deductions & credits

these rules can get quite complete, so you might just use this IRS tool and play the role of each adult in this situation... it'll tell you who can and can't claim the child..  it's reflect all the great wisdom above

 

https://www.irs.gov/help/ita/whom-may-i-claim-as-a-dependent