Fix Terminal.app Crashing or Not Opening on macOS

GeneralFix Terminal.app Crashing or Not Opening on macOS

What Causes This Issue

Terminal.app failures on macOS typically stem from corrupted preference files, broken shell configurations, or system permission errors. Users in the Apple Support Community report this problem across macOS Sonoma and Sequoia, often after system updates or third-party shell installations. The Terminal.app binary itself rarely breaks; instead, launch daemons, plist files, or shell initialization scripts trigger crashes on startup.

Common triggers include a malformed .zshrc or .bash_profile, a damaged com.apple.Terminal.plist, or Full Disk Access restrictions blocking the app from reading required directories. In some cases, a stuck WindowServer session or corrupted saved window state prevents the main window from rendering.

Step-by-Step Fixes

  1. Delete the Terminal preference file — This is the most reliable fix reported by users in the Apple Support Community. Close Terminal, open Finder, press Command+Shift+G, paste ~/Library/Preferences/, locate com.apple.Terminal.plist, move it to Trash, then relaunch Terminal. A fresh plist regenerates with defaults.
  2. Clear saved window state — If Terminal opens but shows no window or freezes, the saved state may be corrupt. In Finder, go to ~/Library/Saved Application State/, find com.apple.Terminal.savedState/, delete the folder, then restart Terminal.
  3. Verify shell configuration files — A syntax error in .zshrc, .zprofile, or .bash_profile crashes the shell on launch. Boot into Safe Mode (hold Shift at startup), open Terminal, and rename suspect files: mv ~/.zshrc ~/.zshrc.bak. Test launch. If fixed, edit the backup to isolate the bad line.
  4. Grant Full Disk Access to Terminal — Open System Settings → Privacy & Security → Full Disk Access. Ensure Terminal.app is listed and enabled. If missing, click the + button, press Command+Shift+G, navigate to /System/Applications/Utilities/Terminal.app, and add it.
  5. Reset Terminal to factory defaults via command line — If you can open a shell via another method (SSH, another terminal emulator), run: defaults delete com.apple.Terminal then killall cfprefsd. This wipes all custom profiles, window groups, and keyboard mappings.
  6. Reinstall Terminal using macOS Recovery — As a last resort before reinstalling macOS, boot into macOS Recovery (hold Command+R on Intel, hold Power on Apple Silicon), open Terminal from the Utilities menu, and run: csrutil disable (if SIP blocks), then copy a clean Terminal.app from the recovery image to /System/Applications/Utilities/. Re-enable SIP after.

Additional Solutions

Create a new user account — Test if the issue is user-specific. In System Settings → Users & Groups, add a test account, log in, and launch Terminal. If it works, the problem lives in your user library.

Check for third-party kernel extensions — Some security tools or virtualization software install kexts that interfere with pseudo-terminal allocation. Run kextstat | grep -v com.apple in a working shell to list non-Apple kexts. Uninstall suspect vendors.

Repair disk permissions via Disk Utility — While modern macOS manages permissions automatically, First Aid on the startup volume can resolve underlying filesystem inconsistencies affecting app launches.

Disable WindowServer hardware acceleration — Some users in the Apple Support Community found that toggling defaults write com.apple.WindowServer CWMetalForceNoAccel -bool true and rebooting resolved blank Terminal windows on certain GPU configurations.

Use an alternative terminal temporarily — Install iTerm2, Alacritty, or WezTerm via Homebrew (brew install --cask iterm2) to maintain workflow while troubleshooting the native app.

When to Contact Apple Support

Open a support case if:

  • Terminal fails on a brand-new user account with default settings
  • Console.app shows repeated com.apple.Terminal crash logs citing dyld or libsystem errors
  • The app bundle at /System/Applications/Utilities/Terminal.app shows modified timestamps or missing Info.plist
  • Multiple system utilities (Activity Monitor, Console, Disk Utility) also fail to launch

Bring the system diagnostics (run sudo sysdiagnose in a working shell) and any crash reports from ~/Library/Logs/DiagnosticReports/.

FAQ

Why does Terminal open then immediately close?
This almost always indicates a shell startup script error. The app launches, spawns your login shell, the shell hits a syntax error or failed command in .zshrc, exits, and Terminal closes the window. Fix the script or rename it as described in step 3.

