How to Clear Basic Authentication Details in Chrome
In this article
To clear basic authentication details in Chrome, you need to remove the saved credentials that Chrome stores for a site protected by HTTP basic auth. The quickest way is to open Chrome's password manager, find the entry for the site, and delete it. Alternatively, you can clear all browsing data including cookies, which also removes basic auth sessions. This guide walks you through both methods, plus what to do if the login prompt keeps reappearing.
What You'll Need
- A computer with Google Chrome installed (the steps below are for desktop Chrome; mobile Chrome does not expose the same password manager controls for basic auth).
- The username and password for the site, in case you need to log in again after clearing.
- Access to the Chrome settings menu (no admin rights required for your own browser profile).
Step-by-Step
- Open Chrome's password manager. Click the three-dot menu in the top-right corner, then choose Settings. In the left sidebar, click Autofill and passwords (on some versions it is called Passwords), then click Google Password Manager. Menu labels can differ slightly by Chrome version and region.
- Find the saved entry for the site. In the search box at the top of the password manager, type the site's domain (for example,
example.com). Basic auth credentials are stored as a normal saved password entry for that domain, often with the username you used. - Delete the entry. Click the entry to expand it, then click the three-dot menu next to it and choose Remove. Confirm the deletion if prompted. This removes the saved username and password Chrome would otherwise autofill into the basic auth dialog.
- Clear the active session. Deleting the saved password stops autofill, but Chrome may still hold the authenticated session in memory or cookies. To force a fresh login prompt, close all tabs for that site, then open a new tab and navigate to the site again. If the prompt does not appear, proceed to the next step.
- Clear cookies and site data for that site only. Click the padlock or tune icon in the address bar, choose Cookies and site data, then click Manage on-device site data and remove the site's data. This signs you out of the basic auth session without affecting other sites.
- If needed, clear all browsing data. Press
Ctrl+Shift+Delete(Windows/Linux) orCmd+Shift+Delete(Mac) to open the Clear Browsing Data dialog. Select Cookies and other site data and Cached images and files, set the time range to All time, and click Clear data. Warning: this signs you out of most websites and removes saved site preferences, so use it only if the site-specific steps did not work. - Restart Chrome. Close all Chrome windows and reopen the browser. This ensures any in-memory authentication state is discarded.
- Test the site. Navigate to the protected page. Chrome should now show the basic auth dialog asking for a username and password. If it does not, see Troubleshooting below.
Common Mistakes
- Clearing only the password but not the session. Deleting the saved password does not always end an active basic auth session; you must also clear cookies or restart the browser.
- Clearing all browsing data unnecessarily. This signs you out of every site and wipes preferences. Prefer site-specific cookie removal first.
- Looking for a dedicated "basic auth" setting. Chrome has no separate toggle for basic authentication credentials; they are stored as regular saved passwords and cookies.
- Using mobile Chrome. The mobile version of Chrome does not offer the same password manager controls for basic auth entries. Use desktop Chrome or clear site data through the mobile browser's settings.
- Forgetting to close all tabs. An open tab can keep the authenticated session alive even after you delete the saved password.
Tips
- Use Chrome's password manager search to locate the exact entry quickly; basic auth entries often appear under the site's domain with the username you last used.
- If you manage multiple accounts on the same site, delete each saved entry individually to avoid autofill confusion.
- After clearing, consider using a separate Chrome profile for sites that require basic auth, so credentials stay isolated.
- Keep Chrome updated; password manager and site data controls can move between versions.
Troubleshooting
- The login prompt does not reappear. Close all tabs for the site, clear cookies for that site, and restart Chrome. If it still does not appear, clear all cookies and cached files via
Ctrl+Shift+Delete. - Chrome keeps autofilling the old credentials. Check for multiple saved entries for the same domain and remove all of them. Also check for a saved entry under a slightly different subdomain.
- You see a 401 error instead of a prompt. This usually means the server rejected the credentials. Clear site data again and ensure you are entering the correct username and password.
- The site uses a proxy or corporate login. Basic auth may be handled by a proxy; clearing Chrome data may not affect it. Contact your network administrator.
- Mobile Chrome does not show the option. Use desktop Chrome or clear site data through Chrome's mobile settings under Settings > Site settings > All sites, then remove the site.
Frequently Asked Questions
Does clearing cookies remove basic authentication?
Yes, basic auth sessions are often tied to cookies. Clearing cookies for the site ends the session and should trigger a new login prompt.
Where does Chrome store basic auth credentials?
Chrome stores them in its password manager as saved passwords for the site's domain, and the active session is kept in memory and cookies.
Can I clear basic auth without deleting my saved passwords?
You can clear cookies and site data for the specific site, which ends the session without removing saved passwords for other sites.
Why does Chrome keep asking for the password after I clear it?
The server may be sending a new authentication challenge each time, or the credentials are cached elsewhere. Clear all site data and restart Chrome.
Does incognito mode help?
Incognito mode starts with a clean session and does not use saved passwords by default, so it can be a quick way to test whether the issue is stored credentials.
Is there a way to clear basic auth for all sites at once?
Clearing all cookies and site data via Ctrl+Shift+Delete removes basic auth sessions for all sites, but it also signs you out everywhere.