Hal_AlAnswer
Level 15
Apr 23, 2021 1:06 PM UTC
Simple answer: You have to pay the IL state tax for the entire year.
It goes by where you lived when you received the income (realized the capital gain). So, if you sold the investment in January, the gain is NH income. If you sold it after your move, it is IL income.