Written and maintained by CASRAI Editorial Board
Published
On this page
Stata runs on a Mac as a native macOS application: StataCorp states that Stata 19 runs natively on Macs with Apple silicon as a universal application, and the same universal application also runs natively on Intel Macs. To get it working you run the Mac installer, choose the version that matches your License and Activation Key, then enter the licence codes the first time you launch Stata. This guide follows the vendor’s own Mac installation and licence pages, then covers keeping the installation current with the update command and what to use if you have no licence yet.
What Stata on Mac is used for in research
Stata is a commercial statistical package used for data management, regression modelling and reproducible analysis scripts. Whether you search for Stata on Mac or Stata for Mac, you get the same product: StataCorp ships one Stata 19 universal application for Macs, not a separate cut-down Mac edition. What you do after installation is covered in the CASRAI guides on Stata code and do-files, structuring do-files for reproducible work and regression in Stata. This page covers only the Mac-specific part: getting the software installed, licensed and updated.
Stata on Mac with Apple silicon or an Intel processor
StataCorp’s FAQ on Apple silicon states: “Stata 19 will run natively on Macs with Apple Silicon as a universal application.” It also runs natively on Intel Macs, so you do not need to choose between an Apple silicon build and an Intel build when you download the Stata 19 installer. Before installing, the installer’s introduction screen tells you to read the Stata 19 requirements to confirm that your hardware and operating system are compatible; check that page for the macOS versions currently supported rather than relying on a figure copied into a third-party article.
Install Stata on a Mac from the official installer
Use the installer that StataCorp supplies with your purchase or that your institution provides. The steps below follow StataCorp’s Mac installation page (stata.com/install-guide/mac/installation, read 2026-11-14). You also need your License and Activation Key at hand, because the version you install must match it.
Step-by-step installation
- Launch the Stata installer. An introduction screen asks you to read the Stata 19 requirements to confirm that your hardware and system are compatible. Click Continue.
- Read the License Agreement. The installer lets you save or print it. Click Continue, then Agree.
- Choose the version to install. The version you select must match the version on your License and Activation Key. Click Continue.
- The next screen shows the install location and the disk space the installation needs. Click Install.
- Wait while Stata installs; the vendor says this may take a few minutes. Click Close when it finishes.
If the installer came from a disk image in your Downloads folder, macOS may ask whether to move the disk image (named Stata19.dmg or StataNow19.dmg) to the Trash. Choosing Keep retains the file, which is useful if you want to reinstall later without downloading again.
Set up the Stata licence on a Mac
Installation does not activate Stata. The first launch opens an Initialize License dialog, described on StataCorp’s Mac licence page (stata.com/install-guide/mac/license, read 2026-11-14). For the licence types themselves and what the Activation Key represents, see the CASRAI guide to the Stata licence, which also walks through the Windows steps; this section covers the Mac dialog.
- Launch Stata with your License and Activation Key handy.
- In the Initialize License dialog every field is required. Name and Organization must each be at least 5 characters.
- Enter the licence in one of two ways: choose Import new license codes… and select the
.stcodesfile you were given, or type the Serial Number, Code and Authorization by hand. StataCorp recommends copying and pasting them. The code and authorization are not case sensitive. - Click Next. Keep your License and Activation Key for future reference.
- A registration screen follows; you can click Next and register later.
- Choose the window layout, Sidebar or Widescreen, and click Finish.
Keep Stata current on a Mac
Official updates are separate from the installer. According to the Stata Reference Manual entry for update (stata.com/manuals/rupdate.pdf, read 2026-11-14), you can check for them from the menu with Help > Check for updates, or from the Command window.
Update commands
updatereports the update level of the installed Stata and the date updates were last checked.update querycompares the installed update level with the one available from the update source and displays a report. If updates are available it recommendsupdate all.update allupdates all necessary files; the manual calls it what you should type to check for and install updates. If Stata is up to date it does nothing.
These commands update the official components, meaning Stata as StataCorp originally shipped it. Additions published in the Stata Journal and other community-contributed packages are installed with net and updated with ado update.
Automatic update checks on Mac
On Mac and Windows (the manual states that only those two platforms support it), Stata can run update query automatically at launch. set update query on or off switches this behaviour. set update interval # sets the number of days between automatic checks; the default is 7, counted from the last time an update query ran, whether automatically or manually. set update prompt controls whether a dialog appears first, letting you update now, wait until the next launch, wait until the next interval, or disable automatic checks.
Output and how to read it
The first output that matters on a new Mac installation is the result of update query or plain update. Run it in the Command window after finishing the licence dialog: if it reports that nothing is newer than your installation, you are current; if it recommends update all, run that and follow the instructions.
The update commands also leave results in memory that scripts can read. update, update from and update query store dates for the executable, ado-files, utilities and documentation in r(): for example r(inst_exe) is the date of the installed executable and r(avbl_exe) the date of the one available over the web. Dates are stored as integers counting days since January 1, 1960, the standard Stata date format, so format them with a date display format before reading them. Plain update does not store the avbl dates, because it reports only on the local computer and does not check the web. The macros r(dir_exe), r(dir_ado), r(dir_utilities) and r(dir_docs) hold the folders where each component lives, which is handy for finding the PDF documentation on your Mac.
Troubleshooting Stata on Mac
The installer says the version does not match
The version you pick at the installer’s version screen must match the version on your License and Activation Key. Re-run the installer and select the version printed on the key rather than the newest one available.
The licence dialog rejects the codes
If you mistype a code, the dialog prompts you to retry. If it reports that the serial number, code and authorization are inconsistent, retry and check for look-alike characters: StataCorp specifically lists the letter o versus the digit 0 and the digit 1 versus the letter L. Importing the .stcodes file or pasting the codes avoids transcription errors. Also confirm the Name and Organization fields each have at least 5 characters, since the dialog requires them.
The disk image prompt appears
A request to move Stata19.dmg or StataNow19.dmg to the Trash is a normal installer step, not an error. Choose Keep if you want to retain the file.
An older Stata on a new Mac
The Apple silicon FAQ quoted above concerns Stata 19. For an earlier release, check StataCorp’s FAQ for that version before buying or upgrading hardware, because the native-universal statement applies to Stata 19.
Free alternatives to Stata on Mac
If you have no Stata licence, three free tools are common stand-ins. The data table below compares what each project’s own download page states about cost and macOS. The tools do not run Stata code, so a do-file would need to be rewritten; the CASRAI guide to the R programming language and the guide to JASP cover two of them in more depth.
Frequently asked questions
Does Stata run on Mac?
Yes. StataCorp states that Stata 19 runs natively on Macs with Apple silicon as a universal application, and natively on Intel Macs as well.
Is there a separate Stata for Mac download?
The Mac installer is the one StataCorp documents on its Mac installation page; you pick the version that matches your License and Activation Key during installation. Your institution may distribute the installer and codes itself.
How do I activate Stata on a Mac?
Launch Stata with your License and Activation Key. In the Initialize License dialog enter your name and organization (each at least 5 characters), then either import the .stcodes file or enter the serial number, code and authorization, and click Next.
How do I update Stata on a Mac?
Choose Help > Check for updates, or type update all in the Command window. update query only reports what is available.
How often does Stata check for updates?
When automatic checking is set on (available on Mac and Windows), the default interval is 7 days since the last update query.
Sources
- StataCorp, Mac installation guide: stata.com/install-guide/mac/installation (read 2026-11-14).
- StataCorp, Mac licence setup: stata.com/install-guide/mac/license (read 2026-11-14).
- StataCorp FAQ, Will Stata run on Macs with Apple silicon: stata.com/support/faqs/mac (read 2026-11-14).
- Stata Reference Manual, [R] update: stata.com/manuals/rupdate.pdf (read 2026-11-14).
- The R Project, R for macOS: cran.r-project.org/bin/macosx (read 2026-11-14).
- JASP download page: jasp-stats.org/download (read 2026-11-14).
- jamovi download page: jamovi.org/download.html (read 2026-11-14).
Data: Free statistical software with macOS downloads, compared against Stata on Mac
Compares three free statistical tools that can stand in for Stata on a Mac, using each project's own download page: R, JASP and jamovi. Each cell is taken from the project page read on 2026-11-14.
Period covered: 2026.
| Tool | Cost or licence stated on source page | macOS information stated on source page |
|---|---|---|
| R | No licence stated on the macOS page | Separate installers for Apple silicon (arm64) and Intel (x86_64) Macs |
| JASP | Free; licensed under GNU AGPL v3 | macOS Sequoia 15 or later on Apple Silicon or Intel; separate downloads for each chip |
| jamovi | Free and open source | Desktop version runs on your machine; macOS not named on the download page |
Sources
- R for macOS (accessed 2026-11-14)
- JASP download (accessed 2026-11-14)
- jamovi download (accessed 2026-11-14)
Compiled by CASRAI from the sources above. Free to reuse under CC BY 4.0 with attribution.







