Why do you have to click twice on a Mac?
by ZwayStudios4 min read
On a Mac, the first click on a window that is not in front usually only activates that window. The click is not passed on to the button or link under the pointer, so you have to click a second time. Apple does this on purpose to prevent accidental actions, but you can work around it with the keyboard, a few click habits, or a focus follows mouse tool.
What is actually happening
Every Mac has one active window at a time: the one that receives your typing and keyboard shortcuts. Other windows sit in the background, often slightly dimmed.
When you click inside a background window, macOS treats that first click as “make this window active”. In most apps the click stops there. The button, link or text field you aimed at does not react, and you click again to use it.
It is not completely consistent. Each app, and each control within it, can choose to accept the first click. Some controls do, so a click on them works straight away. Others do not. That mix is part of why the behaviour feels random: in one window your first click works, in the next it does nothing.
Scrolling is different. On a Mac you can scroll a background window just by pointing at it and using the trackpad or wheel, without clicking first.
Why Apple does it
The rule protects you from acting on a window you have not really looked at yet. A background window might be partly covered, might have changed since you last saw it, or might have a button right where you happened to click. If the first click went straight through, a stray click could send a message, delete a file or submit a form before you even saw that window in full.
So the Mac asks you to bring a window forward first, see it, then act. It is a safety trade off: fewer accidents, at the cost of an extra click.
Ways around the double click
Use the keyboard to switch
If you switch with the keyboard, the window is already active by the time you click, so the first click lands.
- ⌘ Tab switches between apps.
- ⌘ ` (Command and the key above Tab) cycles through the windows of the app in front.
This is fast once it becomes a habit, and it works everywhere.
Click somewhere safe first
When you do use the mouse, make the first click a harmless one. Click the window’s title bar or an empty area of the window to bring it forward, then click what you want. It is still two clicks, but you avoid clicking a button while it is not ready, which is what makes the double click feel broken.
Use a Command click in some apps
In many Mac apps, holding ⌘ while you click a background window lets that click act on the window without bringing it forward. Holding ⌘ while dragging a background window’s title bar also moves it without bringing it to the front. Support varies by app, so try it in the apps you use most.
Use focus follows mouse
The fullest fix is to make the window under the pointer active before you click. That is what focus follows mouse tools do. Rest the pointer on a window, it becomes the active window, and your first click goes where you aimed.
macOS only offers this in Terminal. For every other app you need a tool. Our guide to focus follows mouse on Mac covers the built in Terminal setting and the main tools, including AutoRaise and Okie Dockie.
Our own app, Chrome Profile Switcher, includes an optional feature for this called Focus Window Under Pointer. When you turn it on, resting the pointer on any window in any app gives that window keyboard focus without raising it, so the first click lands. Your window layout does not shuffle as the pointer moves.
It is careful about when it acts:
- It is off by default. You turn it on from the menu bar icon or in Settings.
- It waits until the pointer has moved and come to rest.
- It never acts while a mouse button is held, so drags are not interrupted.
- It never acts while a menu is open.
- It ignores the Dock, the menu bar, Mission Control, Spotlight and notifications.
The main job of Chrome Profile Switcher is giving each browser profile its own Dock icon. Focus Window Under Pointer came in version 1.5.0 as an extra. The app is free during the beta and runs on macOS 14 Sonoma or later. You can download it here.
Which fix is right for you
- You mostly use the keyboard: ⌘ Tab and ⌘ ` will make the problem mostly disappear.
- You work with many windows side by side on a large display: a focus follows mouse tool will save the most clicks.
- You only notice it now and then: click the title bar first and move on.
Questions
Is clicking twice on a Mac a bug? No. It is how macOS is designed. The first click on a background window activates it, and many controls ignore that first click on purpose.
Why does the first click work in some windows but not others? Each app and control decides whether to accept the first click. Some do, most do not, so the behaviour varies from window to window.
Can I turn this off in System Settings? There is no setting for it. To make the first click land, switch windows with the keyboard or use a focus follows mouse tool.
Does Focus Window Under Pointer bring windows to the front? No. It gives the window under the pointer keyboard focus without raising it, so your layout stays as it is.