If a WordPress update failed or your site is stuck on “Briefly unavailable for scheduled maintenance”, delete the .maintenance file from your WordPress root folder using your host’s file manager or SFTP. Then retry the update. Persistent failures are usually caused by file permissions, low disk space, PHP timeouts or memory limits, or a blocked connection to WordPress.org — fix those or update manually.
Updates are meant to make WordPress safer and better, so a WordPress update failed message is unnerving, especially when one fails halfway — leaving a “Briefly unavailable for scheduled maintenance” message or a plugin that will not update no matter how many times you click. Usually the cause is simple: a timeout, file permissions, low disk space or a conflict.
This guide gets you out of maintenance mode quickly, then helps you work out why the update failed so it does not happen again.
Interrupted updates are common and usually easy to fix. Here is what to do.
Important: Take a backup before editing wp-config.php, .htaccess or the database — see how to back up WordPress.
Stuck in maintenance mode
- Open the file manager or SFTPGo to the folder that contains wp-config.php.
- Delete .maintenanceIt is a hidden file — enable “show hidden files” if you cannot see it.
- Reload the siteThen check which update failed and retry it.

Why a WordPress update failed
| Cause | Fix |
|---|---|
| Incorrect file permissions | Folders 755, files 644, owned by the web server user (ask your host) |
| Not enough disk space | Delete old backups and unused files, or upgrade storage |
| PHP timeout or memory limit | Raise max_execution_time and memory_limit |
| Cannot connect to WordPress.org | Ask your host to check firewall or DNS issues |
| Premium plugin licence expired | Renew the licence or update manually from the vendor |
| Conflict with a plugin | Test the update on staging with plugins disabled |
Update WordPress manually
- Back upFiles and database.
- Download WordPressGet the latest version from wordpress.org.
- Replace core foldersUpload new wp-admin and wp-includes folders, replacing the old ones.
- Replace root filesUpload root files except wp-config.php — do not touch wp-content.
- Run the database updateVisit /wp-admin; WordPress may ask to update the database.

Tip: Test major updates on a staging site first and update plugins one at a time on important sites, so you know exactly what caused any problem.
Before your next update
- Take a full backup.
- Check free disk space in your hosting account.
- Update plugins one at a time on important sites.
- Test major updates on a staging site.
- Avoid updating during peak traffic times.
Troubleshooting by symptom
| Symptom | Likely cause | Fix |
|---|---|---|
| Stuck “maintenance” message | Interrupted update left .maintenance file | Delete .maintenance from the site root |
| “Could not create directory” | File permissions | Ask host to fix ownership/permissions |
| “Download failed” | Server cannot reach WordPress.org or timeout | Retry later or update manually |
| Site breaks after update | Plugin or theme incompatibility | Roll back and check for fixes |
Keep updates routine with our WordPress maintenance checklist.
For a complete diagnostic method, see our WordPress troubleshooting guide.
Frequently asked questions
Why is my WordPress site stuck in maintenance mode?
During updates WordPress creates a .maintenance file. If the update is interrupted, the file remains. Delete it from the root folder to restore the site.
Is it safe to delete the .maintenance file?
Yes. It only tells WordPress to show the maintenance message. Delete it, then check that the update completed or run it again.
Why does a plugin update keep failing?
Common reasons are file permission problems, low disk space, timeouts, expired premium licences or a conflict with another plugin.
Should I enable automatic updates?
Automatic minor core updates are recommended. For plugins, enable auto-updates for trusted, well-maintained plugins and keep backups in place.
Can I roll back a WordPress plugin update?
Yes, by restoring a backup or using a rollback plugin to install the previous version. Check why the update caused problems first.
How long should a WordPress update take?
Most updates complete in seconds to a couple of minutes. If it takes much longer, the process may have stalled.
Should I update WordPress core or plugins first?
Back up first, then many people update plugins and themes before core, testing after each step. Follow any specific advice in release notes.
Further reading: the official WordPress documentation.