Can I fix this without losing my custom profiles?
Yes. Before deleting com.apple.Terminal.plist, export your profiles: Terminal → Settings → Profiles → gear icon → Export Profiles. Save the .terminal file, then re-import after the reset.

Does reinstalling macOS fix Terminal?
A clean install resolves it, but an in-place upgrade (reinstalling macOS from Recovery without erasing) often repairs system binaries and permissions while preserving data. Try that first.

Is this related to the WorldTUI project discussed online?
No. WorldTUI is an independent terminal UI library. The issue here affects Apple’s native Terminal.app and is unrelated to third-party terminal emulators or AI-trained terminal models.

Why do my Terminal tabs show “Process completed” and won’t run commands?
The shell exited immediately. Check Settings → Profiles → Shell → Startup → Run command — ensure it’s set to /bin/zsh (or your preferred shell) and Run inside shell is unchecked unless intentional.

Neil S
Neil S
Neil is a highly qualified Technical Writer with an M.Sc(IT) degree and an impressive range of IT and Support certifications including MCSE, CCNA, ACA(Adobe Certified Associates), and PG Dip (IT). With over 10 years of hands-on experience as an IT support engineer across Windows, Mac, iOS, and Linux Server platforms, Neil possesses the expertise to create comprehensive and user-friendly documentation that simplifies complex technical concepts for a wide audience.
Watch & Subscribe Our YouTube Channel
YouTube Subscribe Button

Latest From Hawkdive

You May like these Related Articles

blog ai nhs patient care before ambulance arrival 20261116

AI Helps NHS Rethink Patient Care Before Ambulance Arrival

How artificial intelligence is transforming NHS patient care pathways before ambulances arrive on scene.
blog lovable app data exposure fix passport leak 20261115

Lovable App Data Exposure: Fix Passport Leaks & Secure Messages

Lovable apps leaking passport data and 200K+ messages. Step-by-step guide to secure your account, revoke access, and prevent future exposure on iOS and Mac.
blog mac not detecting egpu troubleshooting guide 20261114

Mac Not Detecting External GPU: Complete Troubleshooting Guide

Fix Mac eGPU detection issues with step-by-step solutions from Apple Support Community. Covers Thunderbolt, macOS settings, and hardware checks.
blog fix embroidery machine app subscription lockout ios 20261113

Fix Embroidery Machine App Subscription Lockout on iOS

Bypass mandatory subscription fees on Brother and Janome embroidery machine iOS apps. Step-by-step fixes from Apple Support Community users and developer workarounds.
blog apple issue not found perl paint splatters thread 20261112

No Apple Issue Found in Perl Paint Splatters Thread

The referenced Hacker News thread discusses a Perl programming joke, not an Apple Support issue. No troubleshooting guide can be generated.
blog protect ssh keys macos secure enclave 20261111

Protect SSH Keys with macOS Secure Enclave: Complete Setup Guide

Learn to store SSH private keys in macOS Secure Enclave for hardware-level protection. Step-by-step setup with troubleshooting for common failures.
blog apple pay canada rtr payment failures fix 20261110

Apple Pay Failing After Canada RTR Launch? Fix Payment Errors Now

Apple Pay not working since Canada's Real-Time Rail launch? Fix declined transactions, card verification errors, and bank connectivity issues with our step-by-step guide.
blog apple intelligence not working fix missing ai features 20261109

Apple Intelligence Not Working? Fix Missing AI Features on iPhone

Apple Intelligence features missing or not working on iPhone? Step-by-step fixes for unavailable Writing Tools, Image Playground, and Siri enhancements.
blog fix claude code password exposure github 20261108

Fix Claude Code Password Exposure in GitHub Repositories

Learn how to detect and remediate credentials exposed by Claude Code's Don't Ask Again feature across 1,122+ public GitHub files. Step-by-step security guide.
blog fix iphone battery drain after ios update 20261107

Fix iPhone Battery Drain After iOS Update: Complete Guide

Stop rapid battery drain after iOS update. Step-by-step fixes from Apple Support Community solutions and expert troubleshooting for iPhone.

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.