The Thrift Savings Plan is the most powerful retirement savings vehicle available to federal employees, and the option to borrow against it or withdraw from it before retirement can be a lifeline — or a financial catastrophe that quietly costs six figures of future retirement income. The TSP loan and the TSP hardship withdrawal are governed by different sections of the Internal Revenue Code (IRC § 72(p) for loans and § 1.401(k)-1(d) for hardship withdrawals) and the Federal Retirement Thrift Investment Board's regulations at 5 CFR Part 1655. Each option has distinct eligibility rules, tax consequences, and long-term costs that compound silently against the borrower. Federal employees facing a cash crunch should run the numbers on both options against alternatives — including TSP in-service age-59½ withdrawals, Roth IRA principal withdrawals, and home equity lines — before tapping the account that ultimately determines whether retirement is comfortable or constrained. The math below shows why this decision deserves more attention than it usually gets.
TSP Loan Mechanics: Limits, Terms, and Fees
A TSP loan allows an active federal employee to borrow from their own TSP account, with the principal and interest repaid to the account through payroll deduction. The maximum loan amount is the lesser of $50,000 or 50% of the vested account balance, with a minimum loan amount of $1,000. The $50,000 cap is reduced by the highest outstanding loan balance in the prior 12 months, a rule designed to prevent serial borrowing. A TSP participant may have one general-purpose loan and one residential loan outstanding at the same time, and a participant who has paid off a prior loan can take a new loan after a 60-day cooling-off period. The loan carries a $50 processing fee, deducted from the loan proceeds, and the interest rate is the G Fund rate at the time the loan is processed plus 1 percentage point — a rate that, as of mid-2025 with the G Fund at approximately 4.5%, produces a loan rate around 5.5%.
The interest paid on the loan goes back into the borrower's own TSP account, allocated proportionally across the borrower's existing fund allocations, so the borrower is effectively paying interest to themselves. This feature makes TSP loans superficially attractive — the cost appears to be zero — but the math is more complicated. The interest is paid with after-tax dollars that will be taxed again upon withdrawal in retirement, creating a double-taxation drag. More importantly, the money borrowed is out of the market for the duration of the loan, missing the compounding returns the TSP's C, S, and I funds have historically delivered (approximately 10 to 11% annualized over 30-year periods). Two types of TSP loans exist: the general-purpose loan, with a repayment term of 1 to 5 years and no documentation of use required, and the residential loan, with a repayment term of 1 to 15 years and documentation required showing the funds are being used to purchase or construct a primary residence.
Hardship Withdrawal Rules and Eligibility
The TSP hardship withdrawal, formally the "financial hardship in-service withdrawal," is governed by 5 CFR § 1655.32 and IRC § 1.401(k)-1(d). It is available only for one of four specified financial needs: recurring negative monthly cash flow, medical expenses (including insurance premiums) not yet incurred, legal fees for separation or divorce, or casualty loss to the participant's principal residence. The participant must have experienced the hardship (medical expenses and legal fees) or be projected to experience it (negative cash flow and casualty loss), and the withdrawal amount cannot exceed the amount of the need. Unlike the TSP loan, the hardship withdrawal is not repaid — the money is permanently out of the account. Hardship withdrawals are available only from the participant's own contributions and earnings, not from agency contributions or earnings on agency contributions, and only the traditional (pre-tax) balance is eligible; Roth balances cannot be withdrawn as a hardship withdrawal.
The TSP hardship withdrawal rules require that the participant have exhausted all other reasonably available financial resources, including the Thrift Savings Plan loan and the in-service age-59½ withdrawal if applicable. The participant must certify under penalty of perjury that the need exists, and the TSP may require documentation such as medical bills, a court order, or a monthly budget. A participant who takes a hardship withdrawal is suspended from making contributions to the TSP for six months, which means losing the 5% agency matching contribution for that period — a loss that can easily exceed the value of the withdrawal itself. A GS-13 contributing 5% with a 5% match loses approximately $1,200 per month in matching contributions during the suspension, which is $7,200 of lost matching over the six-month period, plus the foregone growth on those contributions.
Tax Traps: The Separation-from-Service Rule
The most dangerous feature of the TSP loan is the separation-from-service rule, which treats any unpaid loan balance as a taxable distribution if the borrower leaves federal employment for any reason. The outstanding balance is added to the borrower's taxable income for the year of separation, generating a federal income tax liability at the borrower's marginal rate (typically 22% or 24% for mid-career federal employees) and a 10% early-withdrawal penalty if the borrower is under age 59½. A $30,000 outstanding loan balance at separation could therefore generate a federal tax bill of $9,000 to $11,000 (22% to 24% income tax plus 10% penalty) plus state income tax, due with the next tax return.
The Tax Cuts and Jobs Act of 2017 modified this rule slightly, giving separated employees until the tax return filing deadline (including extensions, typically October 15 of the year after separation) to roll the outstanding balance into an IRA or another qualified plan and avoid the taxable distribution. This rollover window is helpful but requires the separated employee to come up with the cash from outside the TSP to fund the rollover — often not feasible for employees who separated due to financial distress. The TSP loan cannot be repaid in a lump sum after separation; the only way to avoid the taxable distribution is to roll the balance into another qualified plan, and few private-sector 401(k) plans accept incoming loan rollovers. Federal employees considering separation — whether voluntary retirement, involuntary separation, or a move to the private sector — should fully repay any outstanding TSP loan before the separation date to avoid this trap.
The Hidden Cost: Lost Compounding Over Decades
The real cost of a TSP loan or hardship withdrawal is the lost compounding on the withdrawn amount over the remaining years until retirement. A $20,000 loan taken at age 35 and repaid over 5 years costs the borrower not just the $50 fee and the after-tax interest — it costs the foregone return on the $20,000 during the loan period and, more importantly, the compounding of that foregone return over the 25 to 30 years until retirement. At the C Fund's historical 10% annualized return, $20,000 taken out for 5 years and never replaced would grow to approximately $135,000 by age 65 — a $115,000 loss on a $20,000 loan. Even if the loan is repaid on schedule, the $20,000 is out of the market for 5 years, missing approximately $12,000 of growth at 10%, which itself compounds to approximately $83,000 by age 65.
The numbers are even more stark for a hardship withdrawal, where the money is permanently out of the account. A $20,000 hardship withdrawal at age 35 costs approximately $135,000 of retirement wealth at age 65 — about $7 of lost retirement income for every $1 withdrawn, before considering the income tax and penalty on the withdrawal itself. For participants age 50 or older, who have fewer years to recover, the proportional loss is smaller in absolute dollars but more significant as a share of remaining retirement accumulation. A simple back-of-the-envelope calculation: for every $1,000 withdrawn from a TSP account 30 years before retirement, the participant can expect to lose approximately $6,700 in future retirement wealth at a 7% real return, or approximately $17,400 at a 10% nominal return. This calculation should be on the desk of every federal employee considering a withdrawal.
RMD Interaction for Older Borrowers
Required Minimum Distributions add another layer of complexity for TSP participants age 73 and older, who became subject to RMDs under the SECURE Act 2.0 (effective 1 January 2023 for those born 1951 to 1959). The RMD rules require the participant to withdraw a minimum amount from the TSP each year, calculated by dividing the prior year-end balance by the participant's life expectancy factor from IRS Publication 590-B. An outstanding TSP loan at the time of RMD calculation does not reduce the RMD; the RMD is calculated on the total account balance, including the loan offset, meaning that the participant must come up with cash from outside the TSP to satisfy the RMD even though part of the TSP balance is tied up in the loan repayment.
This interaction can create a cash-flow squeeze for older borrowers, particularly those who retire with an outstanding loan that becomes a deemed distribution. The deemed distribution is added to the participant's taxable income for the year of separation, increasing the year's taxable income potentially into a higher bracket, and the RMD for the following year is calculated on the now-reduced account balance. The 2025 RMD rules under SECURE Act 2.0 also raised the RMD age to 73 for those born 1951 to 1959, and to 75 for those born 1960 or later, providing some relief for participants still working at age 73 — but the working exception applies only to current employees of the employer sponsoring the plan, which for TSP means current federal employees. A federal employee who separates at age 72 with an outstanding loan may face both a taxable distribution from the loan and an RMD in the same year, creating a perfect tax storm.
A Decision Framework: When Each Makes Sense
The TSP loan is generally preferable to the hardship withdrawal when both are available, because the loan is repaid to the account and the participant retains the tax-deferred growth on the principal. The loan makes sense for short-term needs — typically under 24 months — where the participant is confident they will remain in federal employment for the full repayment period and where the foregone market return is acceptable. A $10,000 general-purpose loan repaid over 12 months, with the borrower returning to full contribution levels immediately, costs approximately $50 in fees plus approximately $1,000 in foregone C Fund growth, plus the double-taxation drag on the interest payments — a total cost of perhaps $1,500 in lost retirement wealth. That is a manageable price for a genuine cash need that prevents eviction, repossession, or bankruptcy.
The hardship withdrawal should be reserved for situations where the participant cannot qualify for or repay a loan — for example, a separated employee, a participant facing a multi-year negative cash flow that exceeds the 5-year loan term, or a participant with a medical or legal expense so large that the loan cap of $50,000 is insufficient. The hardship withdrawal's six-month contribution suspension is a substantial hidden cost that must be weighed against the loan's lost-compounding cost; for a GS-13 with full matching, the $7,200 of lost matching alone exceeds the cost of a small TSP loan. In many cases, the best alternative is a TSP in-service withdrawal at age 59½, which is permanently out of the account but incurs no penalty and does not trigger the contribution suspension — see our RMD rules guide for the age-73 implications and our 401(k) vs IRA guide for the broader context.
Alternatives Often Overlooked
Several alternatives to TSP loans and hardship withdrawals are routinely overlooked. Roth IRA contributions can be withdrawn at any time, tax- and penalty-free, because the contributions were made with after-tax dollars — only the earnings are subject to restrictions. A federal employee who has been contributing to a Roth IRA can typically pull out the full contribution amount without tax consequence, which is often a better source of emergency cash than a TSP loan. Roth TSP contributions, by contrast, are subject to the same loan and withdrawal rules as traditional TSP contributions and cannot be withdrawn tax-free before age 59½ except under the limited exceptions in IRC § 72(t).
Other alternatives include a home equity line of credit (HELOC), which carries a current interest rate around 8.5% but is tax-deductible if the proceeds are used to acquire or improve the home; a 401(k) loan from a previous employer's plan, which has its own $50,000 cap but does not depend on continued federal employment; an FSALimited (Federal Employee Education and Assistance Fund) emergency loan, which provides up to $1,400 interest-free to federal employees facing immediate financial hardship; and TSP in-service age-based withdrawals for participants age 59½ or older. The Federal Employee Education and Assistance Fund (FEEA) emergency loans and grants are particularly underutilized — they provide up to $1,400 in no-interest loans, with repayment through payroll deduction, and have helped over 12,000 federal families since the program's inception. Before tapping the TSP, every federal employee should consider whether a less expensive alternative is available, and should run the lost-compounding calculation described above to understand the true long-term cost of the withdrawal.
Frequently asked questions
Any unpaid TSP loan balance at separation — including voluntary retirement, involuntary separation, or resignation — is treated as a taxable distribution. The outstanding balance is added to your taxable income for the year of separation, generating federal income tax at your marginal rate plus a 10% early-withdrawal penalty if you are under age 59½. Under the Tax Cuts and Jobs Act of 2017, you have until the tax return filing deadline (with extensions, typically October 15 of the following year) to roll the outstanding balance into an IRA or another qualified plan and avoid the taxable distribution. This requires coming up with the cash from outside the TSP, which is often not feasible, so the best practice is to fully repay any outstanding TSP loan before your separation date.
No. The TSP hardship withdrawal rules at 5 CFR § 1655.32 allow withdrawals only from the participant's own traditional (pre-tax) contributions and their earnings. Roth TSP contributions and earnings on those contributions are not eligible for a hardship withdrawal. This restriction exists because the IRS hardship withdrawal rules under IRC § 1.401(k)-1(d) apply to elective deferrals, and the Roth treatment under IRC § 402A complicates the eligibility determination. If you need access to your Roth TSP balance, your options are a TSP loan (which can be taken from either traditional or Roth balances) or an in-service withdrawal at age 59½ (which is also available from either balance).
A TSP loan does not affect your agency matching contributions directly — you continue to receive the 5% agency match on your own contributions while you have an outstanding loan, provided you maintain at least a 5% contribution rate. A hardship withdrawal, by contrast, triggers a six-month suspension of TSP contributions, during which you receive no matching contributions. For a GS-13 step 5 earning approximately $120,000 annually, the six-month suspension costs approximately $7,200 in lost matching contributions, plus the foregone growth on those contributions through retirement. This hidden cost is one of the strongest reasons to prefer a TSP loan over a hardship withdrawal when both are feasible.
For more, see our TSP investment strategies and our RMD rules guide, or try our 401(k) contribution calculator to model the long-term cost of a withdrawal.
Last reviewed June 23, 2026. This article is informational and does not constitute legal, tax, or financial advice. Consult a qualified professional for guidance specific to your situation.