# System prompt

> The instruction layer a model treats as highest priority: its role, rules and boundaries for the whole conversation.

Source: Promptea — https://www.promptea.me/en/glossary/system-prompt · Language: English · Last updated: 2026-11-09

## What it means

- Definition: in many chat products and APIs, instructions are layered by priority (system, then developer, then user). The system layer sets who the model is and what it must or must not do.
- Why it matters: rules placed there survive the whole conversation, so a user message is less likely to override them than the same rule written mid-chat.
- How to apply it: in the API, put role, rules and output format in the system field. In a chat window you usually cannot edit the real system prompt, but you can emulate it with a clear 'Role + Rules' block at the top of your first message.
- Common mistake: stuffing the task, the data and one-off examples into the system prompt. Keep it for what is stable; send what changes with each request as the user message.

## Example

```text
Role: You are a concise editor for a product blog.
Rules:
- Be direct; no filler.
- Keep the author's voice and meaning.
- If something is missing or ambiguous, ask before rewriting.
Output: the rewritten text, then a list of what you changed.

Task: rewrite this text for clarity:
"""[paste]"""
```

[Open in Promptea](https://www.promptea.me/en/analyzer?prompt=Role%3A+You+are+a+concise+editor+for+a+product+blog.%0ARules%3A%0A-+Be+direct%3B+no+filler.%0A-+Keep+the+author%27s+voice+and+meaning.%0A-+If+something+is+missing+or+ambiguous%2C+ask+before+rewriting.%0AOutput%3A+the+rewritten+text%2C+then+a+list+of+what+you+changed.%0A%0ATask%3A+rewrite+this+text+for+clarity%3A%0A%22%22%22%5Bpaste%5D%22%22%22&purpose=text&target=gpt)

## Frequently asked questions

### Do I need to write the word 'system' in my prompt?

No. In a chat window just put the role and the rules first and mark them clearly. In an API, use the system field the provider gives you.

### What is the difference between a system prompt and a user prompt?

The system prompt holds stable behavior (role, rules, format) and ranks above the rest; the user prompt holds the request of the moment. Putting stable rules in the system layer keeps them from being diluted by a long conversation.

## Related

- [System prompts: how to set persistent instructions for ChatGPT, Claude, and Gemini](https://www.promptea.me/en/guides/system-prompts)
- [Role prompting: how to assign personas for better AI outputs](https://www.promptea.me/en/guides/role-prompting)
- [Prompt checklist (copy-paste) to get better outputs](https://www.promptea.me/en/guides/prompt-checklist)
- [Role prompting](https://www.promptea.me/en/glossary/role-prompting)
- [Constraints](https://www.promptea.me/en/glossary/constraints)
