Direct answer
The short version
Use Command-Tab for a recently used application, an app’s window-cycle command for another window in that same app, and Mission Control or App Exposé when you can recognize the destination visually. If you need the exact location visited before—possibly across several apps—use a chronological Back history.
Key takeaways
- Command-Tab is an application switcher, even when an app has many windows.
- Window cycling stays within the active application.
- Mission Control is strongest when the destination is visually recognizable.
- Chronological Back is strongest when the question is simply “where was I before this?”
First identify what “previous” means
macOS does not expose one universal previous-window command because application recency, window order, and in-app navigation are separate systems. The fastest method follows the layer that changed.
If you left Safari for Mail, application switching is enough. If you moved between two documents in the same app, use that app’s window controls. If you followed a link, opened Finder, checked Terminal, and answered Slack, neither app order nor window order describes the entire trail.
- Previous application: Command-Tab.
- Another window in this app: window cycling, Window menu, or App Exposé.
- A visible window anywhere: Mission Control.
- Previous page, folder, or editor location: the app’s Back command.
- Previous cross-app work location: chronological Back.
Use recognition or recall, whichever is easier
Visual tools work by recognition: you see the window and select it. Keyboard switchers work by recall and recency: you know which app or nearby window you need. Search works when you can name a file, app, or title. History works when you remember only that the target came before the interruption.
Do not force one shortcut to cover every case. A small toolkit is faster: one app switcher, one same-app window command, one visual overview, and one return path for chronological detours.
Name the layer
Decide whether the target is an app, window, or location inside a window.
Choose the retrieval cue
Use visual recognition, a known name, or chronological order.
Switch once
Verify the destination before continuing through more history.
Return to more than a window
A window can be correct while its state is wrong. The right browser window may show the wrong tab; the right editor may show the wrong file; the right Finder window may have moved to another folder. Window selection gets you close, but deeper app-specific context determines whether work resumes immediately.
ReturnFast records the deepest context available for supported apps: exact open URLs in Chromium browsers, best-effort editor files and lines, Finder folder paths, and matching terminal or other app windows. Restore depth varies because each application exposes different information to macOS.
Use the built-in switchers whenever you know the target. Use chronological Back when an interruption erased the target from memory but not from the sequence of recent work.
Further reading and product details
Frequently asked questions
What is the shortcut for the previous window on Mac?
There is no single shortcut for every meaning of previous window. Command-Tab switches applications; window-cycle commands select windows in the active app; app-specific Back commands restore internal locations.
Why does Command-Tab return to the wrong window?
Command-Tab chooses an application. That application decides which of its windows becomes active, so use window-specific controls when multiple windows are open.
Is Mission Control a window history?
No. Mission Control is a visual overview of open windows and Spaces. It does not present a chronological list of previously visited work locations.