Main Content

Deactivate Your Installation

Deactivating an installation renders MathWorks® software unusable on a particular computer. Deactivation can be a useful way to manage usage of the software on multiple computers. For example, if you want to install and activate the software on a new computer, and you have already performed all the activations allowed by your license, you can deactivate one of your existing installations to enable activation on the new computer.

The deactivation process has two parts: the license must be deactivated on your computer and must also be deactivated in MathWorks systems. If you have Internet connectivity, the MathWorks deactivation application can take care of both parts of the process. If you do not have Internet connectivity, the deactivation application disables the software on your computer and gives you a deactivation string. To complete the deactivation process, go to the MathWorks website, log in to your account, and deactivate using the deactivation string. When you deactivate a license, you deactivate all the installations of that license on a particular computer.


Deactivating a license and removing the software are separate activities. You can deactivate a license without removing the software from your computer. For information about removing an installation, see Uninstall MathWorks Products.

To deactivate a license on your computer:

  1. Start the deactivation application using any of the following methods.

    • Choose to start deactivation after running the uninstaller.

    • Choose to start deactivation after a validation check that finds the installation is inactive.

    • Choose the deactivate option from the Help > Licensing menu in the MATLAB® desktop.

    • On computers running Windows® 10, go to MATLAB R2022a and open the folder. Right-click on MATLAB inside the folder, and select Deactivate.

    • On computers running Windows 7, click the Start menu and select MATLAB. The deactivation application should appear on the list.

    • On all platforms, navigate to the MATLAB installation folder and start the deactivation application executable.

      Windows Systems

      Linux® Systems:

      macOS Systems:

  2. Select the license that you want to deactivate and click Deactivate.

    When the deactivation application starts, it displays the licenses you currently have installed and activated on your computer. If you start the application from within MATLAB, the license you are using is preselected.

  3. Confirm deactivation. Click Yes and the deactivation application attempts to contact MathWorks.

  4. Complete deactivation. Click OK.

    If the deactivation application can deactivate the license on your computer and at MathWorks, it displays the Deactivation Complete dialog box. Click OK to return to the MathWorks Software Deactivation dialog box, where you can choose to deactivate other licenses.

    If the deactivation application can deactivate the license on your computer but not in MathWorks systems, it displays the Deactivation Next Steps dialog box. This dialog box contains the deactivation string. To complete deactivation, go to the MathWorks website and log in to your account. In the License Center, deactivate the license using the deactivation string. Click OK to return to the MathWorks Software Deactivation dialog box.

  5. After you deactivate a license, the MathWorks Software Deactivation dialog box displays an additional column listing the status of the licenses. To deactivate another license, select it from the list and click Deactivate. If you are finished, click Close to exit the deactivation application.

The software is now deactivated on this computer.

Related Topics