How to Center a Window in Windows 11
Use the Windows centering helper tool to easily centralize a window on your desktop

With Windows 11, the Win + Arrow shortcut key allows users to move and snap a window to the left or right of the screen. However, no hotkey or configuration can center a window in Windows 11. It is undoubtedly necessary to place a window in the center of large displays, such as ultrawide monitors or high-resolution TVs.
If you have issues placing your window in the center of your screen, this article will walk you through various steps to resolve this issue and get your system running perfectly.
1. Manually center the window
One of the easiest ways to center a window in Windows 11 is by doing it manually. The steps below will show you how to manually position your window in the center of your screen.
- Make use of your mouse to hold and drag the window to the desired size, then reposition the current window by using the title bar.
- After doing this reboot your computer.
- Once your computer is on, verify to see if the window is still aligned centrally on your desktop.
2. Make use of an AutoHotkey
AutoHotkey is a free and open-source scripting language for Windows, and with this tool, users may quickly develop simple to complicated scripts for various activities, including form filling, auto-clicking, macros, and window management. Easily create a script to center a window by following the steps below.
- Navigate to the AutoHotkey website and download AutoHotKey v2.0.
- Set it up by following the on-screen instructions.
- Open a new Notepad, then input the command below.
Shift & c::
global windowName
global X
global Y
global begWidth
global begHeight
WinGetTitle, windowName, A
WinGetPos, X, Y, begWidth, begHeight, %windowName%
CenterWindow(windowTitleVariable)
{
WinGetPos,,, Width, Height, %windowTitleVariable%
WinMove, %windowTitleVariable%,, (A_ScreenWidth/2)-(Width/2), (A_ScreenHeight/2 )-(Height/2)
}
CenterWindow(windowName)
return
RShift & b::
WinMove, %windowName%,, X, Y, begWidth, begHeight
return - Navigate to the File menu and choose Save.
- Input a file name such as Center Window followed by the .ahk extension, then click Save.
- After doing this, run the script you just downloaded. If you receive a prompt to download v1.0, go ahead and get it.
- Once your script is running properly, open any application and press Windows + C to center it.
3. Make use of the Windows Centering Helper tool
With the help of a free program called Windows Centering Helper, you may manually or automatically center any window in Windows 11 by clicking a hotkey. Follow the instructions below to use this feature.
- Navigate to the official Windows Centering Helper site to get the installer version.
- Run the setup and follow any on-screen instructions to complete the process.
- Once the installation is complete, the app will start automatically, and a prompt will appear with the message Press 3 x [LShiftKey] to center a window.
- To test if it works correctly, go to a new application, and click Left Shift three times. Your window should be automatically centralized.
Final Thoughts
By utilizing the steps outlined above, you can confidently center a window on your Windows 11 device. For further assistance, reach out to us via the comment section below.
If you are having trouble opening the action center on your Windows 11 device, check out the linked article for solutions.