The fastest way to log out

To log out of your Mac, click the Apple menu in the top-left corner, then select "Log Out [Your Name]" from the dropdown. A dialog box will appear asking you to confirm — click "Log Out" again. Your session ends, and the login screen appears so another user can log in or you can return later.

This method closes all your open programs and unsaved documents, so save your work first. The entire process takes about 10 seconds.

If you want to keep your programs running but just lock the screen temporarily, use Control + Command + Q instead — this locks your Mac without logging out. You'll return to the same desktop when you unlock it with your password.

Key Takeaways

  • Click the Apple menu, then "Log Out [Your Name]" to end your session and return to the login screen.
  • Logging out closes all open programs, so save your work before you start.
  • Use Control + Command + Q to lock your screen without logging out if you want to keep programs running.
  • You can also log out by restarting or shutting down your Mac, which appears in the same Apple menu.
  • If you're stuck on a frozen screen, force restart using Command + Control + Power Button.

Logging out from the login screen

If you're already at the login screen and want to switch to a different user account, you don't need to log out — just click the other account name and enter that user's password. The previous user's session stays open in the background.

To fully log out the previous user instead, click the Apple menu from the login screen (it appears in the top-left even before you log in), then select "Log Out" again. This closes their session completely so only one user is active at a time.

Restart and shutdown as alternatives

Restarting or shutting down your Mac also logs you out, though these options do more than just end your session. Click the Apple menu, then select "Restart" or "Shut Down." Both will prompt you to confirm and ask whether you want to reopen windows when you log back in.

Choose "Restart" if you're moving to another task on the same Mac and want a fresh start. Choose "Shut Down" if you're done for the day or leaving the Mac unused for a while. Both fully close your session and any open programs.

What happens to your files and programs

When you log out, all programs close and any unsaved changes are lost. Before logging out, save your work in each open program — use Command + S in most applications, or look for "Save" in the File menu.

Your files stay on the Mac and remain accessible when you log back in. Logging out does not delete anything. The next time you log in with your account, you'll see the same desktop and files you left behind, though any programs you had open will be closed.

Logging out when your Mac is frozen

If your Mac is unresponsive and the normal logout method doesn't work, force restart it using Command + Control + Power Button (or Command + Control + the Touch ID button on newer Macs). Hold all three keys at once for about 10 seconds until the screen goes black and the Mac restarts.

This closes everything without saving, so you'll lose any unsaved work in open programs. Use this only when your Mac won't respond to normal commands. After the restart, log back in as usual.

Logging out on a Mac with multiple user accounts

If your Mac has multiple user accounts, logging out from one account doesn't affect the others. When you log out, only your session ends. Other users can still log in and access their own files and programs.

If you want to prevent other users from accessing your account while you're away, logging out is the right choice. If you just want to step away briefly and come back to the same open programs, lock your screen instead using Control + Command + Q.

Frequently Asked Questions

Will logging out delete my files?

No. Logging out only closes your session and programs. All your files remain on the Mac and will be there when you log back in. Nothing is deleted or moved.

What's the difference between logging out and locking my screen?

Logging out closes all programs and ends your session completely. Locking your screen (Control + Command + Q) keeps your programs running but requires a password to see them again. Use lock if you're stepping away briefly; use logout if you're done for the day or switching users.

Can I log out without saving my work?

Yes, but you'll lose any unsaved changes in open programs. Most applications will warn you before closing if you have unsaved work. Save first using Command + S, then log out.

What if I forget to log out and leave my Mac unattended?

Your session stays active and anyone with physical access to your Mac can see your files and programs. Lock your screen immediately using Control + Command + Q if you step away. When you return, enter your password to unlock it.

Does logging out on a Mac work the same way as on Windows?

The concept is the same — you end your session and return to the login screen — but the steps are different. On Mac, use the Apple menu. On Windows, use the Start menu or the power icon. Both protect your account when you're away from the computer.