How to disable an extension for Magento 2

Need to temporarily disable a module for troubleshooting, or permanently remove it from your store? This guide covers both the CLI method (recommended) and the alternative approach through the admin panel. Disabling is non-destructive - your configuration and data remain intact.

Quick Method (CLI)

Run this command from your Magento root directory:

bin/magento module:disable Vendor_ModuleName
bin/magento setup:upgrade
bin/magento cache:flush

Example - Disabling Google Shopping:

bin/magento module:disable Magmodules_GoogleShopping
bin/magento setup:upgrade
bin/magento cache:flush

Finding the Module Name

Not sure of the exact module name? List all modules:

bin/magento module:status

This shows enabled and disabled modules. Module names follow the Vendor_ModuleName format.

To find Magmodules extensions specifically:

bin/magento module:status | grep Magmodules

Re-enabling a Module

To enable a previously disabled module:

bin/magento module:enable Vendor_ModuleName
bin/magento setup:upgrade
bin/magento cache:flush

Alternative: Admin Panel

If you prefer a graphical interface:

  1. Go to System → Web Setup Wizard → Component Manager
  2. Find the module in the list
  3. Click the dropdown and select Disable
  4. Follow the wizard steps

Note: The Web Setup Wizard requires specific server permissions and isn't available on all hosting environments. The CLI method works everywhere.

Complete Removal

To fully remove a module (not just disable):

bin/magento module:disable Vendor_ModuleName
composer remove vendor/package-name
bin/magento setup:upgrade
bin/magento cache:flush

Find the composer package name in the module's composer.json or run composer show | grep modulename.

Troubleshooting

"Module does not exist" Check the exact module name with bin/magento module:status. Names are case-sensitive.

Deployment mode errors In production mode, you may need to run bin/magento setup:di:compile and bin/magento setup:static-content:deploy after disabling modules.

Database errors after disable Run bin/magento setup:upgrade to ensure database schema is updated.

Need More Help?

Documentation:

Support:

Article Updated:
star star star star star
star star star star star
Alexandru-Manuel Carabus
Magmodules sets the bar for Magento module quality and support—we check their catalog first for client feature requests, and they’re our first choice for licenses.
Google 11 Nov 2025
star star star star star
star star star star star
Matt Austin
Possibly the fastest support response times of any Magento Extension vendor. Great extensions too!
Google 09 Sep 2025
star star star star star
star star star star star
Jan Privé
Dankzij de heldere uitleg en snelle reactie van Magmodules kon mijn vraag, en dus mijn Magento-probleem, binnen enkele uren worden beantwoord. Doeltreffend, zonder moeilijke termen, gewoon zo als het zou moeten zijn.... Bedankt!
Google 05 Sep 2025
star star star star star
star star star star star
Denis Metzler
To evaluate a provider, it is not enough to consider only the product offered, but also its after-sales service, such as support and troubleshooting. Magmodules has been extremely satisfactory at all levels on multiple occasions and sets the bar at the top when comparing the competition.
Google 02 Sep 2025
star star star star star
star star star star star
Bleijenberg winkelinrichting en materialen
Goed bereikbaar, reageren snel en denken oplossingsgericht. Een aanrader.
Google 30 Jul 2025
star star star star star
star star star star star
Patrick Verduijn
Magmodules biedt plugins aan die van hoge kwaliteit zijn tegen een goede prijs, waar dit bedrijf in uitblinkt is de bereidheid om de zeldzame feedback & problemen met de plugins te willen onderzoeken, mee te willen denken in het debuggen van problemen en goede oplossingen toe te passen. In mijn decennium ervaring met Magento & 3th parties is Magmodules absoluut een uniqum binnen de markt.
Google 25 Jul 2025
star star star star star
star star star star star
Erik de Groot
Magemodules heeft hele sterke Magento extensies en een proactieve support. Al jaren heel erg tevreden over jullie service en producten!
Google 18 Jul 2025
star star star star star
star star star star star
René Zeuner
We are using the Mollie Magento extension from Magmodules. It works excellently without flaws. Very fast, competent and friendly support. Thanks!
Google 30 Jun 2025
star star star star star
star star star star star
R. U.
Erg goed team, reageren snel en duidelijk en hebben met toegang tot onze database erg goed geholpen (eigenlijk een gratis customization).
Google 18 Jun 2025
star star star star star
star star star star star
Hugo de Groot
Uitstekende support! Wij gebruiken o.a. de Rich Snippets Suite extensie voor onze Magento 2 webshop (Hyvä) en hadden een specifieke vraag over structured data op PLP-pagina’s. Binnen no-time kregen we een inhoudelijk en duidelijk antwoord. Zeer prettig contact en goed onderbouwde uitleg. Absoluut een betrouwbare partner voor Magento-extensies!
Google 13 Jun 2025