Installing macOS from a USB drive is a powerful technique that offers several advantages. It’s invaluable for performing clean installations, troubleshooting persistent issues, upgrading older Macs, or even installing macOS on unsupported hardware (though this comes with significant caveats). This guide will walk you through the process, breaking it down into manageable steps, ensuring you can confidently prepare and execute a macOS USB installer.
Why Use a USB Installer?
While macOS offers straightforward in-built upgrade paths, a USB installer provides a more robust and flexible solution for various scenarios.
Clean Installations
The most common reason for creating a bootable USB is to perform a clean installation of macOS. This means completely erasing the drive and starting fresh. A clean install can resolve deep-seated software conflicts, remove accumulated digital clutter, and often lead to a noticeably snappier system performance. It’s the equivalent of a factory reset for your Mac, but with the advantage of installing the latest stable version of macOS.

Troubleshooting and Recovery
When your Mac encounters severe issues that prevent it from booting normally, a USB installer can be a lifesaver. You can boot into the macOS Utilities environment from the USB to access disk repair tools, reinstall macOS without erasing your data (if possible), or even use Migration Assistant to restore your system from a Time Machine backup.
Upgrading Multiple Macs
If you manage several Macs, a USB installer streamlines the upgrade process. Instead of downloading the installer repeatedly for each machine, you can create one installer and use it to upgrade all your devices efficiently. This is particularly useful for IT administrators or users with multiple personal Macs.
Installing on New Hardware
When you purchase a new Mac with no operating system pre-installed, or if you’ve replaced the internal drive, a USB installer is the primary method for setting up macOS.
Advanced Use Cases
For users who enjoy experimenting with macOS, a USB installer can be used to install macOS on external drives or, with considerable technical expertise and potential compatibility issues, on non-Apple hardware (Hackintosh). However, this guide focuses on official Apple hardware.
Preparing Your USB Drive and macOS Installer
Before you can create a bootable USB, you need to gather your tools: a USB flash drive and the macOS installer itself.
Selecting the Right USB Drive
- Capacity: You’ll need a USB flash drive with a minimum capacity of 16GB. While some older macOS versions might fit on 8GB drives, it’s always safer to opt for 16GB or larger to ensure compatibility with current macOS versions and potential future updates.
- Speed: A USB 3.0 or newer drive will significantly speed up the creation process and the installation itself. While a USB 2.0 drive will work, expect much longer wait times.
- Formatting: The USB drive will be erased during the process, so ensure it does not contain any important data.
Obtaining the macOS Installer
The method for obtaining the macOS installer varies slightly depending on the version you need.
For Latest macOS Versions (e.g., Ventura, Sonoma)
- Open the App Store: Launch the App Store application on a Mac that is already running macOS.
- Search for macOS: Search for the latest macOS version (e.g., “macOS Sonoma”).
- Download: Click the “Get” or “Download” button. The installer application will download to your Applications folder and typically launch automatically upon completion. Do not proceed with the installation; simply close the installer window. The installer application (e.g., “Install macOS Sonoma.app”) is what you need.
For Older macOS Versions
If you need an older version of macOS (e.g., Monterey, Big Sur, Catalina), the process is a bit more involved as Apple gradually removes older versions from the App Store.
- Use a Mac with an Older OS: If you have a Mac running an older macOS version, you might still be able to find it in the App Store.
- Apple Support Downloads: Apple provides direct download links for some older macOS versions on their support website. Search for “How to download macOS” on Apple’s support site, and you’ll find articles with links for various versions. You might need to open these links in Safari.
- Search for Specific Installers: For less common older versions, you may need to search online for the specific installer application name (e.g., “Download macOS Catalina installer.app”) and find reliable sources, often Apple’s own support documents or reputable tech forums. Ensure you download from trusted sources to avoid malware.
Once downloaded, ensure the installer application (e.g., “Install macOS Ventura.app”) is located in your /Applications folder. If it’s not, move it there.
Creating the Bootable USB Installer
This is the core of the process, where you’ll use a command-line tool to copy the installer onto your USB drive.
Using Terminal and createinstallmedia
Apple provides a command-line utility called createinstallmedia within the macOS installer application itself. This is the official and most reliable method.
Step 1: Connect and Identify Your USB Drive
- Insert your USB flash drive into your Mac.
- Open Disk Utility (Applications > Utilities > Disk Utility).
- In the sidebar, locate your USB drive. Note its exact name. It’s crucial to identify it correctly, as you will be formatting it. It might appear as “Untitled,” “USB Flash Drive,” or the brand name. Avoid selecting any partitions if they are listed separately; select the main drive itself.
- Click the “Erase” button.
- Set the Format to Mac OS Extended (Journaled).
- Set the Scheme to GUID Partition Map.
- Give it a simple name, for example,
MyVolume. - Click “Erase” and confirm. Once done, close Disk Utility.

