Tickd.ai
Model behaviour

Grok Not Following Instructions Anymore? How to Fix

Updated 10/2/2026

When xAI’s Grok suddenly stops following instructions, it usually manifests in one of three ways: ignoring negative constraints (e.g., "do not include introductory text"), forgetting formatting rules like markdown or JSON, or completely ignoring custom system prompts. This behavior can happen on the web interface via X (formerly Twitter) or when calling the xAI API.

This behavior is rarely a permanent degradation of the model. Instead, it is typically caused by token context bloat, model-switching quirks, or poor prompt structure that fails to handle the model's specific attention weights. Use this guide to diagnose and resolve these issues.

1. Switch to a More Capable Model Version Grok has multiple models available (such as Grok 2, Grok 2 mini, and Grok Beta). The smaller "mini" models are optimized for speed and lower latency, but they have a lower capacity for complex reasoning and adhering to strict system instructions.

  1. Open your Grok chat interface.
  2. Locate the model dropdown selector (typically at the top or bottom of the chat window, depending on your UI version).
  3. If it is set to Grok 2 mini or Grok Beta, switch it back to Grok 2 (the full-sized model).
  4. Retest your prompt. Full-sized models have significantly more parameters dedicated to instruction adherence and context retention.

2. Force-Clear the Chat Context If you have been chatting with Grok in a single long session, the model will eventually experience "context drift." As the conversation grows, older instructions at the top of the chat lose their mathematical weight in the model's attention window, causing Grok to ignore rules established earlier.

  1. Save any critical information from your current session.
  2. Click the New Chat button (the plus icon) to spin up a completely clean thread.
  3. Re-enter your system instructions at the very beginning of the new session.
  4. If using the Grok API, clear the messages array of older conversational history and keep only the system prompt and the latest 2-3 exchanges.

3. Restructure Your Prompts with XML Tags Grok models respond highly effectively to structured data. When you dump instructions, context, and input data into a single block of unformatted text, the model can struggle to differentiate between your instructions and the data it is supposed to process.

Wrap your instructions and data in XML-style tags to isolate them:

`xml <instructions> Generate a summary of the text below. Do not include any introductory or concluding remarks. Output in raw markdown bullet points only. </instructions>

<text_to_process> [Insert your input text here] </text_to_process> `

This structural separation forces Grok’s attention layers to treat the contents of <instructions> as metadata rules rather than content to be summarized.

4. Convert Negative Constraints into Positive Commands Large language models, including Grok, struggle to process negative constraints (e.g., "Do not write more than three sentences"). The model processes the token "write" and "three sentences" with high weight, sometimes completely overlooking the negation.

Instead of telling Grok what *not* to do, tell it exactly what it *must* do:

  • Bad: "Do not write a long response and do not use bullet points."
  • Good: "Write a single, concise paragraph of exactly two sentences. Output your response as plain, unformatted text."

If you must use negative constraints, place them at the very end of your prompt as a final "System Override" check.

5. Adjust API Settings (For Developers) If you are accessing Grok via the xAI API and notice a sudden drop in instruction following, your API parameters or payload structure might be misconfigured.

* Lower the Temperature: A high temperature (e.g., 0.9 or 1.0) increases creativity but causes the model to drift from instructions. Lower the temperature to 0.2 or 0.3 for strict, deterministic instruction following. * Verify the System Role: Ensure your rules are nested within the "role": "system" object, rather than "role": "user". Grok's training weights heavily favor instructions passed inside the system role: `json [ {"role": "system", "content": "You are a strict code formatter. Output ONLY valid JSON."}, {"role": "user", "content": "Format this data..."} ] `

When to escalate If Grok suddenly stops following basic instructions across all new threads, model versions, and API deployments, it may indicate a platform-wide regression or a bad model deployment by xAI. Check the official **@xai** and **@developer** accounts on X for system status updates. If the issue persists despite using a clean thread and structured prompting, use the "Feedback" thumb-down button on the X interface to submit the specific prompt to the xAI engineering team for model fine-tuning.

While you're here

Tickd is more than troubleshooting — these three are free and take seconds.

Agent BuilderDesign your own AI agent and export it to ChatGPT, Claude, Gemini or Grok.Build one free