Logo
Tutorials
March 2, 2026
7 min

How to Set Up a Proxy in Safari on Mac and iPhone (2026)

Alanta Kaminskaite
How to Set Up a Proxy in Safari on Mac and iPhone (2026)
Summary
Learn how to configure Safari proxy settings on your Mac and iPhone easily. Enhance your browsing experience—read the essential guide now!

Key takeaways:

  • Safari has no proxy settings of its own. On a Mac it uses the macOS network proxy, and on an iPhone or iPad it uses the Wi-Fi network's proxy.
  • On Mac: open System Settings > Network > your connection > Details > Proxies, enable a protocol, and enter the host and port.
  • On iPhone or iPad: open Settings > Wi-Fi, tap the i next to your network, choose Configure Proxy > Manual, and enter the server and port.
  • To turn a proxy off, clear those same settings. For a stable connection, use a paid proxy rather than a free public one.

The short answer: Safari follows the system proxy, so you set it in macOS network settings on a Mac and in the Wi-Fi settings on an iPhone. There is no proxy panel inside Safari itself. The table shows the quick path on each device, then each section walks through it in full.

Safari proxy setup at a glance

DeviceWhere to set itQuick path
Mac (macOS)System network settingsSystem Settings > Network > connection > Details > Proxies
iPhone / iPadActive Wi-Fi networkSettings > Wi-Fi > (i) > Configure Proxy > Manual

 

Safari follows the system proxy on Mac and the Wi-Fi proxy on iPhone.

How to set up a proxy in Safari on Mac

Safari on a Mac uses the macOS network proxy, so you configure it once and Safari follows it.

  1. Open System Settings (called System Preferences on older macOS versions).
  2. Go to Network and select your active connection, such as Wi-Fi or Ethernet.
  3. Click Details, then open the Proxies tab.
  4. Turn on the protocol you need: Web Proxy (HTTP)Secure Web Proxy (HTTPS), or SOCKS Proxy.
  5. Enter the proxy server and port from your provider. Add a username and password if the proxy requires them.
  6. Click OK, then Apply, and reload Safari.

If you prefer the command line, networksetup -setwebproxy "Wi-Fi" host port sets it, and scutil --proxy shows the current configuration.

Four steps in macOS network settings, and Safari follows them.

How to set up a proxy in Safari on iPhone and iPad

Safari on iOS uses the proxy set on the Wi-Fi network you are connected to.

  1. Open Settings > Wi-Fi and tap the i next to your network.
  2. Scroll to Configure Proxy and tap it.
  3. Choose Manual.
  4. Enter the Server and Port, and turn on Authentication to add a username and password if needed.
  5. Tap Save, then reopen Safari.

Mobile data connections do not use a manual proxy, so a Wi-Fi proxy only applies while you are on that Wi-Fi network.

How to use an automatic proxy script (PAC) in Safari

A proxy auto-config (PAC) file lets an organization define proxy rules once and apply them everywhere.

  • On Mac: in the Proxies tab, turn on Automatic Proxy Configuration and paste the PAC file URL, then click OK and Apply.
  • On iPhone: under Configure Proxy, choose Automatic and enter the PAC URL, then tap Save.

Use a PAC file when a network administrator provides one, or when you want different proxy rules for different sites.

How to enter a proxy username and password

Most paid proxies require authentication. On both Mac and iPhone, the proxy settings include fields for a username and password once you enable authentication. Enter the credentials from your provider dashboard, not in the server field.

If Safari keeps prompting for the proxy password, the saved credentials are missing or incorrect. Re-enter them in the same proxy settings panel and save again.

How to turn off or remove a proxy in Safari

Removing a proxy uses the same panels.

  • On Mac: open System Settings > Network > connection > Details > Proxies, turn off every enabled protocol, then click OK and Apply.
  • On iPhone: open Settings > Wi-Fi > (i) > Configure Proxy, set it to Off, and tap Save.

If a proxy setting keeps returning, a configuration profile or a management tool may be applying it, which is common on managed or work devices.

How to fix common Safari proxy errors

A misconfigured proxy is a frequent cause of Safari connection errors. Work through these:

Most Safari connection errors trace back to the proxy details.

  • "Safari can't find the server" or "cannot open the page." The proxy host or port is wrong, or the proxy is offline. Recheck the server and port, or turn the proxy off to test a direct connection.
  • ERR_PROXY_CONNECTION_FAILED. Safari cannot reach the proxy. Confirm the proxy is online and the details are correct.
  • The page loads slowly or times out. A free or overloaded proxy is often the cause. Switch to a faster, reliable proxy.
  • Safari keeps asking for a proxy password. Re-enter valid credentials from your provider in the proxy settings.

Which proxy to use with Safari

Safari works with any standard HTTP, HTTPS, or SOCKS proxy, so the deciding factor is the network behind it. A free public proxy is often slow and unreliable, so a paid service is the steadier choice. Match the type to your task:

  • [Residential proxies](https://www.proxy-cheap.com/services/residential-proxies) for high-trust browsing and location-accurate research.
  • [Mobile proxies](https://www.proxy-cheap.com/services/mobile-proxies) for mobile-first sites, which pairs well with iPhone use.
  • [Datacenter proxies](https://www.proxy-cheap.com/services/datacenter-proxies) for fast access to public content, and [ISP proxies](https://www.proxy-cheap.com/services/isp-proxies) for long, stable sessions.

Decide between SOCKS5 or HTTP based on the traffic you route, and keep your proxy server address on hand. Proxy-Cheap offers all of these with no monthly commitment, and you can compare the market in our roundup of the best proxy providers. If you also use Chrome, see how to configure a proxy in Google Chrome, and for privacy trade-offs see proxy versus a VPN.

Frequently Asked Questions

No. Safari uses the system proxy, so on a Mac you set it in System Settings under Network, and on an iPhone you set it on the Wi-Fi network. There is no proxy menu inside Safari itself.

Open System Settings, go to Network, select your active connection, click Details, then open the Proxies tab. Any proxy you enable there applies to Safari and other apps that follow the system setting.

Yes. Open Settings, tap Wi-Fi, tap the i next to your network, choose Configure Proxy, and set it to Manual or Automatic. The proxy applies while you are connected to that Wi-Fi network.

Yes, through the macOS SOCKS Proxy setting. In the Proxies tab, enable SOCKS Proxy and enter the host and port. On iPhone, the manual proxy field is intended for HTTP-style proxies, so SOCKS is best set on a Mac.

Usually the proxy host or port is wrong, or the proxy is offline. Double-check the details, confirm the proxy is active, and if pages still fail, turn the proxy off to test a direct connection.

Clear the proxy in the same place you set it: on Mac, turn off the protocols in System Settings > Network > Details > Proxies, and on iPhone, set Configure Proxy to Off. Save the change and reload Safari.

Safari has limited proxy-extension support compared with Chrome or Firefox, so the system proxy settings are the reliable method. Set the proxy in macOS or iOS settings rather than relying on a browser add-on.

Free public proxies carry privacy and reliability risks, since you rarely know who runs them. For accounts, payments, or work, a paid provider with 256-bit SSL is the safer choice.