For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt, and this page is available as Markdown at /cpanel/backup_and_storage/how_to_free_up_disk_space_in_cpanel.md.

How to Free Up Disk Space in cPanel

If you receive a disk usage warning in cPanel, your account may be approaching its allocated storage limit. This guide explains how to identify what is consuming disk space and safely free up storage.

Check Disk Usage in cPanel

Log in to cPanel

Log in to your cPanel account.

Open Disk Usage

In the right-hand sidebar, locate Statistics and click Disk Usage.

Review the breakdown

This section shows disk usage by directory and helps you identify which folders are consuming the most space.

Identify Large Directories

Common sources of high disk usage include:

  • Email data
  • Website files under public_html
  • Cache files generated by website plugins
  • Backup files

For WordPress websites, a significant amount of space may be used by:

  • wp-content
  • wp-content/cache
Note

Cache directories can grow significantly over time depending on the website and caching configuration.

Once you know what is using the space, use the sections below that apply to your account.

Clear Website Cache Files

Open File Manager and navigate to your website's main directory. Locate cache directories created by caching plugins and remove unnecessary cache files.

Warning

Only delete cache files when you are sure they are generated by a caching system. If you are unsure, check with your website developer before deleting files or directories.

Remove Old Backup Files

Backup files can consume a significant amount of disk space. Look for old or unused files with extensions such as:

  • .zip
  • .tar
  • .tar.gz

These files may be stored in the account's home directory or inside website directories. Delete old backups that are no longer required.

Warning

Make sure you have another valid copy of any backup before deleting it.

Free Up Email Storage

Email data is another common source of high disk usage. Log in to Webmail and remove unnecessary messages from:

  • Inbox
  • Sent
  • Spam
  • Trash

You can also remove emails with large attachments when they are no longer required. Make sure to empty the Trash folder after deleting emails.

Remove Unused Files and Folders

Review your account and remove files and directories that are no longer required, such as:

  • Old or unused website directories
  • Test or staging websites
  • Unused themes and plugins
  • Other unnecessary files
Warning

Do not delete files or directories unless you are sure they are no longer required by your website or applications.

Empty the File Manager Trash

Files moved to the File Manager Trash continue to consume disk space until the Trash is emptied. Open File Manager and empty the Trash to permanently remove the deleted files.

Recheck Disk Usage

After completing the cleanup, return to Disk Usage in cPanel and check whether the disk usage has decreased.

Note

Disk usage may take some time to update after deleting large amounts of data.

If More Space Is Required

If your disk usage remains high after cleanup, you can consider:

  • Upgrading to a higher hosting plan
  • Adding additional disk storage to your current plan

If you need assistance, you can open a Support Ticket, and our support team can help you identify the cause of high disk usage.