How to Set Up a Proxy Server on macOS in 2026
A detailed guide to setting up a proxy server on macOS in 2026 — configure HTTP, HTTPS, and SOCKS proxies via System Settings or Terminal, and learn how to change proxy settings on Mac.
Whether you want to browse privately, access region-locked content, or route work traffic through a company gateway, knowing how to configure a proxy on your Mac is a genuinely useful skill. With over 100 million active Mac users worldwide and privacy concerns climbing every year, proxy configuration has moved from a niche IT task to something everyday users need.
The good news: macOS has built-in proxy support that works system-wide, so you can configure it once and have most apps respect it automatically. You can set it up through the graphical System Settings, or via a single Terminal command if you prefer the command line.
This detailed guide walks you through how to set up a proxy server on macOS in 2026 — covering System Settings, Terminal, browser-level configuration, and exactly how to change or disable proxy settings on Mac when you are done. If you are new to the topic, our explainer on what proxies are is a helpful primer.
What Is a Proxy Server and Why Use One on Mac?
A proxy server is an intermediary between your Mac and the internet. Instead of connecting directly to a website, your traffic routes through the proxy, which forwards the request and returns the response — masking your real IP address in the process.
Mac users set up proxies for several reasons: improving privacy by hiding their IP, accessing geo-restricted websites and services, bypassing network filters, testing how a site behaves from another region, or complying with a corporate network policy. A residential proxy in particular makes your traffic look like an ordinary home connection.
Types of Proxies You Can Use on macOS
macOS supports several proxy protocols natively. Choosing the right one depends on your use case — here is how they compare.
| Proxy Type | Best For | macOS Setting Name |
|---|---|---|
| HTTP | General web browsing (unencrypted) | Web Proxy (HTTP) |
| HTTPS | Encrypted web traffic | Secure Web Proxy (HTTPS) |
| SOCKS5 | Any traffic — apps, torrents, games | SOCKS Proxy |
| Auto-config (PAC) | Corporate/managed networks | Automatic Proxy Configuration |
If you are unsure which to pick, our guide on HTTP vs HTTPS vs SOCKS5 proxies breaks down the differences in detail. For most users, an HTTPS or SOCKS5 proxy is the right starting point.
Before You Begin: What You Need
To configure a proxy, you need the proxy's connection details from your provider: the IP address (or hostname), the port number, and — if it is a private proxy — a username and password. Keep these handy before you open Settings.
You will also need administrator access on your Mac, since changing network settings requires it. If you bought proxies from a provider, these details appear in your dashboard under the access or endpoint section.
How to Set Up a Proxy Server on macOS (System Settings)
On macOS Ventura and later, proxy configuration lives inside System Settings. Follow these steps exactly.
1Open Network Settings
Click the Apple menu in the top-left corner, choose System Settings, then select Network from the sidebar. On macOS Monterey and earlier, this is System Preferences > Network instead.
2Select Your Active Connection
Click the network service you are using — usually Wi-Fi or Ethernet. Then click the Details… button next to it. On older macOS versions, click Advanced… in the bottom-right corner instead.
3Open the Proxies Tab
In the panel that appears, select Proxies from the sidebar (or the top tab on older versions). This is where every proxy protocol macOS supports is listed with a checkbox.
4Choose the Proxy Protocol
Tick the box for the protocol your provider uses — Web Proxy (HTTP), Secure Web Proxy (HTTPS), or SOCKS Proxy. You can enable more than one if needed, but match it to the credentials you were given.
5Enter the Server Address and Port
In the fields on the right, type the proxy server address and port number. If your proxy requires login, tick Proxy server requires password and enter your username and password. Proper proxy authentication prevents unauthorized use of your IPs.
6Save and Test
Click OK, then Apply to save your settings. To confirm it works, open a browser and visit an IP-checking tool — your displayed location should now match the proxy, not your real one. You can verify this with our IP address checker.
How to Change or Disable Proxy Settings on Mac
Changing proxy settings on Mac uses the exact same path. Return to System Settings > Network > [your connection] > Details… > Proxies, then edit the server, port, or credentials for any enabled protocol and click OK followed by Apply.
To disable a proxy entirely, simply untick the checkbox next to the protocol you enabled and apply the change. Your Mac immediately reverts to a direct connection. This is the first thing to try if websites stop loading — a stale or expired proxy is a common cause of "no internet" errors.
Setting Up a Proxy via Terminal (Advanced)
If you prefer the command line or need to script proxy changes, the networksetup utility does everything the GUI does. First, list your network services to get the exact name:
networksetup -listallnetworkservicesThen set an HTTP, HTTPS, or SOCKS proxy by passing the service name, server, and port:
; HTTP proxy
networksetup -setwebproxy "Wi-Fi" 192.168.1.100 8080
; HTTPS proxy
networksetup -setsecurewebproxy "Wi-Fi" 192.168.1.100 8080
; SOCKS proxy
networksetup -setsocksfirewallproxy "Wi-Fi" 192.168.1.100 1080To turn a proxy off again without deleting its details, toggle its state:
networksetup -setwebproxystate "Wi-Fi" offThis approach is ideal for developers who switch proxies often or want to automate the process across machines.
Configuring Proxies in Specific Browsers
By default, Safari and Chrome use the system-wide macOS proxy you set above. Firefox is the exception — it has its own proxy settings under Settings > General > Network Settings, where you can either inherit the system proxy or define a separate one.
This per-browser control is handy when you want only one browser to route through a proxy while the rest of your Mac connects directly. For scraping or multi-account work, many users pair browser proxies with dedicated tools rather than the system setting.
Best Proxies to Use on macOS
Your proxy is only as good as the provider behind it. A free, public proxy is slow and risky; a reputable paid provider gives you fast, reliable IPs with proper authentication. Here are three beginner-friendly options from our proxy directory that work seamlessly with macOS.
1Decodo
Decodo offers a huge 115M+ IP pool across 195 countries with one of the most user-friendly dashboards in the industry. Setup details are clearly laid out, making it easy to copy your server, port, and credentials straight into macOS System Settings.
It is a strong all-round pick for Mac users who want reliability without complexity. Granular geo-targeting and flexible session control suit everything from private browsing to localized testing and light data collection.
2IPRoyal
IPRoyal is ideal for casual and budget-conscious Mac users thanks to its non-expiring residential traffic — you buy data once and use it whenever you need, with no monthly pressure. Its 32M+ IPs span 195 countries for broad geo coverage.
The straightforward pricing and simple credentials make it a painless first proxy to configure on macOS. Sticky sessions keep your IP stable across a browsing session, which helps on sites that dislike frequent IP changes.
3Smartproxy
Smartproxy is widely regarded as the best value residential network, with 55M+ IPs and excellent documentation aimed at beginners. Its setup guides include macOS-specific instructions, so configuring the Proxies tab takes only a minute.
For Mac users stepping up from free proxies to something dependable, Smartproxy hits the sweet spot of price, performance, and ease of use. It scales comfortably if you later move into automation or scraping.
Mac Proxy Setup: Quick Comparison
Here is how the three picks compare on the figures that matter most for everyday macOS use.
| Provider | IP Pool | Countries | Best For | Rating |
|---|---|---|---|---|
| Decodo | 115M+ | 195 | All-round reliability | 4.4 |
| IPRoyal | 32M+ | 195 | Pay-as-you-go casual use | 4.4 |
| Smartproxy | 55M+ | 195 | Best value for beginners | 4.4 |
Common Mistakes and Troubleshooting Proxy Issues on Mac
Most proxy problems on macOS come down to a handful of avoidable errors. Here is how to diagnose and fix them.
1Entering the wrong port or protocol
A SOCKS proxy entered in the HTTP field will simply fail to connect. Double-check that the protocol box you ticked matches the credentials your provider issued, and that the port number is exact — a single wrong digit breaks the connection entirely.
2Forgetting authentication details
If your provider uses username-and-password authentication, you must tick Proxy server requires password and fill both fields. Leaving them blank causes silent failures where pages never load. IP-whitelisted proxies, by contrast, need your real IP added in the provider dashboard instead.
3Leaving a dead proxy enabled
When a proxy subscription expires or an IP goes offline, your Mac keeps trying to route through it and the internet appears broken. If sites suddenly stop loading, disable the proxy checkbox first to confirm whether it is the cause before troubleshooting anything else.
4Using unreliable free proxies
Free public proxies are frequently overloaded, slow, or outright malicious — some inject ads or log your traffic. For anything involving logins or sensitive data, always use a reputable paid provider. You can confirm a proxy's speed and anonymity with our guide on testing proxy speed and anonymity.
Tips for Using Proxies on macOS
- Test immediately after setup by checking your visible IP so you know the proxy is actually active.
- Use SOCKS5 when you need system-wide coverage beyond just web browsers.
- Note your settings before changing them so you can revert quickly if something breaks.
- Prefer residential proxies for accessing sites that block datacenter IPs — browse options in our proxy provider directory.
- Disable the proxy when you are done if you only need it occasionally, to avoid connection confusion later.
Proxy vs VPN on macOS: Which Should You Use?
A common question for Mac users is whether to set up a proxy or a VPN. They overlap but solve different problems, and knowing the distinction helps you configure the right tool the first time.
A proxy reroutes traffic for a specific protocol or app and is lightweight, fast, and ideal for tasks like accessing geo-restricted sites, testing localized content, or routing only your browser through a different IP. Because macOS applies proxy settings per network service, you keep granular control over exactly what gets proxied.
A VPN, by contrast, encrypts all traffic leaving your Mac through a secure tunnel, which is better for full-device privacy on untrusted Wi-Fi. The trade-off is that a VPN is all-or-nothing, while a proxy lets you mix proxied and direct connections. If privacy on public networks is your main concern, a VPN is the safer default; if you need flexible, app-level IP control or large IP pools for tasks like data collection, a proxy wins.
Many power users run both — a VPN for baseline encryption and proxies for granular, high-volume work. You can compare encrypted options in our VPN directory if you decide a VPN suits your situation better.
Frequently Asked Questions
Conclusion
Setting up a proxy server on macOS is straightforward once you know where to look. Through System Settings you can enable HTTP, HTTPS, or SOCKS proxies in a few clicks, change or disable them just as easily, and even script the whole process from Terminal with networksetup if you prefer the command line.
The most important decision is your provider — a reliable, authenticated proxy from a service like Decodo, IPRoyal, or Smartproxy will outperform any free option on speed, security, and stability. Ready to get started? Browse our full proxy provider directory, learn more about residential proxies, or read up on choosing the right proxy protocol so your macOS setup is fast, private, and reliable for your specific needs.

