Rotating vs Sticky Proxy Sessions Explained

When to rotate IPs per request and when to hold a sticky session, each provider's session limits and strict modes, and how billing works.

Summarize this post with AI

A 22-minute read, or the key points in about 30 seconds, in the assistant you already use.

Opens in a new tab with the prompt filled in. Nothing passes through this site.

Your script logs in, loads two pages, then lands back on the login screen. The cookies are fine. Your proxy gave you a new IP between requests, and the site treated it as a stolen session. That one bug is the whole rotating vs sticky proxies question.

A rotating proxy sends every request from a fresh IP. A sticky session holds one IP for a while, 10 minutes by default at Oxylabs and Decodo, and up to 7 days at IPRoyal.

Here's the catch. A sticky IP is still somebody's home device, so "up to 7 days" is a ceiling, not a promise. And on residential plans you pay per GB either way.

I haven't run these providers for this post. Every limit and price below comes from their own docs and pricing pages, as of 18 October 2026. If proxies are new to you, read how a residential proxy works first.

Some links here are affiliate links. They don't change your price or what I recommend.

Editorial cover split in two: Rotating, where a laptop's requests fan out to several home icons, and Sticky, where one line holds a single home with a padlock
Rotating spreads requests across many homes. Sticky keeps one home for the whole visit.

What is the difference between rotating and sticky proxies?

A rotating proxy gives you a new exit IP on every request. A sticky proxy session keeps the same exit IP across many requests until a timer runs out, you go idle too long, or the device behind the IP drops offline.

Think of it like phoning a call centre. Rotating means a different agent picks up every time. Sticky means you ask for the same agent so you don't have to explain your problem again.

Both modes usually come from the same residential pool and the same plan. You don't buy "a sticky proxy". You ask the gateway for stickiness, almost always by adding a session ID to your proxy username.

That's why the choice is cheap to change and expensive to get wrong. Pick the wrong mode and you either burn one IP until it's blocked, or you break every login you try.

How does a rotating proxy give you a new IP on every request?

You connect to one gateway address. With no session ID in your username, the gateway picks an online home device for each request and forwards your traffic through it.

Diagram of three Request arrows passing through a central Gateway hexagon, each leaving through a different home icon, labelled New IP each time
No session ID means the gateway picks a fresh exit IP for each request.

This is the default almost everywhere. Oxylabs says its residential proxies "rotate automatically with every request by default". SOAX says that without a session parameter "every request gets a new node". IPRoyal calls the same mode Randomize.

Rotation is good at one thing: spreading load. If you fetch 10,000 product pages, no single IP sends enough of them to hit a rate limit.

But "new IP every time" isn't a guarantee of a unique IP. Bright Data's docs warn that high request rates or many parallel callers "may result in reuse of the same proxy IPs". A big pool makes repeats rare, not impossible.

Rotation also can't clean up a bad reputation. IPs that other customers abused arrive already flagged, the same reason VPN users see so many Google CAPTCHAs.

Some providers also offer a middle mode: timed rotation. SOAX lets you keep a node and swap it every N seconds (10 seconds to one week) or every N requests (up to 1,000,000). IPRoyal's dashboard has an auto-rotate option every 1, 10 or 30 minutes.

Timed rotation suits slow crawls where you want a few requests per IP, not one. For most scraping, per-request rotation is still the simpler default.

How does a sticky session keep the same IP?

You add a session ID of your choice to the username. Every request that carries the same ID goes through the same exit IP, as long as the session is alive and the device is online.

Diagram of one home IP held across Login, Browse and Checkout steps, with a clock icon and a Same IP label, showing a sticky proxy session
One session ID keeps one exit IP until the timer, an idle timeout or the device ends it.

Three things end a sticky session early, and most guides only mention the first:

  • The timer. Oxylabs and Decodo default to 10 minutes. You can raise it with a duration parameter.
  • Going idle. Oxylabs' default session ends after 60 seconds with no requests, SOAX's after 60 seconds, and Bright Data's after 5 minutes.
  • The device leaving. Decodo puts it plainly: the longer the session, the more chances the IP rotates early "due to the residential device at the end going offline".

So what happens when the device drops? By default, nearly every provider quietly gives you a new IP under the same session ID. Your script keeps running and never knows the IP changed.

That's convenient for scraping and dangerous for logins. Which is why each provider also has a strict mode that fails loudly instead.

How long can a sticky session last, provider by provider?

The ceilings differ a lot, and so do the parameter names. Here's what each provider's documentation says, as of 18 October 2026.

ProviderSticky parameterDefault lengthMaximum lengthIdle timeoutStrict mode (no silent swap)
Oxylabssessid in username10 minutes24 hours with sesstime60 seconds (default session)sessid_oneip, fails with HTTP 502
Decodosession in username10 minutes24 hours with sessiondurationNot statedsession_iplock, won't rotate if the node drops
SOAXsession in usernameHeld while activeUse rotate-timed, 10 s to 1 week60 secondsbind-node, requests fail instead of replacing
IPRoyal_session (8 characters) in passwordSet by _lifetime7 days with _lifetimeNot stated_killswitch-1, returns HTTP 410
Bright Data-session in usernameHeld while activeNot stated5 minutes-const, returns HTTP 502

Two details from the table are worth a second look.

IPRoyal puts its session options in the password field, not the username. Its session ID must also be exactly 8 alphanumeric characters. Copy a Decodo-style config and nothing sticks.

Decodo's own pages disagree with each other. Its pricing FAQ still says you can keep an IP "for up to 30 min", while its docs say sessionduration accepts 1 to 1,440 minutes. I'd trust the docs, then test with a short session before you rely on a long one.

None of the maximums is guaranteed. Oxylabs, Decodo and IPRoyal all say a residential IP can disappear before the timer ends.

Should you rotate or stick? A decision guide

Ask one question: does the site need to remember you between requests? If no, rotate. If yes, stick.

Two decision cards: Rotate with a magnifier, price tag and stacked pages, and Stick with a user account, shopping cart and padlock
Stateless jobs rotate. Anything with a login, cart or form sticks.

Rotate per request if:

  • Each request stands alone, like product pages, search results or public listings
  • You're checking prices or ads from many locations
  • You want to spread a large crawl so no single IP sends much traffic
  • You don't log in and don't carry cookies between pages

Use a sticky session if:

  • You log in, then browse as that user
  • The flow has steps: cart to checkout, page one to page five of a form, a search followed by its results pages
  • The site sets a session cookie or token you reuse on later requests
  • You paginate through results that the site ties to one visitor

Use a static ISP IP instead if one identity has to stay put for days or weeks, such as a long-running account. A sticky residential session can drop at any time. An ISP proxy keeps the same IP for as long as you pay, which is why I cover them separately in my guide to the best ISP proxy providers.

My take: most real jobs mix both. Scrape public pages on rotation, and give each logged-in account its own sticky session or static IP. Never share one session ID between two accounts.

Automations follow the same rule. An n8n workflow that pulls public pages can rotate, while one that logs into a dashboard needs to stick. My post on the best proxies for n8n workflows shows where each proxy type fits.

Do sticky sessions cost more than rotating ones?

No, not on residential plans. You pay per gigabyte of traffic, and rotating and sticky sessions come out of the same balance at the same rate. None of the pricing pages I checked lists a surcharge for sticky sessions.

Decodo lists "rotating and sticky session options" in every residential plan. Oxylabs lists sticky sessions and flexible rotation as standard features. SOAX charges "one rate across residential and mobile", priced by the exit country's tier.

Here are the published residential rates, as of 18 October 2026 (USD, before VAT):

ProviderEntry rateRate at volumeBilling notes
Decodo$4/GB pay as you go, $3.75/GB on 3 GB$2.75/GB on 100 GB, $2/GB at 1 TBMonthly GB plans or a wallet, 3-day trial
Oxylabs$6/GB (Starter, $30/month)$4/GB on $500/month, $2.50/GB at 1,000+ GBOne subscription covers all products
SOAX$5/GB US traffic (Sandbox)$3/GB US on the $200/month Builder planCredits roll over for 60 days
IPRoyal$7.35/GB for 1 GB pay as you go$5.51/GB on 10 GB, $1.75/GB from 10 TBBought traffic never expires, subscription 5% off

So 10 GB on Decodo's monthly plan costs $35 whether you rotate every request or hold one IP for an hour.

The real price split is between product types. Static ISP IPs are billed per IP, not per GB. Decodo's dedicated ISP plan is $3.33 per IP for 3 IPs ($9.99 a month) and $2.80 per IP for 20 IPs.

That gives you a clean comparison for account work. 20 accounts on 20 dedicated Decodo ISP IPs is $56 a month, and those IPs don't vanish when someone switches off their router.

Sticky sessions can still raise your bill indirectly. SOAX counts traffic "in both directions, including partial responses, retries, and interrupted connections". A sticky IP that keeps failing, plus a script that retries forever, burns GB on pages you never get.

If you're starting small, Decodo has the lowest-commitment entry of the four, while SOAX and Oxylabs get cheaper at higher volumes. IPRoyal suits stop-start projects because its traffic doesn't expire.

What does a rotating vs sticky proxy config look like?

Below are format examples taken from each provider's documentation. USERNAME, PASSWORD and the session IDs are placeholders, so swap in your own credentials from the dashboard.

bash
# Format examples from provider docs (as of 18 Oct 2026). Placeholders, not working credentials.

# Oxylabs: rotating (default), then sticky for 30 minutes
curl -x pr.oxylabs.io:7777 -U "customer-USERNAME:PASSWORD" https://ip.oxylabs.io/location
curl -x pr.oxylabs.io:7777 -U "customer-USERNAME-cc-DE-sessid-abcd1234-sesstime-30:PASSWORD" https://ip.oxylabs.io/location

# Decodo: sticky US session for 90 minutes
curl -U "user-USERNAME-country-us-session-example1-sessionduration-90:PASSWORD" -x "gate.decodo.com:7000" "https://ip.decodo.com/json"

# SOAX: rotating, then a held session (rules go in the username, the package key is the password)
curl -x proxy.soax.com:1337 -U "country-us:YOUR_PACKAGE_KEY" https://checker.soax.com/api/ipinfo
curl -x proxy.soax.com:1337 -U "country-us-session-job1:YOUR_PACKAGE_KEY" https://checker.soax.com/api/ipinfo

# IPRoyal: session options go in the PASSWORD, session ID is exactly 8 characters
curl -x http://USERNAME:PASSWORD_country-br_session-sgn34f3e_lifetime-10m@geo.iproyal.com:12321 -L http://example.com

# Bright Data: sticky session, with -const so it fails instead of swapping IPs
curl "http://target.site" --proxy brd.superproxy.io:44445 --proxy-user "brd-customer-CUSTOMER_ID-zone-ZONE_NAME-session-mystring12345-const:ZONE_PASSWORD"

The pattern is the same everywhere. Remove the session part to rotate. Add it to stick. Change the session ID when you want a new IP on purpose.

To check stickiness, run the same command twice against the provider's IP-check URL. Same IP twice means the session is holding.

What mistakes break sticky sessions?

Most "random" logouts trace back to one of these, and the docs explain every one.

  • Changing other settings mid-session. Bright Data drops the session if the country, city or any other parameter differs between requests. SOAX rejects it outright with a 409 SESSION_PARAMS_MISMATCH error. Decodo goes the other way and keeps the old IP even if you change the country, so changing location means changing the session ID too.
  • Going quiet too long. A 60-second idle limit (Oxylabs' default, SOAX) ends the session while your script waits on a slow step. Send requests steadily, or plan for a fresh session.
  • Moving your own servers. Bright Data keeps a session only while your calls come from the same global region, so a job split between a US and a European server gets two different IPs.
  • Trusting silent replacement on logins. The default swap keeps scraping alive but moves a logged-in account to a new IP mid-flow. For account work, use the strict flag and handle the 502 or 410 by starting a clean session.
  • Reusing cookies across IPs. When the IP changes, start a new cookie jar and log in again. Old cookies on a new IP look like a stolen session.
  • Asking for 24 hours when you need 10 minutes. Longer sessions drop more often. Match the duration to the task.
  • Expecting the IP to fix everything. A stable IP with an identical browser fingerprint across many accounts still links them, as I explain in what browser fingerprinting is.

Frequently asked questions

Is a rotating or sticky proxy better for web scraping?▾
Rotating, for public pages that don't need a login. Each request goes out from a different IP, so no single IP piles up enough traffic to trip a rate limit. Switch to sticky only for steps that share state, like paginated results tied to one visitor or anything behind a login.
Why did my sticky IP change before the session ended?▾
Because the home device behind it went offline or your session went idle. Oxylabs, Decodo and IPRoyal all say a residential IP can drop before the timer, and by default they swap in a new IP under the same session ID. Use the strict option (sessid_oneip, session_iplock, bind-node, _killswitch-1 or -const) if you'd rather the session fail than change silently.
How do I force a new IP during a sticky session?▾
Change the session ID. Every provider here maps one session ID to one IP, so a new ID gets a new IP on the next request. Decodo also lets you switch to a different sticky port.
Are sticky sessions more expensive than rotating proxies?▾
Not on residential plans. Both are billed per GB from the same balance, and none of Decodo, Oxylabs, SOAX, IPRoyal or Bright Data lists a sticky surcharge as of 18 October 2026. Static ISP IPs are a separate product billed per IP, which is where the real price difference sits.
Can I keep the same residential IP for a whole day?▾
You can ask for it: Oxylabs and Decodo allow 24-hour sessions and IPRoyal allows up to 7 days. Nobody guarantees it, because the device can go offline at any time. If you need the same IP for days, a static ISP proxy is the safer buy.
Do rotating proxies stop CAPTCHAs?▾
Not by themselves. A fresh IP resets the IP part of the check, but sites also look at browser fingerprints, cookies, request speed and IP reputation. Shared or flagged IPs can trigger a CAPTCHA on the first request.

So, rotate or stick? Rotate when every request stands alone. Stick when the site has to remember you, and turn on strict mode for logins. Reach for a static ISP IP when one identity must last for days.

Whichever you pick, the provider matters less than the session settings. When you're ready to choose one, my comparison ranks the best residential proxy providers on price, pool and sourcing.

Share