Shortcut

Vim Leave Insert Mode Shortcut

The Vim shortcut to leave insert mode is Esc on Windows. It's the same on Mac.

Quick Answer

Windows
Esc
Mac
Esc
Web
Not confirmed yet
VimShortcut

Leave Insert Mode

Windows
Esc

Goes back to Normal mode.

Learn More

How to leave insert mode in Vim

  1. Open Vim and go to where you want to leave insert mode.
  2. Press Esc on Windows or Esc on Mac.

Vim Leave Insert Mode Shortcut for Windows

Press Esc.

Vim Leave Insert Mode Shortcut for Mac

Press Esc.

Vim Leave Insert Mode Shortcut for Vim Web

We haven't confirmed a Vim Web shortcut for this yet.

Related Keyboard Shortcuts

Related Guide

Frequently asked questions

What is the Vim leave insert mode shortcut?

On Windows, press Esc. On a Mac, press Esc.

Is there a Mac shortcut to leave insert mode in Vim?

Yes: Esc.

Does it work in Vim for the web?

We haven't confirmed a web version shortcut for this yet.

Official source · How we verify