โ† Prompt Engineering Career Hub
๐Ÿšซ
BeginnerCore Techniques

Negative Prompting: Complete Guide for Prompt Engineers

Explicitly tell the model what NOT to do to prevent unwanted outputs and constrain behavior. Learn when to use it, see a real example, and understand the best practices.

When to Use This Technique

When models persistently produce outputs you don't want โ€” add negative instructions to correct the behavior.

Example Prompt

Write a product description. Do NOT use exclamation marks, do NOT mention pricing, and do NOT use generic phrases like 'cutting edge' or 'state of the art.'

Pro Tips

  • โœ“Negative instructions often more effective than positive ones for corrections
  • โœ“Be specific โ€” 'do not be verbose' is weaker than 'respond in 3 sentences or fewer'
  • โœ“Combine negative and positive instructions
  • โœ“Test that negatives don't cause overcorrection

More Practice Prompts

Write a product description. Do NOT use exclamation marks, do NOT mention pricing, and do NOT use generic phrases like 'cutting edge' or 'state of the art.'

FAQ

When should I use Negative Prompting?

When models persistently produce outputs you don't want โ€” add negative instructions to correct the behavior.

What difficulty level is Negative Prompting?

Negative Prompting is considered Beginner level in the Core Techniques category.