Sign out, also called log out, is the action that ends an interactive user session on a computer: the operating system closes the programs that belong to the account, releases its resources and returns to the login screen. In modern operating systems, signing out is one of the basic mechanisms behind user accounts, because it draws a clear boundary between one person’s work and the next.
Signing out differs from locking the screen, switching users or shutting down. Only sign out terminates every process of the session while leaving the machine running, which makes it the right step on shared computers and an important part of session hygiene on any multi-user system.
What happens when a user signs out
A sign-out is an orderly teardown of the user session that the operating system performs in a fixed sequence. The session manager first asks every running application to close, gives each one a short grace period to save data, and then forcibly terminates whatever is still running.
The sequence below is broadly the same on Windows, macOS and Linux desktops, although component names differ. On Windows, the Winlogon process and the session manager coordinate the steps; on macOS, loginwindow sends quit events to applications; on Linux, systemd-logind and the display manager end the session scope.
| Stage | What the system does | Why it matters |
|---|---|---|
| Close request | Sends a polite quit message to each application | Lets programs save documents and settings |
| Grace period | Waits a few seconds for responses | Prevents data loss from abrupt termination |
| Forced termination | Ends processes that did not exit | Guarantees the session actually closes |
| Profile write-back | Saves registry hive or preference files | Keeps settings for the next sign-in |
| Credential cleanup | Destroys the access token and cached tickets | Removes the account’s authority from memory |
| Return to login screen | Shows the sign-in interface again | Makes the device ready for another user |
The credential cleanup step is the security core of the operation. While a session is active, the system holds an access token or equivalent identity object that grants the account its permissions. After sign out, no process with that identity remains, so nothing can act with the departed user’s rights.
Sign out compared with lock, switch user and shut down
Sign out is one of four ways to leave a computer, and each keeps a different amount of state alive. Choosing the wrong one is a common cause of lost work or exposed data, so the distinctions are worth knowing precisely.
| Action | Session processes | Memory use afterward | Typical purpose |
|---|---|---|---|
| Lock | Keep running | Unchanged | Short break at a personal device |
| Switch user | Keep running in background | Two or more sessions in RAM | Another person needs the device briefly |
| Sign out | Terminated | Freed for the next user | Ending work on a shared computer |
| Shut down | Terminated with the whole system | Machine powered off | Ending all use of the hardware |
Fast user switching keeps the first session alive in the background, which is convenient but leaves its open files and running programs in memory. A locked session still holds unsaved documents and active credentials, protected only by the lock screen. Signing out is therefore the cleanest handover between people short of a full restart.
On Windows, a restart or shutdown also performs a sign-out of every session first, which is why the system may warn that other users are still signed in and could lose unsaved work.
Why sign out matters for security and privacy
The main security value of sign out is that it removes the window for session hijacking. An unattended but signed-in computer allows anyone with physical access to read email, open files and use saved browser passwords with the owner’s identity.
- Shared and public computers: signing out prevents the next person from inheriting open documents and cached credentials.
- Domain environments: signing out releases Kerberos tickets and ends access to network shares mapped for the user.
- Roaming profiles: the sign-out is when changed profile data is synchronized back to the server, so skipping it can lose settings.
- Licensing and auditing: many systems record sign-in and sign-out events, which gives administrators an accurate session timeline.
Signing out of the operating system is not the same as signing out of web services. A browser session cookie stored in the profile may survive and be reused at the next sign-in by the same account, so users on shared accounts should also end sessions inside the browser.
How to sign out on common desktop systems
Every desktop platform offers both a menu path and a keyboard route to sign out, and administrators can also trigger it from the command line or through policy. The table lists the most common methods.
| Platform | Menu path | Keyboard or command |
|---|---|---|
| Windows 10 and 11 | Start, account picture, Sign out | Ctrl+Alt+Delete then Sign out, or shutdown /l |
| macOS | Apple menu, Log Out | Shift+Command+Q |
| GNOME on Linux | System menu, Power Off or Log Out | gnome-session-quit --logout |
| KDE Plasma | Application launcher, Leave, Log Out | qdbus call to the session manager |
| Terminal session | Not applicable | exit or logout |
Administrators frequently configure automatic sign-out after inactivity on lab computers, kiosks and shared workstations. On Windows this is done with group policy or task scheduling; on Linux, systemd-logind and display managers support idle session limits. Such timers should warn users first, because a forced sign-out discards unsaved work.
Common problems and misconceptions
Most sign-out problems come from applications that refuse to close or from background processes that keep the profile locked. The decision table below links typical symptoms to causes and fixes.
| Symptom | Likely cause | Recommended fix |
|---|---|---|
| Sign-out hangs on a message | An application blocks with an unsaved-changes dialog | Save or close the program, then sign out again |
| Settings lost after sign-in | Profile could not be written back | Check disk space and profile permissions |
| Temporary profile loaded | Previous session left the profile locked | Restart and let the system release the hive |
| Processes still running afterward | Services or scheduled tasks run under the account | Review tasks configured to run without sign-in |
A frequent misconception is that closing a laptop lid signs the user out. In most configurations it only puts the machine to sleep with the session intact, so the next person who opens it reaches a lock screen, not a fresh login screen. Another misconception is that sign out deletes personal files; it only closes the session, while the home directory and user profile remain on disk.
In plain words
Signing out is like handing back the keys to a shared office. You tidy your desk, close the drawers, and leave the room ready for the next person. The computer closes your programs, saves your settings and forgets that you were there.
Locking the screen is different: it is more like closing the office door while your papers stay on the desk. Sign out when you are done, especially on a computer that other people also use.
A real-world example
A university library runs forty Windows workstations that students share throughout the day. Each student signs in with a domain account, and the IT team has configured a policy that signs out idle sessions after 15 minutes, with a warning shown at the 13-minute mark.
Before the policy, staff regularly found computers still signed in with open email and student records visible. After the change, each sign-out closes the browser, releases the student’s network drive and returns the machine to the login screen. The result is fewer privacy incidents and more available seats, because abandoned sessions no longer block workstations for hours.