Short answer: Open cPanel File Manager, enter public_html (enable hidden files), and delete the .maintenance file to restore WordPress accessibility immediately.
Quickly remove the stuck .maintenance lock file caused by interrupted plugin or theme updates using cPanel File Manager or WP Toolkit.
Before you start: Back up your site files and database and download the backup to your own computer. How to take a full backup
Quick reference
| Lock File | public_html/.maintenance (Hidden dotfile) |
|---|---|
| Fastest Fix | cPanel > WP Toolkit > Toggle Maintenance Mode OFF |
| File Manager Fix | Show Hidden Files > Delete .maintenance |
Steps
- Method 1: 1-Click Fix via WP Toolkit (Recommended):
- In cPanel, click WordPress Toolkit.
- Locate your site card. Look for the Maintenance mode toggle switch.
- Toggle it OFF. WP Toolkit immediately removes the lock and restores site availability.
- Method 2: Delete .maintenance in File Manager:
- Open File Manager in cPanel.
- Click the Settings button in the top right > ensure Show Hidden Files (dotfiles) is checked > Save.
- Open
public_html. Locate the file named.maintenance. - Right-click
.maintenanceand select Delete.
Troubleshooting and tips
- Site Sticking in Maintenance Mode Again: If you retry updating a plugin and it gets stuck again, the server timed out while downloading the ZIP from WordPress.org. Increase
max_execution_timeto300in cPanel PHP Selector Options.
Need more help? If you run into an error while following these steps, open a ticket with technical support and our team will look into it. Open a ticket