Step 2: Open Terminal
Launch Terminal (Applications > Utilities > Terminal).
Step 3: Construct the createinstallmedia Command
The command structure is as follows:
sudo /Applications/Install macOS [Version Name].app/Contents/Resources/createinstallmedia --volume /Volumes/[Your USB Volume Name]
Let’s break this down:
sudo: This command runs the following command with administrator privileges, which is necessary for modifying the USB drive. You will be prompted for your administrator password./Applications/Install macOS [Version Name].app/Contents/Resources/createinstallmedia: This is the path to thecreateinstallmediatool.- Replace
[Version Name]with the actual name of your macOS installer application. For example, for macOS Ventura, it would beInstall macOS Ventura.app. For macOS Sonoma, it would beInstall macOS Sonoma.app.
- Replace
--volume: This flag specifies the target volume (your USB drive)./Volumes/[Your USB Volume Name]: This is the path to your USB drive. Replace[Your USB Volume Name]with the name you gave your USB drive in Disk Utility (e.g.,MyVolume).
Example for macOS Ventura:
If your installer is named Install macOS Ventura.app and your USB drive is named MyVolume, the command would be:
sudo /Applications/Install macOS Ventura.app/Contents/Resources/createinstallmedia --volume /Volumes/MyVolume
Step 4: Execute the Command
- Drag and Drop (Optional but Recommended): To avoid typing the full path to the installer, you can drag the
Install macOS [Version].appicon from your Applications folder directly into the Terminal window after typingsudo /. Terminal will automatically fill in the correct path. - Type the
--volumepart: Manually type--volume /Volumes/followed by the name of your USB drive. - Press Enter: Hit the Enter key.
- Enter Password: You will be prompted for your administrator password. Type it in and press Enter. Note that your typing will not appear on screen for security reasons.
- Confirm Erase: Terminal will warn you that the volume will be erased. Type
Yand press Enter to confirm.
Step 5: Wait for the Process to Complete
Terminal will now begin erasing the USB drive and copying the installer files. This process can take a significant amount of time, often 30 minutes to over an hour, depending on the speed of your USB drive and Mac. You will see progress indicators in Terminal, such as “Erasing disk,” “Copying files,” and finally, “Install media now available at /Volumes/Install macOS [Version].”
Once you see the “Install media now available” message, the process is complete. You can now close Terminal. Your USB drive should now be named something like “Install macOS [Version]” and be bootable.
Booting from the USB Installer and Installing macOS
With your bootable USB drive ready, you can now use it to install macOS.
Accessing the Startup Manager
- Shut Down Your Mac: Ensure your Mac is completely shut down.
- Connect the USB Drive: Plug your bootable macOS USB installer into a USB port on your Mac.
- Power On and Hold Option Key: Turn on your Mac and immediately press and hold the Option (⌥) key. Keep holding it down until you see the Startup Manager screen.
- Select the Installer: On the Startup Manager screen, you will see icons for all available bootable drives. Select your USB installer (it will likely be named “Install macOS [Version]”) and press Enter or click the arrow.
Using macOS Utilities
Your Mac will now boot from the USB drive. This may take longer than usual. You will be presented with the macOS Utilities window.
Erasing the Hard Drive (for a Clean Install)
If you are performing a clean installation, you’ll need to erase your Mac’s internal hard drive.
- Open Disk Utility: In the macOS Utilities window, select “Disk Utility” and click “Continue.”
- Select Your Internal Drive: In Disk Utility, select your Mac’s internal hard drive (usually named “Macintosh HD” or similar) from the sidebar. You might need to select the top-level drive, not just a volume within it. If you don’t see it, go to View > Show All Devices.
- Erase: Click the “Erase” button.
- Format and Scheme:
- Name: Give it a name (e.g.,
Macintosh HD). - Format: Choose APFS for newer Macs (generally Macs from 2017 onwards) or Mac OS Extended (Journaled) for older Macs. If unsure, APFS is usually the default for modern installations.
- Scheme: Select GUID Partition Map.
- Name: Give it a name (e.g.,
- Confirm Erase: Click “Erase” and confirm. Once done, close Disk Utility.
Installing macOS
- Return to macOS Utilities: Back in the main macOS Utilities window, select “Install macOS” (or the specific name of the installer, e.g., “Install macOS Sonoma”) and click “Continue.”
- Follow On-Screen Prompts: The installer will guide you through the process.
- Agree to License Terms: Accept the software license agreement.
- Select Destination Disk: Choose the internal drive you just erased (e.g.,
Macintosh HD) as the destination for the installation. - Begin Installation: Click “Install.”
The installation process will begin. Your Mac will restart several times. Do not turn off your Mac or remove the USB drive during the installation. The time taken can vary greatly, from 30 minutes to over two hours, depending on your Mac’s specifications and the macOS version.
Initial Setup
Once the installation is complete, your Mac will boot into the setup assistant. Follow the on-screen prompts to:
- Select your country and language.
- Connect to a Wi-Fi network.
- Migrate your data from a Time Machine backup or another Mac (optional).
- Sign in with your Apple ID.
- Create a user account.
- Configure privacy settings.
Your Mac is now running a fresh installation of macOS from your USB installer.

Conclusion
Creating and using a bootable macOS USB installer is a valuable skill for any Mac user. It empowers you to perform clean installations, effectively troubleshoot system issues, and manage macOS updates across multiple machines with greater ease and flexibility. By following these steps, you can ensure a smooth and successful installation process, bringing your Mac back to optimal performance or setting up a new system with confidence.
