Skip to main content

How to determine Mac shutdown causes

  1. How to determine Mac shutdown causes, Open Terminal.app: step 1, image 1 of 1
    • Open Terminal.app

  2. How to determine Mac shutdown causes, Listing previous shutdowns: step 2, image 1 of 1
    • Copy and paste the following command in your Terminal window:

    • log show --predicate 'eventMessage contains "Previous shutdown cause"' --last 24h

    • The "24h" portion of the command can be changed to any number of hours, depending on how far back you need to see.

  3. How to determine Mac shutdown causes, Determining Shutdown Causes: step 3, image 1 of 1
    • The previous shutdown causes in the timeframe you selected will appear as a list.

    • Common shutdown causes include 5 which indicates a normal shutdown, 3 which indicates a hard shutdown (i.e. holding the power button), and 0 which indicates the power was disconnected.

    • A full list of shutdown causes can be found here: Shutdown Causes.

    • Another, more recently updated, list of shutdown causes can be found here: Shutdown causes (from George Garside blog)

Attached Documents

Jonah Aragon

Member since: 08/05/18

5,339 Reputation

5 Guides authored

Team

Experimax Coon Rapids Member of Experimax Coon Rapids

Business

3 Members

17 Guides authored

View Statistics:

Past 24 Hours: 40

Past 7 Days: 296

Past 30 Days: 1,332

All Time: 88,595