Remove the 'recent apps' section from the Dock — via Apple Support
macOS adds a few recently used apps to the right side of the Dock, so it keeps changing size and icons move around. Turning this off keeps the Dock to just the apps you pinned plus the ones that are open.
Relaunch the app it changes (Finder, Dock…) to see it
The easy way
- The easy way: System Settings > Desktop & Dock and turn off Show suggested and recent apps in Dock.
- Or in Terminal run the command.
Command
Run in Terminal (Applications › Utilities).
defaults write com.apple.dock show-recents -bool false; killall DockUndo
defaults delete com.apple.dock show-recents; killall DockSources
- Change Desktop & Dock settings on Mac — by Apple Support
- Show recents — by Yann Bertrand, macos-defaults.com
- Source reviewed
- 2026-11-02
- Link checked
- 2026-11-02
- Tested hands-on
- Not by Oddbyte.Me
Oddbyte.Me hasn't tried this on every macOS version, so keep the undo handy.