Make your Mac remember window size and position
If you want your Mac to remember window size and position, the first thing to know is that there is no setting for it. macOS has no "remember where my windows were" switch. Each app saves the size and position of its own windows, the system saves a second copy when it restores an app's windows after a quit, and Finder keeps a third kind of memory per folder. When a window keeps opening too small, in the wrong corner or on the wrong display, one of those three has stored something you didn't mean to store, or has stopped storing anything at all. Here's which is which, and how to fix each.
Where macOS keeps a window's size and position
| What remembers | What it covers | Where it lives |
|---|---|---|
| The app itself | Its main window, settings window, panels | The app's preferences |
| Window restoration | Every window that was open when you quit | ~/Library/Saved Application State |
| Finder | One size, position and view per folder | Finder's preferences and each folder's .DS_Store |
The app's own memory. Most Mac apps save a window's frame the moment you move or resize it, and read it back the next time that window opens. It is stored in the app's preferences under keys that start with NSWindow Frame. Nothing in System Settings controls this, which is why single-window apps such as Messages or Music usually come back exactly where you left them, whatever else you change.
Window restoration. When you quit an app with windows open, macOS can save all of them and put them back at the next launch. This is the part you can switch: System Settings → Desktop & Dock → Windows → Close windows when quitting an application. Apple describes it as "The windows don't reopen automatically the next time you open the app." With it off, a document app reopens the same documents in the same places. With it on, you start clean each time. We covered the whole mechanism in how to stop Mac apps reopening old windows.
Finder. Finder is the odd one, and it gets its own section below.
Why a Mac app forgets its window size
Work through these in order. The first two explain most cases.
- The app never saved it. Remembering a window is the developer's job, not the system's. Many cross-platform apps, games and older ports simply open at a fixed size every time. If an app has ignored your size from the day you installed it, look in its own settings for a "remember window" or "restore session" option. If there isn't one, nothing in macOS will add it.
- A display changed. A saved position describes a spot on a particular screen. Unplug the monitor that window lived on and macOS has to move it somewhere that still exists, often shrinking it to fit. The new, smaller frame is then saved as if you had chosen it. This is the usual reason a window "randomly" comes back small after a day of docking and undocking. More on that in why Mac windows resize when you connect a monitor.
- You held Shift, or the app crashed. Holding ⇧ while opening an app tells it to skip restoring its windows for that launch. Apple recommends it for an app stuck on a bad window, and it changes no setting. A crash or a force quit can have a similar effect, because the app never got the chance to save where things were.
- The last window you closed was the wrong one. Apps with several windows of the same kind often save one shared frame. Whichever window you moved or closed last wins, so the small scratch window you opened for ten seconds can become the default for the next one.
- The saved frame is off screen or damaged. Rare, but it happens after a resolution change. The window opens somewhere you can't see or reach. If that's your symptom, start with getting an off-screen window back.
How to make an app remember the size you want
For an app that does save its windows, the routine is short:
- Open one window of the app and nothing else in it.
- Drag it to the place and size you want. To set a precise size, see resizing a window to an exact size.
- Quit the app with ⌘Q while that window is still open, so the last thing saved is the frame you just set.
- Open the app again and check.
Do this on the display arrangement you use most. If you set it up on a laptop screen and then dock, the frame is carried over to the bigger display, and it won't be the layout you planned.
Reset one app's saved window size and position
When an app insists on a bad frame, clear what it has stored. Quit the app first, or it will write the old values straight back.
Find the app's bundle ID, then list its saved window frames:
osascript -e 'id of app "Preview"'
defaults read com.apple.Preview | grep "NSWindow Frame"
Delete the one you want gone, using the full key name the second command printed:
defaults delete com.apple.Preview "NSWindow Frame PVInspectorPanel"
The key name above is an example. Yours will differ, and an app that doesn't use this mechanism will print nothing.
If the app restores a whole set of windows at the wrong size, clear its restoration data as well. In Finder press ⇧⌘G, paste ~/Library/Saved Application State, and move the folder named <bundle id>.savedState to the Trash. The next launch starts with default windows, and the app builds a fresh record from there.
Make Finder remember window size
Finder does not remember "the Finder window". It remembers a size, position and view per folder, and it applies them when that folder is opened in a new window. Double-click through folders inside one window and the window keeps its current size instead. That mix is why Finder seems to remember on some days and not on others.
To set the size new Finder windows open at, the method that has been passed around for years, and that iDownloadBlog still documented in late 2025, is:
- Open a new Finder window with ⌘N.
- Resize and place it without navigating to another folder first.
- Close that window, then close every other Finder window with ⌥⌘W.
- Hold ⌥, right-click the Finder icon in the Dock and choose Relaunch.
New windows should now open at that size, offset a little from each other. Two caveats. Apple doesn't document this, and people have reported Finder losing the size again on several macOS versions. And Finder can only store a folder's window settings where it is allowed to write that folder's hidden .DS_Store file, so read-only volumes and some network shares never remember.
The lower-effort answer is to stop opening new Finder windows: keep one open and use tabs. We went through that in switching between Finder windows.
When remembering isn't enough: put windows back quickly
All of this memory is per window. macOS has never remembered an arrangement, and every display change rewrites part of what it did remember. If you dock, undock or restart often, you will lose positions regularly however carefully you set them. Apps that save and restore whole layouts exist, and we compared the approach in how to save a window layout on Mac.
The other approach is to make placing a window so quick that losing its position costs nothing. That is what Let's Tile does. Press ⌘↵ and a grid drops over the window you're using, steer with the arrow keys, and press ↵ to drop it in place. To be clear about what it is: Let's Tile does not save or restore window positions. It makes them quick to rebuild. The free tier is a 3 × 2 grid, which gives thirds, two-thirds, top and bottom halves and full screen, and it stays free. Pro ($9.99, paid once, no account, up to 20 devices per key) adds side-by-side halves and quarters through custom grids, and a different grid per display that is remembered automatically, so the one thing it does remember is the grid that suits each screen.
Frequently asked questions
Is there a setting to make a Mac remember window size and position?
No. Each app saves its own windows. The only related system setting is Close windows when quitting an application, in System Settings → Desktop & Dock, which decides whether an app's open windows come back at the next launch.
Why does my window open on the wrong monitor?
Because its saved position points at a display that was missing, or arranged differently, when the app last saved it. Move the window back, quit the app with the window still open, and it should reopen there for as long as the display setup stays the same.
Why does Finder keep opening small windows?
Finder stores window size per folder, not globally, and falls back to a small default for a folder it has no record of. Set the size on a fresh window, close all Finder windows and relaunch Finder, as described above.
Does turning on "Close windows when quitting an application" make apps forget window sizes?
It stops apps reopening the windows they had open. Most apps still keep their own saved frame for the main window, so a single-window app usually opens in the same place either way.