# Set up rotating IPs

Set up username and password authentication in rotating mode and check IP selection on new TCP connections.

These steps apply to rotating residential proxies. For a static proxy, use the endpoint and credentials assigned to that instance. See [Buy and connect to static residential proxies](/en/help/getting-started/static-residential-quickstart).

Rotating mode uses username and password authentication. Every new TCP connection goes through exit IP selection, which may return an IP you used before. This mode works well for independent tasks.

## Set up rotating mode

1. Confirm that you have verified your identity, that your plan is active, and that the proxy subaccount is enabled.
2. In Proxy Setup, select the location and protocol, then choose **Rotating**.
3. Generate the proxy configuration and copy it exactly as shown.

## Test IP rotation

- Turn off connection reuse or open a fresh TCP connection for each test.
- Record the exit IP for each connection. A browser refresh alone may reuse an existing connection.

## Configure your application

- Set connection and read timeouts.
- Retry transient network errors with a limited backoff.
- Avoid repeatedly reconnecting just to force a different IP.

## Troubleshoot your configuration

- Seeing the same IP on consecutive connections can be normal.
- If authentication fails, generate a new configuration in the Console and use the full username it provides.
