What Happens to Your TSP Loan When You Retire?
When You Retire With an Outstanding TSP Loan
If you have an outstanding TSP loan and you are within a few years of retirement, this is the article that may save you from one of the most expensive surprises in federal retirement.
The Short Version
When you separate from federal service with an outstanding TSP loan, you have three choices: keep the loan active and continue making monthly payments on your own, pay the loan off in full by the deadline TSP gives you, or let the loan be foreclosed and accept the unpaid balance as taxable income. The first option — continuing the loan after separation — is the one many older planning resources still leave out, and it changes the calculus considerably.
If foreclosure happens, the unpaid balance is reported on Form 1099-R as a taxable distribution. For a federal employee who retires with a $40,000 TSP loan balance and lets it foreclose, that can mean a tax bill of $13,000 to $18,000 on top of losing $40,000 of retirement savings. Knowing your options in advance is the difference between a clean retirement transition and an avoidable tax shock.
The TSP Loan Basics That Matter at Retirement
The TSP offers two loan types: a general purpose loan with a maximum five-year term, and a primary residence loan with a maximum fifteen-year term. The maximum loan amount is the smallest of $50,000 (minus your highest outstanding balance in the past 12 months), 50% of your own contributions and earnings (or $10,000, whichever is greater), or your total contributions and earnings.
While you are an active federal employee, repayments are made through payroll deduction. That payroll deduction is the part that breaks the moment you separate — but it does not mean the loan itself has to break.
What Actually Happens at Separation
When you separate from federal service with an outstanding TSP loan, payroll deduction stops. The TSP will send you information about your options and a deadline by which you need to act. From that point, you have three paths.
Path 1: Keep the loan active. You can continue paying the loan on its original schedule (up to 60 months for general purpose, 180 for primary residence) by switching to monthly payments via personal check, money order, or recurring direct debit. Many federal retirees do not realize this is an option. It is often the right answer if your loan rate is lower than what you would pay to refinance with outside funds, and if continuing payments fits your retirement cash flow.
Path 2: Pay the loan off. You can pay the full balance by personal check, certified check, or money order before the TSP’s deadline. If you have outside cash, an annual-leave lump-sum payout, or access to lower-cost borrowing, this closes the loan cleanly.
Path 3: Let the loan be foreclosed. If you do not start making monthly payments and do not pay off the loan by the deadline, the TSP declares a “loan foreclosure.” The unpaid balance and accrued interest are reported on Form 1099-R as a taxable distribution for that year. The 90-day deadline you may have heard about is really this deadline — the failure-state deadline before foreclosure is declared, not a universal “pay or perish” window.
What Foreclosure Actually Costs
A loan foreclosure is added to your ordinary income for the tax year in which it is declared. If you are under age 59½, the 10% early-withdrawal penalty applies unless an IRS exception covers you.
Here is the part many older articles get wrong: a foreclosed TSP loan generally qualifies as a Qualified Plan Loan Offset under the 2017 tax law. That means you are not stuck with the tax bill if you can come up with the money. You have until the due date of your federal tax return for the year of the foreclosure (including extensions) to roll the offset amount into an IRA or another eligible plan. Do that, and you avoid the income tax and the 10% penalty entirely.
That is a much longer runway than the 90-day repayment deadline suggests, and it is the most-overlooked planning lever in this whole topic.
The Federal Retirement Exception You Need to Know
If you separate from federal service in or after the calendar year you turn 55, the 10% early-withdrawal penalty does not apply to TSP distributions, including a foreclosure on an unpaid loan. This is the “Rule of 55” as it applies to qualified plans.
A federal employee who retires at age 56 with a $30,000 unpaid loan would owe ordinary income tax on the $30,000 but would not owe the additional 10% penalty. A federal employee who retires at age 52 under a Voluntary Early Retirement (covered in our VERA guide) with an unpaid loan would owe the income tax plus the 10% penalty — unless they roll the offset amount into an IRA by the QPLO deadline described above.
How to Choose Among the Three Paths
Pay it off before you separate. If you have at least one full year of advance notice and the cash flow, this is the cleanest option. You can accelerate loan payments through payroll deduction or send extra payments by check directly to the TSP. Federal employees who plan retirement 18 to 24 months in advance often use that runway to zero out the loan.
Continue the loan after separation. This is often the right choice if your loan has years left on its term and you would rather keep the cash you have. You set up monthly payments and pay the loan down on its original schedule. Your interest rate stays the same. Your retirement cash flow needs to absorb the monthly payment, but you avoid both the tax hit and the cost of refinancing with outside funds.
Pay it off after separation with outside funds. If you would rather close the loan but do not have cash on hand at separation, a HELOC or low-cost personal loan can fund the payoff. The interest rate on outside borrowing may be higher than the G Fund rate you were paying yourself, but it is almost always dramatically cheaper than letting the loan foreclose.
Accept the foreclosure (with or without a rollover). If none of the above works, the foreclosure path is still survivable — especially if you can complete a QPLO rollover by your tax-filing deadline. If you cannot roll it over, talk to a tax preparer before December of the year you separate so you can make estimated tax payments. The combination of final-year salary, leave payout, any TSP withdrawals, and a foreclosure is one of the most common reasons new federal retirees end up owing five-figure tax bills come April.
A Note on Timing Loan Payoff Payments
If you do plan to pay off your loan around the time of separation, do not assume TSP processes large payments instantly. Make any payoff payment well before the deadline, by certified means, with confirmation. A check in transit when the deadline passes does not stop foreclosure.
What About Rolling Over the TSP After Retirement?
You cannot roll over an active outstanding TSP loan into an IRA. If you want to consolidate your TSP into an IRA after retirement, the loan must first be paid off, continued separately as a TSP-only obligation, or foreclosed.
If the loan is foreclosed, the QPLO rules described above apply: you can use personal funds to roll over the foreclosed amount into an IRA by your tax-filing deadline (including extensions) and avoid the tax. This is a separate transaction from rolling over your remaining TSP balance.
Resolve the loan question before any rollover decisions — see our TSP withdrawal options guide for the broader withdrawal strategy.
The Special Case of a Re-Employed Annuitant
If you separate, retire, and then return to federal service as a re-employed annuitant, the rules get more complicated. Depending on the timing and the status of the loan, your obligation may be reactivated or a foreclosure may already be a closed issue. If you are considering returning to federal service after retirement, ask the TSP directly how your specific loan situation will be handled before you make the decision.
What About TSP Loans Taken Right Before Retirement?
Federal employees occasionally take a TSP loan in the final year before retirement — a move, an RV, a family expense. This is rarely a good idea, even with the option to continue the loan after separation. You are committing future retirement cash flow to loan payments at exactly the moment your income is changing. Run the numbers on alternative financing first.
A Pre-Retirement Loan Checklist
If you are 12 to 24 months from retirement and you have a TSP loan, work through this list:
- Look up your current loan balance, interest rate, and remaining term in My Account on TSP.gov.
- Calculate what your remaining balance will be on your projected retirement date.
- Decide which of the three paths fits your situation: continue the loan, pay it off, or accept foreclosure (with or without a QPLO rollover).
- If you will continue the loan, confirm the monthly payment amount fits your retirement cash flow.
- If you will pay it off, identify the cash source — savings, leave payout, or outside borrowing.
- If foreclosure is on the table, confirm whether the Rule of 55 applies to you (separation in or after the calendar year you turn 55) and whether you can complete a QPLO rollover by your tax-filing deadline.
- Coordinate the loan decision with your overall TSP withdrawal strategy.
Spending an evening on this checklist saves more retirement-related tax dollars than almost any other planning step we see.
The Bottom Line
TSP loans are not inherently bad. They have helped many federal employees through cash-flow gaps, home purchases, and emergencies. They become bad when you walk into retirement without a plan for the outstanding balance — and they become catastrophic when an employee assumes the only choice is “pay it off in 90 days or take the tax hit.” The real menu is wider than that, and so is the planning opportunity.
If you have a TSP loan today and you are thinking about retirement at any point in the next two years, start working the loan into your retirement plan now. The Fed Pilot workshop covers TSP loans, withdrawal strategy, and the full transition from saver to retiree — all in plain English, all for free.