Clear the iCal Cache

If you're running into problems with your Calendar app in OS X, such as long loading times or error messages, deleting your cache may help. Before deleting your cache, try removing and re-adding your calendar accounts to see if this fixes the problem. If you need to delete the cache, make sure to backup your calendars in case clearing the cache deletes them entirely.

Steps

Before You Begin

  1. Try removing and re-adding the account first. You may be able to solve your calendar problem by removing the calendar account from your computer and then adding it back. This will remove and then reload your events for the calendar. If this doesn't fix the problem, you can move on to the next step.
    • Click the Apple Menu and select "System Preferences".
    • Select "Internet Accounts" and then select the account that you are getting your calendar from.
    • Click the "-" button. This will remove the account from your Mac. Reboot your computer
    • Select the type of account from the main "Internet Accounts" window and log in. Your account will be added back to your Mac.
  2. Backup your calendars. Before deleting your Calendar cache, you'll want to make a backup of each of your calendars. Clearing the cache may remove all of your information, so you might need to restore these backups after you're done.[1]
    • Select a calendar to export.
    • Click the File menu and select "Export" → "Export".
    • Save the calendar backup file somewhere that you can find it. Repeat with your other calendars until they are all backed up.
  3. Double-check your backups before clearing your cache. There is a very good chance that your calendars will be completely deleted if you clear your cache, so make absolutely sure that you have a backup file for each of your calendars. Only proceed after you are certain that you won't lose anything important.

Clearing Your Cache

  1. Quit the Calendar application. Click the File menu and select "Close" to ensure that Calendar is completely closed.
    • You won't be able to delete the files in your cache unless the Calendar app has been closed completely. Press Command+ Option+Esc and select "calendar" from the list if you are unsure.
  2. Open a Finder window or click the desktop. This will make the "Go" menu appear in the top menubar. The Finder icon can usually be located in the Dock, or you can open any folder. Clicking the desktop also makes Finder active, as the desktop is considered a Finder window.
  3. Hold . Option and click the Go menu. You'll see more options than you would if you weren't holding the key.
  4. Select "Library" from the list of options. The "Library" option will only appear if you are holding the Option key. Select it to open the "Library" folder.
  5. Open the "Calendars" folder. You'll see several files displayed.
  6. Delete all of the "Calendar Cache" files. There may be several of these files, possibly labeled "Calendar Cache~2" or something similar. Delete all of them.[2]
    • If you get a message saying the the file are in use, you'll need to make sure that Calendar is completely closed. Right-click on the Calendar app in your Dock and select "Quit", or press Command+ Option+Esc and then select Calendar to force-quit it.
  7. Delete the additional cache and preference files. Depending on the version of OS X you are using, you may or may not have all of these files. Check each of the following locations and delete the files if you find them:[3]
    • Open the "Caches" folder in the "Library" folder. Delete the "com.apple.ical" file.
    • Open the "Preferences" folder in the "Library" folder. Delete all of the "com.apple.ical" files. There may be multiple copies of this file. Delete all copies that you can find.
  8. Reboot your Mac and start the Calendar app. In many cases, Calendar will pull the latest version of your calendars from your accounts and reload them. You may need to manually add CalDAV shared calendars.
    • To add shared CalDAV calendars, open the Calendar Preferences menu and select "Accounts". Resubscribe to your shared calendars in this window.
  9. Restore your backups if your calendars are missing. If your calendars are not coming back after deleting your cache, you can restore them from your exported calendars. Click the File menu and select "Import" → "Import". Browse for the backup file you created earlier and select it to load the calendar. Repeat this for each calendar that you want to restore.
    • If clearing the cache removes your connection to Google Calendar, you can fix it by going to Apple → System Preferences → Internet Accounts. Highlight Google and recheck the Calendar. Relaunch Calendar and a few seconds later and everything should be back.

Tips

  • There is a known issue with older versions of the Microsoft Exchange server and OS X Yosemite. Contact your Exchange administrator if you are having difficulty getting your Exchange calendar to sync in Yosemite.
  • Many users report ongoing problems with Google Calendars and Yosemite. You may be better off using the Google Calendar web interface if you rely on Google Calendars.

Related Articles

Sources and Citations