Emergency funds attract a lot of debate about how large they should be, where to keep them, and whether you could be doing better with the money. Most of that debate misses the point. The emergency fund has one job: to be there when something goes wrong. Every decision about it should be made in service of that job, not in service of optimizing the account.
What it is actually for
An emergency fund covers genuine emergencies: a job loss, a medical bill, a car breakdown that prevents you from working, an urgent home repair. It is not for planned expenses you forgot to save for separately, not for opportunities that feel too good to miss, and not a supplement to your vacation budget when work was stressful. The boundary matters because the fund only works if it is intact when you actually need it.
Accessible beats optimal every time
The right place for an emergency fund is somewhere you can get to the money within a day or two without penalties, fees, or a falling market turning your $8,000 into $5,000 the week your roof needs replacing. A high-yield savings account at an online bank is a reasonable choice: the rate is better than a traditional savings account, the money is FDIC insured up to the standard limit, and it is accessible without complexity. Keeping emergency funds in investment accounts, CDs with early withdrawal penalties, or anything that requires selling assets introduces risk that is not appropriate for money whose job is stability.
Separate from your checking account
Emergency funds held in the same account as everyday spending tend to erode slowly. It is not usually one dramatic decision to spend the emergency fund. It is a series of small decisions where the money was technically there and the need felt real enough in the moment. Keeping the fund at a different bank from your checking account adds enough friction that you have to make an active choice to move the money rather than just spending what is available. That small barrier is enough to preserve the fund in most cases.
Three months is a floor, not a goal
The commonly cited three-to-six-month guideline is a useful starting point. Three months is probably the minimum worth targeting before you shift priority to other goals. Six months is meaningfully more secure. Beyond that, the right amount depends on your specific situation: how stable your income is, whether you have dependents, how replaceable your job is in your field, and whether you have other safety nets. A freelancer with variable income and no employer benefits probably needs more runway than someone in a stable salaried role with good disability coverage.
Replenish it after you use it
The emergency fund only works if it exists when the next emergency arrives. After you draw on it, rebuilding it takes priority over most other financial goals until it is back to your target level. This is the part people often skip because after the emergency passes, the urgency fades and other spending reasserts itself. Setting up an automatic transfer to replenish the fund immediately after you use it is the most reliable way to make sure it is there again before you need it next.
Boring is a feature, not a flaw. The emergency fund that sits there doing nothing interesting is working exactly as intended.