How to Set Up a Proxy on macOS for Your Browser
Configure a Proxy in macOS Network settings so Safari and Chrome follow it, handle Firefox separately, test the result and undo the change if needed.
9 min readUpdated Nov 13, 2026By XPASS Editorial Team

On a Mac, the simplest way to send browser traffic through a Proxy is to set it once in the system Network settings. Safari and Chrome follow that setting, and Firefox can be told to follow it as well. This guide shows each step on current macOS, explains the bypass list and the password option, gives you a quick test, and covers what to do when something goes wrong. Use the address, port and authentication details from your provider's account page. If you are comparing plans first, the Proxy page shows what is on offer.
Please use a Proxy lawfully, within local law and the terms of the sites you visit, and keep your request rate reasonable.
What to prepare
Before you open any settings, collect the following.
- Proxy address. A hostname or IP address.
- Port. The number that goes with the address.
- Type. This guide uses an HTTP Proxy. macOS also has a SOCKS option, which only helps if your provider offers SOCKS.
- Authentication. A user name and password, or an allow-listed public IP address registered with the provider.
- An administrator account. macOS may ask you to confirm changes to the network settings with your password or Touch ID.
Keep credentials out of shared notes and chats. A password manager is the better place.

Set the system Proxy
The names below follow current macOS releases. The wording may differ slightly in your version.
- Click the Apple menu and choose System Settings.
- Choose Network in the sidebar.
- Select the connection you are using, for example Wi-Fi or Ethernet.
- Click Details, then choose Proxies in the sidebar of the window that opens.
- Switch on Web Proxy (HTTP). Enter the server address and the port in the fields that appear.
- Switch on Secure Web Proxy (HTTPS) and enter the same address and port, unless your provider tells you otherwise.
- If your provider uses a user name and password, tick Proxy server requires password in each section and enter the credentials.
- Under Bypass proxy settings for these Hosts & Domains, add the destinations that should be reached directly.
- Click OK, and apply if macOS asks you to confirm.
On older macOS versions the route is System Preferences, then Network, then Advanced, then the Proxies tab. The fields are the same.
Why two entries
macOS lets you set a proxy separately for http and https traffic. Most modern websites use https, so an entry only in Web Proxy (HTTP) would leave most pages going direct. A normal HTTP Proxy carries https traffic through a tunnel, which the MDN overview of proxy servers and tunneling explains. The Secure Web Proxy entry is what tells macOS to use the Proxy for those tunnelled connections.
Fill in the bypass list well
The bypass list keeps selected destinations off the Proxy. A short, tidy list works best.
| Entry | Meaning |
|---|---|
*.local |
Devices announcing themselves on your local network |
169.254/16 |
Link-local addresses |
localhost |
The Mac itself |
192.168.0.0/16 |
A typical home or office network range |
Rules of thumb:
- Separate entries with commas, or use one line per entry as the interface allows.
- Tick Exclude simple hostnames if you want single-word internal names to be reached directly.
- Add internal company sites and banking sites you prefer to keep off a third-party Proxy.
- Revisit the list if a local printer, NAS or router page stops loading.
Passwords and sign-in prompts
There are two common ways to authenticate.
Allow-listed IP address. The provider recognises your public IP address and lets the connection through. You only fill in the address and port. This works well on a stable home or office connection, but it will stop working if your public address changes, so update it in the provider's dashboard.
User name and password. Tick the password option and enter the credentials. They are stored in the macOS keychain, so anyone who uses your Mac account with the keychain unlocked could use them. For connections that do not carry a saved password, the browser shows a sign-in dialog when the Proxy answers with an authentication challenge, as described in RFC 9110.
If a prompt keeps appearing, check for typing mistakes, an expired credential, or a mismatch between your plan and the method you chose.
Browser by browser
Safari
Safari uses the macOS system Proxy settings and has no separate Proxy screen. Once the system entry is saved, quit Safari and open it again, then run the test below.
Chrome
Chrome on macOS follows the system setting. Its Settings, System, Open your computer's proxy settings link simply opens the macOS Network screen you used above. If you need Chrome to behave differently from the system, our guide on setting up a Proxy in Google Chrome covers the options and their limits.
Firefox
Firefox has its own connection settings. Open Settings, General, scroll to Network Settings, and click Settings. You can choose Use system proxy settings to follow macOS, or Manual proxy configuration to enter a separate address and port only for Firefox. Choosing a manual setup inside one browser is a handy way to test a Proxy without touching the rest of the Mac.
Test that it works
- With the Proxy off, load a page that shows your public IP address and note it.
- Turn the Proxy on in the Network settings, quit and reopen the browser, and reload the page. A different address that matches your provider's description means the browser uses the Proxy.
- Load an ordinary page such as a news site to confirm normal browsing still works.
- For a check that bypasses the browser, open Terminal and run
networksetup -getwebproxy Wi-Fi. Replace Wi-Fi with the name of your connection. The output shows whether the setting is enabled and what address is saved. - To test the Proxy alone, run
curl -x http://PROXY_ADDRESS:PORT -I https://example.com, replacing the placeholders. A set of response headers means the Proxy answers.
A plain example
Suppose you want to see how a public page is served to a visitor on a different network. You check your address with the Proxy off, note it, switch the Proxy on, and reload. The address changes, so the Proxy is active. You then open the page you care about. It loads slowly or not at all, so you check the bypass list and discover that you typed the target's domain there by mistake. Removing the entry fixes it.
Limits and what to watch for
- The system setting is per network service. The entry on Wi-Fi does not apply to Ethernet. If you switch connections, set it again or check that the correct service is selected.
- Not every app follows it. Terminal programs, some developer tools and some apps with their own network stack use environment variables or their own settings.
- A Proxy does not make you anonymous. Sites can still recognise you from logins and cookies, and the Proxy operator can see connection details.
- Remember to turn it off. If a banking site acts strangely or pages feel slow, check whether a Proxy is still on.
- Match the plan to the job. How a plan is metered changes how you should work. Our guide to per-IP and per-bandwidth billing for an IPv6 Proxy helps you think it through.
- Windows is different. If you also use a PC, the steps in setting up an HTTP Proxy on Windows 11 describe the equivalent screen.
- Respect the rules. Follow robots rules, rate limits and site terms. A Proxy does not change what is permitted.
Troubleshooting
| Symptom | Likely cause | What to try |
|---|---|---|
| Nothing loads after saving | Wrong address or port | Re-check both; turn the Proxy off to recover |
| Only http pages use the Proxy | Secure Web Proxy not set | Add the same entry under Secure Web Proxy |
| Sign-in dialog keeps returning | Wrong credentials or IP not registered | Re-enter credentials; update the allow-list |
| Local devices unreachable | Local ranges are not bypassed | Add them to the bypass list |
| Certificate warning | Something is interfering with HTTPS | Stop and investigate; do not click through |
| Firefox ignores the setting | Firefox is on its own manual or no-proxy mode | Choose the system option or set it manually |
How to switch it off
Return to System Settings, Network, your connection, Details, Proxies and switch off Web Proxy (HTTP) and Secure Web Proxy (HTTPS), then click OK. The saved address and port normally stay in the fields, so you can switch the Proxy back on later. For Firefox, set the mode back to the system option or to no proxy.
Keeping Proxy work separate from daily browsing
A system-wide setting is convenient, but it affects every app that follows it. If you only need the Proxy for a particular task, consider keeping that task apart from your everyday browsing.
- Use one browser for Proxy work. Leave Safari on the system setting for general use and use a second browser, or a dedicated browser profile, for the task that needs the Proxy. That way a forgotten setting cannot slow down your banking or email.
- Name your profiles clearly. A profile called "proxy test" is easier to recognise than a default window, and it reminds you what route its traffic takes.
- Close the window when finished. Closing the dedicated browser or profile is quicker than undoing the system setting, and it reduces the chance of leaving a Proxy active overnight.
- Keep notes. Write down which address and port you used and when. If a result looks odd later, you can tell which route produced it.
A short checklist before you rely on it
- I know the address, port and authentication method from my provider.
- Both Web Proxy (HTTP) and Secure Web Proxy (HTTPS) are filled in.
- The bypass list contains local and sensitive destinations.
- I compared my public IP address with the Proxy off and on.
- I opened a normal page and it loaded.
- I know how to switch the Proxy off again.
- My use is lawful and within the terms of the sites I visit.
Going through these seven lines takes about two minutes and prevents most of the problems people report.
Summary
To use a Proxy for browsing on a Mac, open System Settings, then Network, pick your active connection, open Details and Proxies, and switch on both Web Proxy (HTTP) and Secure Web Proxy (HTTPS) with the address and port from your provider. Add a short bypass list, enter credentials if your plan needs them, and save. Safari and Chrome follow the system setting, while Firefox has its own mode that you can point at the system or set by hand. Always verify by comparing the public IP address with the Proxy off and on, and turn the Proxy off when you are done. When you are ready to look at plans, start from the Proxy page.
Frequently asked questions
Where are the Proxy settings on a Mac?
In System Settings, open Network, choose your active connection such as Wi-Fi, click Details, and open the Proxies tab. On older macOS versions the same options sit under Advanced in the Network pane of System Preferences.
Do Safari and Chrome use the macOS Proxy setting?
Yes, both normally follow the system Proxy settings. Firefox can follow them too, but it also has its own connection options, so check which mode it is set to.
What is the difference between Web Proxy and Secure Web Proxy?
On macOS, Web Proxy (HTTP) covers plain http addresses and Secure Web Proxy (HTTPS) covers https addresses. A provider that offers an HTTP Proxy usually asks you to fill in the same address and port for both.
How do I enter a user name and password?
In the Proxies tab, tick the option saying that the proxy server requires a password, then enter the user name and password. If your provider uses an allow-listed IP address instead, you leave that option off.
How do I check that the browser is using the Proxy?
Open a page that shows your public IP address with the Proxy off, then switch it on and reload. If the displayed address changes to the one your provider describes, the browser is going through the Proxy.
About the author

Bob Kanokphon Thongdee
- Founder of XPASS VPN
- Co-founder of eSIMonline.asia
- More than 7 years in online marketing
- Founder of Cojourney Visa and Cojourney Travel
Need a proxy for this?
XPASS Proxy sells residential proxy traffic by the gigabyte, with the price shown before you pay.
See proxy plansKeep reading

Proxy Guides
How to Set Up an HTTP Proxy on Windows 11
Set up an HTTP Proxy in Windows 11 Settings, add a bypass list, verify that traffic goes through it and undo the change cleanly if something breaks.
9 min read

Proxy Guides
How to Set Up a Proxy in Google Chrome
Chrome has no Proxy screen of its own. See how to use the system setting, how to launch a separate profile with a Proxy flag, and how to check that it works.
9 min read

Proxy Guides
IPv6 Proxy: Choosing Between Per-IP and Per-Bandwidth Billing
An IPv6 Proxy is usually billed per IP or per amount of traffic. This guide explains both models, shows how to estimate your needs and lists what to check first.
9 min read