Retirement tax questions

If the "retirement plan" box is checkmarked on your W-2, that's what counts.
BUT

if you are in the permitted AGI range,

you may still be able to deduct it.

 

Otherwise, it goes on Form 8606 or you reverse the contribution before Tax Day.