How to Fix the “Destination Folder Already Exists” Error in WordPress

← Back to all WordPress fixes

Introduction

You try to install a plugin or theme and WordPress stops with: “Destination folder already exists. Plugin installation failed.” Strange — the plugin doesn’t appear on your Plugins page, so how can it already exist? The answer is a leftover folder from an earlier install, and the fix takes about two minutes.

Why This Error Happens

Every plugin lives in its own folder inside wp-content/plugins (themes in wp-content/themes). During installation, WordPress creates that folder and unpacks the files into it. To avoid overwriting anything by accident, it refuses to install into a folder that already exists.

So the error means exactly what it says: a folder with the plugin’s name is already on the server. That usually happens because:

  • A previous installation failed halfway (timeout, lost connection) and left a partial folder behind.
  • The plugin was deleted incompletely — removed from the database but not from disk.
  • You uploaded the plugin manually via FTP at some point and forgot.
  • The plugin is already installed but deactivated — scroll your Plugins list carefully first!

The Fix: Delete the Leftover Folder

First, double-check the plugin isn’t simply sitting deactivated in your Plugins list. If it’s genuinely not there, remove the orphaned folder:

  1. Connect to your site via FTP (e.g. FileZilla) or open your host’s File Manager.
  2. Navigate to wp-content/plugins (or wp-content/themes for a theme).
  3. Find the folder matching the plugin’s slug — e.g. contact-form-7 for Contact Form 7.
  4. Delete that folder.
  5. Go back to wp-admin and run the installation again — it will now complete normally.

Alternative: Overwrite Instead of Delete

If you’re re-installing a plugin you upload as a ZIP (from a marketplace, for example), you don’t need FTP at all. Since WordPress 5.5, uploading a ZIP of an already-installed plugin at Plugins → Add New → Upload Plugin shows a comparison screen with a “Replace current with uploaded” button — it swaps the files cleanly, settings intact, no error.

Before You Delete: Two Quick Warnings

  • Deleting a plugin folder does not delete its settings — those live in the database, so a re-install usually picks up right where you left off. But if the folder belongs to a plugin that’s active, deleting it can trigger errors on your site until you re-install. Deactivate first when in doubt.
  • Take a quick backup first. Any time you’re deleting files on the server, a one-click backup beforehand means a mistake costs you a minute, not a rebuild.

Frequently Asked Questions

Will deleting the folder remove the plugin’s data?
No. Settings and content created by the plugin are stored in the database. Deleting the folder only removes the code — reinstalling restores it.

I don’t see the folder in wp-content/plugins — where else could it be?
Make sure you’re on the right site/directory, and check wp-content/upgrade too — interrupted installs sometimes leave temporary folders there. Clearing that folder is always safe.

Can I fix this without FTP access?
Yes — every major host offers a File Manager in its control panel (cPanel, Plesk, or custom). For ZIP uploads, the “Replace current with uploaded” flow avoids the file system entirely.

The install keeps failing halfway — why?
Repeated partial installs usually point to a server timeout or upload limit — see our guides on the 413 upload error and timeouts on shared hosting.

Conclusion

“Destination folder already exists” isn’t a malfunction — it’s WordPress protecting you from overwriting files. Check whether the plugin is already installed, delete the leftover folder via FTP or File Manager if not, and re-run the install. Two minutes, done.

Delete files with confidence

Nota Backup & Restore keeps a fresh snapshot of your whole site, so any file-level cleanup is risk-free. Start your 14-day free trial — no credit card required.