How to Set Up a Proxy in Firefox with a Separate Profile
Firefox stores proxy settings per profile. This guide shows how to create a dedicated profile, enter the proxy details, and check that only that profile uses the proxy.
9 min readUpdated Nov 13, 2026By XPASS Editorial Team

A proxy is only useful when it is applied to the traffic you meant it for. Many people configure a proxy in their everyday browser, forget about it, and then wonder why a banking site, a video call or a local service behaves strangely. Firefox offers a clean way to avoid that problem: profiles. A profile is a self-contained folder that holds your settings, cookies, history, extensions and, importantly, your network configuration. If you put the proxy into a dedicated profile, only that profile uses it. Your normal browsing is untouched.
This guide walks through the whole process: creating the profile, entering the proxy details, handling authentication, starting two profiles side by side, and checking the result. It assumes you already have proxy details from a provider, and that you use them for lawful purposes and in line with the terms of the sites you visit. If you are still deciding which protocol to use, read how to set up a SOCKS5 proxy as a beginner first, then come back here.
Why a separate profile is a good idea
Firefox reads proxy settings from the profile, not from the program. That has a few practical consequences.
- Isolation. Cookies, logins, local storage and cached files belong to the profile. A proxy profile will not see the sessions you opened in your normal profile, which keeps the two identities cleanly separated.
- Safety net. If a proxy stops responding, only the proxy profile is affected. You can still open your normal profile and continue working.
- Clear labelling. You can give the profile a name such as "proxy-work" or "region-test", so you always know which window is which.
- Different extensions. You may want an extension for one task but not for another. Profiles keep that separate too.
- Easy clean-up. When a project ends, you delete the profile and everything attached to it disappears, including saved proxy details.
The same idea exists in other browsers. If you also work in Chrome, the Google Chrome proxy guide explains how that browser handles the situation, which is different because Chrome normally follows the operating system settings.

