Restore your Dock to its Defaults

Glass Dock
Creative Commons License photo credit: zoovroo
When a new user is created in OSX, the Dock is prepopulated with a set of icons. Dragging the icons off the dock removes them. You are free to customize the Dock by placing your frequently used icons there.

There may be an occasion where you need to restore the Dock to it’s default set of application icons. This is pretty easy with a bit of Terminal-fu.

Open the Terminal application by Navigating through Go->Utilities->Terminal

When the terminal window opens type

cd ~/Library/Preferences
rm ~/Library/Preferences/

This will delete the configuration file for the dock. Log out and back in and the Dock should look the way it did when you first created your user account.

If you have any other interesting Mac tricks, let us know.

About Joe Cotellese

Joe is the founder of Learning OS X. He's often spending way too much time playing with new Mac software in order to improve his ability at "Getting Things Done."


  1. The 1st command is superfluous, you don’t need to run it. Just use

    rm ~/Library/Preferences/

  2. Of course it is. Duh me 🙂

  3. This is only slightly related, but I was fiddling with my dock, and now that file (as well as are missing and will not be recreated. How can I get these files back?

  4. For some reason, there is no on my Library/preferences. Wonder if it was deleted or mislocated somewhere.

    • Are you looking in your Personal Preferences directory or the System Preferences directory. There is a difference and the dock file is only located in your Personal Directory.

      The personal directory is ~/Library/Preferences

  5. Thanks! I had accidentally resized my dock and this is what I was looking for. The command worked perfectly in the terminal.

Speak Your Mind