Skip to content
FIRE Calculator Pro

Guide

How to Retire at 40: How Much You Need and a Plan

Retiring at 40 means a portfolio that lasts 55 years, 19½ years before you can freely touch retirement accounts, and 25 years before Medicare. Here is the number, the savings rate that gets you there, and the plan.

Updated 11 min readBy Kashif Nazir Khan

Key takeaways

  • To retire at 40 you need about 28.6 times the yearly spending your portfolio must cover, using a 3.5% withdrawal rate built for a 55-year retirement.
  • Spending $50,000 a year, with a modest Social Security benefit from 67, takes about $1,222,557 at 40.
  • Starting from zero, retiring in 15 years takes a savings rate of about 59% of take-home pay.
  • Plan how you will reach your money before 59½: a taxable account, Roth IRA contributions, a Roth conversion ladder or 72(t) payments.
  • Budget for 25 years of health insurance before Medicare, and expect a smaller Social Security benefit from a shorter career.
On this page
  1. 01How much do you need to retire at 40?
  2. 02What withdrawal rate is safe at 40?
  3. 03How early can you retire? It depends on your savings rate
  4. 04What does a plan to retire at 40 look like?
  5. 05How do you get your money 20 years before 59½?
  6. 06How do you pay for health insurance for 25 years?
  7. 07How much Social Security will you get if you retire at 40?
  8. 08Retiring at 40 vs 55: what changes?
  9. 09What are the risks of retiring at 40?
  10. 10What if saving 59% isn't realistic?

To retire at 40, you need a portfolio of roughly 29 to 31 times the yearly spending it must cover, because the money has to last 55 years or more. For $50,000 a year, that is about $1,222,557 to $1,538,462, depending on Social Security and how cautious you are. Getting there in 15 to 20 years usually takes saving half or more of your take-home pay. You also need a plan to reach 401(k) and IRA money long before 59½, and health insurance for the 25 years before Medicare. This guide covers each piece with numbers from the same engine as our early retirement calculator.

How much do you need to retire at 40?

Size the portfolio from the spending it must cover each year. Until Social Security starts, that is your whole budget; after it starts, only the gap. Every year is valued at the same rate, set by your withdrawal rate and the 55 years from 40 to 95. With flat spending and no other income, the answer is simply spending divided by the withdrawal rate.

Portfolio needed to retire at 40
Yearly spending4%3.5%3.25%3.5% with Social Security
$40,000$1,000,000$1,142,857$1,230,769$936,842
$60,000$1,500,000$1,714,286$1,846,154$1,508,271
$80,000$2,000,000$2,285,714$2,461,538$2,079,700
$100,000$2,500,000$2,857,143$3,076,923$2,651,128

Our calculation: money lasts from 40 to 95, today's dollars. The last column uses 3.5% and a Social Security benefit of $22,116 a year from 67 (the 18-year career example below).

Social Security helps less than you might expect at 40. It is 27 years away, so the portfolio must carry the full budget until then, and a short career means a smaller benefit. For $50,000 a year, counting a $22,116 benefit from 67 lowers the target from $1,428,571 to $1,222,557. For comparison, the same $50,000 budget needs about $842,756 at 55 (with a larger benefit from a 33-year career) and $454,891 at 65 with a full career and a 4% withdrawal rate. Each year you retire earlier costs twice: fewer years to save, and a bigger target.

What withdrawal rate is safe at 40?

Use 3.25% to 3.5%, not 4%. The 4% rule comes from 30-year retirements, and a 55-year retirement has more time for a bad stretch to compound. Research on 50 to 60 year horizons found 3.25% to 3.5% survived the worst historical conditions[1]. We checked the same question against market history (1928-2025[3]), withdrawing a fixed inflation-adjusted amount from a 75/25 stock and bond portfolio:

How often each withdrawal rate lasted 55 years
Withdrawal rateLasted 55 yearsStart years that ran out
3%100%None
3.25%100%None
3.5%91%4 (1965, 1966, 1968, 1969)
4%80%9 (1929, 1937, 1962, 1964, 1965, 1966, 1967, 1968, 1969)

