Command + S on Mac: How to Save Files Properly
In this article
Pressing Command + S on a Mac saves the document, file, or item you are currently working on. If the item has never been saved before, a dialog box appears asking you to name the file and choose a location. If it has been saved before, the existing file is updated in place with no dialog. You need a Mac keyboard with a working Command (⌘) key and an open, editable document in an app that supports saving.
What You'll Need
- A Mac computer (any model running macOS).
- A keyboard with a functioning Command (⌘) key — the key sits next to the Space bar on Apple keyboards, or maps to the Windows key on a third-party keyboard used in Mac mode.
- An open document or file in an app that supports saving, such as TextEdit, Pages, Numbers, Keynote, Preview, or most third-party editors.
- For first-time saves, a destination folder where you have write permission — your Documents folder or Desktop works by default.
Step-by-Step
- Open or create the document you want to save. Make sure the window is active — click once inside the document so the app is frontmost. The menu bar at the top of the screen should show the app's name next to the Apple menu.
- Press Command + S. Hold down the Command key (⌘) and tap the S key once. On most Apple keyboards the Command key is immediately left of the Space bar. If you are using a Windows-style keyboard, the Command key is usually the Windows key or the Alt key, depending on how the keyboard is configured in System Settings > Keyboard.
- If this is the first save, respond to the save dialog. A sheet drops down from the top of the window. Type a name in the “Save As” field. Use the location picker (often a dropdown or sidebar) to choose where the file goes. Click Save. The exact labels vary slightly by app and macOS version, but the layout is consistent.
- If the file has been saved before, confirm the save happened. There is usually no visible confirmation beyond the document's title bar losing its “Edited” dot or the app's status indicator clearing. In many apps, the red close button shows a dot when there are unsaved changes; after Command + S, that dot disappears.
- To save a copy under a new name or location, use Command + Shift + S. This opens a Save As or Duplicate dialog, depending on the app. In apps that use macOS document versions (Pages, Numbers, Keynote, TextEdit), the menu item is usually File > Duplicate, then File > Save. Check the File menu to see which wording your app uses.
- To save everything at once in a multi-document app, use Command + Option + S if the app supports it. Not all apps offer this; if the shortcut does nothing, save each window individually with Command + S.
Common Mistakes
- Pressing Command + S while the wrong window is active. The save applies to the frontmost document only. Click the document you mean to save first.
- Assuming Command + S works in every app. Some apps — especially web apps in Safari or Chrome, and some read-only viewers — do not save to disk with Command + S. In a browser, Command + S typically saves the web page itself as an HTML file or web archive, not the content you were editing.
- Confusing Command + S with Command + Shift + S. Command + S overwrites the current file. Command + Shift + S creates a new copy or opens Save As, depending on the app. Using the wrong one can overwrite a file you meant to keep.
- Ignoring the file format dropdown. On first save, some apps let you choose a format (for example, Rich Text vs. Plain Text in TextEdit). Picking the wrong format can strip formatting or make the file harder to open later.
- Expecting a confirmation message. Most Mac apps save silently. If nothing seems to happen, check the title bar for the edited indicator rather than waiting for a pop-up.
Tips
- Use Command + S often. It is quick and has no side effects beyond writing the file to disk.
- Learn the related shortcuts: Command + Z to undo, Command + Shift + Z to redo, Command + W to close a window (you will be prompted to save if there are unsaved changes), and Command + Q to quit an app (also prompts to save).
- If you use a third-party keyboard, check System Settings > Keyboard > Keyboard Shortcuts to confirm which physical key acts as Command.
- For documents you edit frequently, save to a cloud-synced folder such as iCloud Drive or a folder managed by a sync service so the file is backed up automatically.
- When saving a copy, give it a descriptive name and include a date if you keep multiple versions — for example, “Budget 2025-03-15”.
Troubleshooting
If Command + S does nothing, work through these checks in order.
- Confirm the app is frontmost. Click inside the document window. The menu bar should show the app's name. If it shows Finder or another app, the shortcut is going to the wrong place.
- Check the File menu. Open the File menu and look for a Save item. If Save is greyed out, the document may be read-only, or the app may not support saving to disk. If Save is missing entirely, the app handles saving differently — look for an export or download option.
- Test the Command key. Press Command + C on some selected text, then Command + V elsewhere. If copy and paste work, the Command key is fine. If not, the key may be stuck or the keyboard may need re-pairing (for Bluetooth keyboards, turn it off and on, or remove and re-add it in System Settings > Bluetooth).
- Check for a modal dialog. Some apps block saving while a dialog or sheet is open. Close any open dialog and try again.
- Restart the app. Quit the app with Command + Q (save any other open documents first), then reopen it and try Command + S again.
- Check disk space and permissions. If the disk is full or the destination folder is read-only, the save will fail, sometimes with an error. Choose a different folder such as Documents or Desktop, or free up space.
- Update macOS and the app. Use System Settings > General > Software Update for macOS, and the App Store or the app's own updater for third-party apps. Menu labels can differ slightly by version, device, and region, so an update may also change where Save lives.
Frequently Asked Questions
What does Command + S do on a Mac?
It saves the frontmost document. If the document has never been saved, it opens a dialog to name the file and choose a location. If it has been saved before, it updates the existing file.
Why does Command + S not work in my browser?
In Safari, Chrome, and most browsers, Command + S saves the web page itself as an HTML file or web archive, not the content you were editing in a web app. Web apps usually save through their own interface, such as a Save button or an autosave indicator.
How do I save a copy instead of overwriting?
Use Command + Shift + S, or open the File menu and choose Duplicate or Save As, depending on the app. This creates a new file and leaves the original untouched.
Does Command + S work in every Mac app?
No. Most document-based apps support it, but some viewers, utilities, and web apps do not. If the File menu has no Save item, the app does not use the standard save shortcut.
What is the difference between Command + S and autosave?
Autosave, used by apps like Pages and TextEdit, saves changes automatically as you work. Command + S still works in those apps and forces an immediate save, which is useful before closing or switching documents.
Can I change the Command + S shortcut?
Yes, for many apps. Go to System Settings > Keyboard > Keyboard Shortcuts > App Shortcuts, add the app, and assign a new key combination to the Save menu item. The exact path may vary slightly by macOS version.