How the pieces move

How does the rook move in chess?

Updated · Sergei Tovmasian

Short answer

In straight lines only: any number of squares along a rank or along a file, forwards, backwards or sideways, but never diagonally. It cannot jump over anything. On an empty board a rook attacks fourteen squares from every single square, which is the only piece with a range that never changes.

A rook on d4 attacks fourteen squares. Put it on a1 instead and it attacks fourteen. Put it on h8 and it is still fourteen: seven along the rank, seven along the file, every time. The rook is the only piece on the board whose range does not depend on where it stands, and that is the single most useful thing to know about it.

8
7
6
5
4
3
2
a
b
c
d
e
f
g
h 1
Rook on d4. The whole fourth rank and the whole d-file, and nothing else: no diagonals, ever.

Straight lines, any distance, forwards, backwards or sideways. It captures by landing on the square. And it cannot jump: a rook on a1 with its own pawn on a2 has nothing on the a-file at all, which is why the rooks in the starting position are the last pieces to do anything. People ask whether a rook can move diagonally constantly, usually after mixing it up with the bishop. It cannot, not even one square.

The rook’s other move

Castling is the one time a rook moves in the same turn as another piece. On 1.O-O the king goes e1 to g1 and the rook goes h1 to f1; on 1.O-O-O the king goes e1 to c1 and the rook a1 to d1. It counts as a single move, and the rook is the piece that ends up doing something useful, landing on a central file instead of rotting in the corner. The conditions are all on what castling is, and one of them catches people: once that rook has moved, even if it moves back, you can never castle with it again.

Fourteen squares are only worth something on an open file

Here is the same rook doing real work. The d-file has no pawns on it, so the rook that has been sitting on d1 doing nothing gets to d7 in one move and hits b7 and f7 at the same time.

8
7
6
5
4
3
2
a
b
c
d
e
f
g
h 1
The d-file is clear, so 1.Rd7 lands the rook on the seventh rank where it attacks the pawns on b7 and f7 at once.

A file with no pawns of your own on it is called an open file, and getting a rook onto one is most of what rook play is. Second rank, seventh rank: same idea. A rook on the seventh eats pawns sideways and pins the king to the back rank.

Which brings up the other thing rooks do. They mate on the back rank, because a castled king with three pawns still in front of him has nowhere to go. Play through a dozen back-rank mates and you will start giving your own king an escape square without being told.

More questions

Can a rook move diagonally?

No, not one square, not ever. Ranks and files only. If you want a piece that does both, that is the queen, who has the rook's move and the bishop's move together. The rook does get to move oddly once per game, but only in castling, and even then it travels in a straight line.

How many squares can a rook move?

Fourteen on an empty board, from anywhere: seven along its rank and seven along its file. A rook in the corner on a1 has exactly as many squares as a rook in the middle on d4. That is why rooks are worth developing late and belong on files that have been cleared of pawns.

Go deeper

Know the moves? The app finds the ones that win, at exactly your level.

← All: How the pieces move · Learn chess