Usually the amount you enter for your Prior Year AGI is the adjusted gross income (AGI) from your 2024 return. However, you may need to enter a zero if one of these exceptions applies to you:
Additionally, if the IRS wasn't able to process your 2024 return correctly (if you filed late or had missing or incorrect information, for example), you may need to enter a zero for your prior year AGI instead.