Black Friday Up to 20% off with code BLACKFRIDAY until Tue 1 Dec, 23:59 UK time
CH

Browsers & OS · Setup guide

How to use an authenticated proxy in Google Chrome

Chrome has no proxy fields of its own. The easiest way is your computer’s proxy settings; a proxy extension or a separate Chrome window started with a command-line flag also work. All three work with a ZenProxy username and password. Use a sticky line for browsing: a rotating line can give different tabs, and even parts of one page, different IPs.

Broken on our side? Fixed within 48 hours of your report, or the unused part refunded. A website blocking the proxies isn’t covered. Refund Policy

Quick answer

To use a proxy in Chrome, follow four steps: (1) Open Chrome’s Settings → System → Open your computer’s proxy settings; (2) Turn on the manual proxy and enter a sticky line’s host and port; (3) Open https://ipinfo.io/json and sign in to the proxy if asked; (4) Check that the IP and country match your line. Take the host, port, username and password from a line in your ZenProxy generator.

You need Chrome and a ZenProxy proxy line from the generator. In the examples, replace HOST, PORT, USERNAME and PASSWORD for the values in your line (where to find them).

Quick setup

  1. 1Open Chrome’s Settings → System → Open your computer’s proxy settings.
  2. 2Turn on the manual proxy and enter a sticky line’s host and port.
  3. 3Open https://ipinfo.io/json and sign in to the proxy if asked.
  4. 4Check that the IP and country match your line.

Easiest: use your computer’s proxy settings

Chrome follows the proxy set for your whole computer. No downloads or commands needed.

  1. 1In Chrome, open Settings → System → Open your computer’s proxy settings.
  2. 2Windows: under Manual proxy setup, select Set up, turn on Use a proxy server, enter HOST in Proxy IP address and PORT in Port, and select Save.
  3. 3Mac: select your connection (for example Wi-Fi), click Details… and Proxies. Turn on Web proxy (HTTP) and Secure web proxy (HTTPS), enter HOST and PORT for each, turn on Proxy server requires password, enter USERNAME and PASSWORD, and click OK.
  4. 4Open https://ipinfo.io/json in Chrome. If Chrome asks for a username and password, enter USERNAME and PASSWORD.

Note: Other apps that follow the system setting use the proxy too. To stop, turn the proxy off in the same place. Full steps for each setting: the Windows and macOS guides.

Your proxy details

After you buy a plan, open My proxies. Choose the Proxy Type (Rotating or Sticky; static IP plans skip this and show your list of IPs), the Protocol (HTTP, or SOCKS5 where your plan offers it) and a Format, then copy a line. The generator offers three formats (SOCKS5 lines always use the protocol:// format):

HOST:PORT:USERNAME:PASSWORD

Paste into apps and anti-detect browsers that split the fields or auto-fill them.

USERNAME:PASSWORD@HOST:PORT

Tools that want credentials before the address.

http://USERNAME:PASSWORD@HOST:PORT

Code and command-line tools. This is the proxy URL used in the examples below.

In the examples on this page, replace USERNAME, PASSWORD, HOST and PORT with the values from your line. SOCKS5_PORT is the port the generator shows when you pick SOCKS5.

Residential lines are either rotating (a new IP on new connections) or sticky (one IP for the time you choose). Static Datacenter, Shared ISP and Private ISP plans give you a fixed list of IPs, one per line as IP:PORT:USERNAME:PASSWORD: Private ISP IPs are yours alone, while Shared ISP IPs can also be used by other customers. Rotating Datacenter and IPv6 plans give you one endpoint, with rotating or sticky lines; IPv6 only reaches sites that have an IPv6 address.

To test a line, open https://ipinfo.io/json through it: it shows the exit IP and country. For HTTP lines you can also use the free proxy checker.

Chrome only: a proxy extension

A proxy extension lets you switch proxies from the toolbar without restarting Chrome, and leaves other apps alone. The original Proxy SwitchyOmega no longer runs in current Chrome; maintained forks such as Proxy SwitchyOmega 3 (ZeroOmega) do.

In the extension, create a proxy profile with protocol HTTP, server HOST and port PORT, add your username and password if it has fields for them (or enter them when Chrome asks), then switch to that profile.

For technical users: a separate Chrome window with its own proxy

Start Chrome from the command line with --proxy-server and a separate profile folder. Your normal Chrome stays on your normal connection.

Windows (PowerShell)
& "C:\Program Files\Google\Chrome\Application\chrome.exe" --user-data-dir="$env:TEMP\chrome-proxy" --proxy-server="http://HOST:PORT"
macOS
open -na "Google Chrome" --args --user-data-dir="$HOME/chrome-proxy" --proxy-server="http://HOST:PORT"
Linux
google-chrome --user-data-dir="$HOME/chrome-proxy" --proxy-server="http://HOST:PORT"

Open https://ipinfo.io/json. Chrome shows a sign-in dialog for the proxy: enter USERNAME and PASSWORD.

The separate --user-data-dir matters. If Chrome is already running with your normal profile, a new window joins it and ignores the flag.

SOCKS5 in Chrome

Chrome can’t log in to SOCKS5 proxies with a username and password. Use HTTP lines in Chrome: SOCKS5 there works only without a password, and our plans log in with a username and password (login by IP isn’t available yet).

Choose the country

Build the line in the generator: it writes the country, and a state, a city or a sticky session if you want one, into the username in the format your plan uses, and shows only the options your plan supports. On most residential plans the country is -country- and a two-letter code at the end of the username (for example USERNAME-country-gb), but older Unlimited Residential plans use a different format, so do not edit that username by hand. Datacenter and ISP IPs have a fixed location that you choose when you buy them. In the sign-in dialog, enter the username with the country tag.

Tips

  • WebRTC can reveal your real IP to sites even when pages load through a proxy. If that matters, start Chrome with --force-webrtc-ip-handling-policy=disable_non_proxied_udp, or use an anti-detect browser.
  • Match Chrome’s language and your timezone to the proxy country if a site checks them.

Troubleshooting

  • net::ERR_PROXY_CONNECTION_FAILED

    The browser couldn’t reach the proxy at all. Check the host and port, and that you used the HTTP port for an http:// proxy.More on this error →

  • net::ERR_TUNNEL_CONNECTION_FAILED

    The proxy refused the CONNECT request. Run the line through curl -v to see the real status (407, 502 or 503).More on this error →

  • Chrome keeps asking for the password

    The username or password is wrong. Copy them again from the generator.More on this error →

  • The flag seems to be ignored

    Chrome was already running with that profile. Use a separate --user-data-dir or quit Chrome first.

Seeing another error? Read proxy errors and how to fix them, or contact support.

Questions

Does Chrome support proxies with a username and password?

Yes, for HTTP proxies. Chrome shows a sign-in dialog the first time the proxy asks for credentials.

Can I use a SOCKS5 proxy with a password in Chrome?

No. Chrome doesn’t support SOCKS5 authentication. Use an HTTP line.

Can I use a proxy for Chrome only, not the whole computer?

Yes. Use a proxy extension, or start Chrome with --proxy-server and its own --user-data-dir.

Can each tab use a different proxy?

Not in one Chrome profile. Run separate profiles with their own --user-data-dir, or use an anti-detect browser that gives each profile its own proxy.

Try it with Chrome for $0.49

Get 1 GB of Residential Lite, then copy your rotating or sticky lines from the generator and paste them into the steps above.

Broken on our side? Fixed within 48 hours of your report, or the unused part refunded. A website blocking the proxies isn’t covered. Refund Policy

Related guides

All integrations →