Kodi Is Damaged and Cannot Be Opened: Fixes
In this article
If you see “Kodi is damaged and cannot be opened” on a Mac, it usually means macOS’s Gatekeeper is blocking the app because it was downloaded from the internet and hasn’t been notarized by Apple. The quickest fix is to right-click (or Control-click) Kodi in the Applications folder and select Open, then confirm you want to open it. If that doesn’t work, you may need to remove the quarantine attribute using Terminal, or re-download Kodi from the official site. Below are step-by-step solutions that work for macOS Ventura and later.
What You'll Need
- A Mac running macOS (any recent version)
- Administrator access to your user account
- Kodi downloaded from the official website (kodi.tv) – if you got it elsewhere, re-download it first
- Optional: Terminal app (found in Applications > Utilities)
Step-by-Step
- Quit Kodi completely. If the error dialog is open, click “Cancel” or “OK” to dismiss it. Press Command+Q to make sure Kodi is not running in the background.
- Locate Kodi in Finder. Open a new Finder window and go to Applications. Find the Kodi icon. If you don’t see it, check your Downloads folder – it may still be in the .dmg file that you haven’t dragged into Applications.
- Try the right-click Open method. Right-click (or Control-click) the Kodi icon and select Open from the context menu. A dialog may appear saying “Kodi is from an unidentified developer” or “Kodi is damaged.” If you see an Open button in that dialog, click it. Kodi should launch. If it opens, you’re done – you can now open it normally from Spotlight or Launchpad.
- If the right-click method fails, remove the quarantine attribute. Open Terminal (Applications > Utilities > Terminal). Type the following command and press Enter:
xattr -dr com.apple.quarantine /Applications/Kodi.app
This removes the “quarantine” flag that macOS uses to mark files downloaded from the internet. If you get a “No such file” error, make sure Kodi is actually in /Applications and that the filename is exactly “Kodi.app”. - Try launching Kodi again. Double-click Kodi in Applications, or use Spotlight (Command+Space, type “Kodi”). If it opens, the fix worked.
- If it still says “damaged,” re-download Kodi. Go to kodi.tv/download and download the macOS version (choose the correct chip: Intel or Apple Silicon). Once downloaded, open the .dmg file, drag Kodi to Applications, and replace the old copy. Then repeat step 3 or 4.
- As a last resort, temporarily disable Gatekeeper. Open Terminal and run:
sudo spctl --master-disable
Enter your password when prompted. This turns off Gatekeeper entirely, so any app can be opened. After testing, re-enable it withsudo spctl --master-enable. Note: this is a security risk and should only be done temporarily.
Common Mistakes
- Skipping the right-click Open step. Many users go straight to Terminal, but the right-click method is the simplest and often works.
- Using the wrong command. The command
xattr -dr com.apple.quarantinemust be typed exactly. If you use-dinstead of-dr, it will only remove the attribute from the top-level file, not the nested files inside the app bundle. - Downloading from a third-party site. If you got Kodi from a random website, it might be modified or improperly signed. Always use the official Kodi site.
- Not quitting Kodi before trying to open it. If Kodi is already running (even in the background), the error may persist. Force quit with Command+Option+Escape if needed.
- Forgetting to replace the old app. When re-downloading, if you drag the new Kodi into Applications and see “Replace” – click Replace. If you don’t, the old damaged version remains.
Tips
- After the first successful open via right-click, Kodi will open normally afterwards. You don’t need to right-click every time.
- If you have an Apple Silicon Mac (M1/M2/M3), make sure you download the correct version – the site offers both Intel and Apple Silicon builds. The wrong architecture may cause a different error.
- If you’re a developer or power user, you can also use the
sudo xattr -d com.apple.quarantinecommand on the .dmg file before mounting it, but the-dron the app itself is more reliable. - Keep Kodi updated. Newer versions are notarized by Apple, so they won’t trigger this error at all.
Troubleshooting
If the right-click Open method shows no “Open” button: The app may be truly damaged or the quarantine attribute is stubborn. Try the Terminal command in step 4. If that fails, re-download as in step 6.
If Terminal says “Operation not permitted”: You may need to grant Terminal full disk access. Go to System Settings > Privacy & Security > Full Disk Access, enable Terminal, then try again.
If Kodi opens but crashes immediately: This might be a different issue – check if your Mac meets the minimum system requirements (macOS 10.13 or later). Also try resetting Kodi’s settings by moving the ~/Library/Application Support/Kodi folder to the Desktop (this removes your libraries and settings, so back up first).
If you see “Kodi is damaged and can’t be opened. You should move it to the Trash” after re-downloading: This usually means the download was corrupted. Delete the .dmg and download again, or try a different browser.
If the Gatekeeper disable method doesn’t work: On newer macOS versions, spctl --master-disable is not available. In that case, use the right-click method or the xattr command – those are the supported ways.
Frequently Asked Questions
Why does Kodi show “damaged” even though I downloaded it from the official site?
Because Kodi is an open-source app and Apple’s notarization process is not always used by open-source projects. macOS Gatekeeper flags apps that aren’t notarized, and the “damaged” message is a misleading generic error. The right-click Open method bypasses this.
Will this fix work on macOS Sonoma or Sequoia?
Yes, the right-click Open and the xattr command work on all recent macOS versions. However, on the newest macOS, you may also need to check System Settings > Privacy & Security – there might be a message about Kodi being blocked, with an “Open Anyway” button.
Is it safe to disable Gatekeeper?
Only temporarily. Disabling Gatekeeper removes a security layer that protects your Mac from malicious software. Use it only to test if Kodi works, then re-enable it immediately. Better to use the xattr method, which only affects Kodi.
What if I don’t have Terminal experience?
You can skip Terminal and just use the right-click Open method. If that doesn’t work, re-downloading Kodi often solves it. Terminal is only needed if those simpler steps fail.
Can I install Kodi from the Mac App Store instead?
No, Kodi is not available on the Mac App Store. The official source is kodi.tv. Some third-party stores may offer it, but they are not official and may contain modified versions.
Will this error damage my Mac or my files?
No. The error is just a security block. It does not affect your system or other apps. Kodi’s data (like your library) is stored in a separate folder and will not be lost unless you delete it manually.