How do you write error messages that help users recover instead of leaving?
Highlight the field with the problem and put the cursor there, say what caused the error and what to do next, keep every error in the same tone of voice, never blame the user and avoid exclamation marks. Your 404 and 503 pages should tell people where to go next. These are the error recovery checks in my UX audit template.
Errors are a conversion problem
An error message is the moment a user decides whether to try again or close the tab. In my UX audit template, helping users recognise, diagnose and recover from errors is its own category. It is built on a well known usability heuristic from Nielsen Norman Group, and I turned it into checks a marketer can test in an hour.
The checks
- High: when an error is found, the field is highlighted and the cursor is placed in it
- Low: all errors are written in the same style and tone of voice
- Medium: tips are written without criticising the user
- Medium: 404 and 503 error pages tell the user what to do next
- Medium: the error text states the possible cause and the next action if the user cannot fix it, for example: we are updating the server, try again in two hours
- Low: avoid exclamation marks in error messages
What a good error looks like
Bad: Invalid input! Good: This phone number is missing a digit. Check the number and try again.
The good version names the field, the cause and the next step, and it does not shout.
Do not forget system errors
Teams write form errors carefully and forget the pages nobody designs: the 404 page, the payment failure page, the server error page. A custom 404 page with links to your main pages and search keeps people on the site. My website audit template scores a custom 404 page separately for this reason.
Make it consistent
Keep a short list of your error messages in one document. When copy is written by different developers at different times, tone drifts and users feel it. One owner, one tone.