The short answer
A TSP loan is money you borrow from your own account and pay back, with interest, into that account. Nothing is taxed if you make every payment. A hardship withdrawal is permanent: it’s taxed as income, and if you’re under 59½ a 10% additional tax may apply. [1] [2] [6]
- Loan: interest at the G Fund rate for the month before you apply, fixed for the loan. A general purpose loan runs 12 to 60 months with a $50 fee. Service members and federal civilian employees can both borrow while they’re serving or employed. [1]
- Hardship withdrawal: only for listed hardships, such as negative monthly cash flow or unpaid medical bills. The TSP withholds 10% for federal tax by default, which may not cover the full tax. You can’t put the money back. [2] [10]
For the same cash, a withdrawal takes more out of your account to cover tax, and that money stops growing for good. A loan costs a fee and a payment from every paycheck until it’s repaid. Compare both with your numbers below.
TSP loan vs hardship withdrawal calculator
Worked examples
Hypothetical examples
Cash needed $5,000 unless shown. Age 30, a general purpose loan for 36 months paid twice a month, a 4% example G Fund rate (not today’s rate), 10% withholding, no state tax, and an assumed 6% yearly return for 30 years. Not real Members’ stories.
| Situation | Loan payment, twice a month | Loan: growth given up | Withdrawal needed | Withdrawal: tax and additional tax | Withdrawal: value given up |
|---|---|---|---|---|---|
| $5,000, 12% bracket, own contributions and earnings $20,000 (loan $5,050 with the fee; $313 interest into your account) | $74.49 | $777 | $5,556 | $1,222 | $31,908 |
| Same, 22% bracket and 5% state tax | $74.49 | $777 | $5,556 | $2,056 | $31,908 |
| $15,000 needed, own contributions and earnings $24,000: the maximum loan is $12,000, so the loan covers $11,950 and leaves $3,050 | $177.01 | $1,847 | $16,667 | $3,667 | $95,725 |
| $15,000 over 60 months, own contributions and earnings $60,000, a $25,000 loan paid off within the last 12 months (maximum $25,000) | $138.48 | $3,743 | $16,667 | $3,667 | $95,725 |
| Age 60, money used in 5 years (no 10% additional tax) | $74.49 | $181 | $5,556 | $667 | $7,435 |
| First example with an assumed 4% return, equal to the example loan rate | $74.49 | −$18 | $5,556 | $1,222 | $18,019 |
In the first example the withdrawal costs $1,222 in tax and additional tax, and only $556 of it is withheld, so about $667 is still due when you file. The loan costs a $50 fee and $148.98 a month from your pay for three years. A negative “growth given up” means the loan’s interest, paid into your own account, beat the assumed return.
How a TSP loan works
- Paid back to you: a plan loan must be repaid to your own account, and it isn’t taxed if it meets the loan rules and you keep to the schedule. [7]
- Who can borrow: only active federal employees and uniformed services members. You need at least $1,000 of your own contributions and earnings, and the smallest loan is $1,000. [1]
- Two kinds: a general purpose loan for any reason, with no paperwork, repaid over 12 to 60 months with a $50 fee; or a residential loan to buy or build your main home, with paperwork, over 61 to 180 months with a $100 fee. The fee comes out of the loan and isn’t returned. [1]
- Interest: the G Fund rate for the month before you apply, fixed for the life of the loan. [1] The TSP posts that rate on tsp.gov; this page doesn’t quote it, because it changes every month.
- How much: the smallest of three amounts [1]:
- your own contributions and earnings, minus any loan you still owe;
- half of your own contributions and earnings (counting any loan you owe), or $10,000 if that’s more, minus any loan you still owe;
- $50,000 minus your highest loan balance in the last 12 months.
- Missed payments can mean taxes. Under federal tax law, a plan loan that isn’t repaid on its terms is generally treated as a taxable distribution of the unpaid balance, and the 10% additional tax can apply to it too. [1] [6]
- Leaving service or going on unpaid status: the TSP has special repayment rules for these. [1] We haven’t covered them here. If you might separate, retire or go into nonpay status while a loan is open, read the TSP’s loan rules or call the TSP before you borrow, so a loan doesn’t turn into a tax bill.
How a hardship withdrawal works
- Who qualifies: you must have negative monthly cash flow, unpaid medical expenses, a casualty loss, unpaid legal fees for a separation or divorce, or losses from a FEMA-declared major disaster. [2]
- It’s permanent. In the TSP’s words, “You can’t put the money back.” [2] The IRS says the same of hardship distributions generally: they can’t be repaid to the plan or rolled over, so they permanently reduce your balance. [8] [9]
- Withholding isn’t the whole tax. The TSP withholds 10% of the taxable portion unless you pick another rate, including 0%. [2] That’s the federal default for this kind of payment. [5] The withdrawal is ordinary income, taxed at your bracket rate (federal rates run from 10% to 37%) [12], there may be state tax, and the IRS notes withholding may not be enough when the 10% additional tax applies. [2] [10]
- The amount: IRS rules for these plans say a hardship distribution can’t exceed the need, but the need can include the taxes and penalties the withdrawal causes. [9] Check what the TSP’s form allows before you choose a figure.
- Roth and tax-exempt money: hardship distributions are taxable unless they consist of Roth contributions. [8] If part of your balance is Roth or tax-exempt (combat zone) money, the taxable portion may be smaller than the calculator assumes; your TSP statement shows how your balance is split.
The 10% additional tax and its exceptions
The tax law adds 10% of the taxable part of an early distribution from a qualified retirement plan, and the TSP is treated as one for tax purposes. [3] [4] It doesn’t apply after age 59½. The exceptions the IRS lists for workplace plans include [3] [10] [11]:
- Reservists called to active duty for more than 179 days, or for an indefinite period, for some distributions made during that active duty (“qualified reservist distributions”). These can be paid back into an IRA within two years after the active duty ends.
- Medical bills: up to the amount of unreimbursed medical expenses above 7.5% of your adjusted gross income.
- Total and permanent disability, or a terminal illness certified by a physician.
- Federally declared disasters: qualified disaster recovery distributions, up to $22,000 per disaster, if you live in the disaster area and had an economic loss.
- Domestic abuse: some distributions within a year of abuse by a spouse or domestic partner, up to a dollar limit.
- Leaving service at 55 or older: the IRS chart says the separation must be during or after the year you reach 55. Certain federal public safety employees, such as federal law enforcement officers, firefighters, customs and border protection officers and air traffic controllers, use age 50 or 25 years of service, and the IRS names the TSP as a plan this covers. These apply to money taken after you leave, not to a hardship withdrawal while you’re still serving.
Whether an exception fits your withdrawal depends on your facts and how it’s reported. The IRS uses Form 5329 when a distribution qualifies but the tax form you receive doesn’t show it. [10] [11] A tax professional can look at your specific case.
Questions to weigh
- Will you stay in long enough to repay? A loan works on a schedule. If you plan to separate, retire or move to a job outside the federal government before it’s repaid, check the TSP’s rules first.
- Can your pay carry the payment? The calculator shows the payment per paycheck and per month. Put it next to your Leave and Earnings Statement or pay stub before you decide.
- Is the withdrawal bigger than it looks? To receive $5,000 after 10% withholding, you take out about $5,556, and the tax bill can be larger than the withholding.
- Is there another source? Military OneSource points service members and families to military relief organizations and free financial counseling, available 24/7 at 800-342-9647. [13] Federal civilians can ask their agency’s HR or benefits office what’s available.
- What does this money do for the next emergency? A small cash cushion can keep the next car repair or rent gap away from your TSP. See how much emergency fund you need.
How DIY Finance fits in
Reaching for the TSP usually means something else in the budget ran short. DIY Finance helps you see the whole picture: link accounts read-only (or enter them by hand), and Orb, your financial guide, suggests one next step at a time — for example, how a loan payment fits with rent and food, or how much to set aside each payday so the next surprise doesn’t reach your retirement savings. Saving is one of the seven factors in your Financial Wellbeing Score, which is not a credit score. Orb’s guidance is educational, not tax or legal advice, and DIY Finance isn’t affiliated with the Department of Defense, the Office of Personnel Management or the Thrift Savings Plan. If you’re in the Blended Retirement System, see also the BRS TSP match calculator.
Sources
- Thrift Savings Plan, TSP loans (no page date shown). Read November 26, 2026.
- Thrift Savings Plan, Financial hardship (no page date shown). Read November 26, 2026.
- 26 U.S.C. § 72, Annuities; certain proceeds of endowment and life insurance contracts, subsections (p) (loans treated as distributions) and (t) (10-percent additional tax on early distributions), including (t)(2)(A)(v), (t)(2)(B), (t)(2)(G) and (t)(10). Accessed November 26, 2026.
- 26 U.S.C. § 7701(j), Tax treatment of Federal Thrift Savings Fund. Accessed November 26, 2026.
- 26 U.S.C. § 3405(b), Special rules for pensions, annuities, and certain other deferred income (nonperiodic distributions). Accessed November 26, 2026.
- Internal Revenue Service, Retirement plans FAQs regarding loans (last reviewed February 26, 2026). Accessed November 26, 2026.
- Internal Revenue Service, Hardships, early withdrawals and loans (last reviewed February 26, 2026). Accessed November 26, 2026.
- Internal Revenue Service, Retirement topics – Hardship distributions (last reviewed February 26, 2026). Accessed November 26, 2026.
- Internal Revenue Service, Retirement plans FAQs regarding hardship distributions (last reviewed February 26, 2026). Accessed November 26, 2026.
- Internal Revenue Service, Topic no. 558, Additional tax on early distributions from retirement plans other than IRAs (last reviewed November 9, 2026). Accessed November 26, 2026.
- Internal Revenue Service, Retirement topics – Exceptions to tax on early distributions (last reviewed November 13, 2026). Accessed November 26, 2026.
- Internal Revenue Service, Federal income tax rates and brackets (rates of 10% to 37%; last reviewed July 27, 2026). Accessed November 26, 2026.
- Military OneSource, Resources for financial stress. Accessed November 26, 2026.
Worked numbers are hypothetical and calculated by DIY Finance with the formulas above; the G Fund rate and the yearly return in them are examples, not current or expected figures. This page is general information, not tax or legal advice. Last reviewed November 26, 2026.