TSP Loan Calculator: How to Borrow From Your Thrift Savings Plan Without Wrecking Your Retirement
30 July 2026

TSP Loan Calculator: How to Borrow From Your Thrift Savings Plan Without Wrecking Your Retirement
It’s past midnight. The house is completely quiet, save for the hum of the refrigerator, and you’re staring at a screen that’s giving you that familiar, heavy feeling in the pit of your stomach.
Maybe it’s an unexpected medical bill, a car repair that’s going to cost more than the car is worth, or a pile of high-interest credit card debt that feels like it’s growing faster than your paycheck. You open your government portal, look at your Thrift Savings Plan balance, and think: It’s right there.
You’ve built up a decent nest egg through years of federal service, and the rules say you can borrow against it. You wouldn't have to deal with a bank, a credit check, or a judgmental loan officer. You’re just borrowing from yourself, right? The interest you pay goes right back into your own account. It sounds almost too good to be true.
And that’s the exact moment you start searching for a tsp loan calculator, trying to figure out what those monthly payments will actually look like and whether you’re about to solve your current crisis or plant the seeds of a future one.
Let’s take a deep breath, pull up a chair, and look at the actual mechanics of a TSP loan. We’re going to walk through the numbers together, look at the hidden trade-offs no one talks about, and figure out if borrowing from your future self is your best option—or your last resort.
The Seductive Logic of the "Self-Loan"
When you take out a Thrift Savings Plan loan, the pitch to yourself is remarkably compelling. You look at your account balance and see a pool of money sitting there, earning market returns. If you take a general purpose loan for things like debt consolidation or a major purchase—or a residential loan for buying a primary home—you aren't "spending" your savings. You’re just shifting money around.
The mechanics sound painless:
- You apply online through your TSP participant portal.
- You don't need a credit check, and taking a loan doesn't hurt your credit score.
- The interest rate is tied directly to the G Fund rate (the yield on short-term U.S. Treasury securities) at the time your loan is processed.
- Best of all, the interest you pay goes back into your own account, credited to whichever fund you choose. You are essentially paying interest to yourself.
It feels like a loophole in the harsh rules of personal finance. Why pay a bank 12% or 18% interest on a personal loan or credit card when you can pay a modest interest rate to you?
But before you click submit, there is a catch. In fact, there are a few of them, and they hide quietly behind the cheerful math of paying yourself back.
Two Kinds of TSP Loans: General Purpose vs. Residential
Before you run any numbers, you have to know which lane you’re driving in, because the rules change drastically depending on why you need the cash.
1. General Purpose Loans
- What it’s for: Anything you want—credit card debt, medical bills, a vacation, home repairs, or a new roof.
- Repayment term: 1 to 5 years (60 months).
- Minimum amount: Usually $1,000.
- The reality check: Because the repayment window is relatively short, the monthly payments on a large general purpose loan can be steep enough to throw a wrench into your monthly budget.
2. Residential Loans
- What it’s for: Purchasing a primary residence only. (You cannot use this to refinance an existing mortgage or buy an investment property).
- Repayment term: 1 to 15 years (180 months).
- Minimum amount: Usually $1,000.
- The reality check: A 15-year timeline makes the monthly payment much more manageable, but it also means a chunk of your retirement portfolio is locked into a fixed-rate obligation for a decade and a half.
Both loan types require a minimum of $1,000 of your own contributions and associated earnings (agency matching funds and their earnings generally cannot be borrowed). You also can't have more than two loans outstanding at a time, and only one can be a residential loan.
The Hidden Cost: The Cost of Missing Out
To understand why a TSP loan isn't entirely a free lunch, let’s follow a federal employee named Marcus through a typical scenario.
Marcus is an GS-11 working for the federal government. He has built up a healthy TSP balance of $80,000, but he’s accumulated $15,000 in high-interest credit card debt over the past couple of years due to a family emergency and rising living costs. The minimum payments are choking his monthly cash flow.
Marcus decides to take a $15,000 general purpose TSP loan over a 5-year term to wipe out the credit cards in one fell swoop. Let's look at how the math shakes out using a hypothetical interest rate of 4.5% (tied to the G Fund).
Step-by-Step Breakdown of Marcus’s Loan
- Loan Amount: $15,000
- Interest Rate: 4.5% (paid back into his own account)
- Term: 5 years (60 monthly payroll deductions)
- Monthly Payment: Roughly $280 taken directly out of his paycheck.
On paper, Marcus feels great. His credit card debt is gone, his interest rate is low, and the $280 a month he pays back is going straight back into his own retirement account. He feels like he successfully outsmarted the system.
But Here’s What Marcus’s Spreadsheet Didn’t Show Him
While Marcus is paying himself 4.5% interest, that $15,000 is no longer invested in the stock or bond funds where it was previously sitting.
If Marcus had his money parked in the C Fund (tracking the S&P 500) or an L (Lifecycle) Fund, those funds historically aim for long-term returns well above a G Fund yield. While his money is sitting as a loan balance, it misses out on market growth.
- When you buy stocks or funds in your TSP, you benefit from compound growth.
- When your money is removed to fund a loan, that compounding stops for the principal amount you took out.
- Even though you are replacing the principal plus 4.5% interest, you are replacing it with flat cash, missing out on whatever the broader market might have done during those five years.
In finance, this is called the opportunity cost. It’s the invisible tax of missing out on market rallies while your money is sidelined.
If you want to run these exact numbers for your own situation—comparing your current debt payments against what a structured payoff would look like—you can hop over to our dedicated Loan Prepayment Calculator to test different scenarios before committing.
The Danger Zone: What Happens If You Leave Federal Service?
This is the part that keeps benefits officers awake at night, and it’s the single biggest risk of taking a TSP loan.
When you take a TSP loan, the repayments are automatically deducted from your paycheck each pay period. It feels safe, effortless, and automatic. But your loan is legally tied to your status as an active federal employee or uniformed service member.
What happens if you decide to take a new job in the private sector? What if you are downsized, face a forced relocation, or decide to retire early?
- The 90-Day Rule: If you leave federal service for any reason—whether you quit, get fired, or retire—your entire remaining TSP loan balance becomes due.
- You generally have just 90 days to pay off the remaining balance in full with cash.
- If you cannot pay it off, the outstanding balance is declared a taxable distribution (often called a "loan default").
The Double Whammy of a Default
If your loan defaults, two painful things happen at once:
- The remaining balance is permanently removed from your retirement account. You lose that money forever; it will not be there when you are 65.
- The IRS treats that unpaid loan amount as taxable income for that calendar year. If you default on a $12,000 balance, that’s $12,000 added straight to your taxable income, potentially pushing you into a higher tax bracket and triggering a hefty federal (and state) tax bill, plus a 10% early withdrawal penalty if you are under age 59½.
This is why experienced federal workers treat TSP loans with a healthy dose of caution. If there is even a remote chance you might change jobs, transition to the private sector, or retire within the next few years, a multi-year TSP loan can become a ticking financial bomb.
How to Decide: Is a TSP Loan Right for You?
We’ve looked at the appeal, the math, and the terrifying downside of a default. So how do you actually make the call?
Instead of guessing, let’s run through a practical checklist to see if a TSP loan is a smart tool or a dangerous trap for your specific situation.
1. What is the alternative cost?
Compare the interest rate and fees of the TSP loan against what you are currently paying.
- If you are drowning in 22% credit card debt, wiping it out with a 4.5% TSP loan can save you thousands of dollars in real cash out-of-pocket interest charges.
- If you are borrowing from your TSP to fund a discretionary purchase (like a vacation or a kitchen remodel you don't desperately need), the opportunity cost of missing market returns isn't worth it. Leave the money alone.
2. How secure is your employment?
Be brutally honest with yourself about your career trajectory.
- Are you tenured, secure, and planning to ride out your career until federal retirement? If yes, the risk of a forced 90-day repayment due to job separation is low.
- Are you in a probationary period, eyeing a transition to the private sector, or considering retirement soon? If yes, do not take a TSP loan. Find another way.
3. Will your budget actually survive the payroll deduction?
When you borrow from your TSP, the loan payment comes straight out of your paycheck before it hits your bank account.
- This is great because you can't forget to pay it.
- It is dangerous if it leaves you with too little take-home pay to cover your basic living expenses, which might force you right back into using credit cards to buy groceries.
If you are looking at borrowing to buy a vehicle rather than draining your retirement account, it is often wise to compare a TSP loan directly against standard auto financing. You can test out vehicle loan scenarios using our Car Loan Calculator to see how monthly payments stack up against a traditional lender before making a final choice.
A Smarter Way Forward
When you’re stressed about money, it’s easy to look at a large retirement balance and view it as a giant emergency fund. But your Thrift Savings Plan has one singular, sacred job: funding the version of you who is too old or too tired to work.
If you do decide to move forward with a TSP loan, treat it with the seriousness of a contract with a strict banker—because legally, that’s exactly what it is.
- Keep the term as short as possible. Opt for a 2- or 3-year repayment plan instead of the maximum 5 years if your budget can absorb the higher payment. The faster the loan is paid off, the sooner your money gets back to compounding in the market.
- Do not stop your regular contributions. Some federal employees make the mistake of halting or reducing their regular bi-weekly TSP contributions while paying off a loan. Try your absolute best to keep contributing at least enough to get the full 5% agency match. Stopping your match is like turning down free money on top of borrowing your own savings.
- Have an exit plan. Know exactly how you will handle the remaining balance if your employment situation changes unexpectedly.
Take a deep breath. You don't have to figure out everything tonight. Run your numbers carefully, look at the total picture—including what you miss out on while the money is sidelined—and make a choice that protects both your peace of mind today and your security tomorrow.
Frequently Asked Questions
Does taking a TSP loan lower my credit score?
No. Because you are borrowing your own money and the loan isn't issued by a commercial bank or reported to traditional credit bureaus, applying for a TSP loan and paying it back has zero impact on your credit score.
Can I make extra payments to pay off my TSP loan faster?
Yes. The TSP allows you to make additional payments toward your loan at any time via check or electronic funds transfer through your online account. Doing this reduces the total amount of interest you pay (even though that interest goes to yourself) and gets your core retirement balance back to work in the market sooner.
What happens to my loan if the stock market crashes while I'm paying it back?
Ironically, in some ways, a market downturn can soften the blow of a TSP loan. When your account balance is invested in funds that drop in value, the money you took out as a loan was locked in at its prior value. However, you also miss the chance to buy units of those funds "on sale" while your cash is out of the market. Once you pay the loan back, your payments buy new shares at the lower, post-crash prices, which can turbocharge your recovery when the market rebounds.
Disclaimer: This article is for informational and educational purposes only and does not constitute financial, legal, or tax advice. Every federal employee's financial situation is unique. Consider consulting with a certified financial planner or your agency's benefits specialist before making major decisions regarding your retirement accounts.
Want to run these numbers on the go? Check out the free Finlaa app for quick, no-nonsense calculators whenever you need them.
Related calculators
Related articles
Demystifying Your STRS Retirement Calculator: What Your Pension Estimate Really Means
Retirement
Fidelity IRA Calculator: How to Actually Figure Out Your Retirement Math
Retirement

TSP Withdrawal Calculator: How to Figure Out Your Retirement Income
Retirement

Vanguard Retirement Nest Egg Calculator: How to Figure Out Your Number
Retirement