Our backtest: every start year with a full 55-year history (44 start years), 75% US stocks and 25% Treasuries, rebalanced yearly, no fees.

The highest rate that never ran out over 55 years in our data was 3.35%. At 3.5%, the failures were retirements that began in the late 1960s, just before a decade of high inflation and weak real returns. That is sequence risk at work: the first decade of returns largely decides how much you can safely spend[4]. Our target math values each year at 2.82%, the real rate at which a 3.5% withdrawal lasts exactly 55 years, so the expected market return never inflates the number. See our 4% rule research for the full grid, or test rates in the safe withdrawal rate calculator.

How early can you retire? It depends on your savings rate

Your savings rate decides when you can retire far more than your income does. Saving more does two things at once: it grows the portfolio faster, and it proves you can live on less, which shrinks the target. Starting from zero, at a 3.79% real return and a 3.5% withdrawal rate:

Savings rate (take-home pay)Years to financial independenceRetire at, starting at 25
30%33.959
40%25.951
50%19.745
60%14.640
70%10.236

Our calculation, no Social Security, spending held equal to take-home pay minus savings. To retire at 40 after starting at 25 takes a savings rate of about 59%; starting at 22 (18 years), about 53%. Reaching independence in 10 years takes about 71%. This is the same relationship popularized as the “shockingly simple math” of early retirement[5], here with a more cautious withdrawal rate for a longer retirement.

Savings rate vs years to financial independence

Starting from zero, 3.79% real return, 3.5% withdrawal rate. The dot marks retiring at 40 after starting at 25.

  • Years until FI
  • You

What does a plan to retire at 40 look like?

Here is one path. At 25, Alex has $10,000 invested, spends $50,000 a year and plans to keep spending that in retirement. To have $1,222,557 by 40 (the target with a $22,116 benefit from 67), Alex needs to invest about $61,145 a year, a savings rate of about 55% of take-home pay, a little below the 59% above thanks to the head start and Social Security. Where that money goes matters almost as much as how much it is, because each account opens at a different age:

Alex's sample plan: where the savings go, 25 to 40
AccountPer yearBalance at 40Reachable
401(k)$24,500$482,86459½, or earlier through a 72(t) plan or Roth ladder
Roth IRA$7,500$147,816Contributions ($112,500) any time; earnings at 59½
HSA$4,400$86,718Medical costs tax-free any time; other uses taxed, plus 20% before 65
Taxable brokerage$24,745$505,159Any time

Our calculation: 3.79% real return, 2026 contribution limits held flat in today's dollars, no employer match. The HSA needs an HSA-eligible health plan. Treating every dollar alike keeps the example simple; pre-tax 401(k) savings also cut the tax bill while working.

The tax-advantaged accounts fill first: for 2026 the 401(k) limit is $24,500 and the IRA limit is $7,500[6], and the HSA limit is $4,400 for self-only coverage[7]; HSA money spent on qualified medical expenses comes out tax-free at any age[8]. Everything above that, about $24,745 a year for Alex, goes to a taxable account. That overflow is not a flaw in the plan. It becomes the bridge that pays for the first years of retirement.

Alex's path from 25 to retiring at 40

Investing $61,145 a year from $10,000 at 25, then spending $50,000 a year with Social Security from 67. Today's dollars, expected return.

  • Projected portfolio
  • Needed at 40 ($1.22M)
  1. Ages 25-40: save about 55% of take-home pay. Max the 401(k), Roth IRA and HSA, and invest the rest in a taxable account.
  2. Age 40: retire and spend the taxable account first. Start converting traditional 401(k) money (rolled into an IRA) to Roth each year, in amounts that keep taxes and health insurance subsidies in check.
  3. About 51 to 59½: draw Roth IRA contributions and seasoned conversions once the taxable account runs low.
  4. 59½ onward: everything is open. At 62 to 70, Social Security starts and withdrawals drop.

