Why Your Windows Reopen (Or Don’t) As You Expect

Have you noticed that when you restart your Mac or relaunch an app, your previous windows and documents sometimes reappear exactly as you left them, but at other times you’re greeted with a clean slate?

This behavior is controlled by Resume, a technology introduced in OS X 10.7 Lion back in 2011. Resume automatically reopens app windows and documents so you can pick up where you left off after a restart or app relaunch. Apple’s goal was to make macOS work more like iOS, which tries to preserve your place in apps. However, many Mac users found it confusing when apps opened old documents or appeared in unexpected positions when the number of displays changed. Some also objected to how long it took to open old documents that were not relevant to the task at hand. Apple quickly reversed course and made reopening apps and windows optional.

Users are much more familiar with how the iPhone and iPad work now, so you may wish your Mac apps remembered their open documents and window positions. Various settings control this behavior, but it can be hard to find them and understand what they’ll do. Let’s explore how Resume works and how you can make it do what you want.

First, note that Resume operates in two distinct situations. One applies only at restart or logout, and you decide at that moment. The other governs what happens every time you quit and relaunch an app and is controlled by a persistent system setting.

The “Reopen Windows” Option at Restart

Whenever you restart, shut down, or log out of your Mac, macOS asks whether you want to reopen your apps and windows when you log back in. You’ve undoubtedly seen the checkbox in the confirmation dialog: “Reopen windows when logging back in.” When the checkbox is selected, macOS dutifully relaunches the currently running apps after you log in, putting you back where you were. If you uncheck it, your Mac will start fresh, without reloading previously open apps.

macOS remembers how you’ve selected this checkbox, so if it’s checked when you click Restart, it will also be selected the next time you restart, and vice versa. If you ever perform a forced restart or skip the dialog by holding the Option key when choosing Restart or Shut Down, macOS uses the last known state of that checkbox on the next startup.

Many users either love or hate the “Reopen windows” behavior. For those who enjoy having their entire workspace restored after a reboot, keeping that checkbox checked makes sense. For others, including many IT professionals, the point of a reboot is to start fresh. Pick whichever behavior you prefer.

Controlling Resume When Relaunching Apps

Resume also governs what happens each time you quit and reopen an individual app. This behavior is controlled by a switch in System Settings > Desktop & Dock under the Windows section, labeled “Close windows when quitting an application.”

When this “Close windows” switch is turned on—it’s the default—macOS will close all windows and discard their restorable state before allowing an app to quit. Because macOS has closed the windows before quitting, there’s nothing for Resume to restore when you next launch that app. Effectively, the app will always start fresh with no memory of past windows (unless it has its own session-restore mechanism).

On the other hand, when this option is turned off, quitting an app will not discard its windows, so when you reopen the app later, Resume will automatically restore whatever documents and windows you had open, putting you right back where you left off.

There are three main scenarios where Resume can have effects that you may or may not like:

  • Document-centric apps: With these apps, like Pages and Numbers, you work on individual documents, each of which opens in its own window. When “Close windows” is enabled, apps start fresh on each launch; when it’s disabled, the documents you were working on when you quit reopen automatically.
  • Unsaved documents: As a corollary to the previous scenario, if you have unsaved documents open when “Close windows” is on, you’ll be prompted to save your changes before the window is closed. When “Close windows” is off, you won’t be prompted because those documents—with all their unsaved changes—will open automatically at the next launch.
  • Window-based apps: Other apps, like Mail and Messages, display their content in a main window. They’ll open this window regardless of the “Close windows” setting. However, Resume determines where that window appears. If “Close windows” is turned on, macOS does not remember which display or Space the window occupied, so the app often reopens on the primary display, even if that’s not where it was when it quit.

Most users have no idea that this “Close windows” setting exists or what it does. If you’re irritated by having to reopen Pages documents you were working on before or reposition Mail’s window after every relaunch, make sure “Close windows” is turned off. Conversely, leave it on if you want apps to start fresh.

Exceptions and Caveats

For most people, controlling Resume using the “Reopen windows” checkbox and the “Close windows” switch is sufficient. However, some people may want more control or wonder why some apps ignore those settings.

  • Nonstandard apps: Everything we’ve said so far describes the behavior of standard apps using Apple’s recommended development frameworks and tools. Some apps don’t use Apple tools or play by Apple’s rules—we’re looking at you, Microsoft—and will ignore the Resume settings. Don’t be surprised if Word, Excel, and PowerPoint fail to act as described.
  • Turn off Resume per launch: If you set apps to restore their windows by turning off the “Close windows” switch, you can override that on a one-off basis in some apps by holding the Shift key down as they launch. This trick doesn’t work in all apps, but it’s worth trying.
  • Custom session restore: Some apps manage session restoration on their own, most notably Safari and apps built with the Electron framework, such as Slack, Discord, and Notion. For instance, in Safari > Settings > General > Safari opens with, you can choose a new window, a new private window, all windows from the last session, or all non-private windows from the last session. With such apps, look for internal settings that control their behavior.
  • Login Items: Even if you deselect “Reopen windows” when restarting, apps and documents that you’ve added as login items in System Settings > General > Login Items & Extensions > Open at Login will still open. Think of this as a manual Resume—you’ll restart to a preset workspace, not to the way things were when you restarted. Some software may also install helper apps that control what appears at launch.
  • Full-screen apps and Spaces: Apps that were last used in full-screen mode reopen into their own Spaces when “Close windows” is disabled. After a restart or relaunch, the app may appear not to have reopened because it is occupying a separate Space that is currently not visible.

