How to log out of your operating system

Updated: 12/09/2018 by Computer Hope

Illustration: Log out.When you are using your computer, you are logged in to your operating system. Even if you didn't type in your name and password, you are logged in to a user account. When you are not using your computer, you should log out to prevent other users from accessing your private documents and saved passwords.

To log out of your operating system, follow the steps for your OS below.

How to logout of Microsoft Windows

Windows 10

Press Ctrl+Alt+Del and choose the option to Sign out.

Or, click Start and on the top of the Start Menu click your name and choose Sign out.

Windows 8 sign offWindows 8 and 8.1 users

Press Ctrl+Alt+Del and choose the option to Sign out.

Or, at the Windows 8.1 Start screen, click your profile icon and choose the Sign out option as shown in the picture.

Windows 7 and Vista users

Press Ctrl+Alt+Del and choose the option to Log off.

Or, click Start, and on the Start Menu right arrow next to the Shut down button and click the option to Log off.

Windows XP users

Click Start and click the Log Off button.

How to logout in the Windows command line

From the Windows command line, use the logoff command.

How to logout of an Apple macOS

Apple menuOpen the Apple Menu and at the bottom of the Apple Menu click the Log Out option at the bottom of the menu.

If logged in through a shell from the command line, use the exit command.

How to logout in Linux

If logged in through a shell from the command line, use the exit command.

Additional information