TSP loan calculator

Estimate a TSP loan under the 2026 rules: the payment taken from each paycheck, the interest you pay back into your account, the fee, the most you can borrow and what the loan may cost your balance.

Estimate your TSP loan payment

Your loan
$
%
Maximum loan check
$
$
$
$
$
Cost to your account
%
Advancedif you leave federal service
yrs
%
%
%

What do I do next?

Want to see how your real portfolio compares? Track your actual progress toward your retirement goal in Snowball Analytics.
Payment per paycheck
β€”
Most you can borrow
β€”
Estimated lost growth
β€”
If unpaid when you leave
β€”
More resultsthe other figures and notes
Cash you receive
β€”

Total interest
β€”

Total you repay
β€”

Contributions and match given up
β€”

Repayment by year
YearPaymentsInterestPrincipalBalance

Ready to track your investment Snowball?

Use this calculator to plan, and create a free Snowball Analytics account to track your actual portfolio performance.

No card required.

The TSP loan calculator helps you work out:

Payment per paycheck

Biweekly, semi-monthly or monthly.

The most you can borrow

All three TSP limits checked.

The real cost

Growth the loan may take from your account.

If you leave service

Tax on an unpaid balance.

How TSP loans work

The TSP lets an active participant borrow from the account and repay with interest, through payroll deduction while in federal service. The interest rate is the G Fund rate for the month before the request and stays the same for the life of the loan; the TSP showed 5.000% on 4 December 2026. The interest goes back into your own account, and a one-time fee of $50 or $100 comes out of the loan. For a $15,000 general purpose loan over 48 months, the TSP loan calculator gives $159.27 each paycheck for 104 payments, with $1,564 of interest, and $14,950 in cash after the fee.

General purpose vs primary residence loans

The two TSP loan types
General purposePrimary residence
PurposeAny purposeBuying or building a primary residence
Repayment term12 to 60 months61 to 180 months
DocumentsNoneRequired
Processing fee$50$100

How to use the calculator

  1. Choose the loan type, the amount and the term: A general purpose loan runs 12 to 60 months, a primary residence loan 61 to 180.
  2. Check the interest rate: It starts at the rate shown on tsp.gov; change it if the G Fund rate has moved.
  3. Enter your balances for the maximum loan check: Your own money, the vested balance and any loans you have.
  4. Enter your expected return: And whether you would lower your contributions while you repay.
  5. Read the payment, the cost and the tax if you leave: Then check the chart and the table by year.

TSP loan repayment

Repayment comes out of every paycheck, and the calculator splits each payment into interest and principal. The payment is set for the life of the loan and changes only if your payroll schedule changes or payments are suspended in nonpay status. The payment is rounded to the cent and the last one takes what is left: $159.27 103 times and $159.55 at the end in the example. Extra payments are allowed, and after a loan is repaid in full you wait 30 business days before taking a new one (tsp.gov).

How the maximum TSP loan is set

The maximum is the smallest of three amounts (tsp.gov): your own contributions and earnings less any loan balance, 50% of your own balance or $10,000, whichever is greater, less any loan balance, and $50,000 less your highest loan balance in the last 12 months. Agency contributions cannot be borrowed, and neither can money in the mutual fund window. With $60,000 of your own money and $85,000 vested, the limit is $42,500; with $8,000 still owed and $12,000 the highest balance in the year it falls to $34,500. A loan from a private 401(k) follows different rules, see the 401(k) loan calculator and how a 401(k) works.

The real cost of a TSP loan

You pay the interest to yourself, but the borrowed money stops growing while it is out. At a 6% return the $15,000 loan costs about $304 of growth, and a $45,000 primary residence loan over 180 months about $5,689, with payments of $164.12 each paycheck and $19,006 of interest. Lowering your contributions while you repay gives up the contributions and the agency match too, which the calculator adds up. For the range of outcomes see the Monte Carlo retirement calculator, and for the growth of your TSP without a loan the TSP calculator.

What happens to a TSP loan when you leave federal service

Special repayment rules apply after you leave, and missing or stopping loan payments can trigger taxes. An unpaid balance can be taxed as a distribution, with a 10% additional tax before 59Β½ unless you left in or after the year you turn 55, or 50 for qualified public safety employees (IRS Topic 558). With $7,874 unpaid after 24 months at a 27% rate, the tax is $2,126, and $787 more if the 10% tax applies. The TSP reports it on Form 1099-R. For the tax on a withdrawal see the 401(k) withdrawal tax calculator.

Sources

