Finance & Business
67,275 views
25 min · 3 min read
7 steps
Intermediate

How to calculate the true cost of borrowing from a 401(k) and alternatives

Borrowing from your 401(k) can seem like an easy, low-cost way to get cash quickly, but the true cost includes lost investment gains, taxes, and potential penalties. This guide walks you through how to calculate those costs step by step and compares realistic alternatives so you can decide with confidence.

Verified by pleasexplain editors
  1. Step 1: Gather loan specifics

    List the loan amount, interest rate charged by the plan, repayment term in years or months, and any up-front or maintenance fees. For example, note $10,000 borrowed at 4% for 5 years with a $50 origination fee — these numbers form the basis for every calculation that follows.

    [Illustration: Person writing loan amount, rate, term, and fees on paper with calculator nearby]

  2. Step 2: Compute total repayment

    Calculate total dollars repaid: monthly payment times number of months plus fees. Using $10,000 at 4% for 60 months yields a monthly payment of about $184 and total repayments of roughly $11,040 plus a $50 fee = $11,090. This shows nominal cash outflow to you over time.

    [Illustration: Spreadsheet showing monthly payment and total repayment calculation]

  3. Step 3: Estimate lost investment returns

    Determine what the borrowed balance would have grown to if left invested. Use a conservative expected annual return (e.g., 6% or your plan’s historical average). For $10,000 at 6% compounded annually over 5 years the forgone value is about $13,382, meaning lost growth of about $3,382.

    [Illustration: Chart comparing original investment growth versus withdrawn line over 5 years]

  4. Step 4: Calculate net opportunity cost

    Subtract loan interest paid from the forgone investment gains to find net opportunity cost. With $3,382 lost growth minus roughly $1,090 interest paid (total repayment minus principal), the net cost is around $2,292. This measures what you truly gave up by borrowing from future retirement growth.

    [Illustration: Calculator showing subtraction of interest paid from lost gains to yield net cost]

  5. Step 5: Account for taxes and penalties

    Add potential taxes and penalties if you default or leave your job. If the loan becomes distributed, it may be taxable at ordinary rates plus a 10% early withdrawal penalty; on a $10,000 outstanding balance that could add $2,400 (24% tax) + $1,000 penalty = $3,400 extra. Include these scenarios in a worst-case cost column.

    [Illustration: Folder labeled taxes and penalties with documents and percentage symbols]

  6. Step 6: Compare to alternatives

    Estimate costs for a comparable personal loan, home equity line, or credit card. For example, a personal loan might be 8% for 5 years (monthly about $202, total $12,120); a HELOC might be 5% variable; credit card might be 18% with high risk. Put each alternative’s total cost next to the net 401(k) cost to compare objectively.

    [Illustration: Table comparing total cost of 401(k) loan, personal loan, HELOC, and credit card]

  7. Step 7: Make a decision checklist

    Weigh liquidity needs, job stability, tax sensitivity, and emotional comfort. If you expect to change jobs within 2 years, the risk of forced distribution rises — favor alternatives. If you can repay within 12 months and avoid market timing, a 401(k) loan might be reasonable for short-term emergency needs.

    [Illustration: Checklist with items like job stability, repayment horizon, and emergency savings with checkmarks]


  • Use a conservative investment return like 4–7% to avoid overestimating forgone gains.
  • Run calculations in a spreadsheet for clarity: list principal, interest, fees, forgone gains, and net cost columns.
  • If possible, only borrow for up to 12 months to minimize lost compounding and job-change risk.
  • Remember that interest you pay on a 401(k) loan goes back into your account, but it still costs you in lost market returns.
  • Factor in state income tax if you live in a state that taxes retirement distributions.
  • Ask your plan administrator for exact loan rules, fees, and whether repayments are through after-tax payroll deductions.

  • If you leave your employer, outstanding balances may become taxable distribution and trigger the 10% early withdrawal penalty for those under 59½.
  • Borrowing reduces diversification and emergency cushion; a prolonged market rebound while your funds are out can permanently reduce retirement savings.
  • Treat the loan like real debt: missed repayments can damage long-term retirement security and are not reported to credit bureaus but have serious tax consequences.

Was this guide helpful?