Figure out how low your expenses can be while still being quite happy with your qualify of life. Some expensive things don't provide the happiness you think they will.
Diversify the kinds of investment accounts you have. Maximize your tax-advantaged accounts like a 401k, but then contribute to a Roth IRA if available, and then plow money into a taxable brokerage account. When you approach retirement, plan to have some time period of expenses covered by cash on hand.
Then use cash, brokerage and Roth funds to cover expenses, while converting what you can from 401k or traditional IRA into Roth funds, and minimizing the income/taxation that results so you can still qualify for credits. Funds converted to Roth will be available for tax-free withdraw after 5 years, so continue to convert over time, while using the post-tax accounts to cover expenses.
There's a lot you can do to "engineer" your taxable income in early retirement.
Currently, if you're married, the first $24K or so is tax free. If you're in California, there are plenty of credits/deductions, so it's likely more than $24K.
Also, you can have a 401K Roth, where all withdrawals are tax free.