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.
| Yearly spending | 4% | 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:
| Withdrawal rate | Lasted 55 years | Start 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 independence | Retire at, starting at 25 |
|---|---|---|
| 30% | 33.9 | 59 |
| 40% | 25.9 | 51 |
| 50% | 19.7 | 45 |
| 60% | 14.6 | 40 |
| 70% | 10.2 | 36 |
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.
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:
| Account | Per year | Balance at 40 | Reachable |
|---|---|---|---|
| 401(k) | $24,500 | $482,864 | 59½, or earlier through a 72(t) plan or Roth ladder |
| Roth IRA | $7,500 | $147,816 | Contributions ($112,500) any time; earnings at 59½ |
| HSA | $4,400 | $86,718 | Medical costs tax-free any time; other uses taxed, plus 20% before 65 |
| Taxable brokerage | $24,745 | $505,159 | Any 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.
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)
- 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.
- 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.
- About 51 to 59½: draw Roth IRA contributions and seasoned conversions once the taxable account runs low.
- 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.
| Method | How it works | Catch |
|---|---|---|
| Taxable account | Sell investments as needed; no age rules | Taxed as you go; gains count as income |
| Roth IRA contributions | Regular 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 ladder | Convert a slice of traditional IRA money each year; each slice can come out later | Converted amounts taken out within five years face the 10% tax[10]; each conversion has its own five-year period[10] |
| 72(t) payments | Substantially equal payments from an IRA or 401(k), using one of three IRS methods | Locked 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.
| Years worked | Average monthly earnings counted | Yearly benefit at 67 | Share of full-career benefit |
|---|---|---|---|
| 18 | $3,429 | $22,116 | 64% |
| 25 | $4,762 | $27,236 | 79% |
| 33 | $6,286 | $33,088 | 96% |
| 35 | $6,667 | $34,551 | 100% |
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:
| Compared | Retire at 40 | Retire at 55 |
|---|---|---|
| Retirement length (to 95) | 55 years | 40 years |
| Portfolio needed | $1,222,557 | $842,756 |
| Years before 59½ | 19½ | 4½ |
| Main early-access tools | Taxable account, Roth contributions, Roth ladder, 72(t) | Rule of 55, taxable account, 72(t) |
| Years to Medicare | 25 | 10 |
| Social Security record (from 22) | 18 years | 33 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.