[BUG] [BUG] Claude Desktop (Windows) window stays always on top of other apps Environment
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
[BUG] Claude Desktop (Windows) window stays always on top of other apps
Environment
OS: Windows (win32, x64)
Claude Desktop app version: 1.32885.1
Electron version: 42.9.2
Description The main Claude Desktop window stays pinned above all other application windows on Windows — it doesn't behave like a normal window and won't drop behind other apps when they're focused. This started after a recent app update; I did not have this issue on the previous version I was running.
There's a related closed/existing report for the same symptom on macOS (#66516), but this is happening on Windows, and I don't see a Windows-specific report filed yet.
Expected behavior The Claude Desktop window should behave like a standard Windows window — i.e., not float above other applications once another app is focused.
Steps to reproduce
Open Claude Desktop on Windows.
Switch focus to any other application window.
Observe that the Claude Desktop window remains visible on top of the other window instead of moving behind it.
Workaround found Minimizing the Claude Desktop window is the only workaround; there's no in-app setting to disable "always on top" behavior.
Additional notes
Fully quitting the app via the system tray icon and relaunching does not resolve it.
Already on the latest available app version (1.32885.1), so this is not fixed by updating.
What Should Happen?
[BUG] Claude Desktop (Windows) window stays always on top of other apps
Environment
OS: Windows (win32, x64)
Claude Desktop app version: 1.32885.1
Electron version: 42.9.2
Description The main Claude Desktop window stays pinned above all other application windows on Windows — it doesn't behave like a normal window and won't drop behind other apps when they're focused. This started after a recent app update; I did not have this issue on the previous version I was running.
There's a related closed/existing report for the same symptom on macOS (#66516), but this is happening on Windows, and I don't see a Windows-specific report filed yet.
Expected behavior The Claude Desktop window should behave like a standard Windows window — i.e., not float above other applications once another app is focused.
Steps to reproduce
Open Claude Desktop on Windows.
Switch focus to any other application window.
Observe that the Claude Desktop window remains visible on top of the other window instead of moving behind it.
Workaround found Minimizing the Claude Desktop window is the only workaround; there's no in-app setting to disable "always on top" behavior.
Additional notes
Fully quitting the app via the system tray icon and relaunching does not resolve it.
Already on the latest available app version (1.32885.1), so this is not fixed by updating.
Error Messages/Logs
Steps to Reproduce
[BUG] Claude Desktop (Windows) window stays always on top of other apps
Environment
OS: Windows (win32, x64)
Claude Desktop app version: 1.32885.1
Electron version: 42.9.2
Description The main Claude Desktop window stays pinned above all other application windows on Windows — it doesn't behave like a normal window and won't drop behind other apps when they're focused. This started after a recent app update; I did not have this issue on the previous version I was running.
There's a related closed/existing report for the same symptom on macOS (#66516), but this is happening on Windows, and I don't see a Windows-specific report filed yet.
Expected behavior The Claude Desktop window should behave like a standard Windows window — i.e., not float above other applications once another app is focused.
Steps to reproduce
Open Claude Desktop on Windows.
Switch focus to any other application window.
Observe that the Claude Desktop window remains visible on top of the other window instead of moving behind it.
Workaround found Minimizing the Claude Desktop window is the only workaround; there's no in-app setting to disable "always on top" behavior.
Additional notes
Fully quitting the app via the system tray icon and relaunching does not resolve it.
Already on the latest available app version (1.32885.1), so this is not fixed by updating.
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
last one
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
Terminal.app (macOS)
Additional Information
[BUG] Claude Desktop (Windows) window stays always on top of other apps
Environment
OS: Windows (win32, x64)
Claude Desktop app version: 1.32885.1
Electron version: 42.9.2
Description The main Claude Desktop window stays pinned above all other application windows on Windows — it doesn't behave like a normal window and won't drop behind other apps when they're focused. This started after a recent app update; I did not have this issue on the previous version I was running.
There's a related closed/existing report for the same symptom on macOS (#66516), but this is happening on Windows, and I don't see a Windows-specific report filed yet.
Expected behavior The Claude Desktop window should behave like a standard Windows window — i.e., not float above other applications once another app is focused.
Steps to reproduce
Open Claude Desktop on Windows.
Switch focus to any other application window.
Observe that the Claude Desktop window remains visible on top of the other window instead of moving behind it.
Workaround found Minimizing the Claude Desktop window is the only workaround; there's no in-app setting to disable "always on top" behavior.
Additional notes
Fully quitting the app via the system tray icon and relaunching does not resolve it.
Already on the latest available app version (1.32885.1), so this is not fixed by updating.
11 Comments
[BUG] Claude Desktop (Windows) window stays always on top of other apps
Environment
OS: Windows (win32, x64)
Claude Desktop app version: 1.32885.1
Electron version: 42.9.2
Description The main Claude Desktop window stays pinned above all other application windows on Windows — it doesn't behave like a normal window and won't drop behind other apps when they're focused. This started after a recent app update; I did not have this issue on the previous version I was running.
There's a related closed/existing report for the same symptom on macOS (#66516), but this is happening on Windows, and I don't see a Windows-specific report filed yet.
Expected behavior The Claude Desktop window should behave like a standard Windows window — i.e., not float above other applications once another app is focused.
Steps to reproduce
Open Claude Desktop on Windows.
Switch focus to any other application window.
Observe that the Claude Desktop window remains visible on top of the other window instead of moving behind it.
Workaround found Minimizing the Claude Desktop window is the only workaround; there's no in-app setting to disable "always on top" behavior.
Additional notes
Fully quitting the app via the system tray icon and relaunching does not resolve it.
Already on the latest available app version (1.32885.1), so this is not fixed by updating.
This bug was reported under Claude code and closed....
https://github.com/anthropics/claude-code/issues/66516
I'm also experiencing the bug... Their suggested workaround also worked for me.
Update — still present on a newer build.
Confirming this is not fixed by updating. I'm now on:
Behavior is unchanged: the main window keeps
WS_EX_TOPMOSTand stays above other applications on focus change, with no in-app setting to disable it. TheSetWindowPos/HWND_NOTOPMOSTsnippet above does clear the flag, but it has to be re-run — I haven't confirmed whether the app re-applies it on show/focus or whether it's only lost across restarts.Really annoying issue, shoudl be easy to fix, just get claude to fix it !
happening to me too - very annoying
Confirming this — Claude Desktop stays on top and won't yield focus to another (already-running) app when maximized via the taskbar. Same symptom as described above. Quite annoying.
Same issue here, confirming on another machine and a newer build.
OS: Windows 11 Pro (10.0.26200)
Claude Desktop app version: 1.37937.3.0 (Microsoft Store install)
Embedded Claude Code: 2.1.220
Exact symptom as the original report: the window stays topmost after focus moves to another app — Alt+Tab does switch focus but Claude keeps covering the target window, so it feels like you can't leave it. Minimising is the only thing that releases it. Started after a recent update; fully quitting and relaunching doesn't clear it.
Same issue here!
Me too.
Hi guys,
Full re-install worked for me like a charm and fixed the issue.
Platform: Windows 11
App version: 1.40609.0.0
Personal device
FYI this means re-downloading of the Cowork VM bundle ~8.4GB -- you can try saving it before nuking by backing up
LocalCache\Roaming\Claude\vm_bundlesAfter I restart the system, it automatically recovers.
Platform: Windows 11 Enterprise
App version: 1.40609.0
Still reproducing on 1.40609.0.0 (Microsoft Store install), so the latest build does not fix it.
Environment
Measured, not just observed
I enumerated top-level windows and read the extended window style directly rather than judging by eye. The main Claude window really does have the topmost bit set:
The only other legitimately topmost windows on the desktop were the taskbar (explorer) and the Windows 11 "Click to Do" overlay. So this is genuinely
WS_EX_TOPMOSTon the main window, not a focus or z-order quirk.This also explains why clicking a taskbar button "does nothing": the target window is restored and does receive focus (keystrokes reach it), it is simply drawn underneath the topmost Claude window, which was maximized to full screen.
Clearing it in place worked
Same approach @Starfield3 posted in #85891:
SetWindowPoswithHWND_NOTOPMOSTandSWP_NOMOVE | SWP_NOSIZE | SWP_NOACTIVATE. After the call the style bit reads clear and the window behaves normally again. No restart, no window moved, no focus stolen. This also independently confirms their observation that nothing persists the flag — I checkedconfig.json,window-state.jsonandclaude_desktop_config.jsonand none of them contain an always-on-top key.Trigger data point: I have never used the Office add-in
I am on a personal account and cannot use it. So whatever sets the flag is not confined to that code path.
Please be careful with the "end all claude.exe tasks" advice in this thread
On my machine there are 12 processes named
claude.exe, and they are not stray instances:AppData\Roaming\Claude\claude-code\<version>\claude.exe, running with--resume=<session-id>. Killing it drops a live session..local\bin.So "a dozen or more background instances still running" is, at least here, just Electron's normal multi-process architecture. Advising people to end every
claude.exeis more destructive than it sounds.Possible root cause (hypothesis, for whoever picks this up)
There are several call sites that set always-on-top in the app bundle, and at least two of them touch the main window:
focus_desktophandler, on win32, effectively does:``
``setAlwaysOnTop(true) -> focus() -> setTimeout(() => setAlwaysOnTop(false), 100)
That is a focus-stealing workaround guarded only by a 100 ms timer. Anything that interrupts those 100 ms leaves the flag set permanently. (On my machine this specific path cannot be the trigger, since I never use the add-in — but the same fragile pattern may exist on other paths.)
isAlwaysOnTop()for every window, enables content protection, and in afinallyblock re-applies always-on-top to each window that was topmost. If that snapshot is taken during another mechanism's temporary topmost interval, it will re-apply topmost afterwards — and that re-application is not on a timer, so it sticks.A race between those two would explain both why the flag survives and why it appears unrelated to anything the user did.
Suggested fixes, in increasing order of effort
SetForegroundWindow+AttachThreadInputinstead of borrowing topmost to steal focus.