What Is Over-Refusal?
What over-refusal is, why a model that says no too often still fails people, and how teams measure and reduce it, explained simply for your AI interview.
In short
Over-refusal is when an AI model turns down a harmless request because it looks risky. It is measured next to the opposite error, under-refusal, because a model that refuses everything is harmless but useless.
11 min readIntermediateCommon · estimateFacts checked 26 November 2026
Say it out loud
Read it once, then say it without looking. Start with the short one; use the long one when they ask you to go deeper.
Over-refusal is when an AI model says no to a harmless request because it looks risky. A nurse asks about a safe daily dose, and the model refuses because the words sound like an overdose question. It is the mirror of under-refusal, where a harmful request gets an answer. Teams test both. A model that refuses everything passes every safety check, and fails the people it is for.
Over-refusal is when a model turns down a request it should have answered. The request is harmless, but it contains a word or topic that looks like a risky one, so the model says no. Picture a hospital pharmacy phone line where the pharmacist hangs up whenever a medicine is mentioned. That pharmacist is careful, but no patient gets an answer. An AI model can behave the same way.
It happens in two places. The model itself can refuse, and the safety filters around it can block a request before the model sees it. A 2023 test suite called XSTest was built to measure this, because even clearly safe prompts were refused when they used similar language to unsafe prompts.
To measure it, you need two sets of test prompts. One set is safe but sounds risky, and a good model should answer it. The other is harmful, and a good model should refuse it. Testing only the harmful set makes a model look safer than it is. OR-Bench, a 2024 benchmark, scaled this up to 80,000 over-refusal prompts across 10 categories.
The fix is never to refuse more. Anthropic's published constitution for Claude says the risk of being too cautious is just as real as the risk of being too harmful. So I give the model context about who is asking, narrow the filters, answer the safe part of a borderline question, and rerun both test sets after every change. A fix that lowers over-refusal can raise under-refusal, so I never look at one number alone.
What is over-refusal, in plain words?
Over-refusal is when an AI model says no to a harmless request. The request looks like a risky one on the surface, so the model refuses, even though a helpful answer was safe to give. In test words, it is a false alarm: the safety check fires on a request that was fine. Under-refusal is the opposite miss, where a risky request gets through.
Picture a hospital pharmacy phone line. A caller asks a simple question about a medicine, and the pharmacist hangs up whenever a medicine is mentioned. That pharmacist is careful, but no patient gets an answer. An AI model can make the same mistake, and sometimes it refuses anything that sounds a bit like a risky request.
Here is a real case in our made-up example. A nurse using a hospital's medicines assistant types, "What is the highest daily dose of paracetamol an adult can take?" A helpful reply gives the standard limit and says when to ask a doctor. An over-refusing model says it cannot discuss medicines at all.
Key words
- Over-refusal
- A safe request refused because it looks risky.
- Under-refusal
- A harmful request answered when it should have been refused.
- Safety filter
- A check that scans a request or reply and blocks it on a rule or a score.
- Calibrated
- A model that refuses in the right proportion, neither too strict nor too loose.
- Prompt
- The text a user sends to an AI model.
Why does a model over-refuse?
Safety training teaches a model to refuse risky requests. The model learns from examples, and if the risky examples often use words like kill, attack or overdose, it can learn those words as warning signs, even when the meaning is harmless. Researchers call this lexical overfitting: the model learns the words themselves as warning signs, not what they mean. The XSTest authors note it is often a consequence of biases in the examples it learned from (its training data).
There are two places this can happen. The model itself can refuse, and the app's safety filters can block a request before the model reads it. Each layer can over-refuse, so a team has to look at both.
How a harmless question gets refused
Harmless question
asks how to kill a stuck batch job
Keyword filter
flags kill next to a job
Blocked, answer lost
the staff member waits for an engineer
- 1The question reaches the filter, with the word kill in it.
- 2The filter blocks it, so the model never gets to answer.
A worked example from a mid-size bank. Its payments team runs an assistant for support staff. A staff member types, "How do I kill a stuck payment batch?" The keyword filter sees kill next to a job and blocks the reply. Made-up numbers: in one week of 4,000 questions, 90 safe ones (2.25%) were blocked this way, and each person had to find an engineer instead.
The fix is to narrow the filter. The team blocks kill only when it sits next to a customer account or a server name, and it adds the bank's operations context to the prompt. Made-up numbers again: safe blocks fall to 12 of 4,000 (0.3%). The cost shows on the team's harmful test set of 200 prompts, where misses rise from 1 to 2 (0.5% to 1%). The team accepts that trade and still reviews the two misses every week.
How do teams measure over-refusal?
Teams use benchmarks, which are shared test sets. XSTest, from 2023, has 250 safe prompts across ten prompt types, plus 200 unsafe prompts as contrasts. The safe ones look risky, and a well-calibrated model should answer them.
“when a model refuses to provide a helpful response, even when a safe and plausible answer is possible.”
OR-Bench (2024), defining over-refusal
“In the extreme, a model that refuses any prompt - safe or unsafe - would be perfectly harmless but also completely useless.”
XSTest (2023), on what extreme refusal costs
OR-Bench scaled this up. It has 80,000 over-refusal prompts across 10 common rejection categories, plus 600 toxic prompts that a good model should still refuse. Both benchmarks make the same point: you need both sides of the test to see the trade-off.
- Over-refusal
Safe prompts refused
The share of safe prompts the model turns down. High means the model is too strict.
- Under-refusal
Harmful prompts answered
The share of harmful prompts the model answers. High means the model is too loose.
Measuring both kinds of error
Two test sets
Safe, risky-looking
a good model answers these
Harmful prompts
a good model refuses these
Run the model
answers or refuses each one
Count the misses
Over-refusal rate
safe prompts it refused
Under-refusal rate
harmful prompts it answered
Tune, then retest both
check both numbers together
- 1Each safe prompt goes to the model, which should answer it.
- 2Each harmful prompt goes to the model, which should refuse it.
- 3Safe prompts it refused are counted as over-refusal.
- 4Harmful prompts it answered are counted as under-refusal.
- 5The over-refusal rate feeds the next round of tuning.
- 6The under-refusal rate feeds it too, since one fix can move the other.
How do you cut over-refusal without making the model less safe?
The trade-off is real, and vendors say so. Anthropic's published constitution for Claude puts the two risks side by side.
“The risks of Claude being too unhelpful or overly cautious are just as real to us as the risk of Claude being too harmful or dishonest.”
Anthropic, Claude's constitution
“Previous Claude models often made unnecessary refusals that suggested a lack of contextual understanding.”
Anthropic, Claude 3 family (2024)
Refusing a reasonable request
The constitution lists a refusal of a reasonable request as a failure, when the reason given is a harm that is possible but highly unlikely.
A wishy-washy answer
It gives an unhelpful answer out of caution when no caution is needed.
Vendors report progress. Anthropic said in 2024 that its Claude 3 models refused harmless prompts much less often, after earlier models often made unnecessary refusals. OpenAI said in 2025 that refusal-based safety training can struggle when intent is unclear. For GPT-5 it introduced "safe completions", which sometimes means a partial or high-level answer instead of a flat no.
Fixes have a cost too. A January 2025 paper tested classifiers, which are separate checks that sort text as safe or unsafe. They were built to block jailbreaks (tricks that talk a model out of its rules). On real traffic, they added 0.38 percentage points of refusals, and 23.7% extra compute each time the model runs (the work done to produce an answer).
- 1
Give the model context
Say who the users are and what the app is for. A nurse asking about doses is a different case from an anonymous visitor. A prompt alone is not enough, though.
- 2
Narrow the filter
Test the filter on safe prompts too. A keyword block that catches kill also catches the stuck batch question.
- 3
Answer the safe part
Give the standard limit or the first safe step, and leave out the dangerous detail. A flat no is the costliest answer.
- 4
Send unclear cases to a person
Route borderline, high-stakes cases to a human. Keep that queue small, or people stop reading it.
- 5
Retest after every change
Run both test sets again. A fix that lowers over-refusal can raise under-refusal, so check both.
What does the interviewer want to hear?
A strong answer covers
- A plain definition: a safe request refused because it looks risky.
- The mirror error, under-refusal, and why you measure both.
- Where it happens: in the model itself and in the app's filters.
- How to measure it, with safe-but-risky-looking test prompts.
- The honest trade-off: a fix can let harm through, so check both sides.
- Fixes that work: context, narrower filters and partial answers.
Common traps
Trap"Refusing more is always safer."
BetterEach refusal counts as a win in the log. The nurse who got no answer never shows up in it.
Trap"We only test with harmful prompts."
BetterThen you see only half the errors. Add a set of safe prompts that look risky.
Trap"Just make the filter less strict."
BetterLoosening blindly lets harm through. Change one thing, then test both sets.
Can you spot the over-refusal?
Spot the over-refusal
The support assistant gives four replies. Which one wrongly refuses a harmless question?
Quick check
Which approach is most likely to cut over-refusal without making harmful answers more likely?
Can you answer these from memory?
Flash cards · tap a card to flip it
What will they ask next?
- Q233How do you balance safety and helpfulness?12 min
- Q234How should an app handle refusals?Coming soon
- Q244How do you measure guardrail false positives and negatives?12 min
- Q267How do you evaluate safety?13 min
- Q273Which guardrail metrics should you track?Coming soon
Last updated on 26 November 2026
Building an assistant that has to answer and refuse the right things?
I design and build AI products and agents, including the guardrails and the tests that check them for both kinds of error. Book a short call and tell me what your assistant needs to answer.