Mac Tips
Mac Dock Keeps Resetting? Why It Happens and How to Fix It
Mac Dock keeps resetting, or the Downloads folder keeps disappearing from it? Here are the five real causes, the fix for each, and how to back up your Dock.

Key takeaways
- A Dock that reverts after every restart is almost always one of five things: a damaged preferences file, a preferences file you no longer own, a configuration profile, a login script or cleaner app, or a macOS upgrade adding its own apps.
- Check System Settings, then General, then Device Management first. If a profile is listed on a work or school Mac, the Dock is being enforced and local fixes will not survive a login.
- Run plutil -lint on ~/Library/Preferences/com.apple.dock.plist. Anything other than OK means the file is damaged and a Dock reset is the fix.
- Once the Dock is how you want it, defaults export com.apple.dock saves the whole layout to a file, and defaults import puts it back in one command.
You drag the Downloads folder back onto the Dock, set it up the way you like, and the next morning it has gone again. Or your pinned apps revert to Apple's defaults after an update. Or the Dock size you chose keeps snapping back. When the Dock will not keep a change, there is a cause, and it is almost always one of five. This guide works through them in the order worth checking.
Is your Mac Dock actually resetting?
Two things look like a reset and are not.
- Suggested and recent apps. macOS can add up to three recently used apps to a separate section next to the divider. If you did not pin them, this is why they are there. Turn off Show suggested and recent apps in Dock in System Settings, under Desktop and Dock.
- A new app after an upgrade. Major macOS releases sometimes add a new Apple app to the Dock. Your own layout is intact; there is simply one more icon than before. Drag it off and it stays off, the same way as removing any app from the Dock.
If your own items are genuinely vanishing, or the whole layout has reverted to the factory arrangement, keep reading.
Cause 1: a configuration profile is enforcing the Dock
Check this first, because if it is the cause nothing else on this page will help. Open System Settings, then General, then Device Management. If you see a profile from an employer, a school or a device management service, that profile can set the Dock layout and reapply it at every login.
The pattern is distinctive: your changes work perfectly all day and are gone after the next restart or login. You cannot override a managed setting locally, and removing a profile you did not install is a question for whoever manages the Mac. If you need a folder one click away on a managed Mac, the Finder sidebar is usually left alone, and a menu bar launcher is not part of the Dock at all.
Cause 2: the Dock preferences file is damaged
The Dock stores everything, your pinned apps, your folders, its size and position, in a single file: ~/Library/Preferences/com.apple.dock.plist. If that file is damaged, macOS cannot read it at login and falls back to the default layout.
You can check it in Terminal:
plutil -lint ~/Library/Preferences/com.apple.dock.plist
A healthy file reports OK. Anything else, an error about the format or an unexpected character, means the file is damaged. The fix is a clean reset, which rebuilds the file from scratch:
defaults delete com.apple.dock; killall Dock
That puts the Dock back to Apple's factory layout, so you will need to set it up again once. Our guide to resetting the Mac Dock to default covers exactly what is lost and what is kept. After the reset, rebuild your layout and restart once to confirm it now holds.
Cause 3: you do not own the preferences file
This one is common after using Migration Assistant, restoring from an older Mac, or running a Terminal command with sudo that touched your preferences. The file exists and is healthy, but it belongs to another account, so macOS can read it and cannot save changes back to it. Every change you make lasts until the Dock restarts.
Check the owner:
ls -l ~/Library/Preferences/com.apple.dock.plist
The third column should be your own short user name. If it shows root or a different name, give the file back to yourself:
sudo chown $USER ~/Library/Preferences/com.apple.dock.plist
Enter your Mac password when asked, then run killall Dock, make a change, and restart to confirm it sticks.
Cause 4: something rewrites the Dock at login
Some apps set up the Dock for you. Mac cleaner utilities, setup scripts, and developer tools such as dockutil can all rewrite the layout, and if one of them runs at login it will undo your changes every morning.
Open System Settings, then General, then Login Items & Extensions, and look at the list under Open at Login and Allow in the Background. Anything you do not recognise, or any cleaner or optimiser app, is worth switching off as a test. Restart. If the Dock now keeps its layout, you have found the culprit.
Cause 5: you edited the file directly
If you followed advice that told you to open the Dock plist in a text editor or Xcode and change it, macOS may simply be overwriting your edit. Preferences are cached in memory, and when the Dock next saves, it writes the cached copy over yours. Always use defaults write followed by killall Dock, which updates both the cache and the file.
How to back up and restore your Mac Dock layout
Once the Dock is exactly how you want it, save a copy of the layout:
defaults export com.apple.dock ~/Documents/dock-backup.plist
If it ever reverts, put it back in one line:
defaults import com.apple.dock ~/Documents/dock-backup.plist; killall Dock
The backup holds your pinned apps, folders, size, position and every other Dock setting. Keep it in Documents so it travels with your normal backups, and export a fresh copy whenever you make a change you care about.
What if the Dock still keeps resetting?
Create a new user account in System Settings, under Users and Groups, log in to it, change the Dock and restart. If the new account keeps its Dock, the problem lives in your own account's settings and one of the causes above applies. If the new account resets too, the cause is system wide, which points strongly at a configuration profile, and it is worth a trip to Apple Support.
The fragile part is the Dock itself
Everything above fixes the immediate problem. It is worth noticing, though, how much of your day depends on one preferences file that a stray drag, an app or an update can undo. If you mostly use the Dock to launch the same set of apps, ShortcutDock keeps them in a grid behind a menu bar icon and a global hotkey, stored separately from the Dock, so a Dock reset does not touch it. It runs on macOS 13 Ventura or later, and the free version holds eight app shortcuts, five favourites and one group.
If what you were trying to restore was specifically the Downloads stack, our step by step guide to getting the Downloads folder back on the Dock covers the drag, the stack settings and the empty stack problem.
Frequently asked questions
Does a macOS update reset the Dock?
Not deliberately. A major upgrade keeps your layout but can add new Apple apps to it, which looks like a reset if you had trimmed the Dock down. A minor update should change nothing. If a minor update wiped your whole layout, the preferences file was probably already damaged and the restart exposed it.
Why do apps I never pinned keep appearing in my Dock?
That is usually the Show suggested and recent apps in Dock setting, which adds up to three recently used apps in a separate section near the divider. Turn it off in System Settings, under Desktop and Dock, and those extra icons stop appearing.
Can I edit the Dock preferences file directly in a text editor?
You should not. macOS caches preferences in memory, so a file edited behind its back is often overwritten with the cached copy the next time the Dock saves. Use the defaults command instead, followed by killall Dock, which updates the cache and the file together.
Will resetting the Dock delete any apps or files?
No. A Dock reset only clears the list of shortcuts and the Dock settings such as size and position. Every app stays in the Applications folder and every file stays where it is.
Related guides
How to Reset Mac Dock to Default: A Simple Terminal GuideOne Terminal command restores the factory Dock and clears most Dock glitches. Here is exactly what it wipes, including your hot corners, and how to reset just one part instead. How to Get the Downloads Folder Back on the Mac DockDragged the Downloads folder off your Dock by accident? Drag it back from your Home folder to the right of the Dock divider, then set how the stack sorts and opens. Mac Dock Tips: 15 Tweaks Worth Making15 Mac Dock tips: instant auto-hide, spacers, a Dock of open apps only, and the shortcuts most people miss. Each with the exact command and its undo.


