# Icon size

Set the icon size of Dock items in pixels.

  • Tested on macOS:
    • Big Sur
    • Catalina
  • Parameter type: int

# Set to 36

Dock icon size of 36 pixels.

defaults write com.apple.dock "tilesize" -int "36" && killall Dock

Example output with value set to 36

# Set to 48 (default value)

Dock icon size of 48 pixels.

defaults write com.apple.dock "tilesize" -int "48" && killall Dock

Example output with value set to 48

# Read current value

defaults read com.apple.dock "tilesize"

# Reset to default value

defaults delete com.apple.dock "tilesize" && killall Dock