Why your device keeps trying to re-enroll in MDM

Mobile Device Management (MDM) is software that organizations use to control and monitor devices — usually phones and tablets — that employees use for work. When you remove an MDM profile from your device, it sometimes tries to reinstall itself automatically. This happens because the MDM system is configured to keep devices enrolled, and your device is still receiving commands from the organization's server to re-enroll.

The re-enrollment loop occurs most often when you've left a job, switched departments, or your organization has changed its device policies. Your device still has the MDM server address stored in its settings, so it keeps checking in and attempting to restore the profile you deleted. Stopping this requires removing the connection between your device and that server, not just deleting the profile once.

Key Takeaways

  • Deleting an MDM profile once usually does not stop re-enrollment — you need to remove the server connection your device keeps checking.
  • On iPhone, go to Settings > General > VPN and Device Management, find the MDM profile, and tap Remove; if it asks for a password, contact your former organization's IT department.
  • On Android, the process varies by manufacturer, but typically involves Settings > Security > Device Admin Apps, finding the MDM app, and removing admin access before uninstalling it.
  • If your device continues re-enrolling after removal, factory reset is the most reliable way to clear all MDM connections, though you will lose all data unless you back up first.
  • Some organizations require IT approval to remove MDM, so check your employment agreement or contact your IT department before attempting removal.

Removing MDM on iPhone

On iPhone, MDM profiles live in a specific settings location separate from regular apps. Open Settings, then tap General. Scroll down and look for VPN and Device Management — this is where the MDM profile sits. Tap it, and you will see the profile name (often something like "Company Name MDM" or "Mobile Device Management"). Tap the profile name, then tap Remove.

If the system asks for a password or PIN to remove the profile, your organization has locked it down. You will need to contact your former company's IT department or help desk and ask them to remove the MDM enrollment remotely. Provide them with your device's serial number (found in Settings > General > About) so they can identify your device in their system. Once they remove it from their end, the profile should delete without a password prompt.

After removal, restart your iPhone. Then go back to Settings > General > VPN and Device Management to confirm the profile is gone. If it reappears within a few hours or days, your device is still receiving re-enrollment commands from the server. Move to the factory reset section below.

Removing MDM on Android

Android MDM removal depends on which manufacturer made your phone — Samsung, Google Pixel, OnePlus, and others handle it slightly differently. The most common route works on most devices: open Settings, search for Device Admin Apps or Device Administrators, and look for the MDM app listed there. Common MDM app names include MobileIron, Intune, AirWatch, or your company's name followed by "MDM" or "Device Management".

Tap the MDM app name, then tap Deactivate or Remove Admin Access. The system will ask you to confirm. After deactivation, go to Settings > Apps (or Application Manager on older Android versions), find the same MDM app, and tap Uninstall. If the uninstall button is grayed out, the app is a system app that your organization installed at the device level — you cannot remove it without a factory reset.

Restart your Android device after uninstalling. Check Settings > Device Admin Apps again to confirm the MDM app no longer appears. If it reappears or if you could not uninstall it because it was a system app, you will need to factory reset your device to fully remove the MDM connection.

What to do if MDM keeps re-enrolling after removal

If the MDM profile or app reappears hours or days after you delete it, your device is still connected to the organization's MDM server and receiving re-enrollment commands. Deleting the profile alone will not stop this — the server keeps pushing it back. At this point, you have two options: contact the organization's IT department to remove your device from their server, or factory reset your device.

Contacting IT is faster if they will cooperate. Call or email your former company's help desk, explain that you no longer work there or no longer need MDM on your device, and ask them to remove your device from their MDM system entirely. Provide your device's serial number and IMEI (found in Settings > About on both iPhone and Android). Once they remove it from their server, the re-enrollment should stop within 24 hours.

If the organization will not remove it or you cannot reach them, a factory reset is the only reliable way to clear all MDM connections. This erases everything on your device, so back up your photos, contacts, and important files first. On iPhone, go to Settings > General > Transfer or Reset > Erase All Content and Settings. On Android, go to Settings > System > Reset Options > Erase All Data (Factory Reset). After the reset completes, set up your device as new and do not restore from a backup that contains MDM settings.

Preventing re-enrollment after removal

After you have successfully removed MDM, prevent it from re-enrolling by disconnecting from your organization's network. If you still have access to the company WiFi network, remove it from your saved networks. On iPhone, go to Settings > WiFi, tap the network name, and tap Forget. On Android, go to Settings > WiFi, long-press the network name, and tap Forget.

Also check your email settings. Some MDM systems use email profiles to maintain the connection — if you still have a work email account set up on your device, remove it. On iPhone, go to Settings > Mail > Accounts, tap the work email account, and tap Delete Account. On Android, go to Settings > Accounts, tap the work email account, and tap Remove Account. This cuts off another path the MDM server can use to re-enroll your device.

If you are still seeing re-enrollment attempts after removing the profile, disconnecting from the network, and removing the email account, the device likely has MDM installed at a deeper system level. A factory reset is the only way to fully clear it.

When your organization requires MDM to stay enrolled

Some employers require MDM to remain on any device that accesses company email, files, or networks — even after you leave. Check your employment agreement or employee handbook to see if this applies to you. If MDM is required and you remove it, the organization may disable your email account or revoke your access to company systems as a security measure.

If you still need access to company resources after leaving, contact IT and ask whether they can switch you to a less restrictive management profile, or whether they can remove MDM once you have returned all company devices. If you do not need access anymore, removing MDM is your choice — the organization cannot force it to stay on a personal device you own, though they can revoke your work access if you do.

Frequently Asked Questions

Will factory reset remove MDM completely?

Yes. A factory reset erases all data and settings on your device, including all MDM profiles, server connections, and configuration files. After reset, your device has no memory of the MDM system. Set up your device as new rather than restoring from a backup to avoid re-installing the MDM configuration.

Can I remove MDM without contacting IT?

If the MDM profile is not password-protected, yes — you can remove it yourself through Settings on iPhone or by deactivating admin access on Android. If it is password-protected, you need IT to unlock it remotely. If it is a system app on Android, only a factory reset will remove it.

What happens if I remove MDM while still employed?

Your organization may disable your work email, revoke access to company files, or flag your device as non-compliant. Check your employee handbook or ask IT what the consequences are before removing it. Some companies allow removal if you switch to a company-owned device instead.

Why does MDM keep coming back even after I delete it?

Your device is still connected to the organization's MDM server, which is sending re-enrollment commands. Deleting the profile does not disconnect your device from the server — you need to either have IT remove your device from their system, or factory reset your device to sever the connection.

Is it safe to factory reset my phone to remove MDM?

Yes, factory reset is safe and is the standard way to fully remove MDM when other methods do not work. Back up your data first, then reset. After setup, your device will have no MDM or organizational control on it.