Closing a virtual desktop is the act of removing an extra desktop workspace from your operating system so it no longer appears in the desktop switcher. In Windows 10 and Windows 11, this is done with a keyboard shortcut, a taskbar button, or the Task View interface. On macOS, the equivalent action is removing a Space from Mission Control. Closing a virtual desktop does not delete files, apps, or settings; it only removes the workspace itself, and any windows open on it are moved to another desktop. Before you start, make sure you know which desktop you are closing and that you have saved any work in windows on that desktop, because those windows will be relocated, not closed.
What You'll Need
- A computer running Windows 10, Windows 11, or macOS with virtual desktops enabled (they are on by default).
- At least two virtual desktops open, since the last remaining desktop cannot be closed.
- Saved work in any windows on the desktop you plan to remove, or a plan to move those windows first.
- Optional: a mouse or trackpad for the Task View or Mission Control method.
Step-by-Step
- Identify the desktop you want to close. On Windows, press Win + Tab to open Task View. The row of thumbnails at the top shows each virtual desktop. On macOS, swipe up with three or four fingers or press F3 (or Control + Up Arrow) to open Mission Control and see the Spaces bar at the top.
- Switch to a different desktop first if needed. You cannot close the desktop you are currently using in some interfaces, and it is safer to close a desktop that is not active. Click another desktop thumbnail to switch to it.
- Close the desktop using the interface. In Windows Task View, hover over the thumbnail of the desktop you want to remove and click the X that appears in its top-right corner. In macOS Mission Control, move the pointer over the Space in the Spaces bar and click the X that appears, or press Control + Up Arrow to enter Mission Control and then click the close button on the Space thumbnail.
- Or use the keyboard shortcut on Windows. Press Ctrl + Win + F4. This closes the current virtual desktop immediately. Windows switches you to the desktop to the left, and any open windows from the closed desktop move there.
- Confirm that windows were moved. After closing, check the remaining desktops for any windows that were on the removed desktop. They should appear on the adjacent desktop. If a window seems missing, use Alt + Tab (Windows) or Command + Tab (macOS) to find it.
- Repeat if you have more desktops to remove. You can close desktops one at a time until only one remains. The final desktop cannot be closed because the operating system always needs at least one workspace.
- Verify the result. Open Task View or Mission Control again. The closed desktop should no longer appear in the list. The remaining desktops keep their order and their wallpaper settings.
Common Mistakes
One common mistake is pressing Ctrl + Win + F4 while intending to close an app; that shortcut closes the whole desktop, not the window. Another is closing a desktop while important unsaved work is open on it. The windows are not deleted, but they move to another desktop and can be easy to lose track of. A third mistake is expecting the X button to appear when hovering over the desktop thumbnail in older Windows 10 builds; in some versions the close control is only available after you open Task View and hover precisely over the thumbnail. On macOS, users sometimes try to close a Space by dragging it off the Spaces bar, which does not work; the close button must be used. Finally, some people confuse closing a virtual desktop with shutting down the computer or signing out, which closes all desktops and all apps.
Tips
Name your desktops in Windows 10 and Windows 11 by opening Task View and right-clicking a thumbnail, then choosing Rename. Named desktops make it obvious which one you are closing. Before closing a desktop, move any windows you want to keep separate by dragging them in Task View to another desktop thumbnail. On macOS, you can assign apps to specific Spaces in Mission Control settings so that closing a Space does not scatter those windows unexpectedly. If you use virtual desktops for work and personal tasks, close the work desktop at the end of the day to reduce visual clutter, but first make sure no documents are left open on it. Keyboard shortcuts are faster than the mouse: Win + Tab to view, Ctrl + Win + F4 to close on Windows, and Control + Up Arrow to view Spaces on macOS.
Troubleshooting
If the X button does not appear in Task View, make sure you are hovering directly over the thumbnail and that you have more than one desktop open. If the keyboard shortcut does nothing, check that the window with focus is not an app that captures that combination; click the desktop background first and try again. If a window from the closed desktop cannot be found, open Task View and look at each remaining desktop, then use Alt + Tab to cycle through all open windows. On macOS, if the close button is greyed out, you are probably trying to close the only Space or a full-screen app Space, which cannot be removed the same way; exit full-screen mode first. If desktops reappear after a restart, note that Windows does not always preserve virtual desktop layouts across restarts, so you may need to recreate them. If the system seems unresponsive after closing a desktop, wait a few seconds for windows to relocate, then check Task Manager or Activity Monitor before forcing a restart.
Frequently Asked Questions
Does closing a virtual desktop close the apps on it?
No. The apps and windows stay open and are moved to another desktop. Only the workspace is removed.
Can I close the last remaining virtual desktop?
No. Windows and macOS always keep at least one desktop or Space open.
What is the keyboard shortcut to close a virtual desktop in Windows?
Press Ctrl + Windows logo key + F4. This closes the current desktop and switches you to the adjacent one.
How do I close a virtual desktop on a Mac?
Open Mission Control, move the pointer over the Space in the Spaces bar at the top, and click the close button that appears. Full-screen app Spaces must be exited first.
Will closing a virtual desktop delete my files?
No. Files, settings, and applications are unaffected. Only the desktop workspace is removed.
Why can't I see the close button on my desktop thumbnail?
Make sure you have more than one desktop open and that you are hovering over the correct thumbnail. In some Windows versions the control appears only in Task View.