TSP Loan vs. In-Service Withdrawal: What Federal Employees Need to Know
While still employed, you have two ways to access your TSP balance before retirement: a loan you repay, or an in-service withdrawal you don't. They look similar on the surface but carry very different tax consequences — and a specific trap that catches federal employees who are close to retiring.
Option 1: TSP Loans
A TSP loan is not a withdrawal. You borrow from your own account and repay it — with interest — through automatic payroll deductions. The IRS doesn't treat a loan as taxable income when you take it, as long as you follow the rules.1
Two loan types
General purpose loan: No documentation required. Use the funds for any reason. Repayment term: 1 to 60 months (up to 5 years).
Residential loan: Must be used to purchase or construct your primary residence. Requires documentation (e.g., purchase agreement or construction contract, submitted within 30 days of the loan request). Repayment term: 1 to 180 months (up to 15 years).
You can have one of each type outstanding simultaneously — one general purpose and one residential — but not two of the same type at once.
How much you can borrow
The maximum loan amount is the smallest of two limits:1
- IRS limit (IRC § 72(p)): $50,000, reduced by the highest outstanding loan balance in the prior 12 months
- TSP limit: 50% of your vested account balance (or $10,000, whichever is greater), minus any outstanding loan balance
Minimum loan: $1,000.
Example: You have $180,000 vested in TSP with no outstanding loans. The TSP limit gives you 50% × $180,000 = $90,000. The IRS limit caps it at $50,000. Your maximum loan is $50,000.
Example: You have $16,000 vested in TSP. Half is $8,000, but the TSP minimum floor is $10,000. You could borrow up to $10,000 (if the IRS cap allows it and you have no outstanding loans).
Interest rate
TSP sets the loan interest rate equal to the G Fund rate in effect at the time your loan request is processed — the same rate published monthly on tsp.gov/funds-individual/g-fund/. The rate is fixed for the life of the loan once set.
You pay that interest back into your own account. That sounds like a wash, but there are two hidden costs described below.
Repayment mechanics
Repayments come out of your paycheck automatically, as equal installments, on an after-tax basis. If you're paid biweekly, you'll have biweekly deductions.
If you go into nonpay status (unpaid leave, furlough), loan repayments stop. TSP will reamortize the loan when you return, adjusting the remaining payments. Extended nonpay can push the loan toward the 5-year (or 15-year) limit, creating a balloon situation. Check the specific nonpay rules at tsp.gov if you expect any leave without pay.2
Two hidden costs of a TSP loan
1. Opportunity cost: Money in a TSP loan earns the G Fund rate (the interest you pay yourself) rather than whatever your TSP funds actually return. If the C Fund returns 10% in a given year and your loan rate is 4.5%, you missed 5.5 percentage points on the borrowed amount. Repayment reinstates your investment position, but you can't recapture lost growth.
2. Double-taxed interest: You repay the loan — including interest — with after-tax dollars. Those after-tax interest payments then sit inside your traditional TSP account. When you eventually withdraw them in retirement, you pay income tax on them again. The interest is effectively taxed twice.3 (This doesn't apply to Roth TSP balances, which are funded with after-tax dollars anyway — but most TSP loan interest repayments flow into the traditional side.)
For a federal employee retiring at 56 with a $30,000 outstanding TSP loan, missing the repayment deadline could mean $7,000–$10,000 in taxes and penalties due the following April. The timing collides with OPM processing delays, severance adjustments, and the financial complexity of retirement. The safest rule: pay off your TSP loan fully before submitting your retirement paperwork.
Option 2: In-Service Withdrawals
In-service withdrawals are permanent — unlike a loan, you don't repay them. There are two types, and they have very different eligibility requirements and tax treatment.4
Age-based withdrawal (59½ or older)
If you're 59½ or older and still actively employed by the federal government, you can take an age-based in-service withdrawal from your TSP for any reason. Key rules:
- No 10% early withdrawal penalty — the age 59½ threshold fully exempts you
- Taxable as ordinary income (traditional TSP), or tax-free if from Roth TSP (if the account is 5+ years old)
- No limit on frequency — you can take multiple age-based withdrawals after the TSP Modernization Act (effective September 15, 2019)
- You can roll the amount directly to an IRA to defer the tax further
- Withdrawals come from traditional and Roth TSP proportionally, unless you specify otherwise
Age-based withdrawals don't affect your ability to continue contributing to TSP, and they don't affect your loan eligibility — though outstanding loans reduce your borrowing capacity as noted above.
Financial hardship withdrawal (any age)
If you're under 59½ and need funds, the only in-service withdrawal option is a financial hardship withdrawal. TSP requires you to demonstrate a genuine qualifying hardship — the bar is specific:4
- Negative monthly cash flow (your documented expenses exceed your income)
- Unpaid medical expenses not covered by insurance
- Unpaid legal fees for a separation or divorce
- Personal casualty loss not covered by insurance
- Losses from a major disaster declared by FEMA
The tax consequences are more severe than a loan:
- The full amount is taxable as ordinary income in the year of withdrawal
- If you're under 59½, the IRS assesses a 10% early withdrawal penalty on the taxable portion (IRC § 72(t))
- Federal withholding of 10% applies at the time of withdrawal (final tax determined on your return)
- Minimum withdrawal: $1,000
Post-2019 change: The 6-month contribution suspension that previously applied after a hardship withdrawal was eliminated effective September 15, 2019. You can continue contributing to TSP immediately after a hardship withdrawal.5
You must wait 6 months between financial hardship withdrawals from the same account.4
Side-by-side comparison
| Feature | TSP Loan | Age-Based Withdrawal (59½+) | Hardship Withdrawal (<59½) |
|---|---|---|---|
| Taxable when taken? | No (if repaid on time) | Yes (traditional TSP) | Yes |
| 10% early withdrawal penalty? | No (unless loan defaults at separation) | No | Yes (if under 59½) |
| Must repay? | Yes — via payroll deduction | No | No |
| Reduces TSP balance? | Temporarily (restored on repayment) | Permanently | Permanently |
| Separation risk? | Yes — outstanding balance becomes taxable distribution | None | None |
| Eligible to continue contributing? | Yes | Yes | Yes (post-2019) |
| Frequency limit? | 1 general + 1 residential outstanding at a time | Unlimited (post-2019) | Once per 6 months per account |
Decision framework
Lean toward a loan when:
- You have a temporary cash need and a clear repayment plan
- You're at least 2–3 years from retirement (enough runway to fully repay before separating)
- The borrowed amount is well under 50% of your vested balance (preserving the rest for growth)
- You can absorb the payroll deduction without reducing your TSP contributions below the agency match threshold
Avoid a loan when:
- You're within 1–2 years of your planned retirement date — separation trap risk is too high
- You can't afford the repayment amounts without dropping TSP contributions (you'd lose agency match dollars)
- You're 59½ or older — an age-based withdrawal avoids the repayment obligation with the same tax treatment
- The purpose is consumer spending with no certain payback path (TSP is retirement money)
Lean toward a hardship withdrawal only when:
- You genuinely qualify (the TSP will verify — it's not self-certified)
- A loan would leave you unable to keep up repayments
- You're under 59½ and the need is urgent — and you've exhausted other options
- You understand the permanent reduction to your balance and accept the tax + 10% penalty cost
What a TSP specialist models here
The loan vs. withdrawal decision is rarely made in isolation. A federal employee who needs $40,000 has options that interact: TSP loan, TSP in-service withdrawal, taxable brokerage, HELOC, Roth IRA contribution basis (penalty-free), or some combination. Which is cheapest depends on your marginal tax rate this year, your expected bracket at retirement, whether you're close enough to 59½ that waiting makes sense, and whether reducing your TSP balance affects your Rule of 55 planning window.
A fee-only advisor who works specifically with federal employees builds this as a full-picture analysis — not just the mechanics, but the timing, the tax cost, the separation-date risk, and the interaction with your FERS pension and Social Security strategy.
- TSP loan limits and types: TSP.gov — TSP Loans. Maximum is the lesser of (a) $50,000 reduced by the highest outstanding loan balance in the prior 12 months (IRC § 72(p)(2)(A)), or (b) 50% of vested account balance (or $10,000 minimum), minus current outstanding loan balance. Minimum $1,000. General purpose: up to 60 months. Residential: up to 180 months; requires documentation of primary residence purchase/construction.
- TSP loan repayment in nonpay status: TSP Fact Sheet — Effect of Nonpay Status on Your TSP Account (May 2022). Repayments pause; loan is reamortized on return; extended nonpay can cause default if term is exceeded.
- Double-taxation of TSP loan interest: TSP Tax Rules booklet (TSP-BK-26). Interest is paid with after-tax dollars and flows into the traditional TSP; future distributions from traditional TSP are taxed again as ordinary income.
- In-service withdrawal types and terms, including hardship eligibility and 6-month waiting period: TSP.gov — In-Service Withdrawal Types and Terms; TSP.gov — Financial Hardship.
- Elimination of 6-month contribution suspension after hardship withdrawal, effective September 15, 2019 (TSP Modernization Act, Pub. L. 115-84): TSP Bulletin 19-9 — New Rules and Processes for Financial Hardship In-Service Withdrawals.
TSP loan rates, contribution limits, and IRS penalty thresholds verified as of April 2026. Confirm current G Fund rate and loan interest rate at tsp.gov before applying.
Related reading
- TSP Withdrawal Options at Retirement: Installment Payments, Annuity, RMDs, and the Rule of 55
- TSP Rollover to IRA: Should You Stay or Roll Over After Retirement?
- TSP Contribution Limits 2026: Regular, Catch-Up, and Super Catch-Up
- FERS Pension Calculation: Formula, High-3, Sick Leave Credit, and MRA+10
- Federal Employee Retirement Checklist: 2-Year Timeline
- TSP Rollover & Strategy Calculator
- Match with a TSP specialist
Model your options with a specialist
Loan, withdrawal, or another source entirely — the right answer depends on your separation date, tax bracket, FERS pension, and retirement timeline. A fee-only advisor who specializes in federal benefits runs the full comparison. Free match, no obligation.