After you file

for federal purposes, alimony is neither taxable nor deductible if the divorce or separation agreement was executed after 2018 or if a pre-2018 agreement is modified after that date to expressly provide that the post-2018 rules are to apply