Firefox clear cookies on exit

 Sun, 12 May 2024 20:28 UTC

Firefox clear cookies on exit
Image: CC BY 4.0 by cybrkyd

If you are exhausted of being followed around the Internet by your web browser, read on. This guide will show you how to set your Firefox browser to delete your cookies and other browser data every time you close it. You will, at a minimum, prevent advertiser and data tracking. However, your ISP may still log your every click, so consider using the TOR browser or a VPN for even more privacy and security.

Delete cookies

  • Open a new tab and type in: about:preferences#privacy and press enter.
  • Locate the Cookies and Site Data section.
  • Tick the box next to “Delete cookies and site data when Firefox is closed”. Your preferences should now look like this:

Delete cookies and site data when Firefox is closed

Delete History

  • Scroll down on the same page and locate the History section.
  • From the History drop-down menu, select “Use custom settings for history”.
  • Ensure “Clear history when Firefox closes” is selected. The other settings can be un-ticked. Your preferences should now look like this:


Next, whilst still in the History section, click on the Settings… button. In the pop-up window that appears, tick all options, as shown.


Click OK once you have finished and then close the pop-up window.

You have just enabled a form of permanent private browsing privacy in Firefox. Test it by browsing to some websites, then close and reopen Firefox. When you check your history, cookies and cache, you will find nothing there.