How to Set Up a Proxy in Chrome and Edge (2026 Guide)

Chrome and Edge have no proxy box of their own. Here are the four ways to give them a proxy, tested on Chrome 156, plus the fix for proxies that need a username and password.

Author
ProxyHorizon Team
Published
November 29, 2026
14 min read
Expert-Verified
How to Set Up a Proxy in Chrome and Edge (2026 Guide)

Open Chrome's settings and search for "proxy". You won't find a proxy box.

That surprises almost everyone who comes from Firefox, which has its own proxy settings in the browser. Chrome and Microsoft Edge don't keep their own proxy settings at all. By default they borrow your operating system's, which means the change you make for your browser also hits every other app on the machine.

The good news: there are four ways to set up a proxy in Chrome or Edge, and three of them leave the rest of your system alone. One of them also solves the problem that trips up most people with paid proxies, the username and password.

We tested every method below on Chrome 156 against our own local proxy servers, so you'll also see exactly which error each mistake produces.

TL;DR
  • Chrome and Edge borrow your system’s proxy settings unless something overrides them.
  • A launch switch or an extension gives the browser its own proxy without touching other apps.
  • Chrome ignores usernames and passwords in system settings and in the launch switch.
  • SOCKS5 proxies with passwords don’t work in Chrome at all, so use the HTTP endpoint.
  • A managed policy beats every other method, which is why some changes never stick.

Why Chrome and Edge Have No Proxy Settings of Their Own

Chrome and Edge are both built on Chromium, and Chromium uses the system proxy unless something overrides it. Microsoft's Edge documentation says it directly: the Edge network stack uses the system network settings by default.

"Unless something overrides it" is the important part. Chromium's own proxy documentation lists four places a proxy setting can come from:

SourceScopeWho it suits
Managed policyWhole browser, enforcedIT teams and managed laptops
Command-line switches like --proxy-serverOne browser processTesters, scrapers, one-off sessions
Extensions using the chrome.proxy APIOne browser profileAnyone who wants a proxy in the browser only
System proxy settingsEvery app on that networkWhole-device setups

Policy wins over everything. Edge's ProxySettings policy page notes that when the policy is set, Edge ignores all proxy-related command-line options. If your work laptop shows "managed by your organization", that's probably why your changes don't stick.

Diagram of the four places Chrome and Edge get proxy settings: policy, command line, extension and system settings
Chromium checks these sources in order. The first one that's set decides where your traffic goes.

Here's the plain-English version. If you want the proxy everywhere, use the system settings. If you want it only in the browser, use a launch switch or an extension. If you're an admin, use policy.

Method 1: Use Your System Proxy Settings

This is the method Chrome's own settings page points you to, and it changes the proxy for your whole device. It's the right pick when you want every app on the computer to use the same proxy.

1Open the Proxy Settings From Chrome or Edge

  • Chrome: open Settings, choose System, then click Open your computer's proxy settings.
  • Edge: open Settings, choose System and performance, then click Open your computer's proxy settings.

Both links just open your operating system's network settings. From there, the steps depend on your system.

2Windows 10 and 11

  1. Go to Settings > Network & internet > Proxy.
  2. Next to Use a proxy server, click Set up.
  3. Turn the switch on, enter the proxy address and port, and add any addresses to skip in the exceptions box.
  4. Click Save, then restart the browser.

Our full guide to setting up a proxy on Windows covers the script (PAC) option and the command-line route too.

3macOS

  1. Open System Settings > Network and select your active connection, such as Wi-Fi.
  2. Click Details, then Proxies.
  3. Turn on Web proxy (HTTP) and Secure web proxy (HTTPS), or SOCKS proxy, and enter the server and port.
  4. Click OK, then quit and reopen the browser.

Our macOS proxy guide has screenshots of each panel.

4Linux Desktops

On GNOME, open Settings > Network > Network Proxy, choose Manual, and fill in the HTTP, HTTPS or SOCKS host. KDE has a similar Proxy page under its network settings. Chrome on Linux reads these desktop settings.

5The Catch With System Settings

System settings have three limits that matter for paid proxies. First, every app uses the proxy, including updates and sync clients that will happily burn your per-GB bandwidth.

Second, Chromium's docs state that Chrome doesn't use usernames and passwords saved in manual proxy settings. It asks you in a login prompt instead.

Third, Chromium notes that an HTTPS proxy, one you connect to over TLS, generally can't be set through system settings at all. You need a launch switch, an extension, policy or a PAC script for that.

Method 2: Launch Chrome or Edge With a Proxy Switch

