How can I install MATLAB or other MathWorks products on an offline machine?
Updated 30 Jun 2026
1,592 Views (30 days)
MathWorks Support Article #000044709
You are now following this question
- You will see updates in your followed content feed.
- You may receive emails, depending on your communication preferences.
An Error Occurred
Unable to complete the action because of changes made to the page. Reload the page to see its updated state.
MathWorks Solution
Install MathWorks Products on a Computer without an Internet Connection
You will need a computer which has an internet connection to obtain these items for the offline computer that you want to install MATLAB on:
- File Installation Key (FIK)
- License file
- Offline installation files
Prerequisites
Step 1. Download the Offline Installation Files on a computer with an unrestricted internet connection
"Offline Installation Files" refers to either the "ISO" which contains all products, or "Download-only" files which contain a specific subset of products.
Only License Administrators on licenses that are not Student nor Home licenses can download the ISO.
License End Users should use the MATLAB installer to obtain download-only files instead. Note that this will work for any End User with download privileges for R2020a and newer. Non-License Administrators, Student licenses, and any user on a Home licenses will not have this option for R2014a-R2019b.
- Download the installer from mathworks.com/downloads for the release you want.
- Run the installer, then sign in to your MathWorks Account and accept the license agreement.
- Using the Advanced Options dropdown menu, select “I want to download without installing”.


Concurrent and Network Named User licenses only:
Skip steps 2 and 3 below, the person(s) maintaining the Network License Manager must provide you with a license.dat/network.lic file and File Installation Key instead. See: Who is my License Administrator?
If you are a License Administrator and are looking for your File Installation Key, see:Where can I find the Activation Key and File Installation Key (FIK) for my license?
Step 2. Retrieve the Volume Serial Number/MAC Address and Login Name of the Offline Computer. Windows
- Open Windows Command Prompt. You can accomplish this by opening the Windows Start Menu, typing in "Command Prompt" and opening the first result.
- Enter vol c: and then press Enter on keyboard to get the Volume Serial Number.

- Enter echo %username% to get the computer login name.

macOS
- To get the MAC address, open Terminal and enter ifconfig en0 | grep ether.
- Enter whoami to get the computer login name.
Linux
- To get the MAC Address, open a Bash shell and enter ip addr | grep ether to obtain a MAC address.
- Enter whoami to get the computer login name.
Step 3. Activate the Offline Computer to retrieve the File Installation Key (FIK) and the License File.
Individual and Designated Computer licenses:
- Navigate to the License Center and login with your MathWorks account.
- Click the license number, then “Install and Activate”, then “Activate a Computer”.
- Paste the MAC address or Volume Serial Number from earlier in the “Host ID” field, then paste the username in the “Computer Login Name” field, and then click "Continue".
- Download the license.lic file and copy the File Installation Key somewhere you can access later.
Step 4. Transfer all 3 prerequisites to offline computer: Offline Installation Files, License File and FIK.
Install Procedure on the Offline/Destination Computer
If you are using the ISO, see: How do I install MathWorks products using an ISO or DMG image?
Step 1. Run the Installer from the Offline Installation files that you downloaded from Step 1. If you downloaded the ISO, run the installer from there. If you used the download-only option from the original installer, make sure that you run the newly created offline installer. This is typically located in your Downloads folder in a sub-folder called "MathWorks".
The installer file for the target platform is in the root of the offline installation files folder:
- Windows— setup.exe
- Linux—install
- macOS (Intel processor)—InstallForMacOSIntelProcessor
- macOS (Apple silicon) —InstallForMacOSAppleSilicon
- Select, "I have a File Installation Key". Note, you may already be in this workflow if opening the installer on an offline machine.
Step 3. Agree to the license agreement.
Step 4. Enter File Installation Key.
Step 5. Click “Browse” to select the License File.
Step 6. Select Destination Folder.
- Accept the default installation folder or click Browse to select a different one.
- The Product Selection list shows all the products associated with the File Installation Key you specified. Check the box next to each product you want to install.
- Windows — You can add shortcuts for MATLAB in the Start Menu and on the Desktop.
- Linux — You can choose to create a symbolic link to run MATLAB from any directory.
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Tags
No tags entered yet.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)