Home › TSP Loan Calculator

TSP Loan Calculator: Compare a TSP Loan vs an Early Withdrawal

TSP loan rate: 5.000% (December 2026 loans; set from November 2026 G Fund rate) | Last verified: 16 November 2026 | Market: United States

A TSP loan charges interest at the G Fund rate from the month before, which gives a 5.000% loan rate for December 2026, with a $50 processing fee for a general purpose loan and a $100 fee for a primary residence loan, and the interest paid goes back into your own TSP account, so the loan is not a taxable event unless you default (tsp.gov). A withdrawal is different. It is taxed as ordinary income, it carries a 10% early withdrawal penalty if you are under age 59 and a half, unless an exception applies (IRS), and the withdrawn amount is permanently gone from your account with all its future growth lost.

This comparator recalculates instantly as you type. The worked example, rules, and FAQ below work without JavaScript.

The loan costs you $6,814. The withdrawal costs you $15,787.
Loan cheaper by $8,973 on the same $20,000 amount (assuming 8% annual market return).
$1,000 min $15,000 $25,000 $50,000 max
12 mos (1 yr) 36 mos (3 yrs) 60 mos (5 yrs GP max)
0% 6% conservative 8% default assumption 10% growth 15%
Same dollar amount compared across both loan and withdrawal ($1,000 to $50,000).
Your balance as shown in My Account (own contributions plus earnings), including any outstanding loan principal. Used for the three-test maximum loan check.
Enter 0 if you have no loan outstanding now. The three-test maximum subtracts this amount (5 CFR 1655.6).
General purpose needs no paperwork; residential requires home purchase documents (tsp.gov).
General purpose: 12 to 60 months. Primary residence: 61 to 180 months.
December 2026 loan rate is 5.000% (set from November 2026's G Fund rate, tsp.gov). Fixed for the life of your loan.
Most federal civilian and uniformed employees pay biweekly (26).
Assumed growth rate if money stayed invested (default 8% assumption, not a forecast).
Test paying your TSP loan back early to see interest saved.
Under age 59.5 triggers a 10% IRS early withdrawal penalty unless an exception applies.
IRS Topic 558: separation in or after the year you turn 55 (age 50 for qualifying public safety employees) avoids the 10% penalty. The exception only applies once you have reached that age.
Traditional TSP withdrawals are taxed as ordinary income at your marginal bracket.
Enter 0% in states with no income tax. TSP does not withhold state tax upfront.
Traditional is taxed as ordinary income; Roth depends on age 59.5 and the 5-year rule.
Used in Test 3 of the $50,000 maximum loan cap (tsp.gov).

Option A: TSP Loan

$174.02 / paycheck

About $377.04/month (130 payments, paid off December 2031)

Cash you receive (after fee)
$19,950
Processing fee
$50
Total repaid via payroll
$22,623
Interest paid back to yourself
$2,623
Foregone market growth (assumed)
$9,387
Net opportunity cost
$6,764
Early payoff interest saved
$0
Total true loan cost
$6,814

Foregone growth is a simplified estimate. It compounds the full loan amount at the assumed market return for the whole term and does not model repayments returning principal to your account.

Payment figures are estimates using standard periodic amortization. TSP interest accrues daily, so your actual payroll deductions may differ slightly.

Option B: Early Withdrawal

$13,600 left after final tax and penalty

Cash deposited now after 20% withholding: $16,000

Upfront 20% withholding on eligible rollover lump sums: $4,000 (prepayment toward tax bill, not final tax)

Federal income tax due
$4,400
10% early withdrawal penalty
$2,000
State income tax due
$0
Permanent balance reduction
$20,000
Lost future market growth
$9,387
Total true withdrawal cost
$15,787

Need a standalone federal retirement withdrawal calculation? See the TSP Early Withdrawal Calculator.

Market return sensitivity range (6%, 8%, and 10% assumed returns)

Assumed market return Loan total cost Withdrawal total cost Net difference
6% (conservative assumption) $4,192 $13,165 Loan saves $8,973
8% (default assumption) $6,814 $15,787 Loan saves $8,973
10% (higher-growth assumption) $9,637 $18,610 Loan saves $8,973

Maximum TSP loan three-test check (tsp.gov)

Your maximum eligible loan is $50,000 (limited by: Greater of 50% of vested balance or $10,000, less outstanding loan).

Test 1: Own contributions plus earnings
$100,000
Test 2: Greater of 50% of vested balance or $10,000, less outstanding loan
$50,000
Test 3: $50,000 minus highest 12-month loan balance
$50,000

Try this: Change your age to 60 (at or above age 59 and a half) to see the 10% early withdrawal penalty ($2,000) drop to $0, or add $25 per paycheck in extra loan payments to see how much interest you save.

View full TSP loan amortization schedule
Payment # Payment Principal Interest to self Ending balance

Worked example - check the math yourself

This plain-text example works without JavaScript and uses the December 2026 TSP loan rate (5.000%, set from November 2026's G Fund rate) plus two labelled assumptions: an 8% annual market return and a 22% federal marginal tax bracket.

Loan side ($20,000 general purpose loan, 5 years, 5.000%, biweekly): Payment is $174.02 per paycheck across 130 biweekly payments (paid off about December 2031). You receive $19,950 in cash after the $50 processing fee. Total repaid is $22,623 ($20,000 principal plus $2,623 interest paid back into your own TSP account). At the 8% assumed market return, $20,000 left invested for 5 years would grow to $29,387, meaning $9,387 in foregone growth. Subtracting the $2,623 interest you pay back to yourself leaves a net opportunity cost of $6,764, plus the $50 fee = $6,814 total loan cost. The $9,387 foregone growth is a simplified estimate: it compounds the full $20,000 at the assumed return for the whole 5 years and does not model repayments returning principal to your account. November 2026 loans used 5.375%: payment $175.60, total repaid $22,828, interest $2,828, net opportunity cost $6,559, total loan cost $6,609, paid off about November 2031. Loan cheaper by $9,178.

Withdrawal side ($20,000 early withdrawal, under age 59.5, 22% federal bracket assumption, 0% state tax): Federal income tax is $4,400 (22% of $20,000) and the 10% IRS early withdrawal penalty is $2,000. TSP withholds 20%, or $4,000, upfront on an eligible rollover lump sum as a prepayment toward your final tax bill, so $16,000 is deposited now. After the final federal tax and the penalty are accounted for, $13,600 is left. Your TSP balance is permanently reduced by $20,000 and loses $9,387 in future growth at 8%, giving a $15,787 total withdrawal cost.

Verdict: The loan costs you $6,814. The withdrawal costs you $15,787. On the same $20,000, the loan is cheaper by $8,973. (Max-loan check on $100,000 own contributions with $0 prior loans: $50,000 limit.)

How a TSP loan compares to an early withdrawal

A TSP loan lets you borrow from your own retirement savings and pay yourself back through payroll deductions, whereas an early withdrawal permanently removes money from your account and triggers immediate taxes and penalties.

1. Why paying interest to yourself is not free

When you take a TSP loan, the interest you pay (5.000% for December 2026 loans, tsp.gov) goes back into your own TSP account rather than to a bank. However, while that money is out of your TSP funds, it misses market investment returns. If your TSP funds would have earned an assumed 8% per year while your loan pays back 5.000%, the difference between the foregone growth and the interest repaid to yourself is your true net opportunity cost.

2. Why early withdrawals carry a triple cost

An early withdrawal from a Traditional TSP account before age 59 and a half hits you three ways: ordinary federal and state income tax on the distribution, a 10% IRS early withdrawal penalty unless an exception applies (IRS), and the permanent loss of future compounding on the money removed from your retirement account.

TSP loan eligibility, fees, and limits

To borrow from the Thrift Savings Plan, you must be actively employed in federal civilian or uniformed service, in pay status, have at least $1,000 of your own contributions in your account, and not have repaid a TSP loan of any type in full within the past 30 business days (tsp.gov).

Rule or featureCurrent figureOfficial source
TSP loan interest rate (December 2026 loans) 5.000% fixed tsp.gov, TSP Loans (G Fund rate from prior month; updated monthly)
General purpose loan fee and term $50 fee; 12 to 60 months tsp.gov, TSP Loans (no documentation required)
Primary residence loan fee and term $100 fee; 61 to 180 months tsp.gov, TSP Loans (purchase documentation required)
Minimum and maximum loan amount $1,000 min; $50,000 max tsp.gov, TSP Loans (subject to three-test calculation)
Two-loan limit Up to 2 loans (max 1 residential) tsp.gov, TSP Loans; 5 CFR 1655.4; TSP booklet Loans (TSPBK04)
Early withdrawal penalty (under age 59.5) 10% additional tax IRS (IRC Section 72(t) / Publication 575 - verify exceptions on irs.gov)
Lump-sum federal tax withholding 20% mandatory prepayment on eligible rollover lump sums tsp.gov, Tax Rules About TSP Payments (confirm on tsp.gov)

How the G Fund rate sets your TSP loan interest rate

Your TSP loan interest rate is locked in for the entire loan term at the G Fund interest rate from the month before your loan request is processed, which gives a 5.000% loan rate for December 2026 (tsp.gov).

Because the rate is fixed at origination, future monthly changes in the G Fund rate only affect new loans, not existing loans you have already taken. Always check the current month's rate on tsp.gov before submitting your loan request.

Repayment, separation from service, and government shutdowns

TSP loan payments are deducted automatically from your paycheck (26 biweekly payments per year for most federal employees), and you can make extra payments at any time without a prepayment penalty (tsp.gov).

Leaving federal service (separation warning): Separated employees cannot take a new TSP loan (tsp.gov). If you separate with an unpaid loan balance, the loan must be repaid or kept current after separation or the remaining balance becomes a taxable distribution (and may face the 10% early withdrawal penalty if you are under age 59 and a half). No specific day count is stated here; check your official TSP separation notice.

Government shutdowns and furlough nonpay status

Because the TSP is funded independently of annual appropriations, loan processing continues during a government shutdown as long as your agency reports you in active pay status (tsp.gov). If you are placed in approved nonpay furlough status while repaying an existing loan, missed payroll deductions are paused under TSP nonpay rules and resume when you return to pay status.

Before you act checklist

Review these five checks before requesting a TSP loan or in-service withdrawal.

Frequently asked questions

How is the interest calculated on a TSP loan?

TSP loan interest is fixed for the life of the loan at the G Fund interest rate from the month before your loan is processed. For December 2026 loans the rate is 5.000%, set from November 2026's G Fund rate (tsp.gov). Interest accrues daily on the unpaid principal balance and is paid back into your own TSP account as you make payroll deductions.

How long does it take to get a TSP loan?

Processing time depends on whether you request a general purpose loan (no documentation required) or a primary residence loan (purchase documentation required) and whether your direct deposit information is already on file with the TSP (tsp.gov). Exact processing day counts are not published, so check your My Account timeline on tsp.gov when applying.

How many TSP loans can you have?

Under TSP rules, you can have up to two outstanding TSP loans at the same time per account, and only one of them can be a primary residence loan (tsp.gov; 5 CFR 1655.4; TSP booklet Loans). You also cannot take a new loan if you repaid a loan of any type in full within the past 30 business days.

Do I have to pay taxes on a TSP loan?

No, a TSP loan is not a taxable event when you take it out, and your loan repayments are made with after-tax payroll deductions (tsp.gov). However, if you leave federal service or default and fail to repay the loan on schedule, the unpaid balance is declared a taxable distribution and may also face the 10% early withdrawal penalty if you are under age 59 and a half (IRS).

Can you take a TSP loan after separation?

No, separated federal employees and uniformed service members cannot take a new TSP loan because you must be actively employed and in pay status to borrow (tsp.gov). If you already have an open TSP loan when you separate, you must pay it off or keep payments current so the remaining balance does not become a taxable distribution.

Is a TSP loan better than a hardship withdrawal?

In most cases a TSP loan costs far less than a hardship withdrawal because a loan is not taxed, avoids the 10% early withdrawal penalty under age 59 and a half (IRS), and lets you repay principal and interest back into your own account (tsp.gov). On a $20,000 request in the 22% federal bracket, a 5-year loan costs $6,814 in net opportunity cost and fee compared with $15,787 for a withdrawal, saving $8,973.

What is the maximum TSP loan?

The maximum TSP loan is the smallest of three limits: (1) your own contributions plus earnings on them, not counting any outstanding loan, (2) the greater of 50% of your vested account balance, including any outstanding loan balance, or $10,000, minus any outstanding loan balance, or (3) $50,000 minus your highest outstanding TSP loan balance in the past 12 months (tsp.gov; 5 CFR 1655.6). Use the three-test panel in the calculator above to check your exact limit.

Does paying back a TSP loan early reduce the interest?

Yes, because TSP loan interest accrues daily on the remaining principal balance, making extra payments or paying off the loan early reduces the total interest you pay and puts your money back into market funds sooner (tsp.gov). Enter an extra amount per paycheck in the calculator above to see the exact interest saved.

Can you get a TSP loan during a government shutdown?

TSP operations are funded independently of annual congressional appropriations, so the TSP continues processing loan applications during a federal government shutdown as long as your agency still lists you in active pay status (tsp.gov). If you already have a loan and enter nonpay furlough status, missed payroll deductions are normally paused during an approved nonpay period under TSP rules.

What states do not tax TSP withdrawals?

Nine states have no state wage or retirement income tax at all: Alaska, Florida, Nevada, New Hampshire, South Dakota, Tennessee, Texas, Washington, and Wyoming. Other state exemptions for TSP distributions vary by state law, so enter your own state tax rate in the calculator above.

At what age can I withdraw funds from TSP without a penalty?

You can withdraw funds from your TSP without the 10% early withdrawal penalty once you reach age 59 and a half, or if you separate from federal service in or after the calendar year you turn age 55 (age 50 for qualifying public safety employees) under IRS rules (IRS Publication 575). Traditional withdrawals are still subject to ordinary income tax at any age.

How do I calculate how much a withdrawal will cost me, tax plus penalty?

Multiply the taxable withdrawal amount by your federal marginal tax rate, add your state income tax rate, add a 10% early withdrawal penalty if you are under age 59 and a half without an IRS exception, and add the lost future compound growth on the withdrawn money. The withdrawal column in the comparator above calculates all four numbers automatically.

Can you take a TSP loan and a withdrawal at the same time?

Yes, taking a TSP loan does not block you from taking an eligible in-service withdrawal, and taking an in-service withdrawal does not block you from borrowing, provided you still meet the $1,000 minimum own-contributions balance and eligibility rules for each request (tsp.gov).

What are the downsides of taking a TSP loan?

The main downsides are losing market investment growth on the borrowed balance while it is out of your TSP funds, paying a $50 or $100 processing fee, repaying interest with after-tax dollars that will be taxed again when withdrawn from a Traditional balance in retirement, and risking a taxable distribution if you separate and cannot repay (tsp.gov).

What does Dave Ramsey say about TSP?

No primary Dave Ramsey source statement on TSP loans or withdrawals is available, so no quote or position is attributed here. Compare the exact dollar costs in the calculator above using your own tax bracket and return assumption.

Sources

Figures on this page are checked against official US government sources. The G Fund rate is re-verified monthly on tsp.gov.

Estimates only, not financial advice. Verify with tsp.gov guidance, IRS guidance, or a qualified tax adviser.