You've waited patiently while downloading a new macOS update, watched the progress bar crawl across the screen during the installation restart, and then — nothing. Your Mac reboots and shows a stark message on a gray or dark screen: "macOS could not be installed on your computer."
This is one of macOS's most disheartening errors. It occurs at the worst possible moment — right during an OS upgrade — and it can leave your Mac in an unbootable limbo if not handled correctly. But despite its alarming appearance, this error almost always has a fixable cause.
In this guide, we'll systematically walk through the most common causes and their solutions, from simple date fixes to full macOS recovery reinstallations.
Common Causes of This Installation Error
The "macOS could not be installed" error can stem from several very different root causes:
- Wrong System Date/Time: macOS installers validate themselves using certificate expiry dates. If your Mac's clock is wildly wrong, the installer will believe its own certificate has expired and refuse to run.
- Insufficient Disk Space: macOS upgrades need a substantial amount of free space (typically 12–20 GB) during installation. If your drive is too full, the installer will fail partway through.
- Corrupted Installer Download: The downloaded macOS installer file itself may be corrupt, either from a network interruption or a storage issue.
- Drive Errors: The file system on your startup drive has directory corruption that prevents the installer from writing new system files.
- Incompatible Mac Model: You are attempting to install a version of macOS that does not support your specific Mac hardware generation.
Step 1: Set the Correct Date and Time via Terminal
This is the most common fix — and the most surprising. macOS installation certificates have expiry dates, and if your Mac's internal clock is way off, the installer rejects itself as expired.
You can access Terminal even during the installation failure by using macOS Recovery:
- On Apple Silicon Macs: Shut down, hold the Power button until "Loading startup options" appears, then click Options > Continue to enter Recovery.
- On Intel Macs: Restart and hold Command + R until the Apple logo appears.
- In Recovery Mode, click Utilities in the top menu bar and select Terminal.
- In Terminal, type
dateand press Return to see the current system date. - If the date is wrong, set it manually using this format:
date MMDDHHMMYYYY. For example, to set September 1, 2026, at 12:00 PM:date 090112002026 - Close Terminal and retry the macOS installation from Recovery.
Step 2: Free Up Disk Space
Before retrying the installation, ensure you have enough free space on your startup drive. Aim for at least 20 GB of free space during an upgrade.
- If you can boot macOS normally (even in a degraded state), click the Apple menu > About This Mac > Storage to see how much free space you have.
- Delete large files, empty the Trash, and offload old files to an external drive or iCloud Drive.
- Use the built-in storage management tool: Apple menu > System Settings > General > Storage. Click "Recommendations" to remove old iOS backups, reduce cloud storage usage, and identify large files.
Step 3: Run Disk Utility First Aid
File-system errors on your startup volume can prevent the installer from writing files correctly. Running First Aid from Recovery Mode checks and repairs these errors.
- Boot into macOS Recovery (see Step 1).
- From the Recovery utilities window, select Disk Utility.
- In Disk Utility's sidebar, click on Macintosh HD.
- Click First Aid then Run.
- After it completes, also run First Aid on Macintosh HD - Data if it appears as a separate volume.
- Quit Disk Utility and retry the macOS installation.
Step 4: Delete the Downloaded Installer and Re-download
If the installer itself is corrupt, no amount of disk repair will fix it. You need a fresh copy.
- Boot your Mac normally.
- Open Finder > Applications and locate the macOS installer (e.g., "Install macOS Sonoma").
- Drag it to the Trash and empty the Trash.
- Open the Mac App Store, search for your macOS version, and click Download to get a fresh copy.
- Once the download completes, run the installer again.
Step 5: Reinstall macOS from Recovery Mode
If you cannot boot your Mac at all, or if deleting and redownloading the installer didn't work, use macOS Recovery to perform a fresh reinstall directly from Apple's servers.
- Boot into Recovery Mode (see Step 1).
- From the Recovery utilities window, select Reinstall macOS (the option name will reflect the specific version).
- Click Continue and follow the on-screen prompts.
- Ensure your Mac is connected to a reliable Wi-Fi or Ethernet connection, as this downloads macOS directly from Apple.
A Recovery reinstall replaces only the core system files, leaving your personal documents, apps, and settings intact.
Conclusion
The "macOS could not be installed" error is frightening but rarely permanent. By fixing your system clock in Recovery Terminal, ensuring adequate free disk space, running First Aid, and re-downloading a clean installer, you can almost always get the upgrade to complete successfully. Keep a Time Machine backup active before every major macOS upgrade to ensure you have a safety net if things go wrong.


