TSP Advisor Match

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

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.)

The separation trap — read this if you're within 5 years of retirement: If you separate from federal service while an outstanding TSP loan remains unpaid, you have a limited window (typically 90 days after TSP is notified of your separation) to repay the full outstanding balance. If you miss that window, the unpaid balance is treated as a taxable distribution. You'll owe ordinary income tax on the entire amount. If you're under 59½ at separation, you may also owe the 10% early withdrawal penalty.

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:

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

The tax consequences are more severe than a loan:

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

FeatureTSP LoanAge-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)NoYes (if under 59½)
Must repay?Yes — via payroll deductionNoNo
Reduces TSP balance?Temporarily (restored on repayment)PermanentlyPermanently
Separation risk?Yes — outstanding balance becomes taxable distributionNoneNone
Eligible to continue contributing?YesYesYes (post-2019)
Frequency limit?1 general + 1 residential outstanding at a timeUnlimited (post-2019)Once per 6 months per account

Decision framework

Lean toward a loan when:

Avoid a loan when:

Lean toward a hardship withdrawal only when:

Agency match protection: If a TSP loan repayment crowds out your own contributions — say, the deduction brings your biweekly TSP contribution below 5% of gross — you lose agency matching dollars on the shortfall. That's a direct, immediate loss. Before taking a loan, confirm that repayment won't drop your contribution rate below 5%.

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.

  1. 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.
  2. 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.
  3. 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.
  4. 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.
  5. 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.

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.