Cause 1 of 6
Rendering a value that differs between runs — Date.now(), new Date(), Math.random(), crypto.randomUUID().
Keep it out of the first render. Hold the value in state and set it inside useEffect, so the server and the first client render agree and the real value appears immediately after mount. For a single unavoidable timestamp, suppressHydrationWarning on that one element is acceptable.
Cause 2 of 6
Reading browser-only APIs during render — window, document, localStorage, matchMedia.
None of them exist on the server, so the two renders take different branches. Read them in useEffect and render the server-safe default first.
Cause 3 of 6
Locale or timezone-dependent formatting.
toLocaleString() uses the server's locale and timezone on the server and the visitor's in the browser, so the strings differ. Pass explicit options such as { timeZone: 'UTC' }, or format after mount.
Cause 4 of 6
Invalid HTML nesting that the browser silently repairs.
A <div> inside a <p>, or a <tr> outside a <tbody>, is rewritten by the HTML parser before React ever sees it — so the DOM cannot match. React's error overlay names the offending tag; fix the nesting rather than the component logic.
Cause 5 of 6
A browser extension modified the DOM before hydration.
Password managers, translation tools and ad blockers inject attributes into inputs and body. Reproduce the error in a private window with extensions disabled before hunting through your own code.
Cause 6 of 6
State is restored from localStorage during the first render.
Render the server-safe default, then apply the stored value in an effect. Theme toggles are the classic case — a small inline script that sets a class on documentElement before React boots avoids both the mismatch and the flash.