A Roth 401(k) allows you to make after-tax contributions and withdraw funds tax-free in retirement, while a traditional 401(k) allows you to make pre-tax contributions but you'll pay taxes on your withdrawals in retirement.