How to Set Up a Proxy on Mac (macOS Step-by-Step Guide)
Learn exactly how to configure a proxy server on your Mac—covering HTTP, HTTPS, SOCKS5, and PAC files. This guide provides step-by-step instructions for macOS Ventura, Monterey, Sonoma, and earlier; with tips for Safari, Chrome, and Firefox browsers. Enhance your privacy, secure your connection, bypass regional restrictions, or power up automation tools—no technical jargon required!
Preparation: What You Need for Mac Proxy Setup
Before you start, gather the following details from your proxy provider:
- Proxy Server Address (Host) (e.g., 123.45.67.89 or proxy.example.com)
- Port (e.g., 8080, 1080)
- Protocol/Type (HTTP, HTTPS, SOCKS5, PAC file URL)
- Username/Password (if required for authentication)
| Term | Definition |
|---|---|
| Host | Proxy server address (IP or domain) |
| Port | Network port number (e.g. 8080) |
| Protocol | Type of proxy: HTTP, HTTPS, SOCKS5 |
| User/Pass | Credentials for authenticated proxies |
| PAC | Proxy Auto-Config file (URL to script) |
Step-by-Step: Configure HTTP/HTTPS/SOCKS5 Proxy on macOS
1. System-Wide Proxy via System Preferences/Settings
- Open System Settings (Ventura/Sonoma) or System Preferences (Monterey/earlier).
- Go to Network → Select your active network (Wi-Fi or Ethernet) → Click Details or Advanced….
- Navigate to the Proxies tab/section.
- To set a manual proxy:
- Tick the box for Web Proxy (HTTP), Secure Web Proxy (HTTPS), or SOCKS Proxy as needed.
- Enter your proxy server address and port.
- If required, tick Proxy server requires password and enter your credentials.
- To use a PAC file: Tick Automatic Proxy Configuration and enter the PAC file URL provided by your proxy provider.
- Click OK, then Apply to save changes.
- Test your proxy by visiting IP Lookup Tool or a site that shows your public IP.
2. Safari Proxy Configuration Explained
Safari uses your Mac’s system proxy settings. No extra setup is needed.
- After configuring the system proxy as above, restart Safari for changes to take effect.
- If pages don’t load, clear your cache and check proxy credentials.
3. Chrome Proxy Settings on Mac
Google Chrome (and most Chromium browsers) also use your Mac’s system proxy settings.
- Follow the System Preferences instructions above.
- Restart Chrome after making changes.
- For advanced users: Use a Chrome extension to specify a different proxy per profile or tab. Note: Some extensions may override system proxy settings.
4. Firefox Proxy Settings on Mac
- Open Firefox → Preferences (or Settings).
- Scroll to Network Settings at the bottom and click Settings…
- Choose one of:
- No proxy (direct connection)
- Use system proxy settings
- Manual proxy configuration (HTTP, HTTPS, SOCKS5, etc.)
- Automatic proxy configuration URL (enter PAC file URL)
- If using manual config, enter the proxy server, port, and (if needed) username/password.
- Click OK to apply settings.
- Test by visiting IP Lookup Tool.
Advanced Tips & Troubleshooting: macOS Proxy Setup
- Double-check your username/password with your provider.
- Update saved credentials in Keychain Access if needed (search for "proxy").
- Some browsers (like Firefox) prompt separately. Re-enter credentials if prompted.
- Premium proxies? See Premium Proxies for troubleshooting tips.
- Ensure the URL is accessible and starts with
http://orhttps://. - Click Apply after entering the PAC.
- Contact your provider if you get errors or have questions about PAC file syntax.
- Learn more: Advanced Proxy Usage
networksetup command in Terminal. Example:
sudo networksetup -setwebproxy Wi-Fi 123.45.67.89 8080 sudo networksetup -setsecurewebproxy Wi-Fi 123.45.67.89 8080Replace Wi-Fi with your interface name. For other apps, set environment variables (e.g.,
export http_proxy=... for curl/wget). See Linux Proxy Setup Guide for more.
- Use HTTPS or SOCKS5 proxies for secure traffic.
- Never use free proxies for sensitive tasks (banking, logins).
- Test for DNS leaks with DNS Leak Test.
- Combine proxies with encrypted sites (https://) for end-to-end security.
- Rotate proxies for scraping/automation to avoid bans.
- See Proxy Security Tips for a full checklist.
Related Guides & Resources
Step-by-step instructions for setting up proxies on Windows 11/10, including browser and system configuration.
Learn how to configure proxies for Linux systems—system-wide, CLI, and browser-specific guidance.
How to configure proxies on Android and iOS, including manual and app-based instructions for privacy and speed.
Everything you need to know about using SOCKS5 proxies on Mac, Windows, browsers, and automation tools.
Browse secure HTTPS proxies—ideal for privacy browsing, scraping, and safe internet access.
Understand the basics of proxies, how they work, and the main types available for privacy and access.
Get actionable tips for secure, reliable proxy use—avoid bans and maximize privacy on any platform.
Unlock access to the fastest, most reliable proxies—perfect for automation, streaming, or enterprise use.