Written by GM Mauricio Flores RiosGrandmaster and author of Chess Structures: A Grandmaster Guide

Illegal Move

An illegal move in chess is any move the rules do not permit: moving a piece in a way it cannot move, leaving or placing your own king in check, or breaking one of the conditions attached to special moves like castling, en passant, and promotion. Over the board, illegal moves carry real penalties — under FIDE rules the first one costs you time on the clock, and a second one usually costs you the game. In my coaching I spend a surprising amount of time settling arguments about moves students were sure were illegal — most "illegal moves" people argue about at kitchen tables are perfectly legal, while the genuinely illegal ones slip by unnoticed.

What Makes a Move Illegal in Chess

Every illegal move falls into one of three families — each a different way of breaking the rules of chess — and it is worth knowing them in this order, because the first one is the deepest.

Family one: your king may never be left in check. You cannot make any move that leaves or places your own king under attack. This single rule generates most of the subtle illegality in chess: you cannot move a pinned defender and expose your king, you cannot march your king onto an attacked square, and if you are in check, every move that fails to address the check is illegal. This is not one rule among many; it is the axiom the whole game is built on, and I will come back to why.

Family two: pieces must move the way pieces move. A bishop cannot leave its diagonal, a rook cannot turn corners in one move, a pawn never moves backward and never captures straight ahead, and no piece except the knight may jump over another. These are the illegal moves beginners actually make, usually with pawns.

Family three: the special moves have fine print. Castling, en passant, and promotion each come with conditions, and violating a condition makes the whole move illegal. Castling generates so many disputes that it deserves its own section.

One more thing makes the definition precise: an illegal move only becomes an issue once it is completed — the piece released, the clock pressed in over-the-board play. Until you let go of the piece, you may reconsider, though touch-move means you must still move that piece if it has any legal move.

Castling: The Illegal-Move Capital of Chess

No move produces more illegal attempts, at every level, than castling. The conditions, stated as a checklist:

  • Neither the king nor the chosen rook has ever moved. Not "is back on its home square" — has never moved. Move your king to f1 and back to e1, and castling is gone forever. Move the h1-rook and return it, and kingside castling is gone (queenside may survive).
  • The squares between king and rook are empty. You cannot castle through your own or your opponent's pieces.
  • You are not in check. Castling out of check is illegal. Note the fine distinction: being checked earlier in the game does not forfeit castling. If you blocked the check or captured the checker without moving your king, your castling rights are intact.
  • The king does not pass through or land on an attacked square. You cannot castle through check. If an enemy bishop eyes f1, White cannot castle kingside even though the king would end up on a safe g1.

And the fine print inside the fine print: those attack restrictions apply to the king's path only. If the rook is attacked, or passes through an attacked square — b1 during White's queenside castling is the classic case — castling is completely legal. The detail is obscure enough that even world-class players have paused mid-game to ask the arbiter whether queenside castling was allowed with b1 covered. It is: the rules protect the king, not the rook.

One practical warning: castling is defined as a king move. Touch the rook first and a strict arbiter may require a rook move instead. Always move the king first (two squares toward the rook), then the rook.