Step 1: Create a new profile
Firefox includes a Profile Manager. There are two common ways to reach it.
- Type
about:profilesin the address bar and press Enter. This page lists every profile and has a "Create a New Profile" button. It also shows which profile is currently in use. - Close Firefox and start it from a terminal or the Run dialog with the
-Poption, for examplefirefox -P. A window opens that lets you create, rename, and delete profiles.
When you create the profile, the wizard asks for a name and lets you choose the folder. The default folder is fine. Pick a short name that describes the job, such as proxy-research. Avoid putting personal information in the name, because it is stored in plain text on disk.
After you press Finish, the new profile appears in the list. On about:profiles you can press "Launch profile in new browser". That opens a second Firefox window that uses the new profile. The window title and the page itself look like a fresh installation, with an empty bookmarks bar and nothing signed in. That is exactly what you want.
Step 2: Open the network settings
In the new profile window, open the menu and choose Settings. On the General panel, scroll all the way to the bottom to the Network Settings section, then press the Settings button. A dialog appears with these choices:
| Option | Meaning |
|---|---|
| No proxy | Firefox connects directly. |
| Auto-detect proxy settings for this network | Firefox tries to discover a configuration script on the local network. |
| Use system proxy settings | Firefox follows what the operating system says. |
| Manual proxy configuration | You type the proxy host and port yourself. |
| Automatic proxy configuration URL | You give Firefox the address of a PAC file. |
For a dedicated profile, "Manual proxy configuration" is almost always the right choice. It keeps the setting local to this profile and does not depend on the operating system. On macOS, for instance, the system setting would apply to many applications, which is the opposite of what you want here. If you do want to configure the machine as a whole, see the macOS browser proxy guide.
Step 3: Enter the proxy details
Choose Manual proxy configuration. You will see separate fields for HTTP, HTTPS (labelled SSL in some versions) and SOCKS.
If your provider gave you an HTTP or HTTPS proxy:
- Type the host name or IP address into "HTTP Proxy" and the port into "Port".
- Tick "Also use this proxy for HTTPS" so secure sites use the same proxy.
- Leave the SOCKS fields empty.
If your provider gave you a SOCKS5 proxy:
- Leave the HTTP fields empty.
- Type the host and port into "SOCKS Host" and "Port".
- Choose "SOCKS v5".
- Tick "Proxy DNS when using SOCKS v5".
The last checkbox deserves an explanation. Without it, Firefox looks up the domain name using your own computer and your own DNS resolver, and then sends only the resulting address through the proxy. With it, Firefox hands the domain name itself to the proxy, which resolves it on its side. For most proxy uses this is the more consistent behaviour, because the name lookup and the connection come from the same place. The SOCKS5 protocol, described in RFC 1928, supports sending a domain name to the proxy, which is what makes this possible.
If you are not sure which protocol your provider uses, check the plan page or the delivery email.
Press OK to save. There is no restart requirement; Firefox applies the change immediately.
Step 4: Handle username and password prompts
Many proxies ask for credentials. When the proxy requires authentication, Firefox shows a prompt the first time you load a page, asking for a user name and password. Enter them and decide whether to let Firefox remember them. Because this is a dedicated profile, saving the credentials inside it is reasonably contained, but remember that anyone who can open the profile can use them.
Two notes:
- A prompt that appears again and again usually means the credentials are wrong, have expired, or are tied to something else, such as an allowed source address. Check the delivery details from your provider.
- Firefox's built-in SOCKS support historically handles user name and password less smoothly than HTTP proxies. If a SOCKS5 proxy with credentials gives you trouble, check with the provider whether an HTTP endpoint is also offered, or whether the plan can authorise by source address instead.
Step 5: Use the "No proxy for" field wisely
At the bottom of the dialog there is a box called "No proxy for". Anything listed here is reached directly. By default it contains localhost and 127.0.0.1, which is sensible: local development servers and router pages should not go through a remote proxy. You can add other internal names if you need them, separated by commas. Do not add the sites you actually want to test, or you will end up measuring your own connection by mistake.
Step 6: Verify that it works
Do not assume the settings are correct. Check them.
- In the proxy profile, open a page that shows your public IP address. Note the address and the country shown.
- In your normal profile, open the same page. The address should be different.
- Close the proxy profile, reopen it and check again. The settings should persist.
- Try one HTTP site and one HTTPS site, since a misplaced checkbox can leave one of them going direct.
A short worked example: you are checking how a local news page looks to readers in another country. You create a profile named region-test, enter a SOCKS5 host and port, tick "Proxy DNS when using SOCKS v5", and open an IP-check page. It shows an address in the target country, while your normal profile shows your home address. Now you can load the news page in region-test and compare it with the page in your normal profile, and you have done so without changing anything about your daily browser.
If the page does not load at all, the usual causes are a wrong port, a typo in the host, a firewall that blocks the proxy port, or credentials that were rejected. Go back through the fields one by one.
Running two profiles at the same time
By default Firefox tries to reuse an already running instance, so launching a second profile may simply open a new window of the first. To avoid this, use the "Launch profile in new browser" button on about:profiles, or start Firefox from a terminal with the profile name and the -no-remote option:
firefox -P "region-test" -no-remote
On some systems, newer Firefox versions run separate profiles in separate instances without the extra option, but adding it does no harm on versions that support it. Windows, macOS and Linux all accept the same command-line options once you point to the correct executable path. You can also create a shortcut or launcher with the command, so one click opens the proxy profile directly.
A good habit is to change the theme of the proxy profile. Firefox lets you install a theme in each profile separately. A distinctly coloured window makes it obvious at a glance which one is going through the proxy, which prevents mistakes such as logging into a personal account in the wrong window.
Limits and what to watch for
A browser proxy is simple and useful, but it has boundaries you should understand.
- Only Firefox is covered. Other applications on your computer, such as a chat client or a download manager, do not use the profile's proxy. If you need them to use the proxy too, they need their own settings.
- WebRTC and other features. Some web features can open connections in ways that do not follow the proxy settings in every case. If your task depends on the page seeing only the proxy address, test for it with a WebRTC check page and adjust the relevant Firefox setting if needed.
- Extensions. A privacy or networking extension may change proxy behaviour or conflict with the manual setting. Start with a clean profile and add extensions one at a time.
- Passwords and sync. Do not turn on Firefox Sync inside the proxy profile unless you intend to mix it with your main account. Sync would copy bookmarks and logins between profiles.
- Terms and law. A proxy does not change what is allowed. Follow the terms of the websites you use, respect rate limits and robots rules, and obey the laws that apply where you live and where the service operates.
- Protocol limits. An HTTP proxy only handles web traffic. A SOCKS5 proxy can carry other kinds of connections, but a browser still only sends web traffic through it.
When something behaves oddly, go back to a known state: delete the profile, create a new one, apply only the proxy setting and test again. Because a profile is so easy to rebuild, this is quicker than hunting through preferences.
Keeping the setup tidy
Once your proxy profile works, a few small habits help it stay reliable. Write the profile name, the proxy host and the date you set it up in a note, so that later you can tell which profile belongs to which project. Do not reuse the same profile for unrelated jobs, because cookies from one task can follow you into the next. When a project finishes, delete the profile from about:profiles using the Remove button, and choose to delete the files so that saved credentials do not linger on disk. If you rotate to new proxy details, edit the Network Settings in place and run the verification steps again rather than assuming the old values were replaced.
If you share a computer with other people, remember that profile folders live inside your user account. Locking your account or using a disk-encryption feature of the operating system protects them far better than any browser option can. And if you ever need to move the setup to another machine, you can copy the profile folder, though it is often cleaner to recreate the profile and type the details again.
Summary
Firefox profiles give you a simple, low-risk way to use a proxy for one task without affecting anything else. Create a dedicated profile through about:profiles, open Network Settings, choose Manual proxy configuration, enter the host and port in the correct fields, enable SOCKS v5 and "Proxy DNS when using SOCKS v5" when your proxy is SOCKS5, and handle any credentials prompt. Then verify the result by comparing the public IP address in the proxy profile with the one in your normal profile. Remember the limits: only Firefox is covered, extensions and web features can interfere, and a proxy never overrides site terms or the law.
If you want proxy details to put into a profile like this, you can look at the options on the Proxy page and check what each plan includes.
Frequently asked questions
Why use a separate Firefox profile for a proxy?
Firefox keeps its proxy settings, cookies, extensions and history inside the profile. A dedicated profile lets one browser window go through the proxy while your everyday profile keeps using your normal connection, and nothing is shared between them.
Where do I enter the proxy in Firefox?
Open Settings, stay on the General panel, scroll to Network Settings, press Settings, and choose Manual proxy configuration. Enter the host and port, then tick the SOCKS v5 option if your proxy uses SOCKS5.
What does Proxy DNS when using SOCKS v5 do?
It makes Firefox send the domain name to the proxy and let the proxy resolve it, instead of resolving the name on your own computer first. This keeps name lookups consistent with the rest of the traffic.
How do I know the proxy is working in my profile?
Open a page that shows your public IP address in the proxy profile and in your normal profile. The two should show different addresses. If they match, the proxy settings were not saved or the profile you are using is not the one you configured.
Can I open both profiles at the same time?
Yes. Starting the second profile with the Profile Manager or with the -P and -no-remote options lets two Firefox instances run side by side, each with its own settings.
References
About the author

Bob Kanokphon Thongdee
- Founder of XPASS VPN
- Co-founder of eSIMonline.asia
- More than 7 years in online marketing
- Founder of Cojourney Visa and Cojourney Travel
Need a proxy for this?
XPASS Proxy sells residential proxy traffic by the gigabyte, with the price shown before you pay.
See proxy plansKeep reading

Proxy Guides
How to Set Up a Proxy in Google Chrome
Chrome has no Proxy screen of its own. See how to use the system setting, how to launch a separate profile with a Proxy flag, and how to check that it works.
9 min read

Proxy Guides
How to Set Up a SOCKS5 Proxy: A Beginner's Guide
SOCKS5 is a general-purpose proxy protocol. This beginner's guide explains the parts you need, shows how to test a SOCKS5 proxy, and covers common mistakes.
9 min read

Proxy Guides
How to Set Up a Proxy on macOS for Your Browser
Configure a Proxy in macOS Network settings so Safari and Chrome follow it, handle Firefox separately, test the result and undo the change if needed.
9 min read