Negative prompting means telling an AI model what to avoid instead of, or in addition to, what to produce. In image generators it is a built-in feature: a separate negative prompt field steers the image away from listed features such as blur or watermarks. In chat models there is no separate channel, so a “don’t do X” instruction is just more text in the context, and it often works worse than describing the behavior you actually want.
Image credit: Colin, Wikimedia Commons, licensed under CC BY-SA 4.0.
That difference explains most of the frustration people have with negative prompts. This guide covers how negatives work in each kind of model, why chat assistants sometimes do the very thing you banned, a set of before-and-after rewrites, and a short test for deciding when a “don’t” is still the right tool.
Two different things share one name
“Negative prompting” refers to two mechanisms that only look alike. Keeping them apart saves a lot of trial and error.
| Image generators (diffusion models) | Chat and text models (LLMs) | |
|---|---|---|
| Where the negative goes | A dedicated parameter, such as negative_prompt or Midjourney’s --no | The same prompt or system message as everything else |
| How it is applied | Mathematically, as a direction to steer away from at each generation step | As words the model reads and interprets like any other instruction |
| Typical content | Short lists of visual features: “blurry, watermark, extra fingers” | Behavioral rules: “don’t use jargon”, “never mention competitors” |
| Main risk | Over-weighting distorts the image; some newer models ignore negatives unless a setting is enabled | Naming the unwanted thing can pull attention toward it; vague negatives give no target |
How negative prompts work in image generators
Diffusion models, the family behind Stable Diffusion and similar tools, start from random noise and remove it step by step until an image matches the prompt. Most pipelines use a method called classifier-free guidance (CFG): at each step the model compares a prediction conditioned on your prompt with an unconditioned one and pushes the image further toward the prompt. A negative prompt replaces that unconditioned side, so each step moves toward your prompt and away from the negative one.
Hugging Face’s Diffusers documentation shows the parameter in use with a negative prompt of “blurry, low quality, distorted” alongside a guidance_scale value. It also notes two practical details. Higher guidance follows the prompt more closely but can make images look unnatural or oversaturated. And on some newer checkpoints, such as Flux and Qwen-Image, negatives only take effect when “true CFG” is enabled with a scale above 1; otherwise the negative prompt is ignored. If your negatives seem to do nothing, check that setting before rewriting the list.
Midjourney exposes the same idea through its –no parameter. Its documentation recommends keeping words like “without” or “don’t” out of the main prompt and listing exclusions after --no instead, separated by commas. It also says that using --no is equivalent to giving that part of a multi-prompt a weight of -0.5, and that moderation reads each word in the list independently, so “–no modern clothing” is read as two separate words. The better fix there is to describe the clothing you do want in the main prompt.
The common thread for images: write the scene you want in the positive prompt, keep negatives short and concrete, and treat the negative field as a filter for recurring defects rather than a place to describe the picture.
Why “don’t” often backfires in chat models
A chat model has no negative channel, so a prohibition is processed the same way as every other sentence in its context. Three things follow from that.
Naming the thing puts it in the context
Language models generate text based on everything in their context. “Don’t mention our competitor Acme” places the word “Acme” right there, next to your product. Models usually respect the instruction, but the mention raises the topic’s salience, and in long conversations where earlier instructions carry less weight, the banned topic can resurface. Repeating the ban more forcefully adds more mentions, not more control.
A negative rules out one thing but points nowhere
“Don’t sound robotic” excludes a style without saying which of the countless other styles to use. The model has to guess, and its guess may be a different style you also dislike. A positive instruction (“write like a colleague explaining this over coffee”) gives a concrete target.
A bare rule does not generalize
Anthropic’s Claude prompting best practices give a well-known example. “NEVER use ellipses” is less effective than explaining that the response will be read aloud by a text-to-speech engine that cannot pronounce ellipses. With the reason, the model can extend the rule to cases you did not list, such as other symbols a speech engine would stumble over. The same page recommends telling Claude what to do rather than what not to do: instead of “Do not use markdown”, ask for a response made of smoothly flowing prose paragraphs. It also notes that matching your prompt’s own style to the output you want helps; a prompt full of bullet points invites bullet points back.
The narrower case of vague negatives inside system prompts has its own write-up: why vague negative instructions in a system prompt get ignored.
Before-and-after rewrites
Each rewrite below replaces a prohibition with a target the model can aim at: an audience, a length, a scope or a tone. These are examples to adapt, not guaranteed fixes.
| Negative version | Positive rewrite | What the rewrite adds |
|---|---|---|
| Don’t use jargon. | Write for someone using the product for the first time. Use everyday words, and define any technical term in one short clause the first time it appears. | An audience and a rule for unavoidable terms |
| Don’t be too long. | Keep the answer under 80 words so it fits in one Slack message. | A measurable limit and the reason for it |
| Never mention competitors. | Answer using only our product’s features and pricing from the reference below. If the user asks for a comparison, offer to send our comparison page. | A scope and a fallback action |
| Don’t sound like a robot. | Use a warm, conversational tone, as if explaining to a colleague. Contractions are fine. | A tone with a concrete reference point |
| Don’t use bullet points. | Write in flowing paragraphs of two to four sentences. | A format to produce instead |
| Don’t make things up. | Base every claim on the documents provided. If they do not contain the answer, say “The documents don’t cover this” and stop. | A source of truth and an exact fallback sentence |
The last row connects to a broader topic. Hallucination is not fixed by banning it; it is reduced by grounding and by giving the model an approved way to say it does not know. The guide to reducing AI hallucinations with better prompts goes further.
A full before-and-after system prompt
Here is an illustrative support-bot prompt written almost entirely in negatives, the way many first drafts look:
You are a support assistant for Acme Notes.
Don't be rude. Don't use jargon. Don't write long answers.
Never discuss pricing. Don't talk about competitors.
Don't make up features. Don't use markdown.
Every line says what is forbidden; none says what a good answer looks like. Here is the same intent, rewritten:
You are a support assistant for Acme Notes, a note-taking app.
Your readers are everyday users, often mid-task and a little frustrated.
How to answer:
- Be friendly and direct. Start with the fix, then explain if needed.
- Use plain words. If a technical term is unavoidable, define it briefly.
- Keep most answers under 120 words. Use numbered steps only for
procedures with three or more steps.
- Write plain text. Your replies are shown in a chat widget that does
not render markdown.
- Describe only features listed in <feature_list>. If a user asks
about something not listed, say it isn't available today and offer
to pass the request to the product team.
Hard rules:
- Do not quote prices or discounts. Pricing changes often and is
handled by the billing team. Link to acme.example/pricing instead.
- Do not compare Acme Notes with other products. Focus on how Acme
Notes solves the user's problem.
<feature_list>
...
</feature_list>
Why the rewrite is built this way:
- The reader description (“mid-task and a little frustrated”) does the work that “don’t be rude” and “don’t write long answers” tried to do, and it covers situations neither rule anticipated.
- The markdown instruction gives a reason (the widget does not render it), so the model can also avoid other formatting the widget would show as raw symbols.
- The feature list replaces “don’t make up features” with a source of truth and a fallback sentence.
- Two negatives survive, in their own section, each with a reason and an alternative action. They are concrete, binary rules, which is where negatives belong.
When a negative instruction is still the right tool
Negatives are not forbidden; they are just the wrong tool for describing style. A useful test is to sort each instruction into a rule or a vibe.
- Rules are concrete and checkable: you can look at an output and say yes or no. “Do not include prices.” “Do not use the word ‘cheap’.” “Return code in exactly one fenced block.” Rules can stay negative, ideally with a one-line reason.
- Vibes are subjective: “don’t be boring”, “don’t sound salesy”, “don’t overexplain”. Vibes need a positive description of the target, often with an example.
A quick self-check before you add a “don’t” to a prompt:
- Could a script check whether the output broke this rule? If not, rewrite it positively.
- Have I told the model what to do instead when the forbidden thing comes up?
- Have I given the reason in one sentence?
- Am I naming something the model would probably not have mentioned anyway? If so, consider leaving the rule out.
- Does the rule matter enough to enforce outside the model as well?
The fifth question matters for anything with real consequences. A prompt rule lowers the chance of a bad output; it does not guarantee anything. If a banned word in published copy or a leaked price would cause a real problem, add a check in code after generation: a word filter, a regex for currency amounts, a schema validator. Prompt instructions can also be overridden by hostile input, which is covered in the guide to prompt injection and how to defend against it.
Troubleshooting: the model keeps doing what you banned
When a chat model repeatedly ignores a negative instruction, work through these causes in order:
- Your prompt models the behavior. If you ban bullet points in a prompt written as bullet points, or ban emoji in a prompt with example replies that contain emoji, the examples usually win. Make the examples match the rule.
- The rule conflicts with another instruction. “Be thorough” and “keep it short” pull in opposite directions. Decide which wins and say so.
- The rule is buried. In a long system prompt, a single line in the middle can get less attention than you expect. Group hard rules together under a clear heading.
- The conversation is long. Many turns later, early instructions compete with a lot of newer text. Restate the key constraint near the point where it matters, or start a fresh session with a summary.
- The rule is shouted. Anthropic’s guidance notes that recent Claude models respond strongly to system prompts and suggests softening aggressive wording such as “CRITICAL: You MUST”. Over-emphasis can cause over-application elsewhere.
- It is a vibe, not a rule. Go back to the rewrite table and describe the target instead.
If none of these fixes it, show rather than tell. One or two short examples of the desired output often communicate a style better than any instruction, positive or negative. The comparison of zero-shot and few-shot prompting explains when examples are worth the extra tokens.



