How do I activate MATLAB or other MathWorks products without an internet connection?

2,655 views (last 30 days)
How do I activate MATLAB and/or other MathWorks products on a computer that is not connected to the internet?

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 17 Aug 2022
Edited: MathWorks Support Team on 17 Aug 2022
To activate MATLAB and/or other MathWorks products on an offline machine, you must:
  1. Obtain your Host ID
  2. (Individual licenses only) Obtain your computer login name or username
  3. Activate the license through the License Center to obtain license file
  4. Use the activation client to activate MATLAB or other MathWorks products with the license file
Obtain your Host ID
To obtain your host ID, follow the article below:
What is a Host ID? How do I find my Host ID in order to activate my license?
(Individual Only) Obtain your computer login name or username
To obtain your computer login name or username, follow the instructions in this article:
How do I find my computer username in order to activate my license?
Activate the license through the License Center to obtain license file
  1. Go to the License Center:
  2. Under My Software, click the license number you want to activate. If you do not see your license number, in the bottom right hand corner, click View Additional Licenses or Trials
  3. Click the Install and Activate tab
  4. Click Activate to Retrieve License File or Activate a Computer.
  5. Enter the following information: the release you are activating, the operating system, the host ID, your user or login name, and the Activation Label.
  6. Download the license file 
Use the activation client to activate MATLAB or other MathWorks products with the license file
  1. Transfer over the license file.
  2. Run the activation client. You can find how to open up the activation client in the article below
    • How to activate MATLAB?
  4. Select "Activate manually without the internet"
  5. Select "Enter the full path to your license file, including the file name:" and browse to the license file.
  6. Hit Next, and then activation will be complete. Click Finish.
Christian Wagner
Christian Wagner on 19 Aug 2021
Everyone dealing with the "Unable to locate required installation files", after running the installer on your offline machine ("matlab_<<MatVersion>>_win64.exe, The smaller one you used to download the installation files).. copy everything it unzips into _temp_matlab_<<MatVersion>>_win64 into the big folder you downloaded. copy and replace. Then run the setup.exe inside the downloaded matlab folder.
I bet that is what they mean with saying "your installation files are not in the correct location" or whatever. Instead of making a proper guide you are linking us to the same thread over and over.... Every freeware out there offers better guides... hope you feel bad for your poor instructions!

Sign in to comment.

More Answers (16)

Nathan Goedeke
Nathan Goedeke on 4 Dec 2018
I solved the issue mentioned in the comments: DO NOT run the Matlab Activation Client
Matlab must have changed the activation client GUI but never bothered to update their FAQ.
After you complete steps 1-8 in the official answer, do the following additional steps:
  1. Copy the downloaded liscence file to the following directory (using Windows): C:\Program Files (x86)\MATLAB\{version}\licenses
  2. Delete any other liscence file already in that directory
Now you can start Matlab, and this time the activation client will not run. You do not, repeat, DO NOT need to run the activation client.

Sign in to comment.

Amy Meader
Amy Meader on 5 Nov 2016
I would seriously like customer service or help center or whomever to try and follow your own directions. I give up.
Frederic on 30 Jul 2022
Lol best customer service:
Customer: I would like support from customer service
Staff 2 years later: Are you still experiencing this issue?

Sign in to comment.

Zhiyuan Liu
Zhiyuan Liu on 19 Jan 2020
No offence, But I find a lot of pirate version of MATLAB installation guide much more easy to follow.
And they have a much higher successful rate!!
Although I have a license.

omar ElewA
omar ElewA on 9 Mar 2017
in the second step where is "my software" or where is "View additional Licenses or Trials" ?? you are telling things that are not exist I'm spending one hour for installing this program and no progress

Sign in to comment.

Thomas Vincent
Thomas Vincent on 15 Jan 2019
Edited: MathWorks Support Team on 19 May 2021
Note that the host ID for matlab 2008b (and most surely up to matlab 2013), is resolved from the MAC of eth0 (and no other) on linux.
Recent linux have different interface name instead of eth0.
It is not indicated, but you should reboot after reconfiguring grub at the end of the instructions.

yingrong luo
yingrong luo on 6 Sep 2019
For student in china,maybe you can try using VPN

ANA H on 11 Nov 2019
I can't install MATLAB following these ofline instructions.
I've got a license.lic. Where I have to put license.lic file? in _temp_matlab_R2019a_win64 folder?
After write my File Installation Key it shows next message:
'Using a File Installation Key requires you run the installer from a MATLAB DVD or from a directory which contains files previously downloaded via the installer.
To obtain the missing files, click Back on the previous screen and select Log in with a MathWorks Account or contact your MATLAB license administrator. '
What can I do?

Sign in to comment.

Eliza Roxana OPRESCU
Eliza Roxana OPRESCU on 16 Mar 2020
Why am I have to activate every time when I try to launch MATLAB and it never starts?
When i try to acces Matlab, it asked me to activate every time..after the activate module is complete the program never starts...
  1 Comment
Nathan Goedeke
Nathan Goedeke on 16 Mar 2020
Hey Eliza,
I had the same issue you did earlier, and my solution is one I posted earlier on this thread:
  1. Copy the downloaded liscence file to the installation folder, i.e. C:\Program Files (x86)\MATLAB\{version}\licenses
  2. Delete any existing liscence files already in that folder
This will prevent the activation client from popping up again.

Sign in to comment.

thank you

Ulziiburen Sergelen
Ulziiburen Sergelen on 3 Apr 2020
license checkout failed

Angela Pico
Angela Pico on 14 Apr 2020
porque no puedo abrir el programa de Matlab por el error -9
Que hago para solucionar
  1 Comment
Walter Roberson
Walter Roberson on 14 Apr 2020
If none of the answers above work for you, then you need to contact Mathworks for free installation assistance.

Sign in to comment.

Kimberly Andersen
Kimberly Andersen on 25 Jul 2020
Got it to work finally!! I'm trying to download 2009 Student (yes in 2020 lol) and these directions worked through downloading a license file (step 6). I wasn't given an option to activate my license without internet in the activation window so I wasn't able to do steps 7-10. I moved the downloaded license file from my download folder to C:\Program Files (x86)\MATLAB\R2009a Student\licenses and once I put it in the license folder I was able to start Matlab without going through the activation window, it just opened up! woohoo! Thanks!!

Medam Pavankumar
Medam Pavankumar on 13 Nov 2020
definitely connect to the internet connection
Klaus Meder
Klaus Meder on 19 Jun 2022
i had no license key an d forgot my passwort for the mathworks account( onlinecomes answer, passwort or e-mail is invalid the it of my university can not help me( now i have create a new account with my private e-mail, there now no problems but the licensekey do not workswhat can i do? reset my passwort for university-account is failed e-mail for create a new password comes not to my mail by university-account

Sign in to comment.

Heba Fathi
Heba Fathi on 19 Feb 2021

Ravi on 16 Sep 2022
Enter full path to your license file

Ruediger Bauernschmitt
Ruediger Bauernschmitt on 20 Sep 2022
I have done that several times now and I'm still confused everytime I have to do it again. Why is matlab support not able to write an easy to follow procedure for this activity which does not consist of many different links and redirections to other pages. It's a shame!


Find more on Install Products in Help Center and File Exchange


No tags entered yet.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!