can i deduct box 12 d?
Box 12, Code D is not deducted on your tax return. Your Box 1 of your W2 should already reflect the deduction for your 401(k) contributions. The pre-tax benefit is built-in to the W2 already.