Pages read on 4 December 2026.

Rules and the rate are from the TSP and IRS pages.

TSP loan calculators compared

A look at the inputs and results each tool offers, based on what the tools show publicly. Each one covers a different set of cases.

FeatureSnowball
Analytics
FedRateCalcFedToolsTSPfoliotsp.gov
General or residential loanYesYesYesYesText
Term limits by loan typeYesYesPartlyYesText
Paycheck frequencyYesYesYesYesText
G Fund rate inputYesYesYesYesText
Maximum loan from TSP rulesYesYesYesYesText
Outstanding loan and 12-month highYesYesYesYesText
Mutual fund windowYesTextNoYesText
Roth share of the balanceYesNoNoYesNo
Payment per paycheckYesYesYesYesNo
Total interestYesYesPartlyYesNo
Fee and cash you receiveYesYesPartlyYesNo
Lost growthYesYesYesYesNo
Contributions while repayingYesNoNoYesNo
Amortization scheduleYesYesYesYesNo
Official rules and loan applicationNoNoNoNoYes
Share or copy linkYesYesNoNoNo
shownPartly limited version not shown

Compared in November 2026 from each calculator’s visible inputs and results. ✕ means not shown among inputs or results; "Partly" means a limited version; "Text" means covered in the page text only. Tools change over time.

Frequently asked questions

At least $1,000 and at most the smallest of three limits: your own contributions and earnings less what you owe, 50% of that part of your balance or $10,000, whichever is greater, less what you owe, and $50,000 less your highest loan balance in the last 12 months. With $60,000 of your own money and $85,000 vested, that is $42,500.
It comes out of every paycheck. A $15,000 general purpose loan over 48 months at 5% is $159.27 biweekly, or about $345.09 a month.
The G Fund rate for the month before you request the loan, fixed for the life of the loan. The TSP showed 5.000% on 4 December 2026.
A general purpose loan can be used for anything, needs no documents and runs 12 to 60 months with a $50 fee. A primary residence loan is only for buying or building your main home, needs documents, runs 61 to 180 months and costs $100.
From 12 to 60 months for a general purpose loan and from 61 to 180 months for a primary residence loan. The payment is set for the life of the loan.
Yes, a one-time fee that comes out of the loan amount and is not returned to the account: $50 for a general purpose loan and $100 for a primary residence loan.
The TSP counts your outstanding balance in its limits, and you cannot take a new loan within 30 business days of repaying any TSP loan in full. Check the TSP loan booklet for the number of loans allowed.
Special repayment rules apply after you leave, and an unpaid balance can be taxed as a distribution, with a 10% additional tax before 59Β½ unless an exception applies. With $7,874 unpaid at a 27% rate the tax is $2,126, and $787 more if the 10% tax applies.
It can. The borrowed money is out of the account while you repay it, so it misses the compound earnings. In the example the loan costs about $304 at a 6% return.
The TSP allows extra payments. Paying a loan off in full starts a 30-business-day wait before you can take a new loan.

Explore the Snowball Analytics ecosystem

Dive deeper into the tools behind the tracker β€” from stock analysis to dividend planning

Dividend tracker

Automatically track payouts, calculate Yield on Cost, and project future passive income.

Explore dividend tracker β†’

Dividend rating

Avoid yield traps. Analyze financial health, payout ratio and sustainability.

Check dividend ratings β†’

Stock tracker

Monitor individual equities, price movements and 10-year company fundamentals.

Explore stock tracker β†’

Dividend calendar

See exactly when payouts hit your account across all global holdings.

View dividend calendar β†’

Dividend calculator

Project future passive income, simulate DRIP scenarios and visualize compounding.

Try dividend calculator β†’

Ex-dividend calendar

See upcoming ex-dividend and payment dates for your holdings.

View ex-dividend dates β†’

Your portfolio dashboard, anywhere

Take control of your investments with the Snowball Analytics mobile app. Everything you love about the web tracker, fully optimized for your smartphone.

Download on the App Store
β˜…β˜…β˜…β˜…β˜… 4.8
~4,200 ratings
Get it on Google Play
β˜…β˜…β˜…β˜…β˜… 4.8
~2,300 ratings
Home screen widgets for portfolio, performance, and gainers
Push notifications for market events
Deep dive into asset allocation & risk analytics
Secure, automated brokerage sync on the go
Snowball Analytics mobile app preview

Ready to track your investment Snowball?

Use this calculator to plan, and create a free Snowball Analytics account to track your actual portfolio performance.

No card required.