How do you get your money 20 years before 59½?

This is the problem that makes 40 different from 55. Withdrawals from 401(k)s and IRAs before 59½ normally carry a 10% additional tax[9], and the Rule of 55, which helps people who leave work at 55, does nothing for you at 40. You need enough reachable money to cover 19½ years of spending. For Alex, those years account for $763,099 of the $1,222,557 target, valued the same way as the rest of the plan.

MethodHow it worksCatch
Taxable accountSell investments as needed; no age rulesTaxed as you go; gains count as income
Roth IRA contributionsRegular contributions come out first and are not taxed[10]Earnings taken out before 59½ (or within five years of your first contribution) are taxed and may face the 10% tax
Roth conversion ladderConvert a slice of traditional IRA money each year; each slice can come out laterConverted amounts taken out within five years face the 10% tax[10]; each conversion has its own five-year period[10]
72(t) paymentsSubstantially equal payments from an IRA or 401(k), using one of three IRS methodsLocked in until the later of five years or 59½; changing them brings back the 10% tax plus interest[11]

In Alex's plan, the taxable account ($505,159 at 40) covers about 11.7 years of spending, and with the $112,500 of Roth IRA contributions, about 14.9 years. A Roth conversion ladder started at 40 only needs to fill the years after that, and its first five years of seasoning (worth $236,665 of spending) are already covered by the taxable account. That is the usual shape of a retire-at-40 plan: taxable money first, Roth contributions second, conversions or 72(t) last.

A 72(t) plan is the blunt tool. Started at 40, the payments must continue unchanged until 59½, nearly 20 years, and the interest rate used to size them can be no higher than the greater of 5% or 120% of the federal mid-term rate[11]. Most early retirees use it on only part of their IRA, if at all.

How do you pay for health insurance for 25 years?

Medicare starts at 65[12], so retiring at 40 means 25 years of buying your own coverage, through ages when premiums climb. Leaving a job with health coverage gives you a Special Enrollment Period on the ACA Marketplace[13], and that is where most early retirees end up.

Your taxable income, not your spending, sets your subsidy. With the enhanced premium tax credits gone after 2025, households above 400% of the poverty line get no premium tax credit in 2026[14]. For 2026 coverage that line is based on the 2025 guidelines[15]: about $62,600 for a single person and $84,600 for a couple. A retiree living on taxable-account sales, Roth contributions and moderate Roth conversions can often stay under it. Large conversions in a single year can push you over and cost thousands in lost subsidy, so size conversions with the cliff in mind.

Plan for rising costs. Marketplace premiums for older adults can be up to three times those of younger enrollees, and in 2026 the average unsubsidized benchmark silver plan for a 60-year-old costs $15,914 a year[14]. Put a real quote in your budget now, and leave room for it to grow in your 50s and early 60s.

How much Social Security will you get if you retire at 40?

Less than a full career would earn, but not proportionally less. Social Security averages your highest 35 years of indexed earnings, counting missing years as zero, then applies a formula that replaces 90% of the first part of that average, 32% of the next and 15% of the rest[16]. Because the formula favors the first dollars, cutting your career in half cuts your benefit by much less than half.

Benefit at full retirement age by years worked
Years workedAverage monthly earnings countedYearly benefit at 67Share of full-career benefit
18$3,429$22,11664%
25$4,762$27,23679%
33$6,286$33,08896%
35$6,667$34,551100%

Our calculation with the 2026 formula (bend points $1,286 and $7,749 a month) for steady indexed earnings of $80,000 a year. A rough guide in 2026 terms; future bend points rise with wages.

Working from 22 to 40 is 18 years, about half a full record, yet in this example it keeps 64% of the full-career benefit. Full retirement age is 67 for anyone born in 1960 or later; claiming at 62 cuts the benefit by 30%, and waiting to 70 raises it by 24%[17]. Your own estimate, based on your real earnings record, is at the SSA[18]. Some early retirees also leave Social Security out of the plan entirely, which here would raise the target from $1,222,557 to $1,428,571.

