Codex CLI keyboard shortcuts

Codex CLI is OpenAI's coding agent for the terminal, and OpenAI documents only a short list of its keys. Every row below is one of them. The two worth learning first are Enter and Tab while Codex is working: Enter adds to the turn already running, and Tab holds your message for the next one.

17 shortcutsWindows and MacChecked 25 September 2026

Checked against OpenAI — Codex CLI commands and interactive shortcuts, OpenAI — Codex CLI customization and OpenAI — Codex best practices. Version: Codex CLI, current release, default keymap.

The same actions in the other AI coding tools, side by side: AI coding tools compared.

17 shortcuts

The top 11 are the Codex CLI shortcuts this page marks as the ones to learn first, in the order they appear here. The drill asks the marked ones first too, shuffled. Or tick your own and print those.

Next