Mac keeps disconnecting from Wi-Fi: find the cause, then fix it
Check whether the Mac, the router or the signal is dropping the connection, read the reason code macOS logs, and fix it in order from safest to strongest.
1 tested guide, grouped by what is actually going on. Covers: Keeps dropping, AirPods, slow network.
Every step is done on a MacBook Pro 14" (M1 Pro, 16 GB) before it is published. The Mac, the macOS version and the date sit at the top of each guide.
macOS settings, Finder and Terminal come first. An app is mentioned only when it really solves the problem, and our own apps are labelled.
Each guide links to Apple Support or the tool maker's docs, so you can confirm the steps yourself.
Guides are dated. When a guide is six months old it is flagged for a re-test on the current macOS.