Skip to content

How to Disable MSI in Magento 2

In Magento 2.4, the Multi Source Inventory (MSI) feature has become an integral part of the platform, and it is no longer possible to disable it through the admin interface directly. However, for users who wish to deactivate the MSI functionality and switch back to the default inventory management system, the following steps can be taken:

Step 1: Back Up Your Magento 2

It is crucial to initiate this process by creating a comprehensive backup of your Magento installation. This includes safeguarding both your database and files. Ensuring that you have a reliable restore point is vital, as it provides a safety net to fall back on if any unexpected issues occur during the MSI deactivation process.

Step 2: Disable Magento 2 MSI Modules

In order to disable the MSI feature, the next step involves turning off the MSI modules within your Magento setup. This can be done by establishing a secure SSH connection to your server, or alternatively, utilizing a command-line interface. Once connected, navigate to the Magento root directory and execute the following commands:

php bin/magento module:disable Magento_Inventory Magento_InventoryAdminUi Magento_InventoryApi Magento_InventoryBundleProduct Magento_InventoryBundleProductAdminUi Magento_InventoryCatalog Magento_InventorySales Magento_InventorySalesAdminUi Magento_InventoryConfigurableProduct Magento_InventoryConfigurableProductAdminUi Magento_InventoryConfigurableProductIndexer Magento_InventoryConfiguration Magento_InventoryDistanceBasedSourceSelection Magento_InventoryDistanceBasedSourceSelectionAdminUi Magento_InventoryElasticsearch Magento_InventoryExportStock Magento_InventoryIndexer Magento_InventoryLowQuantityNotification Magento_InventoryLowQuantityNotificationAdminUi Magento_InventoryMultiDimensionalIndexer Magento_InventoryProductAlert Magento_InventoryReservations Magento_InventoryReservationCli Magento_InventoryReservationsApi Magento_InventorySalesAdminUi Magento_InventorySalesApi Magento_InventoryShipping Magento_InventorySourceDeductionApi Magento_InventorySourceSelection Magento_InventorySourceSelectionApi Magento_InventoryShippingAdminUi Magento_InventorySourceDeduction Magento_InventorySourceSelection Magento_InventorySourceSelectionApi Magento_InventoryShippingAdminUi Magento_InventorySourceDeduction Magento_InventorySourceSelection Magento_InventorySourceSelectionApi

Step 3: Clean Cache and Reindex

After you’ve disabled the necessary modules, it’s time to clean your Magento cache and reindex the installation to ensure smooth operation. This can be done by running:

shCopy codephp bin/magento cache:clean
php bin/magento indexer:reindex

Step 4: Remove MSI-related Tables

To fully remove all traces of the MSI functionality, execute the following command to drop the MSI-related tables from your database:

shCopy codephp bin/magento setup:db-schema:uninstall --module-name=Magento_Inventory

Step 5: Recompile and Deploy

The final step involves recompiling your codebase and deploying the static content. This can be achieved with:

shCopy codephp bin/magento setup:di:compile
php bin/magento setup:static-content:deploy


You’ve just navigated through the comprehensive process of disabling the MSI feature in Magento 2.4. If at any point you encounter issues or uncertainties, please remember, assistance is just a message away.

While MSI provides robust capabilities for connecting multiple sources to your store and optimizing delivery efficiency through advanced algorithms, there are alternative solutions like Magento 2 Product Feed and Magento Mass Product Actions that can also significantly enhance your inventory management and contribute to your store’s success.