Aftergrad Ledger / Student loan guide
Sell investments or keep them while paying student loans?
If you have investments and student loans at the same time, you can sell some investments and put the proceeds toward your loans, or keep the investments and continue making scheduled payments. The first path can reduce debt and future interest; the second keeps your money invested, where it could grow or lose value. Neither path is a universal winner: the comparison depends on your loan terms, account type, taxes, repayment plan, time horizon, cash needs, and tolerance for uncertainty.
Sources reviewed · U.S. borrowers
01
Compare what each path changes.
Sell and pay down a loan. Selling investments can turn an uncertain future return into a lower loan balance today. If the payment is applied to principal, less principal remains to accrue interest under the loan’s terms. The trade-off is that you give up the investments’ future gains if they rise, may realize a taxable gain or trigger account-withdrawal consequences, and may have less cash available for an emergency. A lower balance can also affect the amount left for a future forgiveness program.
Keep investing and repay over time. Scheduled payments preserve exposure to possible investment growth while keeping the loan outstanding longer. Markets can also fall, returns can lag the loan cost, and fees or taxes can reduce what you keep. Holding investments only helps if you can maintain the plan through downturns and continue to make every required loan payment. Investments that can be sold are not the same as dependable emergency cash: their value may be down when you need to sell.
The choice is not necessarily all-or-nothing. Some borrowers compare selling a portion, keeping a cash reserve, and continuing scheduled payments. Any comparison should use the same payoff horizon and include the value of liquidity, not just a headline loan rate and an assumed investment return.
02
Use historical returns as context, not a promise.
The supplied research snapshot uses about 6% as an approximate reference for undergraduate and graduate Direct Loan rates, citing it as [1]. The bibliography entry behind that average was not included in the snapshot, so its exact source, date, and averaging method could not be checked. It is not a quote for your loan or a current rate for every borrower. Federal Student Aid publishes different fixed rates by loan type and first-disbursement year; its 2026–27 table, for example, lists 6.52% for undergraduate Direct Subsidized and Unsubsidized Loans and 8.07% for graduate Direct Unsubsidized Loans. See the current Federal Student Aid rate table. Check the rate attached to each of your loans and the repayment plan rules that apply to you.
For investment context, a Goldman Sachs historical chart reports roughly a 7% annualized real return for U.S. equities in its Ibbotson U.S. Large Cap/S&P 500 series from January 1926 through April 2023 [3]. A separate historical chart describes a portfolio of about 55% stocks, 35% bonds, and 10% cash and reports a 4.22% compounded annual real return for 1928–2013 [4]. The second figure is the source’s historical average-investor mix, gross of fees and taxes, not a standardized portfolio or a forecast for your holdings. The research snapshot also proposes testing a 5–6% real-return planning input as a more conservative scenario than the cited historical stock return, labeled [3] in the snapshot. Its bibliography entry was not preserved, so treat it as an illustrative input to test rather than an independently verified forecast; the Goldman Sachs source below supports the historical return context, not this planning recommendation.
“Real” returns are adjusted for inflation; “nominal” returns are not. Loan rates are generally quoted nominally, so do not compare a real investment return directly with a nominal loan rate as if they were the same measure. Historical averages hide year-to-year losses and gains, asset-mix differences, investment fees, taxes, and timing. They are neither a forecast nor a guarantee. Consider more than one return scenario, including a low or negative period, instead of relying on one long-run average.
03
Check the account and tax result before selling.
In a taxable brokerage account, selling an investment can realize a capital gain or loss based on its sale proceeds and adjusted basis. Federal treatment depends in part on the holding period, taxable income, and other details; state rules can differ. The IRS distinguishes short-term gains from long-term gains and describes the relevant federal rules in Topic 409 and Publication 550. The research snapshot marked detailed state and account tax calculations as unverified, so this guide does not estimate a tax bill or apply a universal after-tax return.
Selling an investment inside a tax-advantaged account and withdrawing money from that account are separate events. A withdrawal from an IRA or workplace retirement plan may have different income-tax and additional-tax consequences based on the account, amount, age, basis, and exceptions. Review current IRS IRA distribution guidance before using retirement assets to pay a loan; do not assume that rules for a taxable brokerage account apply to a traditional IRA, Roth IRA, or employer plan.
The federal student-loan-interest deduction is available only to eligible borrowers and phases out based on modified adjusted gross income (MAGI), filing status, and tax year. Its value can change the effective cost of a loan, but you should not assume you qualify or that it offsets a particular amount of interest. Check the current-year eligibility and income limits in IRS Publication 970.
Tax treatment of a forgiven or discharged balance also depends on the program, the date, and federal and state rules. IRS guidance explains that canceled debt can be taxable income unless an exclusion applies, and federal student-loan tax rules have changed over time. Do not assume every forgiven balance is tax-free or taxable. Confirm the rules that will apply in the year of a possible discharge with the IRS canceled-debt guidance and its current student-loan tax update.
04
Check whether your loan is on a forgiveness path.
Before paying extra, identify each loan’s type, interest rate, repayment plan, remaining term, and required payment. Consider whether your income may rise or fall, whether an income-driven repayment (IDR) plan is available to you, and whether you might pursue PSLF or another forgiveness or discharge program. IDR payments and forgiveness eligibility are borrower- and loan-specific, and federal rules can change; review your account and the current Federal Student Aid repayment-plan information.
As a general outline, PSLF requires 120 qualifying monthly payments, full-time work for an eligible government or nonprofit employer, and eligible Direct Loans, along with the other current program requirements [5]. If you have FFEL or Perkins loans, they do not qualify directly; consolidating eligible loans into a Direct Consolidation Loan may open a route to PSLF, but consolidation can change loan terms and how payment credit is treated [6]. Before consolidating or sending extra payments, verify your own loan types, payment counts, and current options with Federal Student Aid’s PSLF guidance and its FFEL loan guidance.
If a meaningful balance could be forgiven, paying down principal sooner may not have the same value as it would on a standard payoff path. On the other hand, eligibility, qualifying payment counts, future income, and policy can be uncertain. Avoid treating a possible forgiveness program as guaranteed; check your account and reassess as your employment, income, plan, and federal rules change.
05
Protect accessible cash and account for market risk.
A common emergency-savings guideline is around three to six months of living expenses, with a target nearer six months often suggested when a household has dependents or income is less predictable [8][9]. This is a planning guideline, not a requirement or a claim that every borrower already has enough. The right amount depends on household costs, job stability, available support, and other circumstances. The CFPB notes that even a small reserve can help with unplanned bills and that the amount depends on the person’s situation [7].
Selling investments and using the proceeds for a loan payment can leave less accessible cash afterward. Accelerating payoff with cash savings can have the same liquidity trade-off. Before committing money, consider what you would use for rent, medical costs, car repairs, or an income interruption; do not count investments as stable emergency cash just because they can be sold.
Markets move unevenly, and the order of returns matters when money may need to be sold during a downturn. Selling after a decline can lock in a loss; keeping money invested also means accepting future losses as well as possible gains. Risk tolerance and investment discipline matter: ask which plan you could realistically stick with through volatility, while still paying every scheduled loan bill. No historical average removes this timing risk.
06
Compare the same assumptions on both sides.
A useful comparison starts with current facts, then makes its assumptions visible. Write down the amount you might sell, the loan balance and actual rate, the required payment and remaining term, the account type and holding period, your likely tax bracket and state, and the cash reserve left after the payment. Include possible IDR, PSLF, or other discharge eligibility and how an income change might affect the plan.
Then compare keeping the investments under several real or nominal return assumptions—clearly labeled—against the interest and repayment path under your loan terms. Keep investment mix, fees, tax effects, time horizon, and payment schedule consistent across scenarios. Include a down-market case and note whether you could keep investing through it. If an important tax, loan, or forgiveness assumption is unknown, show that uncertainty instead of filling it with a guaranteed outcome.
The result is a set of trade-offs, not individualized financial, tax, or legal advice. Your circumstances may support selling some investments, keeping them, splitting the difference, or revisiting the choice later. Confirm loan terms and program eligibility with your servicer and Federal Student Aid; use current IRS guidance or a qualified tax professional for account-specific tax questions.
This guide is general educational information for U.S. borrowers. It does not recommend a particular investment or loan strategy and is not individualized financial, tax, or legal advice. Historical data is not a forecast or guarantee, and rules can change. Outcomes depend on the assumptions used and on each borrower’s loans, accounts, income, taxes, reserves, employment, and risk tolerance.
Sources
The dispatch snapshot ended before its bibliography. The original source behind the approximate 6% average [1] and the 5–6% planning input [3] could not be recovered. The linked Federal Student Aid table is a separate current-rate check; it does not establish the 6% average. Goldman Sachs [3] supports the historical equity-return context, not the 5–6% planning recommendation. Reference [4] supports its portfolio figure. References [7]–[9] in the snapshot were also not present; the emergency-fund guidance below uses verified CFPB and Vanguard sources for the corresponding claims.
- Federal Student Aid, Interest Rates and Fees for Federal Student Loans (current rates vary by type and first-disbursement date; this does not establish the research snapshot’s approximate 6% average).
- Federal Student Aid, Repayment Plans.
- Goldman Sachs Private Wealth, Client Investment Fundamentals: Session 2 (U.S. equity real-return chart, January 1926–April 2023).
- The Skilled Investor / VeriPlan, Long-term compounded real dollar and inflationary returns for U.S. cash, bonds, and stocks (55% stocks / 35% bonds / 10% cash context, 1928–2013).
- Federal Student Aid, Public Service Loan Forgiveness.
- Federal Student Aid, What to Know about Federal Family Education Loan (FFEL) Program Loans.
- Consumer Financial Protection Bureau, An essential guide to building an emergency fund.
- Vanguard, Emergency fund: Why you need one (3–6 month rule of thumb).
- Vanguard, Emergency fund: Why you need one (factors including dependents and income variability).
- Internal Revenue Service, Topic no. 409, Capital gains and losses and Publication 550, Investment Income and Expenses.
- Internal Revenue Service, Publication 590-B, Distributions from Individual Retirement Arrangements.
- Internal Revenue Service, Publication 970, Tax Benefits for Education.
- Internal Revenue Service, Publication 4681, Canceled Debts and Taxpayer Advocate Service, What to Know about Student Loan Forgiveness and Your Taxes.