The --proxy-server switch gives one browser session its own proxy without touching the system. It's the fastest way to test a proxy, and it's what most automation tools use under the hood.

1The Basic Syntax

Put the scheme in front of the address so Chrome knows the proxy type. Without a scheme it assumes HTTP.

Bash
# HTTP proxy for all traffic
--proxy-server="http://203.0.113.10:8080"

# SOCKS5 proxy for all traffic
--proxy-server="socks5://203.0.113.10:1080"

# Try the proxy, fall back to a direct connection if it's down
--proxy-server="http://203.0.113.10:8080,direct://"

# Skip the proxy for some hosts (semicolon-separated)
--proxy-server="http://203.0.113.10:8080" --proxy-bypass-list="*.internal.example;192.168.1.0/24"

# Load rules from a PAC file instead
--proxy-pac-url="https://example.com/proxy.pac"

The addresses above are documentation placeholders. Swap in the host and port from your proxy provider's dashboard.

Microsoft Learn page listing Edge proxy command-line options, with the --proxy-server syntax highlighted
Microsoft documents the same switches for Edge that Chromium uses for Chrome. Captured November 24, 2026.

2Use a PAC File When You Need Rules

A single proxy for everything is blunt. A PAC (proxy auto-config) file is a small JavaScript function that picks a proxy per site, so you can send only some domains through a paid proxy and save bandwidth on the rest.

JavaScript
function FindProxyForURL(url, host) {
  // Local and intranet sites go direct
  if (isPlainHostName(host) || dnsDomainIs(host, ".internal.example"))
    return "DIRECT";

  // Shopping research through the residential proxy
  if (dnsDomainIs(host, ".example.com") || host == "example.com")
    return "PROXY 127.0.0.1:8899; DIRECT";

  // Everything else: no proxy
  return "DIRECT";
}

Host the file anywhere the browser can fetch it and launch with --proxy-pac-url. We served this file locally and launched Chrome with it: example.com went through the test proxy, while iana.org loaded directly and never touched it.

The "PROXY host:port; DIRECT" line is a fallback list, like ,direct:// in the switch. Drop the DIRECT part if a failed proxy should block the site rather than expose your IP.

3Windows: Add the Switch to a Shortcut

  1. Fully quit the browser. Typing chrome://quit in the address bar closes every window.
  2. Right-click your Chrome or Edge shortcut and choose Properties.
  3. At the end of the Target field, after the closing quote, add a space and your switch.
  4. Click OK and open the browser from that shortcut.

The Target line ends up looking like this:

Bash
"C:\Program Files\Google\Chrome\Application\chrome.exe" --proxy-server="socks5://203.0.113.10:1080"

"C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --proxy-server="http://203.0.113.10:8080"

Your install folder may differ. Right-click the existing shortcut and check its Target to find yours.

4macOS and Linux: Launch From the Terminal

Bash
# macOS, Chrome
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --proxy-server="socks5://203.0.113.10:1080"

# macOS, Edge
/Applications/Microsoft\ Edge.app/Contents/MacOS/Microsoft\ Edge --proxy-server="http://203.0.113.10:8080"

# Linux, Chrome
google-chrome --proxy-server="socks5://203.0.113.10:1080"

5Run a Separate Proxied Profile Next to Your Normal One

Here's the detail most guides skip. If Chrome is already running, launching it again with a switch just opens a new window in the existing process, and your switch is ignored. That's why the Chromium team's own instructions start with "quit any running instance".

The way around it is a separate profile folder. Chrome treats a different --user-data-dir as a separate browser, so you can keep your normal Chrome open and run a proxied one beside it:

Bash
google-chrome --user-data-dir="$HOME/chrome-proxy-profile" --proxy-server="http://203.0.113.10:8080"

The new window has its own cookies, history and logins. That's handy, because nothing from your real profile leaks into the proxied session.

Want to confirm the switch took effect? Open chrome://version (or edge://version) and read the Command Line row. Chromium recommends this page over chrome://flags, which doesn't show switches accurately.

6What We Saw When We Tested the Switches

We launched Chrome 156 on Linux with each switch against local test proxies and loaded example.com. Here's what came back:

