Menu

MAC

How to make a Mac ask before saving changes

By Updated 13 November 20262 min read

Device: MacBook Neo · Software: macOS 27.0.1 · Checked October 2026

Real screenshot: MacBook Neo, macOS 27.0.1Real screenshot · MacBook Neo, macOS 27.0.1

In short

Open System Settings, click Desktop & Dock, scroll to Windows and switch on Ask to keep changes when closing documents. When you close an edited document, the Mac then asks whether to save the changes.

"I only changed the font to see how it looked!" By default, unsaved changes are automatically saved when you close a document. That is very helpful right up until it isn't. A switch in Desktop & Dock makes the Mac ask first.

4 of 4 steps show a real screenshot from our MacBook Neo.

Steps

0 of 4 steps
  1. 1

    Open System Settings

    Click the Apple menu in the top-left corner of the screen and choose System Settings….

    On our MacBook Neo it is the second item, below About This Mac.

    Mac screenshot: Open System Settings
  2. 2

    Click Desktop & Dock in the sidebar

    It is below Appearance. You may need to scroll down the sidebar.

    Then scroll down the page to the Windows group.

    Mac screenshot: Click Desktop & Dock in the sidebar
  3. 3

    Switch on Ask to keep changes when closing documents

    It is the second row of the Windows group, below Prefer tabs when opening documents.

    On our MacBook Neo the switch was off until we turned it on.

    Mac screenshot: Switch on Ask to keep changes when closing documents
  4. 4

    Close an edited document and choose what to do

    The Mac now asks before keeping your changes. Click Save to keep them, Revert Changes to undo them since the last save, or Cancel to go back.

    On our MacBook Neo, TextEdit asked: Do you want to save the changes made to the document "Test.txt"?

    Mac screenshot: Close an edited document and choose what to do

If you do not see this option

If this does not work

  • The changes were already kept Don't worry, the older text may still be there. Apple says to choose File, Revert To, then Last Opened, or Browse All Versions to pick an older version.
  • You want both versions Apple says to hold Option and click Restore a Copy when browsing versions, or hold Option and choose File, Save As. Restore a Copy duplicates that version in a new document.
  • The app never saved by itself Apple says many apps automatically save versions of documents as you work on them.

Good to know

Prefer tabs when opening documents, the row above, decides when documents open in a tab and not in a new window: Never, Always or In Full Screen. On our MacBook Neo it was set to In Full Screen.

macOS 27 compared with macOS 26: We rewrote this guide on macOS 27.0.1 (MacBook Neo): it now has 4 steps instead of 3. The macOS 26 page keeps the steps and screenshots as they were.

Version history: the macOS 26 version of this guide, with its own screenshots.

About this guide

Device
Mac
Shown on
macOS 27.0.1 (MacBook Neo)
App
System Settings
Real screenshots
4 of 4 steps
What we did
Performed: we made the change on our device and show the result
Checked
October 2026
Sources
3 official, linked below

Did this guide work for you?