Kitchen-Table Arguments: "That's Illegal!" (Usually It Isn't)

Here is my referee's verdict on the disputes I have settled most often in twenty years of coaching. Some of these "illegal moves" are legal; some legal-looking moves are illegal.

"You can't have two queens." Legal. Promotion lets a pawn become a queen, rook, bishop, or knight of its own color — regardless of what is already on the board. Nine queens is theoretically possible. The myth that you can only promote to a piece you have already lost is kitchen-table folklore; physical sets just ship with one queen per side, which is why tournament players ask the arbiter for a spare rather than inverting a rook.

"En passant isn't a real rule" / "you can take en passant whenever." It is absolutely real, and its timing is the strictest in chess: en passant is only available on the very next move after the enemy pawn's two-square advance. Wait one move and the right evaporates permanently. Both halves of the argument lose — the player who calls it cheating, and the player who tries to claim it three moves later.

"My pawn takes the piece in front of it." Illegal. Pawns move straight and capture diagonally — the only piece in chess whose capturing motion differs from its moving motion. A pawn facing an enemy piece head-on is simply blocked.

"King takes king." Impossible — and understanding why teaches you what checkmate is. The game never reaches a position where a king could be captured: the move that would allow it (leaving your king in check) is illegal, and the game already ended the moment checkmate appeared. If you ever "captured a king" in a casual game, an illegal move happened earlier and nobody caught it.

"You castled through check — wait, can you?" No, you cannot; that one really is illegal, as covered above. But castling after having been in check, or castling while the rook is attacked — legal.

Moving into check. Illegal, full stop — and this one matters in casual games, where beginners believe that if the opponent "doesn't notice," the move stands. It doesn't: when discovered, the position is reinstated and a legal move played.

Illegal Move Penalty Over the Board: The FIDE Rules

In tournament chess an illegal move is a rules event with defined consequences, and knowing them has saved my students real points.

When a completed illegal move is discovered in a standard game, the position immediately before the illegality is reinstated, and the offender must make a legal move — with touch-move applying, so if the piece you illegally moved has legal moves, you must move it. Then the penalty: for the first completed illegal move, the arbiter gives your opponent two extra minutes on the clock. For the second completed illegal move by the same player, the arbiter declares the game lost — with the safety valve that if the opponent has no possible series of legal moves leading to checkmate, the game is drawn instead.

Two practical notes. First, if the illegality is only discovered many moves later, the game is rolled back to the position before the illegal move where possible — one reason an accurate scoresheet is not optional. Second, the rules get stricter as the time controls get faster. In blitz and rapid, where arbiters cannot watch every board, more of the burden falls on the players to claim, penalties are harsher, and for years an illegal move in blitz simply lost on the spot if claimed. FIDE has repeatedly refined the fast-chess provisions, so read the current handbook before your next rated blitz event; the safe summary is that in fast chess an illegal move is more likely to cost the full point, and quickly. The competitive lesson I drill into students: if your opponent makes an illegal move in a fast game, stop the clock and claim it immediately — replying with a move of your own can waive the claim.

Illegal Moves Online: Premoves and Mouse Slips

Play online and the entire category almost vanishes: the interface will not let you make an illegal move. Try to castle through check and the king snaps back; try to move a pinned knight and the square never highlights. A whole layer of tournament law is simply enforced by software.

Almost. Online chess replaced illegal moves with two new pains. The mouse slip — dropping your queen on the wrong square — is a legal move you never intended, and it stands; no arbiter will roll it back. And the premove, where you commit to your reply before the opponent moves, executes if it turns out to be legal — including in positions where it is a catastrophe you would never have chosen. My advice: premove only genuinely forced recaptures.

There is a hidden cost to learning chess exclusively online: because the software silently blocks illegal moves, players never internalize why a move is illegal. Then they sit down at a real board, reach for a pinned piece, and collect a two-minute penalty. If your first over-the-board tournament is coming up, practice the rules as rules, not as greyed-out squares.

Touch-Move, J'adoube, and How Illegal Moves Actually Happen

Over the board, illegal moves and touch-move are entangled. Touch a piece deliberately and you must move it if it has a legal move; touch an enemy piece and you must capture it if you legally can. The collision case: you touch a piece, realize mid-air that its intended move is illegal — say, the knight you grabbed is pinned to your king — and now you must find some legal move with that knight; only if it has none are you free to move something else.

This is exactly how most tournament illegal moves are born: a player in time trouble grabs a pinned piece on reflex, completes the move, and presses the clock. The pin was invisible under pressure; the two-minute penalty is very visible afterward.

The escape hatch for adjusting — not moving — a piece is the announcement "j'adoube" ("I adjust"): say it before touching a piece to center it on its square, and touch-move does not apply. Say it after you have touched, and no arbiter alive will believe you.

Why the Rule Exists: The Axiom Behind Chess Logic

Here is the grandmaster's angle, and my favorite part of this topic. Strip the rules to their core and one clause does nearly all the work: no move may leave your own king attacked. Checkmate is just the position where this clause forbids everything. Stalemate is the position where it forbids everything while you are not in check — which is why stalemate is a draw and not a loss. And the pin — one of the most common tactical motifs in the game — is simply this clause acting at a distance: the pinned piece has geometrically available moves, all of them illegal.

That framing resolves a question that stumps even strong club players: can an absolutely pinned piece give check? Yes — and it can even deliver checkmate. Legality is judged only against your own king's safety, never against whether the piece could "really" carry out its threats. The apparent paradox — "but it can't actually capture, it's pinned!" — dissolves once you remember that no king capture ever occurs in chess: attack, in the rules, means the geometric ability to reach a square, and pins do not switch that off. When you calculate, count pinned pieces as full attackers and defenders of squares; only their moves are frozen, not their influence.

How to Train the Rules at ChessMind AI

Rules knowledge is testable, and testing it is faster than arguing about it. Our chess knowledge quiz covers exactly the edge cases from this article — castling conditions, en passant timing, promotion rights — and settles kitchen-table disputes with a score attached. Daily tactics puzzles are the best vaccine against over-the-board illegal moves, because the number-one cause is a missed pin, and puzzle training makes pins jump off the board at you. And to see where the rest of your game stands, take the GM diagnostic assessment — it measures your level across tactics, strategy, and endgames and tells you what to train first.

Frequently Asked Questions

What happens if you make an illegal move in a chess tournament?

The position before the illegal move is reinstated, you must play a legal move (touch-move applies to the piece you touched), and the arbiter adds two minutes to your opponent's clock. A second completed illegal move in the same game normally loses it. In blitz and rapid the treatment is stricter and faster — an illegal move there frequently costs the whole game.

Can you castle out of check?

No. Castling while in check is illegal, as is castling through a square attacked by an enemy piece. But having been in check earlier in the game does not forfeit castling — if you escaped the check without moving your king, your right to castle survives intact.

Can a pinned piece give check?

Yes — a pinned piece still attacks and controls squares, and it can give check and even checkmate. Only its moves are illegal, not its influence. Legality in chess is judged solely by your own king's safety, so the pin never disables a piece's attacking power.

Is en passant a real rule?

Completely real, part of the official laws for centuries, and enforced in every tournament and on every chess site. The catch is timing: the capture is legal only on the move immediately after the enemy pawn advances two squares. Skip that chance and it is gone for good.

What if both players miss an illegal move?

The move does not become legal by going unnoticed. If the illegality is discovered later in an over-the-board game, the game is rolled back to the position just before it, where possible, and resumed legally. If it is never discovered, the result stands once the game is over — a good argument for keeping a clean scoresheet.

Can you promote a pawn to a second queen?

Yes. Promotion is to any queen, rook, bishop, or knight of your color, regardless of what material remains on the board. Multiple queens are entirely legal; the only constraint is practical — finding a physical second queen, for which you ask the arbiter.

  • Touch-Move Rule — touch a piece, move that piece: the rule that shares a courtroom with illegal moves.
  • Castling — the special move with the most illegal-attempt myths.
  • En Passant — legal for exactly one move, and endlessly disputed.
  • Check — the rule every illegal-move definition orbits around.
  • Pin — why an absolutely pinned piece still gives check.
  • Promotion — yes, a second queen is completely legal.