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.

Author
ProxyHorizon Team
Published
June 8, 2026
11 min read
Expert-Verified

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 TypeBest FormacOS Setting Name
HTTPGeneral web browsing (unencrypted)Web Proxy (HTTP)
HTTPSEncrypted web trafficSecure Web Proxy (HTTPS)
SOCKS5Any traffic — apps, torrents, gamesSOCKS Proxy
Auto-config (PAC)Corporate/managed networksAutomatic 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:

Text
networksetup -listallnetworkservices

Then set an HTTP, HTTPS, or SOCKS proxy by passing the service name, server, and port:

Text
; 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 1080

To turn a proxy off again without deleting its details, toggle its state:

Text
networksetup -setwebproxystate "Wi-Fi" off

This 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

Pool:115M+
Uptime:99.99%
Latency:0.6s
Countries:195+
Huge 97M+ residential IP pool
Beginner-friendly dashboard and documentation
Flexible pay-as-you-go pricing
High success rates on tough targets
Fast 24/7 live chat support
Free trial and money-back guarantee

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

Pool:32M+
Uptime:99.9%
Latency:0.8s
Countries:195+
Traffic never expires (pay-as-you-go)
Ethically sourced residential IPs
Crypto and flexible payment options
Affordable entry pricing
Sticky sessions up to 24 hours

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

Pool:55M+
Uptime:99.5%
Latency:0.6s
Countries:195+
Excellent value for residential proxies
User-friendly Chrome extension
Dedicated scraping APIs (SERP, eCommerce)
3-day money-back guarantee
24/7 live chat support

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.

ProviderIP PoolCountriesBest ForRating
Decodo115M+195All-round reliability4.4
IPRoyal32M+195Pay-as-you-go casual use4.4
Smartproxy55M+195Best value for beginners4.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

Open the Apple menu and choose System Settings, then click Network. Select your active connection — usually Wi-Fi or Ethernet — and click Details. Choose Proxies from the sidebar to see all available proxy protocols and any that are currently enabled. On macOS Monterey and earlier, the path is System Preferences, then Network, then Advanced, then the Proxies tab.
An HTTP proxy only handles web traffic and is configured under Web Proxy or Secure Web Proxy in macOS. A SOCKS proxy operates at a lower level and can route almost any kind of traffic — including apps, games, and file transfers — not just browsing. Choose HTTP/HTTPS for simple web use, and SOCKS5 when you need broader, system-wide coverage across different applications.
Mostly yes. Safari and Chrome use the system-wide proxy you set in macOS Network settings by default, so configuring it once covers them both. Firefox is the main exception — it has its own network settings and can either follow the system proxy or use a separate one you define inside Firefox. This lets you route one browser differently from the rest of your Mac if needed.
Go back to System Settings, then Network, select your connection, click Details, and open Proxies. Untick the checkbox next to whichever protocol you enabled — such as Secure Web Proxy or SOCKS Proxy — then click OK and Apply. Your Mac instantly returns to a direct connection. You can also disable it from Terminal using the networksetup command with the proxy state set to off.
This usually means the proxy details are wrong or the proxy itself is offline. Re-check the server address, port, and protocol against what your provider gave you, and confirm any required username and password are entered. If everything looks correct, the proxy may have expired — disable the checkbox to restore a direct connection and test whether the proxy was the cause.
Yes. The built-in networksetup command configures proxies without the GUI. Use networksetup -setwebproxy followed by your network service name, server, and port for an HTTP proxy, or -setsocksfirewallproxy for SOCKS. Run networksetup -listallnetworkservices first to get the exact service name. This is especially useful for developers who switch proxies frequently or want to script the configuration across multiple machines.
You can technically use a free proxy, but it’s rarely a good idea. Free public proxies are often slow, unreliable, and sometimes malicious — logging traffic or injecting ads. For anything involving logins, work, or sensitive data, a reputable paid provider is far safer and faster. Providers like Decodo, IPRoyal, and Smartproxy offer affordable plans with proper authentication and dependable IPs.
A proxy adds an extra hop, so a small speed reduction is normal, but with a quality provider it’s usually unnoticeable for browsing. Slowdowns mostly come from overloaded free proxies or choosing a server far from your location. To minimize the impact, pick a reputable provider and connect to a proxy server geographically close to you whenever your use case allows.

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.