Modifying this control will update this page automatically
![](https://help.apple.com/assets/5BFDD3F8094622802EEE504F/5BFDD3F9094622802EEE5056/en_AU/e6943af10c989a0c9f00b71a98f392b8.png)
Set your Mac to log out when not in use
You can set your Mac to automatically log out the current user after a set period of inactivity. This helps ensure that your information is secure when your Mac is unattended.
On your Mac, choose Apple menu
> System Preferences, click Security & Privacy, then click General.
Click the lock icon
to unlock it, then enter an administrator name and password.
Click Advanced.
Select “Log out after... minutes of inactivity.”
Set the amount of time before the user is automatically logged out.