The system stack
system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif — native on every platform, instant, and metrically close to most custom sans faces.
Your custom web font loads in 200ms on fibre and three seconds on the subway. The fallback stack is what users read in between — and on a slow connection it may be all they ever read. It deserves as much thought as the hero font, and modern CSS makes it possible to swap almost invisibly.
system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif — native on every platform, instant, and metrically close to most custom sans faces.
The right fallback is the one whose x-height and average character width mirror your web font, regardless of how similar the letterforms look.
size-adjust, ascent-override and descent-override bring a fallback into visual parity so layout does not reflow on load.
Always close a stack with sans-serif, serif or monospace. It is the guaranteed last resort on unusual devices.
A font stack has three jobs, in order of who reads what:
sans-serif, serif or monospace, the guaranteed floor.Three stacks cover most projects:
"Your Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif"Your Serif", Charter, "Iowan Old Style", Georgia, "Times New Roman", serif"Your Mono", ui-monospace, "SF Mono", "Cascadia Mono", "JetBrains Mono", Menlo, Consolas, monospacesystem-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif renders as the operating system's own UI font on every platform: San Francisco on Apple devices, Segoe UI Variable on Windows, Roboto on Android. It is instant, hinted for the platform's rendering engine, and includes complete weight ramps and tabular figures.
Two practical notes. First, the system-ui keyword can resolve unexpectedly in a few localisations, which is why -apple-system and the named faces follow it. Second, it is a legitimate primary choice, not only a fallback — if a product does not need brand type in its interface, shipping zero font bytes is a real performance and accessibility win.
Choosing a visually similar fallback is not enough. What causes visible reflow is a difference in x-height, average advance width, ascent and descent. Modern CSS lets you correct all four on the fallback itself:
size-adjust scales all glyphs by a percentage to match the web font's apparent size.ascent-override and descent-override force the line box to match, which is what keeps vertical rhythm stable.line-gap-override completes the picture where the two fonts disagree on default leading.The pattern is to declare a local-only @font-face that wraps the fallback, using src: local("Arial") plus the override descriptors, then name that face in your stack rather than Arial directly. Tune size-adjust by overlaying a paragraph in both fonts and adjusting until the line breaks land in the same places.
Alongside this: self-host rather than using a third-party CDN, preload only the one or two weights that appear above the fold, subset to the character sets you actually ship, and prefer a single variable file over four static weights when you need three or more. Our variable fonts guide covers where that threshold sits.
Preview both your web font and its intended fallback side by side at 14 to 16px — the size where differences actually matter — in real sentences rather than a pangram. If the shapes and rhythm diverge sharply, pick a closer fallback before shipping.
FontViewer.app is useful here because it renders the fonts genuinely installed on your machine, which is exactly the set your visitors' fallback will be drawn from. Put the web font and two fallback candidates into a project, compare them in the same specimen, then confirm the choice in the browser with the network throttled and web fonts disabled — the only test that reflects what a first-time visitor on a bad connection sees.
For interface and body text, the system-ui stack is hard to beat: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif. It renders as the native OS UI font everywhere, costs zero bytes, and is metrically close to most custom sans-serifs, which makes it an excellent fallback as well as a legitimate primary choice.
Pick a fallback with a similar x-height and width, then tune it with size-adjust, ascent-override and descent-override in a dedicated @font-face block. Combined with font-display: swap, this lets the fallback occupy nearly the same space as the web font so text does not reflow when the real file arrives.
Use swap for brand-critical type where the correct font must eventually appear, and optional when you would rather never shift layout — with optional, the browser may skip the web font entirely on a slow connection. Avoid block, which hides text while the font loads.
Yes, and every stack should end with one. It is the guaranteed last resort when nothing else resolves, including on unusual devices, embedded browsers and systems with restricted font sets. Ending a stack with a specific named font instead is a small but avoidable risk.
Render both at your real body size, in real sentences, side by side. FontViewer.app reads the fonts already installed on your machine, so you can preview the actual local fallback your visitors will see next to the intended web font at 14 to 16px and judge whether the swap will be noticeable.
Preview every font on your computer in under a minute. Free to start.