🛑 How to stop Ollama auto-launching on Mac — even when it’s NOT in Login Items
If Ollama keeps opening at login but doesn’t appear in System Preferences → Users & Groups → Login Items, here’s what’s really going on:
1️⃣ Ollama uses a hidden launch agent inside its app bundle:
/Applications/Ollama.app/Contents/Library/LaunchAgents/com.ollama.ollama.plist
2️⃣ You can see it listed with:
launchctl list | grep ollama
3️⃣ And after logging out/in, the Ollama icon still shows in the menu bar.
How to fix it
- Open Finder, go to Applications
- Right-click Ollama.app → Show Package Contents
- Navigate to Contents/Library/LaunchAgents/
- Find
com.ollama.ollama.plist
- Rename it to disable auto-launch:
com.ollama.ollama.plist.disabled
. Rename it back to allow previous behavior 🔄. - Restart your Mac
- Check with:
launchctl list | grep ollama
. No output? You’re all set!
No more Ollama popping up on login — even though it was hiding from System Preferences all along. 🧹🍏✨
P.s. You will need to repeat this every time you update Ollama 🙃