Tsp Loan Calculator
Thinking about borrowing from your Thrift Savings Plan? This TSP loan calculator estimates your payroll-deduction payment, total interest, the fee that comes out of your proceeds, and the cost most calculators leave out: what your borrowed money would have earned if it had stayed invested. Read the rate warning first. The loan rate changes every month, so the rate field below is left blank: enter the current G Fund loan rate from tsp.gov before you rely on any figure here. The worked example uses 4.875%, the figure from October 2026 requests, not a current rate.
Check the rate at tsp.gov before you apply. A TSP loan carries the G Fund rate in effect the month before you request it, fixed for the life of the loan. That rate moves monthly. Any page that shows you a month-specific rate without a date is showing you a stale number, including this page if you read it months after it was written. The worked example below uses 4.875% only because that was the October 2026 request figure.
| Detail | Amount |
|---|
Estimate only. This is not the official TSP loan estimator and cannot see your actual account, outstanding loans, or eligibility status. The TSP account record governs. Payment math is standard amortization; the TSP accrues interest daily between payments, which moves totals by a few cents on a typical loan.
Quick Answer
A $20,000 general purpose TSP loan over 5 years at 4.875%, repaid biweekly, costs $173.50 biweekly, $2,555.08 in total interest paid back to your own account, and $22,555.08 repaid in total across 130 payments. You actually receive $19,950 after the $50 fee. At a 7% assumed return, the same $20,000 would have grown by about $8,051.03 over 5 years, which is the real cost this page wants you to see. Enter your own figures above, with the current rate from tsp.gov, for your numbers.
- Quick Answer
- Key Takeaways
- How to use the TSP loan calculator
- The maximum loan rule, in full
- The TSP loan rules that shape the numbers
- The payment formula, explained plainly
- Worked example: a $20,000 general purpose loan
- The cost most borrowers miss, and the tax wrinkle
- Honest limitations
- What competing calculators miss
- Frequently asked questions
- Add This Calculator to Your Website
- References
Key Takeaways
- Your maximum is the smallest of three figures, not “50% or $50,000”. Agency money is never borrowable, and a loan from the past 12 months still shrinks your ceiling.
- The rate is the G Fund rate from the month before you request the loan, fixed for the life of the loan. The 4.875% here is an October 2026 example, not a current rate.
- Interest is not a cost to a bank: you pay it to yourself. The genuine cost is the growth the borrowed money misses while it is out of the market.
- Only the interest portion faces the double-tax wrinkle. Principal you repay is not taxed twice; interest repaid with after-tax dollars into a traditional balance is taxed again on withdrawal.
How to use the TSP loan calculator
Enter the loan you are considering, check it against the full maximum rule, and read the payment alongside the cost you cannot see in the payment alone. Results stay hidden until you click Calculate.
- Enter the loan amount: $20,000 is pre-filled. The tool rejects anything under $1,000 or over $50,000 outright.
- Enter your own contributions and earnings, vested: $100,000 is pre-filled. This is the only balance figure that matters for borrowing. If you enter your total account balance including agency money, the maximum check will overstate what you can borrow.
- Enter outstanding loans and your highest balance in the past 12 months, if any: both are optional and blank means none. Skip them only if you truly have no outstanding loan and none in the past year.
- Pick the loan type and term: general purpose up to 5 years, residential up to 15 years with documentation. Changing the type updates the term cap automatically.
- Enter the current interest rate from tsp.gov: the field is left blank because the rate changes monthly. Enter the rate for your request month (the worked example uses 4.875%, the October 2026 figure).
- Pick biweekly or monthly, and an assumed return for the illustration: biweekly payroll deduction is the default, and 7% is pre-filled as an illustration guess, not a forecast.
- Click Calculate: the results show payment, total interest, total repaid, payment count, amount received, opportunity cost, and your full-rule maximum, plus a breakdown table. Copy or share the result with the buttons in the results box.
Invalid inputs are rejected with a plain message: a missing loan amount, an amount under $1,000 or over $50,000, a request above your full-rule maximum (the message names your maximum), a term over the cap for the loan type, a missing rate, or a negative rate or loan balance. Clicking Reset returns the worked-example values.
The maximum loan rule, in full
Your maximum is the smallest of three figures, from 5 CFR 1655.6, the TSP loan amount rule:
- Your own contributions and earnings. Only the portion of your account from your own contributions and their earnings counts, not counting outstanding loan principal. Agency automatic and matching contributions and their earnings are not borrowable, and money in the mutual fund window does not count toward the minimum or maximum.
- 50% of your vested balance or $10,000, whichever is greater, minus outstanding loans. The vested balance in this part includes any outstanding loan balance, then outstanding loans are subtracted. The $10,000 floor is the part the old version of this page missed: a participant with a $12,000 own-contributions balance can borrow up to $10,000 under this part, not merely $6,000.
- $50,000 minus your highest outstanding loan balance in the past 12 months. This is the part that bites people who recently paid a loan off. If your highest balance in the past year was $30,000, your new ceiling is $20,000 even if you owe nothing today.
Worked through the calculator: with $100,000 of own contributions and no outstanding or past-year loans, the three figures are $100,000, $50,000, and $50,000, so the maximum is $50,000 and a $20,000 request passes. With a $60,000 balance and no other loans, the figures are $60,000, $30,000, and $50,000, so the maximum is $30,000 and a $40,000 request is correctly rejected. With a $12,000 balance, the figures are $12,000, $10,000, and $50,000, so the maximum is $10,000: the old simplified rule would have wrongly capped this borrower at $6,000. The calculator now enforces all three parts, and the results box states your maximum so you can see which part binds.
Two limits sit outside the calculator and still bind you. You can have at most two TSP loans outstanding at a time, and only one of them can be residential. After fully repaying a loan, you must wait more than 30 business days before applying for a new loan of the same type. If you hold both a civilian and a uniformed services account, the maximum calculation takes both accounts into account. The TSP account record governs in every case: this page estimates from the figures you type, and the TSP system computes your true maximum when you apply.
The TSP loan rules that shape the numbers
Two loan types exist. A general purpose loan can be used for any reason, needs no documentation, and runs 12 to 60 months. A residential loan is for buying or building your primary home, needs supporting documentation, and runs 61 to 180 months. The minimum for either is $1,000. The fee comes out of the proceeds and never returns to your account: $50 for general purpose, $100 for residential. You repay the full face amount but receive the amount minus the fee, so a $20,000 general purpose loan puts $19,950 in your hands.
Interest is fixed at the G Fund rate in effect the month before you request the loan, and it never changes after issue. Your contributions and agency match keep running while a loan is outstanding; the TSP does not pause them. Repayment is by payroll deduction, normally 26 biweekly payments a year, starting within 60 days of disbursement. You must be in pay status to take a loan, and FERS and uniformed services participants need spousal consent, while CSRS participants trigger spousal notification. If you separate from federal service with a balance outstanding, the unpaid amount can be treated as a taxable distribution, with a possible early withdrawal penalty on top. That separation risk is the sharpest edge of a TSP loan, and it deserves more weight in your decision than the low interest rate does.
The payment formula, explained plainly
Payment = P × (i × (1 + i)^n) ÷ ((1 + i)^n − 1), where P is the loan amount, i is the interest rate per payment period, and n is the total number of payments. The payment is the amount that, paid every period at the given rate, exactly pays off the loan by the end of the term. Total repaid is payment × n, and total interest is total repaid minus the loan amount. With a 0% rate the payment is simply the amount divided by the number of payments.
The opportunity-cost illustration uses annual compounding: a sum growing at the assumed return for the term years reaches amount × (1 + return)^term, and the cost is that future value minus the amount. That is an illustration, not a market prediction, and it is deliberately simple: it ignores the repayments flowing back into your account during the term, which partly offset the missed growth, and it ignores what your actual fund allocation would have earned. Treat the $8,051.03 in the worked example as the size of the effect, not as a precise forecast. The payment math itself is standard amortization; the TSP accrues interest daily between payments, which moves totals by a few cents on a typical loan, so a few cents of difference from the official estimator is expected, not an error.
Worked example: a $20,000 general purpose loan
Borrow $20,000 for 5 years at 4.875%, repaid biweekly, with a $100,000 own-contributions balance and a 7% assumed return.
- Per-payment rate: 0.04875 ÷ 26 = 0.001875.
- Number of payments: 5 × 26 = 130.
- Payment: 20000 × (0.001875 × 1.001875^130) ÷ (1.001875^130 − 1) = $173.50 biweekly.
- Total repaid: $173.50 × 130 = $22,555.08.
- Total interest, paid to yourself: $2,555.08.
- You actually receive: $20,000 − $50 fee = $19,950.
- Opportunity cost at 7%: $20,000 growing for 5 years would reach $28,051.03, so the loan pulls about $8,051.03 of potential growth out of the market.
- Maximum check: smallest of $100,000, $50,000, and $50,000 = $50,000, so the $20,000 request is within the maximum.
Type these exact numbers into the calculator above, entering 4.875% as the rate, and you will get the same figures. A residential comparison shows why term matters more than rate: $50,000 over 15 years at 4.875% monthly is $392.15 a month, $20,586.77 of interest, $70,586.77 repaid, with a $100 fee leaving $49,900 received. For the same $20,000 borrowed over 15 years monthly at the same rate, the payment falls to $156.86 a month but the interest rises to $8,234.71, more than triple the $2,576.82 of interest on a 5-year monthly schedule. Term, not rate, is what makes a long loan expensive.
The cost most borrowers miss, and the tax wrinkle
The interest on a TSP loan is not really a cost in the usual sense, because you pay it to yourself. The real cost is opportunity cost: the money you borrow stops compounding in your funds. If you would have earned 7% a year in your allocation, a $20,000 five-year loan costs roughly $8,051 in forgone growth, far more than the $2,555 of interest that cycles back into your account. That framing flips the usual comparison: against an 18% personal loan, the TSP loan usually wins, but against leaving the money invested, every TSP loan starts behind by the growth it misses. Repayments flowing back in during the term soften the blow, which is why the illustration is an upper-bound style estimate rather than a final bill.
There is also a tax wrinkle worth knowing, scoped carefully. You repay the loan with after-tax dollars, and the interest portion gets taxed again when you eventually withdraw it in retirement from a traditional balance. The principal is not double-taxed, but the interest effectively is. That point is often overstated into “TSP loans are double-taxed”, which is wrong: only the interest portion carries the second tax, and the interest itself went back into your account rather than to a lender. Compare that honestly with a bank loan, where the interest leaves your hands entirely and is also paid with after-tax dollars. For a one-off cash need, weigh the tax and penalty cost of a permanent removal against keeping the balance invested: a TSP savings calculator projects what the balance grows to if you leave it invested. If your decision is about retirement income rather than borrowing, the TSP payout calculator turns a balance into periodic payments, the TSP RMD calculator models required minimum distributions in retirement, and the TSP matching calculator checks the agency match you should never leave unclaimed while a loan is outstanding.
Honest limitations
This calculator estimates payments under the TSP rules as stated above; it is not the official TSP loan estimator and cannot see your actual account, outstanding loans, or eligibility status. It models monthly payments as a comparison mode, while real TSP repayment follows your biweekly pay schedule. It does not model the 30-business-day wait after payoff, the two-loan limit, spousal consent, nonpay status, or what happens to a loan in a government shutdown. It does not compute taxes on a defaulted loan or on separation, and it does not distinguish traditional and Roth balances in the double-tax discussion beyond the traditional case stated. The TSP account record and the TSP loan program rules govern every figure that matters at application time, and the current rate must come from tsp.gov, not from this page.
What competing calculators miss
A TSP loan has a few details that are easy to leave out of an estimate, and each one changes the answer. Here is what to check for in any estimate, and what this page does with each one.
- Payment rhythm: TSP loans repay by payroll deduction, normally 26 biweekly payments a year. An estimate that models monthly payments alone does not match the deductions that actually leave your pay. This page keeps biweekly as the default and offers monthly only as a comparison.
- The fee: $50 for a general purpose loan and $100 for a residential loan, taken out of the proceeds and never returned. A $20,000 general purpose loan puts $19,950 in your hands, not $20,000. This page deducts the fee from the amount received.
- The full maximum rule: the ceiling is the smallest of three figures: your own contributions and earnings; 50% of your vested balance or $10,000, whichever is greater, minus outstanding loans; and $50,000 minus your highest balance in the past 12 months. Check that an estimate uses all three parts. A version using only 50% or $50,000 understates the ceiling for small-balance participants and for anyone who borrowed recently. This page enforces all three parts.
- Opportunity cost: the interest goes back into your own account, so the genuine cost is the growth the borrowed money misses while it is out of the market. This page puts that figure beside the payment so the cheapest-looking loan is judged on its real price.
- What no estimate can do: verify your account. Only the TSP system can state your true maximum, and this page says so wherever the maximum appears.
Frequently asked questions
The smallest of three figures: your own contributions and earnings, 50% of your vested balance or $10,000 whichever is greater minus outstanding loans, and $50,000 minus your highest outstanding loan balance in the past 12 months. The minimum loan is $1,000. Agency money is never borrowable.
No. Only your own contributions and their earnings are borrowable. Agency automatic and matching contributions and their earnings are excluded from the maximum calculation, and money in the mutual fund window does not count at all.
The G Fund rate in effect the month before you request the loan, fixed for the life of the loan. The rate changes monthly, so check the current rate at tsp.gov before you apply. The 4.875% in the worked example is the October 2026 request figure, not a current rate.
A general purpose loan can be used for any reason, needs no documentation, runs up to 5 years, and carries a $50 fee. A residential loan is for buying or building your primary home, needs supporting documentation, runs up to 15 years, and carries a $100 fee.
The loan amount minus the fee. A $20,000 general purpose loan puts $19,950 in your hands, and a $50,000 residential loan puts $49,900 in your hands. You still repay the full face amount, and the fee never returns to your account.
Only the interest portion, and only for a traditional balance. You repay with after-tax dollars, and interest repaid into a traditional balance is taxed again on withdrawal. The principal is not double-taxed, and the interest went back into your own account rather than to a lender.
The unpaid amount can be treated as a taxable distribution, with a possible early withdrawal penalty on top if you are under 59 and a half. If your separation date falls inside the loan term, weigh that risk before borrowing.
The growth the borrowed money misses while it is out of the market. A $20,000 five-year loan at a 7% assumed return misses about $8,051.03 of growth, far more than the $2,555.08 of interest that cycles back into your account. Repayments flowing back in during the term soften that figure.
At most two loans outstanding at a time, and only one of them can be residential. After fully repaying a loan, you must wait more than 30 business days before applying for a new loan of the same type.
No. This page estimates from the figures you type and cannot see your actual account, outstanding loans, or eligibility status. The TSP account record governs, and the current rate must come from tsp.gov.
Add This Calculator to Your Website
Embed this calculator on your own site with the code below. Pick a size to preview it live, then copy the code.
Powered by Calculator Zilo
References
- Legal Information Institute, Cornell Law School. “5 CFR 1655.6, Amount of Loan.” 5 CFR 1655.6 amount of loan (Accessed October 24, 2026)
- Office of the Federal Register. “5 CFR Part 1655, Loan Program.” 5 CFR Part 1655 loan program (Accessed October 24, 2026)
- U.S. Government Publishing Office. “5 CFR 1655.6, Amount of Loan (2023 edition).” 5 CFR 1655.6 2023 edition (Accessed October 24, 2026)
- Internal Revenue Service. “Retirement Plans FAQs Regarding Loans.” IRS retirement plan loan FAQs (Accessed October 24, 2026)
- GovFacts. “Thrift Savings Plan: Retirement Savings for Service Members.” TSP savings for service members (Accessed October 24, 2026)
- Military.com. “Should You Borrow From Your TSP Account?” should you borrow from your TSP (Accessed October 24, 2026)
- The Military Wallet. “TSP Loan: Dangers of Taking a Thrift Savings Plan Account Loan.” TSP loan dangers (Accessed October 24, 2026)
- Fatfire. “TSP G Fund: Understanding Interest Rates and Returns.” TSP G Fund interest rates (Accessed October 24, 2026)
- LegalClarity. “How Many TSP Loans Can You Have at One Time?” how many TSP loans at one time (Accessed October 24, 2026)
- LegalClarity. “How to Take a TSP Loan: Steps, Fees, and Repayment.” how to take a TSP loan (Accessed October 24, 2026)
