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

  • Get Organized!

    I have tried a lot of apps over the years for keeping ideas organized, assigning tasks or just keeping track of my goals. The problem I’ve found with many of the organizational applications is that I don’t find them easy to access. If you’re not on your phone or at your computer, often these applications can’t be utilized easily or have widely varied interfaces depending on which device your using.

    “**Trello**”:https://trello.com/ has become my new favorite go-to app for keeping ideas and tasks organized. Trello is a free app with the ability to also pay for upgraded features for minimal fees. Why do I love Trello so much? It’s simple, I can easily use it on my computer, my iPhone or my iPad. There is an app for all three of my devices, and each version works seamlessly with the others. Working with several staff members in different departments here at Small Dog can make keeping track of tasks and to-do lists a bit of a challenge, but this simple application has really helped to streamline things.

    I easily and quickly create what they call “boards”, each board then allows you to create individual categories to which you can then add individual tasks. Within my lists I can upload photos, files, web links, assign due dates and add notes. Once I have created a board, I can also easily share that board with co-workers or whomever I choose to share them with. Anyone I have shared a board with can also be granted access to update and add to the boards, add notes or more files.

    A feature many of us have come to really rely on are the updates that you get from Trello notifying you that someone has made a change. I have found just one complaint thus far about the application. There appears to be no feature to mark a task as completed while still leaving it on your board. You can easily archive tasks and even entire boards, but I prefer to still be able to see those tasks while clearly seeming them marked as completed. However, all in all, I find this to be an invaluable app and one that I utilize all of the time. I have tried and do use google docs and google drive, and I’ve installed those on my devices as well, but for me nothing beats the ease and convenience of Trello.

  • _Hello Friends,_

    The big winter storm called Jonas is heading for the east coast and Vermonters are hoping that it tracks north of the current projections but it looks like it might miss northern New England and hit the coastal areas. The lack of snow in Vermont and the unusually high temperatures have hit the Vermont ski areas and local merchants pretty hard. Here it is the end of January and no significant snow in Vermont. Well for all the skiers and especially for the businesses I hope that those areas that can’t really handle snow get bypassed and Vermont gets the big dump because Vermonters are ready.

    Down here in Key West it has been sort of cool meaning I have to wear long pants and shoes, although if it was this warm in Vermont everyone would be in shorts. Down here when it gets below 65 you see people with down coats. NOAA reported this week that 2015 was the warmest year in recorded history breaking the record from 2014 by far.

    Apple honored Dr. Martin Luther King, Jr. on its home page on the national holiday on Monday with Dr. King’s quotation “Life’s most persistent and urgent questions is, What are you doing for others”. Tim Cook tweeted his respects, too. I had the honor of marching with Dr. King and share this respect, he was truly one of the great Americans of all time

    We always advertise our “Celebrate Diversity” slogan during this time of the year. We strongly feel that you gain strength through diversity whether it is race, religion, national origin or sexual orientation. I remember a long time ago we had a series of Celebrate Diversity web banners that created a lot of controversy with some sites refusing to run them. Diversity is much more mainstream now despite some candidates for President attempting to divide us.

    This week’s Kibbles & Bytes Exclusive is weather related with $20 off the “**Tempus Pro Bluetooth Weather Stations.**”:http://www.smalldog.com/wag900002127/special-save-20-on-tempus-pro-bluetooth-weather-station This was one of the most popular gifts this holiday season and is a great way to keep track of the weather in your microclimate. This complete weather station includes indoor and outdoor sensors that measure temperature, humidity, rainfall, wind and barometric pressure. Complete with mounting hardware it is simple to install and once you download the App you can monitor the weather on your iPhone or iPad. Read a Small Dogger review of the Tempus Pro “**here.**”:http://blog.smalldog.com/article/fody-weather-station/ Normally, $159.99 this week Kibbles & Bytes readers can get the Tempus Pro Weather Station for only **$139.99**

  • _Dear Friends,_

    New data from Piper Jaffray’s teen survey show that Apple is dominating that market at least as far as mobile devices are concerned. They have 71% of the teen market for smart watches and almost 70% for iPhones and 64% for iPad. Another survey has Apple Mac sales showing positive growth while literally the entire PC market is in decline.

    I have been playing around with Amazon’s Echo and I have to say that I like it a lot. I wake up each morning and say “Alexa, what’s new?” and I get the news reports from NPR, CNN, Huffington Post and BBC as well as ESPN Sports and the local weather report. During the day, I ask Alexa to “play the blues” or “play some classical music” and while the speaker is not as good as my Sonos system it does fill the room. I can be around the corner or across the room and the Echo can hear me. Apple needs to step it up a bit and get Siri on the Mac or even better yet, integrated into their networking gear. I would love to be able to tell my Sonos app to play my music from my iTunes library!

    Speaking of networking here’s a Kibbles & Bytes exclusive! This isn’t for everyone but if you have a big house and your Wi-Fi signal isn’t reaching that far corner of the house this could solve three problems for you! I am bundling the Apple Factory Refurbished 3TB Time Capsule with an Apple Factory Refurbished Airport Express. Both have the same 1-year Apple warranty as new but you can save some bucks. The 3TB Time Capsule gives you the Airport Extreme wireless access point and automatic wireless back-ups to the integrated 3 terabyte drive. The Airport Express allows you to extend that wireless network. Normally “**this bundle**”:http://www.smalldog.com/wag900002195/extend-your-network-and-back-up-your-data-for-only-325-99? is around $500 new, but this week for Kibbles & Bytes readers, while supplies last you can buy this refurbished bundle for only “**$325.99!**”:http://www.smalldog.com/wag900002195/extend-your-network-and-back-up-your-data-for-only-325-99?