Windows 10 can automatically rotate your display if you have a convertible PC or tablet—just like your smartphone. You can lock your screen rotation in place, if you like.

Automatic screen rotation is only available on devices with a built-in accelerometer. Windows uses this hardware component to determine the screen’s current physical orientation.

How to Toggle Rotation On or Off

The Action Center has a quick action tile that toggles auto-rotation on or off. To open it, click the notification icon on the taskbar at the bottom right corner of your screen, or press Windows+A.

Click or tap the “Rotation Lock” tile at the bottom of the Action Center pane to enable Rotation Lock. This prevents your screen from automatically rotating and locks your screen in its current orientation.

Rotation Lock is enabled while the tile is highlighted, and disabled while it’s dark.

If you don’t see this tile, your device probably doesn’t support automatic screen rotation. It’s also possible that in customizing the Action Center, you removed that tile and need to add it back.

You can also toggle Rotation Lock from the Settings app. To do so, head to Settings > System > Display. Scroll down to find the “Rotation Lock” slider and set it to the “On” position. Toggle it to “Off” to disable Rotation lock and enable automatic screen rotation.

Why is Rotation Lock Grayed Out?

In some cases, the “Rotation Lock” quick action tile and the “Rotation Lock” toggle in the Settings app may appear grayed out.

If you have a convertible PC, this occurs when your device is in laptop mode. For example, if you have a laptop with a 360-degree hinge, rotation lock will be grayed out when it’s in normal laptop mode. If you have a device with a removable screen, rotation lock will be grayed out while the screen is connected to keyboard. That’s because, in standard laptop mode, the screen will never automatically rotate.

When you transform your device into tablet mode—for example, by rotating its screen all the way back on a device with a 360-degree hinge, or disconnecting the screen from the keyboard—automatic rotation will be enabled and the Rotation Lock option will become available.

If Rotation Lock remains grayed out even while your device is in tablet mode and the screen is automatically rotating, try rebooting your PC. This is likely a bug.