Retiring at 40 vs 55: what changes?

If you have read our guide to retiring at 55, here is how the problem shifts at 40, for the same $50,000 budget:

ComparedRetire at 40Retire at 55
Retirement length (to 95)55 years40 years
Portfolio needed$1,222,557$842,756
Years before 59½19½4½
Main early-access toolsTaxable account, Roth contributions, Roth ladder, 72(t)Rule of 55, taxable account, 72(t)
Years to Medicare2510
Social Security record (from 22)18 years33 years

Our calculation, 3.5% withdrawal rate, benefits from the career examples above. At 55, the hard part is usually the size of the portfolio. At 40, it is the savings rate on the way there and the plumbing afterwards: which account pays for which year.

What are the risks of retiring at 40?

  • A very long horizon. Fifty-five years leaves room for more than one bad decade. Use a lower withdrawal rate, and be ready to trim spending after a bad market start.
  • Sequence risk. A crash in your first years of withdrawals does the most damage[4]. A few years of spending in cash or bonds, and flexible spending, soften it.
  • Health costs and rules. Premiums rise with age, and subsidy rules have changed before: the enhanced credits that ended in 2025 are an example[14].
  • Tax and account rules. Your plan relies on rules such as Roth ordering and 72(t) staying usable for decades. Spread money across account types so no single rule change breaks the plan.
  • Life changes. Children, a partner, caring for parents or simply wanting more can push spending above what you planned at 30. Plan with a buffer, not a budget you can only just meet.

What if saving 59% isn't realistic?

Most people can't save 59% of their pay, and you don't need to retire fully at 40 to change your life at 40. Two half-steps get you much of the freedom for a fraction of the money. With Coast FIRE, you save hard early and then stop saving, working only to cover your bills. With Barista FIRE, part-time work covers part of your spending so the portfolio can be smaller. Our comparison of Coast FIRE vs Barista FIRE shows what each costs. To find your own full number, start with the FIRE calculator or read what FIRE is from the beginning.

Frequently asked questions

How much do I need to retire at 40?

About 28.6 times the spending your portfolio must cover, at a 3.5% withdrawal rate. For $50,000 a year that is $1,428,571 with no Social Security, or $1,222,557 counting a $22,116 benefit from 67. Use our early retirement calculator for your own numbers.

Can I retire at 40 with $1 million?

Only on a lean budget. $1,000,000 at 40 supports about $35,000 a year at 3.5%, or about $42,211 if a $22,116 Social Security benefit starts at 67. $2,000,000 supports about $77,211 on the same terms.

Is the 4% rule safe if I retire at 40?

Less so. The 4% rule was built for 30-year retirements. One long-horizon study found a 4% withdrawal from a 50/50 portfolio succeeded about 95% of the time over 30 years but only about 65% over 60 years[2]. In our own backtest of 1928-2025 data, 4% lasted 55 years in 80% of start years with 75% stocks.

Can I get Social Security if I retire at 40?

Yes, if you have the work credits, but not until 62 at the earliest, and claiming at 62 cuts the benefit by 30% for life compared with full retirement age[17]. The benefit is based on your highest 35 years of earnings, so the years after 40 count as zero[16]. Your personal estimate is at the SSA[18].

How early can I retire?

It depends mostly on your savings rate, not your income. From a zero start, saving 50% of take-home pay takes about 19.7 years in our model; 70% takes about 10.2 years. Our savings rate calculator shows your own timeline.

Sources

