Logic Puzzles
Masyu Puzzle
Draw a loop through black and white circles following specific rules.
Last updated:
What this tool does
Masyu (pearl) puzzles on an 8x8 grid. Draw a single closed loop that visits every circled cell. The loop must turn at every black circle and pass straight through every white circle (with at least one turn just before or after).
Settings
Configure your Masyu
2 8x8 masyu per PDF.
Size
Paper size
Preview
Sample puzzle
Black & white pearls — draw a single closed loop following masyu rules.
People also used
Create Printable Masyu Pearl Puzzles for Loop-Drawing Logic
Generate free printable Masyu puzzles — also known as pearl puzzles — on an 8 × 8 grid. Draw a single closed loop that visits every circled cell, turning at every black pearl and passing straight through every white pearl. Two puzzles per page with an optional hint sheet, ready to download as a branded PDF in A4 or US Letter format.
Masyu is a beautifully tactile, pencil-in-hand logic puzzle. It trains spatial reasoning and deductive logic at the same time, and the single-loop constraint produces pleasing pictures as the solution emerges.
This free printable Masyu generator helps puzzle enthusiasts, teachers, and parents produce fresh sheets in seconds, perfect for quiet activities or travel puzzles.
Why use this Masyu puzzle generator?
Masyu sits in a small family of loop puzzles (with Slitherlink and Yajilin) that reward careful local deduction. Every pearl constrains the loop strongly, which gives new solvers a clear path in. Use the generator for:
- puzzle-club sessions and solo brain training
- quiet activities at home and after school
- travel puzzles on long flights and car journeys
- deductive reasoning practice that is different from sudoku
- gifted and talented extension work
- adult cognitive training with an artistic finish
- themed puzzle packs alongside other loop puzzles
What you can customise
- Size: fixed at 8 × 8 for v1
- Count: one or two puzzles per page
- Include solutions: print a hint sheet showing one possible loop
- Seed: reproduce the same puzzle set
- Paper type: A4 or US Letter PDF
- Worksheet title: add your own heading
Two puzzles per page is the default because each 8 × 8 grid benefits from a comfortable cell size.
Notes and limitations
- v1 places pearls randomly and does not guarantee a unique solution; the hint page shows one valid loop.
- The loop must be a single closed path that never crosses itself.
- The loop does not need to visit every cell — only every pearl.
- Print at 100 per cent scale for legible grid lines.
The three Masyu rules
Black pearls — turn here
The loop must turn 90 degrees at every black pearl, and it must go straight for the cell immediately before and the cell immediately after the pearl.
White pearls — pass straight through
The loop must pass straight through every white pearl, and it must turn at one of the two adjacent cells (either before or after the pearl).
Single closed loop
All segments join into one closed loop; there are no branches and no separate loops.
Who these puzzles are for
Beginners
Start by drawing the forced segments around every pearl. Those short lines quickly chain together and almost solve the puzzle on their own.
Puzzle enthusiasts
Masyu is a firm favourite of the Nikoli community. Experienced solvers enjoy the clean deductions and the satisfying moment when the loop closes.
Classroom teachers
Project a grid and work through a pearl or two as a class demonstration, then hand out fresh sheets for individual practice.
Parents
Print a sheet of two puzzles for a quiet evening or a long drive. Masyu is an excellent screen-free travel puzzle because it only needs a pencil.
How to use the tool
- Choose how many puzzles to include.
- Decide whether to include the hint sheet.
- Optionally set a seed.
- Pick A4 or US Letter paper.
- Click Generate.
- Preview the layout.
- Download the PDF.
Worked example
Imagine a black pearl in row 3, column 3. Because the loop must turn at the pearl and go straight for one cell either side of it, you can immediately rule out two of the four approach directions when those cells are too close to the grid edge. That single forced deduction often triggers a chain across the entire grid.
Methodology
The engine lays out an 8 × 8 grid and scatters black and white pearls according to a density target, then draws the branded PDF. When hints are enabled, the generator runs a loop-drawing pass to produce one valid completion and prints that on a separate page for reference.
Helpful preset ideas
- Two puzzles per page, hints on, for a solo session
- One puzzle per page, hints off, for club competitions
- Seed “evening-set” for repeatable sheets
- Pair with Slitherlink for a loop-puzzle night
Solving tips for new Masyu solvers
- Start with every pearl in turn and draw the short forced segments around it.
- When two black pearls sit two cells apart, the loop has a very restricted route.
- Use tiny crosses on grid edges you know the loop cannot cross.
- Remember that the loop must be a single closed path — if you accidentally create two loops, one of them must be wrong.
Designed for A4 and US Letter Printing
The worksheet supports both A4 and US Letter paper sizes so users in Britain, Europe, and North America can print cleanly. The grid scales automatically to the paper size you select, and margins adjust so the pearls stay well-separated.
Related logic puzzle printables
FAQs
Quick answers
How does the loop work?
A single closed loop that never crosses itself. At black circles it must turn 90°. At white circles it goes straight through, then must turn at one of the next two cells.
Are puzzles guaranteed unique?
No — v1 places circles randomly without verifying a unique solution. The "hint" page sketches one possible loop.
How many puzzles per page?
Two grids per page.
Want a similar challenge?
Try Slitherlink — also a single-loop puzzle but with number clues.
Related tools