Quick steps
- Open the Magisk app and tap Uninstall Magisk.
- Choose Complete uninstall and let the phone restart.
- If the app won't open, flash the APK renamed to
uninstall.zipfrom TWRP. - If the phone won't start, try Magisk's safe mode first, then flash your stock boot image with fastboot (not on Samsung phones).
Why uninstall Magisk?
Common reasons to remove Magisk:
- A banking, payment or work app refuses to run on a rooted phone. Many of these apps don't support modified phones at all, so removing Magisk is the reliable fix.
- You want to install a system update the normal way. You can also keep root through an update.
- You're selling the phone or sending it in for repair.
- A module or setting is causing problems and you want a clean start.
Uninstalling Magisk removes root and every module. It doesn't erase your apps or files, and it doesn't relock the bootloader.
Method 1: Uninstall Magisk from the app
This is the easiest and safest method, and the one Magisk's developer recommends.
Open the Magisk app
If the app isn't installed (Magisk keeps working without it), download it and install it first.
Tap Uninstall Magisk
The button is at the bottom of the home screen.
Choose Complete uninstall
Magisk removes itself and all modules, restores your original boot image and removes the app. Don't pick Restore images here: that only puts back the original boot image, for installing a system update.
Wait for the restart
The phone restarts by itself. That's normal. When it's back, Magisk is gone.
Method 2: Uninstall Magisk with TWRP
Use this if the Magisk app won't open or keeps crashing. You need TWRP installed on your phone.
Download the Magisk APK
Download the latest Magisk APK and save it to internal storage.
Rename it to uninstall.zip
In your Files app, rename the file to exactly
uninstall.zip. The name tells Magisk to remove itself instead of installing.
Boot into TWRP
Turn the phone off, then hold Power + Volume down (the combination varies by brand) until TWRP opens. Tap Install.

Select uninstall.zip and swipe
Find
uninstall.zipin your Download folder, tap it, and swipe the slider to confirm.

Reboot
When the log says it's done, tap Reboot System.

Remove the app
If the Magisk app is still on your phone, uninstall it from Android Settings like any other app.
If your phone won't start
If your phone is stuck on the boot logo after installing Magisk or a module, try these in order.
Let Magisk's safe mode kick in. If the phone fails to start twice in a row, Magisk starts the next time in its safe mode, with every module and Zygisk turned off. You can trigger it yourself: press and hold Volume down a few seconds before the boot animation appears and let go as soon as it shows. Pressing it only when the logo appears is often too late for Magisk, and holding it until Android has started also turns on Android's own safe mode. Once the phone is up, remove the problem module in the Magisk app.
If the phone still starts but a module misbehaves, you can also turn on safe mode from the Magisk app: tap the power icon at the top of the home screen, choose safe mode and restart.
Remove modules over USB. If USB debugging is on, connect the phone to a computer with ADB and run the command below. It removes every module and restarts the phone.
adb wait-for-device shell magisk --remove-modules
Turn off a module from TWRP. Every module is a folder in /data/adb/modules. If TWRP can read your data, open its file manager and either delete the problem module's folder or create an empty file named disable inside it.
Flash the stock boot image. This removes Magisk completely without touching your data. Take the image you patched (boot.img, init_boot.img or vendor_boot.img) from the firmware that's installed on your phone, reboot into the bootloader and flash it to the same partition:
fastboot flash boot boot.img
fastboot reboot
Use init_boot or vendor_boot instead of boot if that's the image you patched when installing Magisk.
Installed Magisk in recovery? On a phone where the app showed Ramdisk: No, simply turn it on normally. Magisk only loads when you start the phone with the recovery key combination. To remove it for good, flash your stock recovery.img to recovery.
How to check that Magisk is gone
- The Magisk app is no longer in your app drawer, or if you open it, Installed shows N/A.
- Apps that asked for root no longer get it.
- A root checker app reports that the phone isn't rooted.
Frequently asked questions
Does uninstalling Magisk delete my data?
No. Uninstalling Magisk restores your original boot image and removes modules. Your apps, photos and files stay on the phone. Back up anyway, in case something goes wrong.
Will uninstalling Magisk unroot my phone?
Yes. Magisk is what provides root access, so once it's removed your phone is no longer rooted. You can reinstall Magisk at any time to get root back.
Why do banking apps still refuse to work after I uninstalled Magisk?
Many apps check Google's Play Integrity API, which fails while the bootloader is unlocked, with or without Magisk. To pass it you'd need to relock the bootloader, which erases the phone and is only safe on completely stock firmware.
What's the difference between Restore images and Complete uninstall?
Restore images only puts back your original boot image and keeps the Magisk app and modules. Use it before installing a system update. Complete uninstall removes everything: Magisk, modules and the app.
How do I unroot a Samsung phone?
Use Complete uninstall in the Magisk app. Don't flash Samsung's stock boot, init_boot, recovery or vbmeta images on their own, because that can stop the phone from starting. If the app can't remove Magisk, flash the complete stock firmware in download mode, which erases the phone. Knox stays tripped either way, so Samsung Wallet and Secure Folder won't come back.
Should I relock my bootloader after uninstalling Magisk?
Only if you need to, for example before selling the phone or for apps that require a locked bootloader. Relocking erases all data, and relocking with any modified software installed can leave the phone unable to start. Flash the complete stock firmware first.
Share this guide
More Magisk guides
All guides- 16 min readDownload Magisk Manager Latest Version 31.1 For Android 2026Download Magisk 31.1, the official APK from GitHub, and root your Android phone step by step. Patch your firmware, manage root access, update or uninstall.Read the guide
- 5 min readHow to Unlock the Bootloader on AndroidUnlock your Android bootloader before rooting with Magisk: what it erases, the fastboot commands, and the steps for Pixel, Xiaomi, Motorola, OnePlus and more.Read the guide
- 4 min readHow to Install ADB and Fastboot on Windows, Mac and LinuxSet up Google's Platform-Tools on Windows, macOS or Linux, connect your phone with USB debugging, and fix the most common adb and fastboot errors.Read the guide
- 4 min readDownload Magisk Beta 31.1 Latest Version For Android 2026Get the newest Magisk beta from the official GitHub pre-releases, switch the Magisk app to the beta channel, and go back to stable if something breaks.Read the guide