Figures checked against each source on November 11, 2026.

  1. [1]The Safe Withdrawal Rate Series · Karsten Jeske, Early Retirement Now, 2016-2025.The series models very long early retirements ("a 50 or even 60-year horizon"); withdrawal rates of 3.25-3.50% would have survived even the most catastrophic historical market conditions, and Part 3 argues about 3.25% is needed for low failure risk over 60 years when valuations are high.
  2. [2]The Ultimate Guide to Safe Withdrawal Rates, Part 1 · Karsten Jeske, Early Retirement Now, December 2016.A 4% rule with a 50/50 portfolio had about 95% success over 30 years but only about 65% over 60 years.
  3. [3]Historical Returns on Stocks, Bonds and Bills: 1928-2025 · Aswath Damodaran, NYU Stern School of Business, Updated January 5, 2026.Annual S&P 500, 10-year Treasury and CPI data used by our Monte Carlo and historical backtests (S&P 500: 10.02% a year nominal, 1928-2025).
  4. [4]Understanding sequence of return risk and safe withdrawal rates · Michael Kitces, Kitces.com, October 1, 2014.Real returns in the first decade of retirement largely determine the safe withdrawal rate (correlation about 0.79).
  5. [5]The Shockingly Simple Math Behind Early Retirement · Mr. Money Mustache, January 13, 2012.Assumes 5% returns after inflation, a 4% withdrawal rate, a starting net worth of zero and savings rate as a share of take-home pay (gross minus taxes, 401(k) deductions added back). A 10% savings rate means about 51 working years, 15% retires you 8 years earlier, and 50% means about 16.
  6. [6]401(k) limit increases to $24,500 for 2026, IRA limit increases to $7,500 (IR-2025-111) · Internal Revenue Service, November 13, 2025.2026 limits: 401(k) $24,500; catch-up $8,000 at 50+ and $11,250 at 60-63; IRA $7,500 plus $1,100 catch-up.
  7. [7]Revenue Procedure 2025-19 (2026 HSA limits) · Internal Revenue Service, 2025.2026 HSA contribution limits: $4,400 self-only and $8,750 family.
  8. [8]Publication 969 (2025): Health Savings Accounts and Other Tax-Favored Health Plans · Internal Revenue Service, 2025.HSA distributions for qualified medical expenses are tax free; other distributions are subject to income tax and may face an additional 20% tax, except after you are disabled, reach 65 or die.
  9. [9]Retirement topics: Exceptions to tax on early distributions · Internal Revenue Service, Reviewed December 11, 2025.10% additional tax before 59½; the Rule of 55 for workplace plans; 72(t) substantially equal periodic payments. Withdrawals before 59½ owe an additional 10% tax unless an exception applies. Separation from service during or after the year you reach 55 (50 for public safety employees) applies to qualified plans such as 401(k)s, not IRAs; a series of substantially equal payments applies to both; health insurance premiums paid while unemployed applies to IRAs only.
  10. [10]Publication 590-B: Distributions from IRAs · Internal Revenue Service, 2025.Each Roth conversion has its own 5-year period (the basis of the Roth conversion ladder); changing 72(t) payments before the later of 5 years or age 59½ triggers a recapture tax. Roth IRA ordering rules: regular contributions come out first, then conversions oldest first, and a return of regular contributions is not income. The taxable part of a conversion is included in income. Each conversion has its own 5-year period starting January 1 of the conversion year; converted amounts taken out within it owe the 10% additional tax. Appendix B Table I (single life expectancy): 31.6 years at 55, 27.1 at 60. Roth IRA distributions come out of regular contributions first, and a return of regular contributions is not included in income; the 10% additional tax can apply to converted amounts withdrawn within 5 years, and each conversion has its own 5-year period; modifying substantially equal periodic payments before the later of 5 years or age 59½ triggers a recapture tax. Roth IRA distributions come out in a set order, regular contributions first; a return of regular contributions isn't included in gross income; the 10% additional tax applies to the taxable part of nonqualified distributions and to converted amounts taken out within the 5-year period after a conversion.
  11. [11]Substantially equal periodic payments · Internal Revenue Service, Reviewed July 23, 2026.Notice 2022-6 allows three methods (required minimum distribution, fixed amortization, fixed annuitization); the interest rate can be no more than the greater of 5% or 120% of the federal mid-term rate; payments can't be modified before the later of 5 years from the first payment or age 59½, or the 10% additional tax and a recapture tax with interest apply.
  12. [12]Get started with Medicare · Medicare.gov (Centers for Medicare & Medicaid Services), Ongoing.Medicare is health insurance for people 65 or older who meet citizenship or residency requirements.
  13. [13]Health coverage for retirees · HealthCare.gov, Ongoing.Retiring before 65 qualifies you for a Special Enrollment Period in the ACA Marketplace.
  14. [14]How will the loss of enhanced premium tax credits affect older adults? · KFF, February 26, 2026.Enhanced ACA subsidies expired at the end of 2025, so the 400% of poverty-level subsidy cliff is back for 2026. With the enhanced credits expired, income at 401% of poverty ($62,757 for one person in 2026) gets no subsidy. A 60-year-old earning $65,000 (415% of poverty) faces a national average benchmark silver premium of $15,914 a year in 2026, $10,389 more than under the enhanced credits. The enhanced ACA premium tax credits expired on December 31, 2025, so enrollees above 400% of the poverty level get no assistance; a 60-year-old earning $65,000 (415% of poverty) pays $10,389 more a year toward a benchmark premium. With enhanced credits expired, enrollees above 400% of poverty get no premium tax credit in 2026; unsubsidized 2026 national average premiums for a 60-year-old are $11,625 (lowest-cost bronze) and $15,914 (benchmark silver); Marketplace premiums for older adults can be up to three times those of younger enrollees.
  15. [15]Federal poverty level (FPL) · HealthCare.gov (Centers for Medicare & Medicaid Services), Checked November 11, 2026.Poverty guidelines: $15,650 for one person and $21,150 for two in 2025; $15,960 and $21,640 in 2026. The previous year's guidelines are used for the next year's Marketplace savings; incomes between 100% and 400% of the poverty level qualify for the premium tax credit. 2026 poverty guidelines: $15,960 for one person and $21,640 for two; incomes between 100% and 400% of the poverty level qualify for the premium tax credit in all states; below 138% you may qualify for Medicaid if your state expanded it; below 100% you probably won't qualify for Marketplace savings. 2026 Marketplace savings are based on the 2025 poverty guidelines: $15,650 for one person and $21,150 for two.
  16. [16]Social Security: Benefit Calculation Overview (IF11747) · Congressional Research Service, Updated January 26, 2026.A retired worker's benefit is based on the average of their highest 35 years of wage-indexed earnings; if they worked fewer than 35 years in covered employment, the missing years count as zero earnings. The benefit is based on the highest 35 years of wage-indexed earnings divided by 420 months (AIME); if you worked fewer than 35 years under Social Security, the missing years count as zero earnings. AIME is the average of the highest 35 years of indexed earnings divided by 12; with fewer than 35 years of covered work the missing years count as zero. The PIA formula applies 90%, 32% and 15% across bend points of $1,286 and $7,749 (2026), a progressive replacement rate.
  17. [17]Social Security Retirement Benefits: Claiming Ages (R47151) · Congressional Research Service, June 8, 2022.Full retirement age is 67 for people born in 1960 or later; claiming at 62 cuts benefits 30%; delayed credits add 8% a year up to 70 (24% more at 70 when full retirement age is 67); workers with 35 or more years of covered earnings lose little of their basic benefit by stopping work early (p. 24). Pages 5-6: someone entitled to their own benefit and a spousal or survivor benefit in effect receives the higher of the two; at full retirement age a spouse can receive 50% of the worker's benefit, with no delayed retirement credits; a widow(er) claiming at full retirement age or later can receive 100% of the deceased worker's benefit. At full retirement age a spouse can receive 50% of the retired worker's benefit, reduced if claimed earlier (32.5% at 62 when FRA is 67), with no delayed retirement credits (p. 6); a widow(er) claiming at FRA or later can receive 100% of the deceased worker's benefit (p. 7); a dually entitled person receives the higher of their own and the spousal or survivor benefit (p. 6).
  18. [18]Benefit calculators and my Social Security · Social Security Administration, Ongoing.Where to get your personal benefit estimate to enter in our calculators.