If you are claiming a refund for a deceased person that is not your spouse, you will need to include form 1310. The IRS requires the form to show who is claiming the refund on behalf of the deceased person.
If you are claiming a refund for your deceased spouse, form 1310 is not required. Instead, go to the Basic Information section of the return and indicate the date of death under Additional Personal Information.
If both the taxpayer and the spouse passed away during the tax year, the return must be printed and mailed with a second 1310 form attached. The IRS allows only one form 1310 to be e-filed with each return.