SetupResult
--proxy-server=http://…Page loaded, proxy log showed the request
--proxy-server=socks5://…Page loaded through the SOCKS5 proxy
Username and password inside the switch (http://user:pass@host:port)ERR_NO_SUPPORTED_PROXIES
Proxy that isn't runningERR_PROXY_CONNECTION_FAILED
Dead proxy plus ,direct://Page loaded directly, without the proxy
Proxy plus --proxy-bypass-list=example.comPage loaded, and the proxy saw no request for it

Two lessons there. Credentials don't belong in the switch, and the direct:// fallback quietly drops you back to your real IP. Use the fallback for reliability, never for privacy.

Method 3: Give One Profile Its Own Proxy With an Extension

A proxy extension changes the proxy for one Chrome or Edge profile and leaves the rest of your system untouched. It's the most convenient option for everyday browsing, and the only clean way to handle a password-protected proxy without a prompt every session.

Extensions do this through the chrome.proxy API. It supports the same modes you've seen above: fixed servers, a PAC script, auto-detect, direct or system.

1Choosing a Ready-Made Extension

There are plenty of proxy switcher extensions in the Chrome Web Store and Edge Add-ons. They differ mainly in convenience features: quick toggles, per-site rules and saved profiles.

Warning: a proxy extension can see where you browse and can route your traffic anywhere. Pick one with a long track record and a public source repository, read its permissions, and avoid "free proxy" extensions that come with their own servers. Your proxy provider's own extension is often the safest choice when one exists.

2Or Build a Tiny One Yourself

If you'd rather trust nobody, a private extension is two small files. This one sends one profile through an authenticated HTTP proxy and answers the login challenge for you.

manifest.json:

JSON
{
  "manifest_version": 3,
  "name": "My Proxy Switch",
  "version": "1.0",
  "permissions": ["proxy", "webRequest", "webRequestAuthProvider"],
  "host_permissions": ["<all_urls>"],
  "background": { "service_worker": "background.js" }
}

background.js:

JavaScript
const PROXY = { scheme: "http", host: "127.0.0.1", port: 8898 };
const CREDS = { username: "alice", password: "s3cret" };

// Send this profile's traffic through the proxy, except local addresses.
chrome.proxy.settings.set({
  value: {
    mode: "fixed_servers",
    rules: { singleProxy: PROXY, bypassList: ["localhost", "127.0.0.1"] }
  },
  scope: "regular"
});

// Answer the proxy's 407 challenge with the username and password.
chrome.webRequest.onAuthRequired.addListener(
  (details, callback) => {
    if (details.isProxy) callback({ authCredentials: CREDS });
    else callback({});
  },
  { urls: ["<all_urls>"] },
  ["asyncBlocking"]
);

Put both files in a folder, open chrome://extensions (or edge://extensions), turn on Developer mode, click Load unpacked and pick the folder. Replace the host, port and credentials with your own.

We loaded this exact extension in a Chromium 156 build and pointed it at a local proxy that required a password. The page loaded with HTTP 200, and the proxy logged the request. Keep the folder private, since the password sits in plain text.

Method 4: Set the Proxy by Policy on Managed Devices

Policy is how IT teams lock a proxy in place, and it beats every other method. Both browsers read a ProxySettings policy with a ProxyMode of direct, system, auto_detect, fixed_servers or pac_script.

On Windows, Edge's documentation gives the Group Policy path as Administrative Templates, Microsoft Edge, Proxy server, with the registry value under SOFTWARE\Policies\Microsoft\Edge. A fixed proxy looks like this:

JSON
{"ProxyMode": "fixed_servers", "ProxyServer": "203.0.113.10:8080", "ProxyBypassList": "*.internal.example"}

Chrome uses the same policy name under its own Google Chrome policy templates. If you're not the admin, don't fight it. Check chrome://policy or edge://policy to see what's enforced, then talk to whoever manages the device.

How to Use a Proxy That Needs a Username and Password

Chrome handles proxy logins differently from almost every other app, and that's where most paid-proxy setups go wrong. Here's what Chromium supports, straight from its documentation:

  • HTTP and HTTPS proxies: Basic, Digest, Negotiate and NTLM authentication, entered in a login prompt when the proxy asks.
  • SOCKS5 proxies: no authentication at all in Chrome, even though the protocol supports it.
  • Credentials in settings or switches: not used. Chrome ignores saved system credentials, and in our test a username in --proxy-server broke the connection entirely.
Comparison of HTTP proxy login support versus SOCKS5 in Chrome and Edge, showing which proxy types accept a username and password
For password-protected proxies in Chrome or Edge, use the HTTP endpoint, not SOCKS5.

So what do you do with a provider that gives you host:port:user:pass? Pick one of these:

  1. Use the HTTP endpoint and type the password once per session when Chrome's login box appears. Fine for occasional use.
  2. Whitelist your IP in the provider's dashboard. Most providers offer IP authorization, which removes the password entirely. Our guide to proxy authentication methods compares both approaches.
  3. Use an extension that answers the login challenge, like the one above.
  4. Automate it in Playwright or Puppeteer, which pass credentials when the proxy asks. In our test, Playwright's proxy option with a username and password loaded the page with HTTP 200 through the same proxy that rejected a bare launch.

Need SOCKS5 with a password, for example for a provider that only offers SOCKS5? Run a small local forwarder that logs in to the upstream proxy and exposes an unauthenticated port on 127.0.0.1, then point Chrome at that. Proxifier does the same job system-wide; see our Proxifier guide.

What About Chrome and Edge on Android and iPhone?

The mobile apps have no proxy setting and accept no launch switches, so they use the phone's Wi-Fi proxy. You set it per Wi-Fi network in the phone's settings.

  • Android: long-press or tap the gear next to your Wi-Fi network, open the advanced options, set Proxy to Manual and enter the host and port.
  • iPhone: go to Settings > Wi-Fi, tap the info icon next to your network, scroll to Configure Proxy and choose Manual.

Two catches. The proxy applies only to that Wi-Fi network, not mobile data, and other apps may use it too. Our guide to setting up a proxy on iPhone and Android covers both systems step by step, including authentication.

How to Check the Proxy Is Actually Working

Never assume the proxy is on. Check the IP the website sees. It takes ten seconds.

  1. Visit an IP checker before and after you enable the proxy. The address and location should change to the proxy's.
  2. Open chrome://version to confirm your launch switches, or chrome://policy if a policy might be overriding you.
  3. Check for leaks. A proxy only covers what the browser sends through it, and WebRTC can still reveal your real IP. Our guide to WebRTC leaks shows how to test and block it.

One more thing changed in recent Chrome versions. The chrome://net-internals/#proxy page used to display your effective settings. In Chrome 156 it only shows two buttons, Re-apply settings and Clear bad proxies. The second one is still useful: Chrome remembers proxies that failed and skips them for a while, so click it after you fix a broken proxy.

Fix the Most Common Chrome and Edge Proxy Errors

Each error names a different broken link, so read it before changing anything. These are the ones you'll actually meet.

ErrorWhat it meansFix
ERR_PROXY_CONNECTION_FAILEDChrome can't reach the proxy at allCheck host, port and that the proxy is online; check your firewall
ERR_NO_SUPPORTED_PROXIESThe proxy string isn't valid for ChromeRemove user:pass@ from the switch; check the scheme
ERR_TUNNEL_CONNECTION_FAILEDThe proxy refused to open the HTTPS tunnelCheck plan limits, allowed targets and IP authorization
ERR_INVALID_AUTH_CREDENTIALSThe proxy wanted a login that didn't arrive or was wrongRe-enter credentials, or whitelist your IP
ERR_MANDATORY_PROXY_CONFIGURATION_FAILEDA required PAC script couldn't loadCheck the PAC URL, or ask your admin
Switch has no effectChrome was already running, or a policy overrides itQuit with chrome://quit, use --user-data-dir, check chrome://policy

Our full reference to proxy error codes covers the HTTP status codes behind these, such as 407 and 502.

Which Method Should You Use?

Match the method to how long you need the proxy and how many apps should use it.

Your situationBest methodWhy
Every app on the device should use the proxySystem settingsOne change covers everything
Quick test of a new proxy--proxy-server with --user-data-dirClean, separate, no system changes
Daily browsing through a paid proxy with a passwordExtensionHandles the login, only affects one profile
Several accounts, each with its own IPAn antidetect browserSeparate fingerprints and proxies per profile
Company laptopsPolicyEnforced and centrally managed

That fourth row deserves a word. A proxy changes your IP, not your browser fingerprint. If you manage several accounts, Chrome profiles with different proxies still look like the same device. That's the job antidetect browsers do, and you can compare them in our antidetect browser directory.

Frequently Asked Questions

The Fastest Way to Get It Working

Chrome and Edge make proxies look harder than they are, mostly because the setting isn't where you expect it. Once you know the four sources, it's simple: system settings for the whole device, a switch for a session, an extension for a profile, policy for a fleet.

Our take: for most people with a paid proxy, an extension on a dedicated browser profile is the sweet spot. It keeps the proxy out of your other apps, and it handles the login that trips up the other methods.

Start with a ten-second test: launch a separate profile with --proxy-server, check your IP, and only then make it permanent.

How to Set Up a Proxy in Chrome and Edge (2026 Guide) | ProxyHorizon