A frequently asked question is why many apps will launch and windows will open when you start up your Mac. While many answer this question by pointing to Login Items, most people are asking this because they simply overlook a checkbox when shutting down or restarting their Mac.
▶ You can also watch this video at YouTube.
▶
▶ Watch more videos about related subjects: System Settings (185 videos).
▶
▶ Watch more videos about related subjects: System Settings (185 videos).
Video Summary
In This Tutorial
Why apps and windows reopen automatically when you start up your Mac, and how a single overlooked checkbox during shut down or restart, rather than Login Items, is usually the cause.
Intro
- A common question is why many apps and windows open automatically at startup, and while the answer is often blamed on Login Items, the real cause is usually a checkbox most people overlook when restarting or shutting down.
You Rarely Need to Shut Down or Restart
- Most Mac users never need to shut down at all and can simply let the Mac sleep, restarting only after a major update, because Macs perform maintenance such as Spotlight indexing while sleeping, and constant shutting down forces that work to happen slowly while you are using the Mac.
Why the Common Advice Is Wrong
- Advice pointing to System Preferences, Users & Groups, Login Items usually does not explain the problem, since apps like Pages, Safari, and Mail will not appear there, and the General setting Close Windows When Quitting an App only governs quitting an individual app, not restarting or shutting down.
The Real Cause: The Reopen Windows Checkbox
- When you choose Shut Down, Restart, or Log Out, the dialog includes a Reopen Windows When Logging Back In checkbox that overrides the General preference and reopens all apps and windows, so unchecking it prevents this, and because the Mac remembers the last setting you can even set it in advance by canceling the dialog.
The Finder Exception
- Finder windows are an exception and reopen regardless, so open Finder windows stay consistent across a restart, though they can be closed with the red button or with Option-Command-W, a Close All shortcut that works in most apps.
How Mac Apps Differ From Windows Apps
- Unlike Windows, clicking the red close button in a Mac app such as Pages or Safari closes only the window while the app stays open, so quitting requires Quit or Command-Q, and quitting Pages obeys the General preference unless overridden with Option-Command-Q, which closes all windows (or keeps them, if the preference is set the other way).
Summary
Apps and windows reopen at startup mainly because of the Reopen Windows checkbox in the Shut Down, Restart, and Log Out dialogs, not because of Login Items or the Close Windows preference. Unchecking it stops the behavior and the setting is remembered. Finder windows always reopen, and understanding that Mac apps stay open when their windows close further clarifies why documents reappear.
Video Transcript
Hi, this is Gary with MacMost.com. Today let me tell you why when you start your Mac up lots of apps and windows open up automatically.
MacMost is brought to you thanks to a great group of more than 1000 supporters. Go to MacMost.com/patreon. There you can read more about the Patreon Campaign. Join us and get exclusive content and course discounts.
So a very common question asked online is when you startup your Mac why do all of these apps and these windows automatically open. Is there a way to have your Mac startup with nothing going on? Well, there's a lot going on inside this question but the first thing I want to address is that most Mac users don't ever really need to shutdown their Macs at all. So if you don't shutdown your Mac you never need to start it up. A restart is kind of the same thing but you also only should rarely need to restart your Mac. Maybe after a major software update or installation. A lot of Mac users still shutdown their Macs when they're done using it at the end of the day and you really don't need to do that. Just put your mac to Sleep. If you have a MacBook model then the only time you really need to do more than put your Mac to sleep is if you're storing it for a long period of time. If you have a Desktop Mac then you obviously need to shutdown your Mac to move it somewhere since you're unplugging it. Other than that just let it sleep. In fact Macs do a lot of maintenance while they're sleeping and if you don't let them sleep they'll do that maintenance while you're using your Mac causing your Mac to be slower. Even doing something as simple as indexing the files on your drive for Spotlight so you can search and find them could take days or weeks if you're always shutting down your Mac as soon as you're done using it and only starting it up again when you start using it. Instead if you let it sleep it will take care of that while you're not using your Mac at all making it faster for you while you do use it.
Okay, so besides that why when you restart your Mac do all of these apps and windows open up. A lot of the advice you'll find online is wrong. For instance, they'll tell you to go to System Preferences and then go to Users & Groups and from there go to Login Item and look to see which apps are set to automatically start. But chances are you're not going to find the problem here. Many of you may see nothing at all in this list. You almost certainly won't see apps like Pages and Safari and Mail in this list. They won't be set here to startup automatically. There are other ways for apps to startup automatically but it is unlikely that this is the problem that people are talking about.
Another thing that people will tell you to look for is if you go to System Preferences and then General there is a setting here, Close Windows When Quitting an App. This seems like it may address the problem. But this just has to do with quitting the app. So, for instance, if you have two Pages documents open if you were to suddenly quit Pages with Command Q and then restart Pages it would automatically open up those two windows with those two documents. This is a great feature but it doesn't apply when you're restarting or shutting down. Even though restarting and shutting down does, of course, quit apps, even if you have this turned on when you restart you may find Pages will open up again with those two windows.
So what's actually causing all of your previous apps to restart automatically. After all you may think that if you choose restart or shut down it quits all apps and when you start up the Mac you'll see no apps open. But you've got to pay careful attention when you choose one of these. For instance, if I choose Shut Down notice that I've got this dialogue box here and there's a checkbox. The Checkbox says Reopen windows when logging back in. So this is actually what's doing it here. This overrides that System Preference in General and will actually reopen all of the apps you had and all the windows in them. To prevent this from happening simply Uncheck this. The same exact thing appears when you go to Restart or to Log Out. You'll get this checkbox here. So if you've got ten apps running and you want to restart your Mac and not have those ten apps running then you've got to uncheck this box. The best thing about it is that it remembers your last setting. As a matter of fact I don't have to restart here. I can actually cancel and I can see that when I choose this it will, in fact, remember that last setting. So you could change it now so the next time you need to restart or shut down it actually will be set as you like.
Now there's one exception to this and that's the Finder. If you've got Finder windows open, like here's one, here's another, and you've got these setup then Finder, even though of course it is quitting the Finder when you shut down, everything has to quit and it should be obeying the rules in System Preferences and this checkbox here. In fact Finder windows will reopen. So the Finder kind of remains constant between when you shut down or restart your Mac and when it starts up again. Of course you could easily click the red button here to close any Finder window. Doing that before or after you restart is fine. You could also go to File and where it says Close Window that changes to Close All if you hold the Option key down. So the keyboard shortcut Option Command W will close all Finder windows. That actually works in most apps.
Another thing that adds to the confusion here is the fact that Mac apps have a fundamental difference in how they work from Window apps. So if you come from Windows you may think that if you are in an app, like here I am in Pages, and you click the red X here that Pages quits. But you can see it doesn't. You simply close a document window from Pages and Pages stays open. This is really handy because it allows you to close a document or window and then open a new one without having to relaunch the app again. The same is true in Safari. Here I've got a Safari window open and if I click the X there Safari remains open. Now I can go and use History Bookmarks or whatever I want to open another Safari page. So if you want to actually Quit Safari what you need to do is choose Quit Safari in the Safari menu or just Command Q.
Now in Pages if I use Quit Pages or Command Q it's going to obey the setting here in System Preferences, General, as to whether windows are closed when quitting the app. So since I have this turned Off it won't actually close the window. So I quit Pages and then I start Pages up again and it will automatically bring that window with that document back. You can, however, override this on a case by case basis. If I go to Pages, Quit Pages, and hold the Option key down you could see it says Quit and Close All Windows. So Command Option Q will do that. Now when I start Pages again you could see just prompting me to open a new document here that the Pages document was closed. Oh by the way, if you have this checked then, in Pages, you'll see that the Quit command with the Option key is actually Quit and Keep All Windows now. So it does the opposite of the System Preferences setting.
So I hope this gives you a better understanding of why windows and documents may automatically open when you Restart or Shut Down and startup your Mac and why document windows may reappear when you launch an app.



Hi Gary, I was told at the apple store when I got my first desktop iMac that shutting it down once/week (overnight) was a good idea. Not sure now if that was good advice. It was repeated over the years on apple support too...just curious. Thanks!
Kathy: Restart if you like, as long as you let it sleep instead of leaving it off. But unless you are having trouble it isn't needed.
Hi Gary. My MBP is from late 2014 with Retina Display. I bought directly from Apple. My RAM is 16 GB's, but now it's operating somewhere between 2-8 GB's (according the Memory Diag app). If I have to may apps open it drops below 1 GB. Any ideas? Maybe I'll get a new MBP.😇
Russ: Not sure what you are referring to. In general, let your Mac worry about the memory situation and you worry about whatever it is you are actually doing.