The 4% rule says you can withdraw 4% of your portfolio in the first year of retirement, then increase that dollar amount with inflation each year, and have a high chance of the money lasting 30 years. It came from historical US market data and remains a reasonable starting point — but it's a guideline, not a guarantee.
Its main limitation is the 30-year assumption. Someone retiring at 45 may need the money to last 45 or 50 years, and the 4% rule is materially less reliable over those horizons. Many planners use 3.25–3.5% for very long retirements. On the other hand, the rule assumes you never adjust spending, whereas real retirees cut back in bad years — which meaningfully improves the odds.