How to Flush DNS Cache Mac


To flush your DNS cache on a Mac we simply need to use the following command within a Terminal window. The command may very but the one below should handle Macs running macOS Big Sur and later operating system.

As stated, open Terminal and enter the following command: sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder

You’ll need to enter your password and press Return to complete the process. It may even be advisable to restart / power cycle your Mac after this.


I hope my article on flushing the DNS Cache on your Mac has helped you. I welcome your thoughts, questions or suggestions regarding this article.

You may support my work and future improvements by sending me a tip using your Brave browser or by sending me a one time donation using your credit card.

Let me know if you found any errors within my article or if I may further assist you by answering any additional questions you may have.