Nice Loop

A Nice Loop is a loop that follows a set of rules and notation guidelines. Several types of chains and loops can also be represented as Nice Loops.

The basis for a Nice Loop is the B/B Plot, which shows all available strong links in the grid. The nodes in a Nice Loop are cells, not individual candidates as in Alternating Inference Chains. The links between candidates in a single cell are implied. The connections between the cells tell us how the candidates inside are interacting.

Each Nice Loop is a Double Implication Chain, where implications are propagated in both directions.

Nice Loop terminology

Please make sure that you understand the following terms, which are explained separately in Sudopedia.


There must be a link between each pair of nodes in a Nice Loop. For two nodes to be linked, they must be peers. The type of link plays an important role. A strong link can be used for strong or weak inference, but a weak link can only be used for weak inference. Hence, there are 3 types of links that can exist between 2 nodes:

The last two are equivalent in Nice Loops.

Propagation Rules

The strict Nice Loop propagation rules ensure that all nodes are properly connected. A loop is not a Nice Loop when it does not comply with these rules.

A chain can only be a loop when it starts and ends with the same cell. This cell forms the first and the last node in the chain. These are separate nodes, each with a single link. Both links do not need to comply with the propagation rules.

Continuous and Discontinuous Nice Loops

To determine whether a Nice Loop is continuous or discontinuous, we must examine the first and the last node, representing the same cell. When both links to that cell comply with the propagation rules, the loop is continuous, otherwise it is discontinuous.

Continuous Nice Loops

These are rare, but very effective. For every node cell having 2 links with strong inference, all candidates in the cell which are not used in the links can be eliminated. All remaining candidates in the houses that provide the weak links can also be eliminated.

Discontinuous Nice Loops

In a discontinuous loop, the first/last cell is referred to as the discontinuity. Discontinuous loops are more frequent, but they only have an effect on the discontinuity. This effect depends on the type of links it has to the adjacent nodes.

Nice Loop Notation

Nice loops are written like chains. The chain always starts and ends with the same cell. In a discontinuous loop, this must be the discontinuity. The cell names are enclosed in square brackets. These names are preferably written in rncn notation.


Links with strong inference are represented by =X=, where X is the digit. Links with weak inference are represented by -X-. To make a distinction between continuous and discontinuous loops, a single dash or equal sign is placed at the start and end of the loop to indicate how it continues.


These continuation markers are not present in discontinuous loops.



This example shows a discontinuous nice loop, where the discontinuity has weak inference:

Nice Loop , Sudoku solving technique

[r1c2]-1-[r3c1]=1=[r9c1]=2=[r9c8]=1=[r1c8]-1-[r1c2] => r1c2<>1

This example shows a discontinuous nice loop, where the discontinuity has different inference:

Nice Loop,How to solve sudoku puzzles - Solving sudoku strategy

[r1c1]=5=[r1c5]-5-[r6c5]-9-[r6c3]-6-[r2c3]-7-[r1c1] => r1c1<>7

This example shows a discontinuous nice loop, where the discontinuity has strong inference:

[r4c2]=8=[r6c2]=6=[r6c8]-6-[r5c8]-2-[r5c5]=2=[r4c5]=8=[r4c2] => r4c2=8

This example shows a continuous nice loop (note - the loop's squares are green):

Nice Loop,How to solve sudoku puzzles - Solving sudoku strategy

-[r1c5]=4=[r9c5]=7=[r9c9]-7-[r3c9]-4-[r3c2]=4=[r1c1]-4-[r1c5]= => r2c9<>7, r3c4<>4, r9c5<>2

Sudoku Games

Free Sudoku Script for Your Website

Sudoku strategies

Printable Sudoku

Sudoku Links

sudoku cool sudoku schwer sudoku gratuit sudoku gratis 数独 数独 Судоку онлайн бесплатно 数独 今日数独 武士数独