How to Delete Incognito Mode History on Windows, Mac, Android, and iPhone

Incognito mode does not save your browser history — but it does leave traces in your device's DNS cache. To delete incognito mode history, you need to flush that DNS cache manually. The steps differ by device and are all covered below.

The Short Answer: How to Delete Incognito Mode History

Closing an incognito window clears cookies and session data, but DNS cache entries from that session stay on your device until you remove them. Flushing the DNS cache is the primary way to clear those traces. Here is how to do it on each device.

Device

Tool

Command or Step

Windows

Command Prompt (Admin)

ipconfig/flushdns

Mac

Terminal

sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder

Android

Chrome address bar

chrome://net-internals/#dns → Clear host cache

iPhone / iOS

Settings or Control Center

Toggle Airplane Mode on → wait → off

What Does Incognito Mode Actually Store?

Most people assume incognito wipes everything. It does — but only within the browser. What happens outside the browser is a different story.

What Incognito Deletes When You Close the Window

  • Browser history and search queries
  • Session cookies
  • Login credentials and autofill data
  • Permissions granted during the session

What Incognito Does Not Delete

  • DNS cache entries — these persist until flushed manually
  • Files downloaded during the session
  • Bookmarks saved during the session
  • Your IP address, which remains visible to websites and your ISP

What's often overlooked is that the DNS cache operates at the operating system level, not the browser level. Incognito mode has no control over it. So even if your browser forgets every site you visited, your device still has a record of which servers it contacted.

Data Type

Deleted by Incognito?

Remains on Device?

Browser history

Yes

No

Session cookies

Yes

No

Login credentials

Yes

No

Autofill / form data

Yes

No

DNS cache entries

No

Yes — until flushed

Downloaded files

No

Yes

Saved bookmarks

No

Yes

IP address visibility

No

Yes (to ISPs and sites)

What Is DNS Cache and Why Does It Log Incognito Activity?

DNS stands for Domain Name System. Think of it as a phone book that matches website names — like google.com — to their actual server addresses (IP addresses). Every time you visit a website, your device checks this system and temporarily stores the result locally. That stored result is the DNS cache.

According to Wikipedia, the Domain Name System is a hierarchical and distributed name service that associates domain names with IP addresses across the internet — and this lookup process happens for every site visit, regardless of your browser's privacy mode.

Here is the part that catches most people off guard: this lookup happens regardless of whether you are browsing normally or in incognito mode. The browser and the DNS system are separate. Incognito controls what the browser records. The DNS cache is handled by the operating system, and it records activity from all browsing sessions.

Without a manual flush, DNS cache entries typically persist until your device restarts or the cache expires on its own — which can be hours or, in some cases, days depending on the site's settings.

In practice, most users do not know this distinction exists. The DNS cache is rarely surfaced in browser privacy settings, which is why the incognito "no history saved" message creates a false sense of completeness.

How to View Incognito History Before Deleting It

If you want to check what is stored before clearing it, there are limited but workable methods depending on your device.

On Windows — Command Prompt

Open Command Prompt as administrator, then type:

ipconfig/displaydns

Press Enter. You will see a list of recently contacted domains, including those visited in incognito. The output can be long and technical, but the domain names are readable.

On Mac — Console and Terminal

  1. Go to Applications → Utilities → Console
  2. Type any:mdnsresponder in the search bar
  3. Open Terminal (also in Utilities)
  4. Type sudo killall -INFO mDNSResponder and press Enter
  5. Return to Console — visited domains will appear in the log

On Android and iPhone — Limitations

Neither Android nor iPhone offers a native way to browse the DNS cache directly. The data is there, but there is no built-in viewer for it on mobile. Some parental control apps — like AirDroid Parental Control — can monitor browsing activity in real time across sessions, including incognito, but these need to be set up before the browsing takes place and raise clear consent considerations if used on a shared or monitored device.

Using a Chrome Extension

The Off The Record History extension for Chrome can log incognito activity going forward — but it cannot retrieve sessions that happened before it was installed.

To set it up:

  1. Search for Off The Record History in the Chrome Web Store and click Add to Chrome
  2. Go to chrome://extensions/ in your address bar
  3. Find the extension and click Details
  4. Toggle Allow in Incognito to on

From that point, the extension records incognito visits. Worth noting: enabling this means your incognito browsing is being actively logged. That is the opposite of private browsing. Use it only if you have a specific reason to track a session.

How to Delete Incognito Mode History — Full Steps by Device

How to Delete Incognito History on Windows

  1. Click the Start menu and type cmd
  2. Right-click Command Prompt and select Run as administrator
  3. Type ipconfig/flushdns and press Enter
  4. You will see: Successfully flushed the DNS Resolver Cache

That confirmation message means the cache is cleared. One thing worth knowing: flushing DNS clears cached records for all browsing, not just incognito sessions. It does not affect your security or normal browsing in any meaningful way — your browser will simply re-lookup site addresses the next time you visit them, which may cause a very brief delay on first load.

How to Delete Incognito History on Mac

  1. Open Finder → Go → Utilities → Terminal
  2. Type the following command and press Enter:

sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder

  1. Enter your Mac's password when prompted

This works across most macOS versions from OS X Lion onward. If you are on OS X 10.10.1, 10.10.2, or 10.10.3 specifically, use this command instead:

sudo discoveryutil udnsflushcaches; sudo discoveryutil mdnsflushcaches

No confirmation message appears on Mac after flushing — the absence of an error means it worked.

How to Delete Incognito History on Android

  1. Open the Chrome app
  2. Type chrome://net-internals/#dns in the address bar and press Enter
  3. Tap Clear host cache

For a more thorough clear, you can also go to:
Settings → Apps → Chrome → Storage → Clear cache and Clear data

The second step removes residual session data that the DNS clear alone may not cover. It also resets Chrome's internal storage, so saved preferences within the app will be affected.

How to Delete Incognito History on iPhone

Method 1 — Airplane Mode:

Enable Airplane Mode from Control Center or Settings, wait about five seconds, then disable it. This flushes temporary DNS records on the device.

Method 2 — Restart:
A full restart is more thorough and clears DNS cache along with other temporary system data.

Neither method requires any commands or technical steps. In practice, restarting the device is the more reliable option if you want to be certain the cache is cleared.

Does This Work for Firefox, Edge, and Safari Too?

Yes. The DNS flush methods above are at the operating system level — they are not specific to Chrome. Any browser's incognito or private browsing traces stored in the DNS cache will be cleared by the same commands.

Browser

Private Mode Name

DNS Flush Clears Its Traces?

Google Chrome

Incognito

Yes

Microsoft Edge

InPrivate

Yes

Mozilla Firefox

Private Window

Yes

Apple Safari

Private Browsing

Yes

What DNS Flush Does and Does Not Cover

Flushing DNS clears the traces stored on your device. It does not touch anything beyond that. This is an important distinction — especially if you are on a shared, work, or school network.

Privacy Concern

Does DNS Flush Help?

Incognito traces stored on your device

Yes

ISP browsing logs

No

Wi-Fi router logs

No

Employer or school network logs

No

Google account activity (if signed in)

No

Websites you visited tracking your IP

No

If you were browsing on a work laptop or a school network, the institution's router or server logs your activity independently of what your device stores. Clearing your device's DNS cache has no effect on those logs. The activity was already recorded upstream.

Similarly, your Internet Service Provider sees the domains you visit regardless of incognito mode or DNS flushes — because that traffic passes through their network before it reaches your device.

Additional Steps to Protect Your Browsing Privacy

DNS flush handles the device-level trace. If you want to go further, these three steps make a noticeable difference:

1. Sign out of all accounts before going incognito.
If you are logged into Google, Facebook, or any other account during an incognito session, those platforms can associate your activity with your account for that session.

This matters more than most users realise — as reported by Fortune, a class-action lawsuit filed in 2020 alleged that Google continued tracking Chrome users' activity even while they browsed in incognito mode, leading to a settlement requiring Google to delete billions of collected data records. Logging out before your session removes at least one layer of that exposure.

2. Delete downloaded files after each session.
Downloaded files do not disappear when you close incognito. Clear them from your downloads folder manually if the content was sensitive.

3. Use a VPN for ISP-level privacy.
A VPN encrypts your internet traffic and masks your IP address from your ISP and network operators. It does not interact with your browser's incognito mode directly — they work independently — but together they cover more ground. Incognito handles local device traces; a VPN handles network-level visibility.

Conclusion

Deleting incognito mode history means flushing your device's DNS cache — since that is where incognito traces actually persist. Use the correct command for your OS. For privacy beyond your device, sign out of accounts before browsing and consider a VPN for network-level coverage.

Frequently Asked Questions

Does incognito mode delete history automatically?

Incognito deletes browser history, cookies, and session data when you close the window. It does not delete the DNS cache. That has to be cleared manually using the steps in this article.

Can someone else on my device see my incognito history?

Not through the browser — incognito clears that on close. But someone with technical access to your device's DNS cache can see which sites were visited. Flushing the DNS removes that record.

Will flushing DNS affect my normal browsing speed?

Briefly, yes. Your browser will re-lookup addresses for sites it previously had cached. The delay is minor and only affects the first visit to a site after flushing. No settings or saved data are changed.

Can my ISP see what I do in incognito mode?

Yes. Incognito does not hide traffic from your Internet Service Provider. They see the domains you visit regardless. A VPN is needed to mask that activity from your ISP.

How long does DNS cache stay on my device if I don't flush it?

DNS cache typically persists until the device restarts or the individual record's TTL (time-to-live) expires — which varies by website but is often several hours to a few days.

Savannah Brooks
Savannah Brooks

Savannah Brooks is the Head of Infrastructure & Reliability at RavexLife.com, where she oversees the resilience and uptime of the company’s core systems.

With deep experience in SRE practices, cloud-native architecture, and performance optimization, Savannah has designed robust environments capable of supporting rapid deployments and scalable growth.

She leads a team of DevOps engineers focused on automation, observability, and security. Savannah’s disciplined approach ensures that platform reliability remains at the forefront of innovation, even during aggressive scaling phases.

Articles: 202