ChatGPT · Basics

Custom instructions

Set your preferences in Settings, choose between instructions, Memory and Projects, and fix rules that don't change the answer.

ChatGPT custom instructions

Where these settings live now

OpenAI keeps custom instructions under Settings > Personalization on the web, alongside Base style and tone and memory. Its docs say custom instructions are for preferences you want ChatGPT to follow across chats. Codex is separate: OpenAI says personal instructions there are stored in a global AGENTS.md file. So if you use both, you may need to set your rules in two places. OpenAI's Help Center article on this feature refused automated reading on 6 November 2026, so check the exact field names and any character limit on your own settings page.

Treat them as a short list you maintain

People tend to write these once and forget them. A better approach is to start with five lines, then add a rule only after you've given the same correction three times, and remove rules that no longer help. That's a rule of thumb, not OpenAI's advice. Each rule should be something you can check in a reply. This lesson covers how to set them up, what to write, where else context can go, and how to tell whether a rule is working.

Frequently asked
What are ChatGPT custom instructions?

They're saved preferences that ChatGPT follows across your chats, such as your preferred response style. You set them under Settings > Personalization on the web, so you don't have to repeat them in every prompt.

What should I put in custom instructions?

Two kinds of text: facts about you that would change an answer, such as your role and what you already know, and rules for how to answer, such as length and format. Leave out details that only apply to one project. Those belong in project instructions.

Why is ChatGPT ignoring my custom instructions?

The rule may be too vague to act on, or another setting may be shaping the reply, such as Base style and tone, memory or project instructions. Rewrite it as something you can check, like a word limit, and test it in a new chat.

Do custom instructions work in Codex?

OpenAI's docs say that in Codex, personal instructions are stored in your global AGENTS.md file, usually at ~/.codex/AGENTS.md. Add your coding rules there, and repositories can add their own AGENTS.md on top.