There are federal income tax rules that apply to civil service retirement benefits received by retired federal employees (including those disabled) or their survivors. The Thrift Savings Plan (TSP) provides federal employees with the same savings and tax benefits that many private employers offer their employees. This plan is similar to private sector 401(k) plans.
Per IRS Publication 721 Tax Guide to U.S. Civil Service Retirement Benefits, page 2: