Rush Hour Solver
Copy the layout from your Rush Hour challenge card onto the board below, and the solver finds the shortest way to get the red car out, one move at a time. If you only need a nudge, ask for just the next move.
Empty board.
How to enter your card
- Hold the card so the exit is on the right. The red car's row, the exit row, is then the third from the top.
- Put the red car in first: with Red car chosen, tap one of its two squares in the exit row.
- For every other vehicle, drag your finger across the squares it covers: two for a car, three for a truck. Or choose Car or Truck and Across or Up and down, then tap its first square.
- Tap a vehicle to pick it, then tap it again to turn it. Once picked it can also be changed between a car and a truck, or removed, and you can drag any vehicle to move it. Undo takes back the last change.
- Press Solve for the whole solution, or Just a hint for the next move only.
The board will not take a vehicle that runs off the edge or sits on top of another one, and says why. Each vehicle gets a letter so the moves can name it: "B down 2" means slide vehicle B two squares down. The outlined vehicle is the one to move next, and the dashed box shows where it goes.
How the solver finds the shortest solution
A move here is one vehicle sliding any number of squares in one go. The solver tries every position one move away from yours, then every position two moves away, and so on, until the red car reaches the exit. Because it goes outward one move at a time, the first solution it finds is a shortest one: no solution with fewer moves exists. On a 6 by 6 board that usually takes a fraction of a second, even on a phone.
If the red car can never get out, the solver says so only after it has tried every position your vehicles can reach. That usually means one vehicle was copied into the wrong square.
The hardest known layout needs 51 moves. Michael Fogleman found it in 2018, when he solved every possible layout of cars and trucks on the 6 by 6 board and published the results as a database. It is the Hardest known example above. The other examples are our own. Before this page went up, the solver matched the published move count, and the number of positions each layout can reach, for 1,000 of the hardest layouts in that database.
How to solve Rush Hour yourself
- Work backwards from the exit. List the vehicles in the red car's way, then for each one ask what has to move before it can get clear. That chain is the real puzzle.
- Look at the trucks first. There are only two rows above the exit row, not enough room for a truck, so a truck standing across the exit row can only clear it by going down into the bottom three rows. Whatever is below it has to move out of its column first.
- Expect to move the red car backwards. In harder layouts the red car has to back up to let another vehicle across the exit row, and spotting that is most of the difficulty.
- Count moves, not squares. Sliding a vehicle three squares is one move, the same as sliding it one.
More sliding puzzles
Rush Hour is a sliding block puzzle, a family that goes back to China's Huarong Dao. Its history, and why these puzzles are so hard, are in sliding block puzzles: from Huarong Dao to Rush Hour. For a 15 puzzle or 8 puzzle, the 15 puzzle solver finds the shortest solution the same way.
Rush Hour's inventor was Nob Yoshigahara, and the puzzle design competition named after him gave a Jury Honorable Mention in 2026 to One Way or Another by Alexander Magyarics, which we make: first pack four pieces into a tray, then slide them until a disc travels from one corner to the other. More solvers are on the puzzle tools page.
Rush Hour is a trademark of ThinkFun. This tool is not affiliated with or endorsed by ThinkFun.
Puzzles you can hold
More puzzles from the shop.
Frequently Asked Questions
How do you solve Rush Hour puzzles?
Work backwards from the exit: list the vehicles in the red car's way, then what has to move before each of them can get clear. A truck standing across the exit row can only clear it by going down into the bottom three rows, and in harder layouts the red car itself has to back up. For one particular card, copy it into the solver for the shortest solution or just the next move.
Where can I find Rush Hour solutions?
In the standard boxed game, each challenge card has its solution printed on the back. For a layout from anywhere else, or to check you have the shortest one, copy it into this solver: it shows the fewest moves one at a time, or only the next move as a hint.
What is the hardest Rush Hour puzzle?
The hardest known layout needs 51 moves, counting each slide of one vehicle as a move. Michael Fogleman found it in 2018 after solving every possible layout of cars and trucks on the 6 by 6 board, and it is the Hardest known example on this page. With fixed wall squares added, which the original game does not have, the record rises to 60.
What are the rules of Rush Hour?
Cars and trucks sit on a 6 by 6 grid. Each one slides only forwards or backwards along the line it points in, never sideways, and none can be lifted off. The goal is to slide the red car out through the exit on the right of its row. Cars cover 2 squares and trucks 3.
What algorithm solves Rush Hour?
Breadth-first search. Starting from your layout it visits every position one move away, then every position two moves away, and so on, so the first time the red car reaches the exit is by a shortest route. A 6 by 6 board has few enough positions for that to finish quickly, and it is how this solver works.



