How to Disable the Power Button on Android
In this article
You cannot fully disable the physical power button on a standard, unrooted Android phone. Android has no built-in toggle that turns the power button off, and the button is wired to the hardware so the phone can always be woken or forced to restart. What you can do is change what the button does, block accidental presses, and use software alternatives so you rarely need it. The steps below cover the realistic options on current Android versions; menu names can differ slightly by manufacturer, Android version and region.
What You'll Need
- Your Android phone, charged and unlocked.
- Access to Settings (no root required for the methods below).
- Optional: a case with a raised edge or a button-cover accessory if the goal is to stop accidental presses.
- Optional: a third-party button-remapping app from the official Play Store if your phone's built-in options are too limited.
Step-by-Step
- Decide what "disable" means for you. If you want to stop the power menu appearing when the button is bumped, you are changing button behaviour. If you want the screen to stay off and never wake from the button, that is not possible without root. If you want to power the phone on and off without the button, you need a software or accessory workaround. Pick the goal first so you do not waste time on a setting that does not do what you expect.
- Open Settings and look for a button or gesture section. On most phones this is under Settings > System > Buttons, Settings > Additional settings, or a manufacturer-specific menu such as Settings > Convenience tools. Labels vary, so scan the top-level Settings list for words like Buttons, Gestures, Shortcuts or Side key. If you cannot find it, use the search icon inside Settings and type "power" or "side key".
- Change the long-press action. Many phones let you set what a long press of the power button does — for example open the camera, launch the assistant, or show the power menu. Setting it to "Nothing" or "No action" (where offered) reduces accidental triggers. This does not disable the button, but it stops unwanted apps or menus opening when the button is pressed in a pocket or bag.
- Turn off double-press shortcuts. In the same menu, look for a double-press or double-tap power button shortcut (often set to open the camera). Set it to None or Off if available. This is the single most common cause of the phone waking or launching an app from a pocket press.
- Check for a "Side key" or "Power key" section on Samsung and similar phones. On many Samsung devices the setting is under Settings > Advanced features > Side key, where you can choose between Press and hold actions and double press actions. Set both to something harmless or off if the option exists. Other brands use similar names such as Side button or Power button behaviour.
- Use a button-remapping app only if the built-in options are not enough. Apps on the Play Store can intercept button presses and reassign them, but Android restricts what a normal app can do with the power button. Most can only change long-press or double-press behaviour, and some require accessibility permissions. Install only from the official Play Store, read the permission list, and remove the app if it misbehaves. Do not use modified or sideloaded APKs.
- Set up a software way to lock and wake the phone. For locking, most phones support a double-tap on the home screen or status bar to sleep (check Settings > Display or your launcher's gesture settings). For waking, enable "Lift to wake" or "Double-tap to wake" under Settings > Display if your phone offers it. These reduce how often you need the power button at all.
- Use a case or accessory to physically block the button. If the problem is accidental presses, a rigid case with a recessed button cutout, or a small strip of thick tape over the button, is the only reliable non-root way to stop the button being pressed. Do not glue or permanently seal the button — you still need it for forced restarts and power-on.
- Keep a restart method available. Even if you rarely use the power button, know how to force a restart: usually a long press and hold of the power button for about 10–20 seconds, or a button combination your manufacturer documents. Do not disable or block the button so completely that you cannot recover from a frozen screen.
Common Mistakes
- Expecting a full off switch. No standard Android setting disables the power button entirely. Apps that claim to do so usually only remap long-press or double-press actions.
- Confusing power button settings with lock screen settings. Changing the lock screen or screen timeout does not change what the power button does.
- Blocking the button permanently. If you seal or glue over the power button, you may be unable to force a restart when the phone freezes.
- Installing unknown remapping apps. Sideloaded or modified apps can request accessibility access and read screen content. Stick to the Play Store and remove anything you do not recognise.
- Assuming every phone has the same menu. Samsung, Pixel, Xiaomi, OnePlus and others use different names and locations for button settings.
Tips
- Search inside Settings for "side key", "power button" or "buttons" — it is faster than hunting through menus.
- If your goal is to stop the phone waking in a bag, turn on "Prevent accidental wake-up" or the proximity-based screen-off feature if your phone offers it under Display settings.
- Use "Do Not Disturb" and a short screen timeout together; they reduce the need to touch the power button at all.
- Keep the button clean. Dust or grit under a stiff case can cause phantom presses that look like a software fault.
- If you use a remapping app, test it for a day before relying on it — updates to Android can break button interception.
Troubleshooting
If the power menu still appears when you press the button, the setting you changed was probably a shortcut, not the menu itself. Go back to the button or side key menu and check every action listed. If you cannot find any button settings at all, your manufacturer may not expose them; in that case a Play Store remapping app is the only option short of root, and it will be limited.
If the phone will not wake with double-tap or lift-to-wake, check that the feature is supported on your model and turned on under Display. Some phones disable it when battery saver is active. If a remapping app stops working after an update, open the app, check that its accessibility permission is still granted, and re-enable it. If the phone becomes unresponsive after blocking the button, use the manufacturer's documented forced-restart combination — usually a long press and hold of the power button — and remove any physical cover afterwards.
Frequently Asked Questions
Can I completely disable the power button on Android?
No. On a standard, unrooted phone the power button is a hardware control that Android does not let you switch off. You can only change its long-press and double-press behaviour or block it physically.
Does a button remapping app really disable the power button?
No. Play Store apps can intercept some button events, usually long press or double press, but they cannot stop the hardware from registering a press. Anything claiming a full disable should be treated with suspicion.
Will changing the side key settings stop the power menu?
Only if your phone offers a specific option for the press-and-hold action. On many phones the power menu is tied to press-and-hold and cannot be reassigned to nothing.
How do I restart my phone if the power button is blocked?
Use the forced-restart method your manufacturer documents, typically a long press and hold of the power button for around 10–20 seconds. Remove any cover first so the press registers.
Is rooting required to disable the power button?
Rooting can allow deeper changes, but it voids warranties, weakens security and is not recommended here. Even with root, disabling the power button risks leaving you unable to recover a frozen phone.
What is the safest way to stop accidental power button presses?
Use a case with a recessed button cutout, turn off double-press shortcuts, and enable lift-to-wake or double-tap-to-wake so you do not need to press the button as often.