Jlowe100
Returning Member

Claiming someone who was incarcerated part of the year

I have a question. An adult person who lived with me off and on last year, who didn't work, spent part of the time in county jails on two different occasions last year. I am pretty certain he lived with me at least 6 months.  He is in an actual prison now. He told me i could claim him for last year if I'm able to. How does that work when it comes to people who were in jail part of the year, being claimed as a dependent? He spent a couple months in two different county jails, and the rest of the time at my house. Do they add up the amount of time he spent in jail compared to how long he wasn't in jail? Or does the IRS just see that he is incarcerated and kick my return back? Or are they able to see the actual dates? Thanks