---
title: rpk cluster partitions move
latest-redpanda-tag: v25.3.11
latest-console-tag: v3.14.0
latest-operator-version: v25.3.12
# EOL = End-of-Life (support lifecycle status)
page-is-nearing-eol: "true"
page-is-past-eol: "false"
page-eol-date: November 19, 2026
latest-connect-version: 4.118.0
docname: rpk/rpk-cluster/rpk-cluster-partitions-move
page-component-name: streaming
page-version: "25.3"
page-component-version: "25.3"
page-component-title: Streaming
page-relative-src-path: rpk/rpk-cluster/rpk-cluster-partitions-move.adoc
page-edit-url: https://github.com/redpanda-data/docs/edit/v/25.3/modules/reference/pages/rpk/rpk-cluster/rpk-cluster-partitions-move.adoc
page-git-created-date: "2023-12-22"
page-git-modified-date: "2024-12-09"
page-generated-content: none
support-status: nearing end-of-life
---

# rpk cluster partitions move

> For the complete documentation index, see [llms.txt](https://docs.redpanda.com/llms.txt). Component-specific: [streaming-full.txt](https://docs.redpanda.com/streaming-full.txt)

<!-- Source: https://docs.redpanda.com/streaming/25.3/reference/rpk/rpk-cluster/rpk-cluster-partitions-move.md -->

Move partition replicas across brokers/cores.

This command changes replica assignments for given partitions. By default, it assumes the `kafka` namespace, but you can specify an internal namespace using the `<namespace>/` prefix.

## Examples

To move replicas, use the following syntax:

```bash
rpk cluster partitions move foo --partition 0:1,2,3 -p 1:2,3,4
```

Here, the command assigns new replicas for partition 0 to brokers \[1, 2, 3\] and for partition 1 to brokers \[2, 3, 4\] for the topic `foo`.

You can also specify the core id with `--<core_id>` where the new replicas should be placed:

```bash
rpk cluster partitions move foo -p 0:1-0,2-0,3-0
```

Here all new replicas \[1, 2, 3\] will be assigned on core 0 on the brokers. The command does not change a core assignment unless it is explicitly specified. When a core is not specified for a new broker, the command randomly picks a core and assigns a replica to the core.

Topic arguments are optional. For more control, you can specify the topic name in the `--partition` flag:

```bash
rpk cluster partitions move -p foo/0:1,2,3 -p kafka_internal/tx/0:1-0,2-0,3-0
```

## Usage

```bash
rpk cluster partitions move [flags]
```

## Flags

| **Value** | **Type** | **Description** |
| --- | --- | --- |
| `--format` | string | Output format. Possible values: `json`, `yaml`, `text`, `wide`, `help`. Default: `text`. |
| `-h, --help` | - | Help for move. |
| `-p, --partition` | stringArray | Topic partitions to move and new replica locations (repeatable). |
| `--config` | string | Redpanda or `rpk` config file; default search paths are `/var/lib/redpanda/.config/rpk/rpk.yaml`, `$PWD/redpanda.yaml`, and `/etc/redpanda/redpanda.yaml`. |
| `-X, --config-opt` | stringArray | Override `rpk` configuration settings. See [`rpk -X`](https://docs.redpanda.com/streaming/25.3/reference/rpk/rpk-x-options/) or execute `rpk -X help` for inline detail or `rpk -X list` for terser detail. |
| `--profile` | string | Profile to use. See [`rpk profile`](https://docs.redpanda.com/streaming/25.3/reference/rpk/rpk-profile/rpk-profile/) for more details. |
| `-v, --verbose` | - | Enable verbose logging. |