The Internal Revenue Service (IRS) limit for annual contributions is the same for a TSP and a 401(k). Federal employees can invest up to $20,500 in their TSP in 2022. Those ages 50 and older can contribute an additional $6,500.