Skip to main content

AND GATE

Outputs ON only when ALL inputs are ON. Built by combining two NOT gates into a NOR configuration on the inverted inputs, or by using redstone torches. Essential for requiring multiple conditions to be true simultaneously.

AND Gate in Minecraft

Truth Table

Input AInput BOutput
0 (OFF)0 (OFF)0 (OFF)
0 (OFF)1 (ON)0 (OFF)
1 (ON)0 (OFF)0 (OFF)
1 (ON)1 (ON)1 (ON)

Reading the AND Gate truth table

Count the rows and the AND Gate is quickly summed up: 4 states, 1 on, 3 off.

The only way to light an AND Gate is with A on and B on.

The NAND Gate is the AND Gate with an inverter bolted on. All 4 rows come out the other way round.

Closest to the AND Gate sits the XNOR Gate (Exclusive NOR), which differs on a single row of the table, so a wiring mistake between them is easy to make and easy to miss.

The material cost of one AND Gate

Behind the AND Gate parts list sits 6 crafting ingredients: 3 Redstone and 3 Stick.

Redstone Torch, Redstone Repeater and Redstone Comparator each have their own page here, with the signal behaviour and block values that decide how the AND Gate times out.

Every part that goes into AND Gate, with the crafting price of one
Part used in AND GateHow many per AND GateCrafting cost of a single one
Redstone Torch iconRedstone Torch31 Redstone, 1 Stick
Redstone Repeater iconRedstone Repeateras many as the build needs3 Stone, 2 Redstone Torch, 1 Redstone
Redstone Comparator iconRedstone Comparatoras many as the build needs3 Redstone Torch, 3 Stone, 1 Quartz

The full shopping list for AND Gate

Prices for AND Gate are read straight off the recipes in Java Edition 26.2.

The AND Gate in short: what it is and what it does

Outputs ON only when ALL inputs are ON. Built by combining two NOT gates into a NOR configuration on the inverted inputs, or by using redstone torches. Essential for requiring multiple conditions to be true simultaneously.

In plain terms, the output is on only when both inputs are on at the same time. AND is the gate of preconditions: it is how a circuit demands that two separate switches, sensors, or states all agree before anything happens, which is why secure doors and safety interlocks lean on it.

No mods and no datapacks are involved: this is the AND Gate exactly as Java Edition 26.2 builds it, down to the tick counts in the table.

Reading the AND Gate: inputs, output and timing

Across its four input combinations the output is on in 1 case, A on with B on, and off in the remaining 3.

Expressed as boolean algebra that is output = A AND B.

A torch-based AND (two inverters into a NOR) adds about 2 redstone ticks because the signal passes through two torch stages.

The 4 rows above are written out as on and off rather than as numbers, because the AND Gate ignores how strong the incoming signal happens to be and only ever asks whether there is any signal there at all.

How to build the AND Gate

  1. 1Place two input lines (A and B) leading into separate blocks.
  2. 2Place a redstone torch on top of each input block (these are NOT gates, inverting A and B).
  3. 3Run both inverted signals into a single block.
  4. 4Place a redstone torch on the output side of that block (a NOR of the inverted inputs).
  5. 5The output torch is ON only when both input torches are OFF (both inputs ON).
  6. 6The AND Gate is only finished when all 4 rows of its table hold true: setting the inputs to ON and ON is the first one to try, and the output should read ON when you do.

Where the AND Gate earns its keep

  • ▸AND is the gate of preconditions: it is how a circuit demands that two separate switches, sensors, or states all agree before anything happens, which is why secure doors and safety interlocks lean on it.
  • ▸3-torch AND gate (compact, uses 3 torches), a practical build choice for this gate.
  • ▸Repeater-based AND (uses two repeaters into one block with torch), a practical build choice for this gate.
  • ▸Comparator AND (compare mode, output only if both sides have signal), a practical build choice for this gate.

Tips & common mistakes

  • !If the AND Gate reads even one row of its truth table wrong, go looking for two dust lines touching somewhere behind it before you start doubting the logic of the gate itself.
  • !Remember the propagation cost: A torch-based AND (two inverters into a NOR) adds about 2 redstone ticks because the signal passes through two torch stages. If you chain several gates, those ticks add up and can desynchronise a fast circuit.
  • !Debug from the smallest piece upwards. The AND Gate has only 4 states to check, so proving that it is right takes less than a minute of your time.

Questions people ask about the AND Gate

  1. The AND Gate built in Minecraft

    What does an AND Gate do in Minecraft?

    A AND Gate outputs a signal where the output is on only when both inputs are on at the same time. In boolean terms, output = A AND B.

  2. Knowledge Book, the icon for this logic gate question

    What is the truth table of an AND Gate?

    Across its four input combinations the output is on in 1 case, A on with B on, and off in the remaining 3. The boolean expression is output = A AND B.

  3. Redstone Torch, named in this logic gate answer

    How do you build an AND Gate with redstone?

    Place two input lines (A and B) leading into separate blocks. Place a redstone torch on top of each input block (these are NOT gates, inverting A and B). Common variants include 3-torch AND gate (compact, uses 3 torches) and repeater-based AND (uses two repeaters into one block with torch).

  4. Redstone Repeater, the icon for this logic gate question

    How much delay does an AND Gate add?

    A torch-based AND (two inverters into a NOR) adds about 2 redstone ticks because the signal passes through two torch stages. That matters most in clocks and adders where every redstone tick counts.

Back to all 7 logic gates
AND Gate built in Minecraft redstone, with its truth table
AND Gate as it looks in Minecraft: two inputs and 1 of 4 rows that output power.