ChatGPT Not Following Instructions: How to Fix
Updated 10/31/2026
It can be highly frustrating when ChatGPT ignores explicit directions in your prompt—such as ignoring negative constraints ("do not include HTML"), failing to stick to word counts, or completely missing formatting rules.
This behavior typically happens due to attention dilution within the model, long conversation histories that exceed the model's effective focus window, or prompt structures that confuse the neural network. Here is how to troubleshoot and fix instruction-following failures in ChatGPT.
1. Structure Your Prompt with Clear Delimiters When you mix instructions, context, and raw data together in a single paragraph, ChatGPT’s attention mechanism can struggle to differentiate between them.
Use clear structural delimiters to isolate your instructions from your source text. XML-style tags or Markdown headers are highly effective:
* XML Tags: `text <instructions> Summarize the text below in exactly three bullet points. Do not use jargon. </instructions> <source_text> [Insert your text here] </source_text> ` * Markdown Headers: Use ### Instructions and ### Input Data to separate different parts of your prompt.
This structural separation tells the model exactly which tokens are operational commands and which tokens are raw data to be processed.
The Prompt Generator helps you write a clearer prompt for this kind of task.
Tickd is independent and not affiliated with any AI company.
2. Replace Negative Constraints with Positive Commands Large language models (LLMs) operate on token probability. When you tell ChatGPT *not* to do something (e.g., "Do not write a formal introduction"), you are forcing it to process the very tokens you want it to avoid. This often increases the mathematical likelihood of the model generating those forbidden concepts.
Instead of negative constraints, use explicit positive commands: * Avoid: "Do not write passive sentences." * Use instead: "Write exclusively in the active voice." * Avoid: "Don't include any coding comments." * Use instead: "Provide only clean, executable code with zero comments or explanations."
3. Utilize Few-Shot Prompting (Give Examples) If ChatGPT struggles to follow a specific formatting instruction, the most reliable fix is to provide a concrete example of the expected output. This is called "few-shot prompting."
Before asking for your final output, insert a mock input and output into your prompt:
`text Format the names and dates exactly like this template:
Input: John Doe, born December 5th 1990 Output: DOE_john_19901205
Now, format the following list using this exact template: [Insert your list here] `
Giving the model a physical pattern to copy is significantly more effective than describing the pattern in text.
4. Move Key Instructions to the End (Recency Bias) ChatGPT suffers from "recency bias," meaning it pays disproportionately higher attention to the tokens at the very end of your prompt.
If you place complex instructions at the beginning of a long prompt and then paste three pages of reference text below them, the model will likely forget the instructions by the time it finishes reading the text. Always place your core execution instructions and formatting rules at the absolute bottom of your prompt, below any reference material.
5. Clear the Context Window In a long chat session, ChatGPT must process the entire history of the conversation with every new message you send. As the thread grows, the model's limited attention window becomes crowded with older exchanges, causing it to ignore system instructions or lose track of your original constraints.
If ChatGPT starts failing to follow simple commands that it handled perfectly at the start of the chat: 1. Click New Chat in the sidebar to start a clean session. 2. Re-introduce your instructions in the very first prompt of the new thread. 3. If you need persistent behavior across chats, navigate to Settings > Custom Instructions (or Customize ChatGPT) and add your strict rules to the "How would you like ChatGPT to respond?" box.