In practice, Resume comes down to a simple set of choices:

  • If you want your workspace restored after a restart, select “Reopen windows when logging back in.” Ensuring that apps—even if they’re set as login items—open full-screen or in particular Spaces also requires “Close windows when quitting an application” to be turned off.
  • If you want apps to remember documents (even unsaved documents), window positions, and displays when you quit and relaunch them, turn off “Close windows.”
  • If you want a clean slate, deselect “Reopen windows” and leave “Close windows” turned on.

When windows don’t appear as you expect, check these two settings as your first troubleshooting step.

(Featured image by iStock.com/BigNazik)


Social Media: Frustrated when your Mac apps don’t remember their windows—or when they stubbornly reopen old documents? Two little-discussed settings control this behavior. Here’s how Apple’s Resume technology really works.

Similar Posts

  • Hey Siri, What Can You Do?

    So, I am a little embarrassed to admit it but I bought an Amazon Echo to check out how Alexa compares with Siri. I’m a gadget guy so we will see if we find it useful and if not, I am sure I can find it a home on eBay. I use Siri more and more these days. My most common uses are asking her to settle trivia disputes with Grace or setting the timer for 5 minutes. But there is a lot more that Siri can do!

    Make Relationships with Siri
    When you speak Siri commands, you can refer to people by relationship, rather than name. So, if you want to call your father, you can say “call my father” instead of saying “call Bruce Leibowitz.” But to do this, you need to introduce Siri to your family. First, make sure you have a “card” in the Contacts app for yourself, and then go into Settings > Mail, Contacts, Calendars, scroll down to find and tap My Info, and select your card. Next, make sure you have a contact card for your father, and then tell Siri, “Bruce Leibowitz is my father.” Or, if Siri doesn’t hear you correctly, open Contacts, edit your card (not your father’s!), scroll down, tap “add related name,” tap the default relationship to pick “father,” tap the info “i” icon, select your father’s card, and tap Done.

    You can even use Siri to remember other types of relationships. Artie used to bring manure from his uncle’s farm for my garden and ended up with the nickname, “the spreader”. If I tell Siri “Art Hendrickson is my spreader” I can now just say “text my spreader…” and Siri knows who I am talking about. This works for nicknames but also for lawyers, accountants, doctors or any nickname you want to tell Siri about.

    Take a Picture
    Instead of fumbling to launch the Camera app on your iPhone you can just say “take a picture” and Siri will automatically open the Camera app and you can snap away.

    Siri Converts
    Need to know how many millimeters are in 4 inches? Just ask Siri and you will find that there are 101.6 mm in 4 inches. This works for currency exchange rates, too. Ask Siri how many Euros are equal to $100US you will find that 87.73 Euros is the exchange rate today. Siri has some other strong calculation features too. You can ask Siri how many calories there are in that fish sandwich or to calculate a 20% tip on your restaurant bill. You can ask her to solve math problems involving fractions and other math functions that will be faster than opening the calculator app and punching in the numbers.

    Settling Up
    Okay you can use Siri to look up baseball stats or other information to settle a dispute but what if you are at loggerheads and just want to get a random answer and don’t have a coin to flip. You can ask Siri to “roll the dice”, “flip a coin” or pick a random number.

    Name that Tune
    Siri is integrated with Shazam to help you figure out what song is playing. Just ask her “what song is playing?” and she will listen and let you know and probably try to sell you the song, too!

    Find that Photo
    Siri can search your photo library for you. I know how frustrating it is if your are like me and have literally thousands of photos. You can say something like “find that photo from Daytona Beach from last March” and Siri will launch Photos and take you right to any photos taken at that place and time.

    Siri Takes You Out
    Siri can make your restaurant reservations for you, too! Tell Siri “make a restaurant reservation for four at 7PM” and she will respond with available restaurants nearby and if you have the Open Table app installed can make the reservation for you or give you the phone number to call.

    Are We There Yet?
    If you are using your iPhone for navigation you can just say “ETA” and Siri will let you know how much longer you are gonna be on the road.

    Leave Me Alone
    Siri can do a lot for you but sometimes you just want alone time. You can tell Siri to turn on “do not disturb” and you will not be bothered. Or tell her to “turn on airplane mode” and she will turn off Wi-Fi and cellular signals.

  • Keep Your IT Budget Working During a Slowdown

    When business slows down, it’s tempting to reduce IT spending. But that approach often backfires, creating bigger problems—and larger bills—down the road. Beyond…

  • _Dear Friends_,

    I am in Las Vegas at the Consumer Electronics Show and it is bigger than ever. My Apple watch is happy with all the walking I am doing but my feet are not feeling the love. The show is a great way to see what is on the horizon and of course, I had meetings interspersed with walking the show floor. Naturally, the meetings were far apart so I spent a lot of time walking or on buses or cabs.

    This show is pretty different from previous years but still is window to future products. See my short report below and I will follow up next week in Kibbles with a more in-depth look. This week’s kibbles exclusive special is a “refurbished 13-inch MacBook Air with a 512GB hard drive bundled with Applecare and a 2TB Time Capsule for $1759.99”:http://www.smalldog.com/wag900002113/special-save-150-on-refurbished-mac-bundle-and-keep-it-safe The MacBook Air is one of my most favorite laptops and this refurbished bundle is a great way to upgrade your mac and ensure your data is secure for the new year!