Shortcut

Emacs Save the current file Shortcut

The Emacs shortcut to save the current file is Ctrl + X, Ctrl + S on Windows. It's the same on Mac.

Quick Answer

Windows
Ctrl+X, Ctrl+S
Mac
Ctrl+X, Ctrl+S
Web
Not confirmed yet
EmacsShortcut

Save the current file

Windows
Ctrl+X, Ctrl+S

Write the buffer's text back to the file it came from (save-buffer).

Learn More

How to save the current file in Emacs

  1. Open Emacs and go to where you want to save the current file.
  2. Press Ctrl + X, Ctrl + S on Windows or Ctrl + X, Ctrl + S on Mac.

Emacs Save the current file Shortcut for Windows

Press Ctrl + X, Ctrl + S.

Emacs Save the current file Shortcut for Mac

Press Ctrl + X, Ctrl + S.

Emacs Save the current file Shortcut for Emacs Web

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

Version note: verify against the GNU Emacs Manual before publishing

Related Keyboard Shortcuts

Frequently asked questions

What is the Emacs save the current file shortcut?

On Windows, press Ctrl + X, Ctrl + S. On a Mac, press Ctrl + X, Ctrl + S.

Is there a Mac shortcut to save the current file in Emacs?

Yes: Ctrl + X, Ctrl + S.

Does it work in Emacs for the web?

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

Official source · How we verify