You may contribute up to $20,500 to a 401(k) in 2022 and $22,500 in 2023, unless you are 50 or older, in which case you may make an extra catch-up contribution of up to $6,500 in 2022 and $7,500 in 2023. These contribution limits can change yearly.