Skip to content
BENIBIX Learn

Esc vs Ctrl+C in Claude Code

People think Esc and Ctrl+C both just stop Claude. Esc stops the turn, keeps the work so far, and sends anything you queued. Ctrl+C stops it too, but with nothing running it clears your prompt, and a second press quits Claude Code. Use Esc to steer, and Ctrl+C when you want out.

AI⌨️ Claude Code

Esc Shortcut

The key that stops Claude in the middle of a turn and keeps the work done so far.

Esc is the Claude Code shortcut that stops Claude in the middle of a turn so you can steer it. Claude keeps the work it has done so far. If you queued messages, Claude Code sends them next. When a dialog is open, Esc closes it instead.

Example
Mia sees Claude start on the wrong folder. She presses Esc and types where to look.
Why it matters
You can change course without losing the work or starting over.
Full entry
AI⌨️ Claude Code

Ctrl+C Shortcut

The key that stops a task, clears the prompt, or quits Claude Code.

Ctrl+C is the Claude Code shortcut that stops what is running. If Claude is working, it stops the turn. If nothing is running, the first press clears what you typed, and a second press quits. Pressing Up brings a cleared draft back. Ctrl+C is fixed, so it cannot be moved to another key.

Example
Leo sends a prompt and sees Claude edit the wrong file. He presses Ctrl+C, and the work stops.
Why it matters
It always works, so you can stop Claude at any time.
Full entry

In one line

Esc Shortcut
The key that stops Claude in the middle of a turn and keeps the work done so far.
Ctrl+C Shortcut
The key that stops a task, clears the prompt, or quits Claude Code.