Skip to main content

How to Clear your DNS Cache on Mac

Asher Anwer avatar
Written by Asher Anwer
Updated over a week ago

If you're experiencing issues like websites not loading correctly or changes to a site not appearing as expected, clearing your DNS cache can often help. The DNS cache stores information about websites you've visited, which helps them load faster the next time—but sometimes, outdated or corrupted entries can cause problems. In this guide, we'll walk you through the simple steps to clear your DNS cache on a Mac, helping you troubleshoot common connectivity issues and ensure you're seeing the most up-to-date version of websites.

First, make sure you've closed any open browsers before following these steps.

Please note that the steps for clearing cache depend on the macOS version. The instructions below are specifically for macOS 15.3.2 (Sequoia).

  1. Open Terminal by pressing Command (⌘) + Spacebar on your keyboard to launch Spotlight Search, then type 'Terminal' and click on it to open.

  2. Next, enter the command below and press Return to run it:

    sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder

  3. You'll then be prompted to enter your Admin password, do this and press Return once again.

  4. The command will now run. Quit Terminal once you're finished.



    Congratulations! You've successfully cleared your DNS cache on your Mac.

    If you have any questions, please don’t hesitate to contact our team via live chat.

    For technical inquiries, please feel free to reach our support team by emailing support@bigscoots.com from your registered email or by submitting a support ticket.

Did this answer your question?