Skip to main content

5 min read

Mastering Proxy Settings on Your MacBook: how to set up and manage a MacBook proxy?

What is a MacBook proxy

Setting up a MacBook proxy lets you route your Mac’s internet traffic through another server. You can browse privately, see websites as users in other countries do, and run tools such as scrapers or anti-detect browsers through residential IPs. macOS has built-in proxy support, so you don’t need extra software for basic use. This guide explains what a MacBook proxy is, the proxy types macOS supports, and how to set one up step by step on current versions of macOS, through the terminal, and in individual apps.

Need proxies for your Mac? Get a trial on QuickProxy for only $1.99.

What is a MacBook proxy, and why use one?

A MacBook proxy is a proxy server configured in macOS, or in an app on your Mac, that sits between your computer and the websites you visit. Websites see the proxy’s IP address instead of yours. Common reasons to use one:

  • Privacy: hide your real IP address and location from websites and trackers.
  • Geo-access and testing: view websites, search results, prices, and ads as users in other countries see them.
  • Work tools: run scrapers, monitoring tools, and anti-detect browsers through residential IPs.
  • Network policies: some company networks require a proxy for internet access.

Keep in mind that a proxy does not encrypt your traffic by itself. Websites using HTTPS are still encrypted end to end, but if you need full-device encryption, consider a VPN. See Proxy vs VPN.

Proxy types supported by macOS

  • Web proxy (HTTP): for unencrypted web traffic.
  • Secure web proxy (HTTPS): for encrypted web traffic. Most browsing today uses HTTPS, so set both HTTP and HTTPS.
  • SOCKS proxy: a general-purpose proxy for many kinds of TCP traffic. It is useful for apps beyond the browser.
  • Automatic proxy configuration (PAC): a script, usually provided by your company, that decides which proxy to use for each address.
  • FTP and streaming proxies: older options that are rarely needed today.

How to set up a proxy on macOS (Ventura, Sonoma, Sequoia and later)

  1. Get your proxy details from your provider: host, port, username, and password. With Quick Proxy, you can choose the country by adding a code to your username, for example username-cc-us.
  2. Open the Apple menu → System Settings.
  3. Click Network in the sidebar, then select the connection you use, for example Wi-Fi or Ethernet.
  4. Click Details… next to your connected network, then choose Proxies.
  5. Turn on Web proxy (HTTP) and Secure web proxy (HTTPS), or SOCKS proxy if you prefer.
  6. Enter the server (host) and port for each enabled type.
  7. If your proxy requires authentication, turn on Proxy server requires password and enter your username and password.
  8. Optionally, add addresses that should bypass the proxy, such as local network addresses.
  9. Click OK to save.
  10. Test it: open a browser and visit an IP-check website. You should see the proxy’s IP address and country.

On older macOS versions (Monterey and earlier), the path is System Preferences → Network → select the connection → Advanced → Proxies. The settings are the same.

Setting a proxy only for one app

System-wide settings affect every app that follows macOS proxy settings. Often it’s better to proxy only specific tools:

  • Browsers: Safari and Chrome use the system settings. Firefox has its own proxy settings, and extensions such as FoxyProxy let you switch proxies per browser. See also Safari proxies.
  • Anti-detect browsers: set a different proxy for each profile, for example in AdsPower or Kameleo.
  • Command-line tools: use proxy options or environment variables, as shown below.

Using a proxy in the macOS Terminal

Many command-line tools read proxy environment variables. In Terminal, you can set them for the current session:

export http_proxy="http://USERNAME:PASSWORD@HOST:PORT"
export https_proxy="http://USERNAME:PASSWORD@HOST:PORT"

Or pass the proxy directly to a single command, for example with cURL:

curl -x http://HOST:PORT -U USERNAME:PASSWORD https://ipinfo.io

See our guides to Wget proxies and proxy chaining for more command-line options.

Turning the proxy off

Return to System Settings → Network → your connection → Details… → Proxies and switch off the proxy types you enabled. If websites stop loading after you change networks, an old proxy setting is often the reason.

Troubleshooting

  • Pages don’t load: check the host, port, and credentials. Make sure you entered both the HTTP and HTTPS proxy.
  • You keep getting asked for a password: re-enter the credentials and check that the username includes the right country suffix.
  • Some apps ignore the proxy: not every app follows system settings. Configure the proxy inside that app.
  • Slow speeds: choose a closer proxy location. See proxy speed tips and common proxy errors.

Best practices for using proxies on a Mac

  • Use a reputable residential proxy provider, and avoid free public proxies, which may log or alter your traffic.
  • Prefer per-app proxies for work tools, so your everyday traffic isn’t routed unnecessarily.
  • Use separate proxies for separate tasks or accounts, and keep each account’s location consistent.
  • Clear cookies or use separate browser profiles when switching locations.
  • Keep macOS and your browsers updated.

Conclusion

Setting up a MacBook proxy takes only a few minutes in System Settings, and you can also run proxies per app or from the terminal. Choose the right proxy type, enter your credentials, test your IP, and use reputable residential proxies for reliable, private browsing and professional tools on your Mac.

Get residential proxies for your Mac: get 1 GB of bandwidth.

Questions and Answers

Q1: Where are the proxy settings on a MacBook?

A1: On macOS Ventura and later: System Settings → Network → select your connection → Details… → Proxies. On older versions: System Preferences → Network → Advanced → Proxies.

Q2: Which proxy type should I use on macOS?

A2: For browsing, enable both Web proxy (HTTP) and Secure web proxy (HTTPS). For other apps, SOCKS5 is a flexible choice.

Q3: Does a proxy on Mac encrypt my traffic?

A3: No. A proxy changes your IP address but does not encrypt traffic by itself. HTTPS websites stay encrypted. Use a VPN if you need full-device encryption.

Related reading

Put the article into practice.

Spin up real residential IPs in 150+ countries. Pay once or subscribe — from $11.