Skip to content

Instantly share code, notes, and snippets.

@nilbus
Created February 23, 2026 14:07
Show Gist options
  • Select an option

  • Save nilbus/66f541ee6f190726a6909c8856cd9d37 to your computer and use it in GitHub Desktop.

Select an option

Save nilbus/66f541ee6f190726a6909c8856cd9d37 to your computer and use it in GitHub Desktop.
OCLP Uninstall Instructions

Overview

OpenCore Legacy Patcher (OCLP) uninstall has 3 parts:

  1. undo any root patches, 2) remove the OpenCore bootloader from EFI (or USB), 3) remove the app and its data.
    Below are safe, step‑by‑step instructions based on the official uninstall guide and current docs.[1][2]

Before you start

  • Confirm what you installed
    These steps apply if you used OpenCore Legacy Patcher to install a bootloader to:

    • your internal disk’s EFI (so the Mac boots via OpenCore), or
    • an external/USB that you boot through.
  • Make a backup first (strongly recommended)

    • Use Time Machine or clone your disk (Carbon Copy Cloner, SuperDuper, etc).
    • If your Mac is running a macOS version it doesn’t officially support, you may lose the ability to boot that version once OpenCore and patches are removed.[3]
  • If OpenCore is only on a USB stick

    • You can usually just erase or reformat that USB drive, and the Mac will boot normally from its internal drive.

Step 1 – Revert root patches (if you used them)

Only needed if you used OCLP’s Post-Install Root Patches (common on Monterey/Ventura/Sonoma).

  1. Boot into macOS via OpenCore like you normally do.
  2. Open the OpenCore-Patcher app from Applications.
  3. Go to Post-Install Root Patch.
  4. Click Revert Root Patches.
  5. Follow prompts and restart when asked.
    • This can take 10–30 minutes and may reboot more than once.[1]

If Post-Install Root Patch says no patches are installed, you can skip this step.


Step 2 – Remove OpenCore from the EFI (internal disk case)

You’ll delete the OpenCore bootloader files from the EFI partition so your Mac uses the stock Apple bootloader.

2.1 Boot to Recovery

  • Intel Mac: Restart and hold Command (⌘) + R until you see the Apple logo or “Loading macOS Recovery”.
  • Apple Silicon (M1/M2/M3): OCLP is rarely used here, but if you did, shut down, then hold the power button until “Options” appears, then choose OptionsContinue.

If you’re unsure your Mac needs OCLP to boot: do NOT erase the whole disk. Stick to removing only the EFI entry and be sure you have a backup.

2.2 Mount the EFI partition

  1. In Recovery, open Utilities → Terminal.

  2. List disks:

    diskutil list
  3. Look for the internal disk’s EFI partition, typically something like:

    • EFI on disk0s1 (GUID_partition_scheme)
  4. Mount it (replace disk0s1 with the actual identifier you see):

    diskutil mount disk0s1
  5. Close Terminal.

2.3 Delete OpenCore folders from EFI

  1. In Recovery, open Utilities → Finder (or from the menu bar).

  2. In the Finder sidebar, you should now see a volume named EFI.

  3. Open it and then open the EFI folder inside. You’ll typically see:

    • EFI/BOOT/ (may contain OpenCore BOOTx64.efi)
    • EFI/OC/ (OpenCore config, drivers, etc.)
  4. Delete the OpenCore-related folders:

    • Delete EFI/OC.
    • If EFI/BOOT/BOOTx64.efi came from OpenCore (most OCLP installs), you can either:
      • delete the entire BOOT folder, or
      • replace BOOTx64.efi with Apple’s original if you have a backup.
  5. Empty Trash (if applicable) and close Finder.

  6. Restart your Mac. It should now use the default Apple bootloader.


Step 3 – Reset NVRAM (recommended)

On Intel Macs:

  1. Restart and immediately hold Option (⌥) + Command (⌘) + P + R.
  2. Keep holding for about 20 seconds (or until you hear a second startup chime, on older Macs).[1]

This clears boot entries and any OpenCore-related startup settings.

On Apple Silicon, NVRAM is managed automatically; a normal restart after removing EFI entries is typically enough.


Step 4 – Remove the OpenCore Patcher app and its data

From a normal macOS boot (after confirming it works without OpenCore):

  1. In Applications, drag OpenCore-Patcher.app to Trash and empty the Trash.

  2. Optionally remove its support files in Terminal:

    rm -rf ~/Library/Application\ Support/OpenCore-Patcher
    rm -rf ~/Library/Caches/com.dortania.opencore-legacy-patcher
    rm -rf ~/Library/Preferences/com.dortania.opencore-legacy-patcher.plist

This cleans up user-level traces of the app.[4]


Step 5 – (Optional) Fully “factory reset” macOS

If you want to be 100% sure nothing related to OCLP remains and you’re okay wiping your disk:

  1. Create a bootable installer for the latest officially supported macOS version for your Mac on a USB drive.[1]
  2. Boot from that installer (Option/boot menu on Intel, or hold power → “Options” → choose the installer on Apple Silicon).
  3. Open Disk Utility, select the top-level disk (not just the Macintosh HD volume), click Erase, and reformat as APFS, GUID.
  4. Quit Disk Utility and reinstall macOS on the empty disk.

This completely removes any trace of OpenCore, root patches, and prior macOS installs.


Quick recap

  • If OpenCore is on a USB only: erase/reformat the USB drive; you’re done.
  • If OpenCore is on the internal disk:
    • Revert root patches (if any) in OCLP.
    • From Recovery, mount the EFI and delete EFI/OC and any OpenCore BOOT folder.
    • Reset NVRAM.
    • Remove the OCLP app and support files.
  • For a truly clean system, reinstall macOS after erasing the disk with the official installer.

If you tell me:

  • your Mac model/year, and
  • which macOS version you’re currently running,

I can tailor these steps and tell you whether it’s safe to remove OCLP without losing the ability to boot that macOS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment