BlogGuide8 min read

How to rotate an IP on demand

On a mobile line, a new IP means the modem reconnects and the carrier assigns a fresh address. You trigger it from the dashboard or a rotation URL, it takes tens of seconds, and rotating at the wrong moment breaks sessions.

Circular arrows looping around a small globe in teal light
A new IP is a reconnect, and timing is the skill.

Rotation on a mobile line is a reconnect. The modem drops its session and re-registers, and the carrier hands it a new address from the mobile pool. You ask for it; it is not on a timer. Done at the right moment, it is invisible. Done mid-session, it looks like trouble.

What rotation actually changes

Only the public IP changes. The host, port, username, and password stay exactly the same, so your code and browser settings keep working. The new address is still a mobile carrier IP.

Because nothing else changes, you can rotate under a running tool without rewriting any configuration.

Dashboard or rotation URL

In the dashboard you press Change IP. For automation, call the public rotation URL headlessly, with your rotation credentials, so a script can request a fresh address without a browser. The API form is documented in the documentation.

How long it takes

A mobile reconnect usually completes in roughly 40 to 150 seconds. Wait for it to finish before you send the next request. A second request while the first is still running is a common reason a session looks stuck.

When not to rotate

Do not rotate in the middle of a login, a checkout, or a multi-step session. A site that sees the same cookie arrive from a new address treats it as suspicious. Rotate between sessions, not inside one.

This is the flip side of a shared pool, where someone else rotates the IP under you. How to tell if a mobile proxy is shared explains how to spot that.

Rotate from a script

A clean loop is: do the work, request a new IP, wait for the change, then continue. The timing pattern is the same one in using a proxy with Python requests.

Is the IP rotating automatically?

No. On a dedicated line the address stays until you request a change. It does not rotate on a timer, so your session keeps its identity until you say otherwise.

Do my credentials change after rotating?

No. Only the modem's public IP changes. Host, port, username, and password stay the same.

How often should I rotate?

Only when you need a new address. Rotating between sessions is fine; rotating during a session breaks the pattern the site expects to see.

What if the new IP does not appear?

Wait until the change finishes, then check once. Repeated checks and repeated requests during the change are the usual cause of a stuck-looking session.