Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Unused Modules

Security covered Under active development 2,401 sites

This module helps you identify and remove unused Drupal projects from your website. It lists projects where all contained modules are disabled, allowing you to safely uninstall and delete them to clean up your codebase and improve performance.

Over time your website gets unwieldy so it needs cleaning up.
Though it's simple to find what modules are enabled/disabled, it's rather difficult to find out if this is true for a project.

This is a helper / development module that lists unused modules / projects that can be safely deleted.
This makes your repository cleaner and your website faster.

Naming / nomenclature

  • Project: a project that has its own namespace and can be downloaded from Drupal.org. Say "Views".
  • Module: a project can contain multiple modules. Say "views" and "views_ui".

Examples

  • Module "views_ui" is disabled and module "views" is enabled. The project "views" is not safe to delete.
  • Module "admin_menu" is disabled and module "admin_menu_toolbar" is also disabled. The project "admin_menu" is safe to delete.

Notes / caveats

  • Core modules are not listed, never delete them!
  • If a module occurs multiple times it is listed only once and always in the most specific location. This is because the method to track modules is a Drupal function that returns modules that can be enabled. That function favours specific (/sites/your-site) over generic (/sites/all). See https://www.drupal.org/node/176046 .
  • Always make a full backup of your database and codebase before deleting modules!
  • Always uninstall modules before deleting them.
  • Double / triple check results!!!

Usage

  • Drupal admin ui: /admin/config/development/unused_modules/projects/disabled
  • Drush: $ drush unused-modules
  • (Drupal 7 only) Site-audit: $ drush audit-extensions

See README for detailed instructions.

Sorry, its a heavy page load.

Drupal 8–11

Ask your assistant about Unused Modules

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
3
Tracked since
Feb 2023
Latest release
8 months ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Active

Release Timeline

Releases

Version Type Core PHP Release date
8.x-1.6 Stable 8–11 Feb 10, 2026
8.x-1.5 Stable 8–10 Feb 4, 2023
8.x-1.4 Stable 8–10 Feb 1, 2023