farms[difficulty:beginner][version:26.3]

How to build an automatic cactus farm in Minecraft 26.3

The cactus farm is the simplest fully automatic farm in Minecraft: no redstone, no player nearby, just cactus that breaks itself. Perfect for green dye, XP, and a genuinely AFK-free build.

David Riperson10 min read
A fully automatic cactus farm with cactus breaking against blocks and dropping into hoppers

The cactus farm is the first fully automatic farm most players should build, because it needs zero redstone and, unlike almost every other farm in the game, does not need a player standing anywhere near it. Cactus has a built-in quirk: it breaks itself when something touches it from the side. Put a block in the right spot, and the cactus harvests itself, forever, as long as the chunk stays loaded.

It is not the most exciting drop in the game, but cactus earns its spot: it smelts into green dye, it gives more XP per item than any other farmable smelting input, and cactus placed as a hazard destroys items and mobs, which is why it shows up in trash systems and mob-proofing. This guide targets Minecraft 26.3 Java Edition and is a spoke of the farm guides hub.

RateNo published growth rate - see mechanics
XP level1 XP per cactus smelted
Build time15-25 min to build
DifficultyBeginner

The break rule, precisely

A cactus block breaks and pops off as an item the instant any block with the solid property, or a lava source, occupies one of the four horizontally adjacent spaces next to it: directly north, south, east, or west of any segment, not diagonally, and not above or below. A cactus also breaks if the block above it becomes water or lava, or if a piston tries to move it or push a block into its space. Breaking one segment breaks the whole column, since the blocks below lose support.

"Solid" means the legacy solid property Minecraft uses for placement and collision - most ordinary blocks: stone, dirt, sand, wood. Non-solid blocks like torches, signs, and glass panes do not trigger the break.

This is the whole farm. You are not doing anything to the cactus; you are building a wall it grows into.

Planting and growth

  • Cactus can only be planted on sand, red sand, suspicious sand, or another cactus block. Place it on dirt or stone and it pops off immediately.
  • A cactus column grows up to 3 blocks tall naturally. Only a piston pushing segments stacks it taller; 3 is the height a farm needs to plan around.
  • Growth is driven by random ticks, the same system behind crop growth and grass spread. The top segment needs 16 random ticks before it grows a new block, which the wiki notes averages roughly 18 minutes per growth step at default random tick speed. There is no published "items per hour" figure for a cactus farm; output depends on how many columns run in parallel, not a fixed per-plant rate. Treat any specific rate you see elsewhere as an estimate, not a game constant.
  • Light does not matter. Cactus does not need light to grow, so the farm works fully underground or inside a sealed box.
  • Water does not matter for growth either. Cactus has no hydration mechanic the way crops do.

The spacing constraint follows directly from the break rule: two cacti planted on adjacent sand blocks will grow into each other and break each other repeatedly instead of building height. Every farm design leaves at least a one-block gap between planting columns so growing cactus never touches another cactus horizontally.

Cactus damage and why it eats its own drops

Cactus deals 1 HP of damage per game tick to any entity or player touching it, though the target's own damage immunity limits that to roughly once per half-second in practice - enough to kill mobs that walk into it and enough to hurt a player who leans on it.

More important for this build: cactus destroys any dropped item that touches it, cactus items included. This is the real reason a badly built cactus farm "loses" drops - the item pops off correctly, then falls back against the stalk before it can be collected and is destroyed on contact. Any collection method that lets the item linger next to the cactus block will silently eat your output. The fix is geometric: give the broken item a clear path away from the cactus before it settles, covered below.

This item-destroying property is also why cactus shows up deliberately elsewhere: as a mob-proofing block along fences, and as the trash slot in item-sorting systems where overflow needs to disappear instead of piling up.

What cactus is actually for

The previous version of this article listed cactus as a furnace fuel. That is incorrect and has been removed. Checking the wiki's fuel table directly: cactus does not appear in it. It is a smelting input that produces green dye, not a fuel that burns to smelt other items. If you have seen cactus used as fuel elsewhere, that source is wrong; do not build a smelting setup around burning cactus.

What cactus is genuinely good for:

  • Green dye, the actual output of smelting cactus, used for banners, wool, terracotta, and concrete powder recipes.
  • The best smelting XP of any farmable block in Java Edition - 1 XP per cactus smelted, and because the farm is fully passive, that XP accumulates for free in a hopper-fed furnace array with no player input.
  • Composting: cactus has a 50% chance of raising a composter's level by one, comparable to seeds and saplings, making a cactus farm a reasonable bone meal source on the side.
  • Mob-proofing and trash disposal, using the item- and mob-destroying properties directly rather than smelting anything.

Pros

  • Zero redstone, zero moving parts, nothing to break or desync
  • Needs no player nearby beyond keeping the chunk loaded - genuinely AFK-free
  • Cheap to build: sand and any solid block, no rare materials
  • Scales linearly - more columns, more output, no diminishing returns from crowding (as long as spacing is respected)

Cons

  • Growth rate is slow and not player-boostable; there is no bone-meal equivalent for cactus
  • Cactus is not furnace fuel, so it does not offset your smelting costs the way it seems like it should
  • Careless collection design lets the cactus destroy its own drops
  • Output per column is genuinely small; large green-dye needs require a wide farm, not a tall one

The AFK-free part, and what "chunk loaded" actually requires

Most automatic farms still need a player standing nearby, because random-tick-driven mechanics only run in chunks with an "entity ticking" loading state - which normally means chunks within simulation distance of a player. A cactus farm's only moving part is a random tick on a block, so it needs exactly that, nothing more.

What this means concretely: if the farm sits inside your simulation distance while you are anywhere else within that range, it keeps ticking. It does not keep ticking just because the chunk is rendered on your screen from far away - render distance and simulation distance are different settings, and only simulation distance drives random ticks. See the render vs. simulation distance guide for that distinction. If you want the farm running while you are truly elsewhere, in the Nether, or logged off, it needs to sit inside the spawn chunks or on a chunk loader, not just "loaded" in a loose sense; the redstone and chunk borders guide covers chunk-loading boundaries for builds that straddle them.

Building it

  1. Base layer. Place sand or red sand blocks in a row, leaving one empty block of gap between every cactus position so growing columns cannot touch each other horizontally.
  2. Plant cactus on each sand block.
  3. Breaker blocks. In the gap between each pair of cacti, place a solid block one block above the sand - level with where the cactus's second segment will grow. When that segment grows, it is horizontally adjacent to the breaker and pops off immediately, so the column never reaches its third block. One breaker column serves both neighboring cacti if you alternate cactus and breaker positions in a row.
  4. Give the drop somewhere to fall that is not against the cactus. Since the item is destroyed by touching the stalk, do not collect directly beside the plant. Place the breaker one block taller than the sand and dig a one-block-deep collection channel on the far side, away from the cactus, so the popped item bounces off the breaker and away from the stalk before landing. Run a water stream along that channel to a hopper line, or place hoppers directly beneath the far side.
  5. Scale it up. Repeat the alternating cactus/breaker row as many times as you want, and stack it vertically with a solid floor between layers. Nothing here is redstone or an entity, so there is no tick-lag cost to building wide or tall.
Setup Growth ceiling Item-loss risk
Cactus with no gap between plants Breaks itself/neighbors constantly, never reaches height Low output either way
Cactus + breaker, collection right next to the stalk Breaks correctly at 2nd segment High - most drops touch the cactus and are destroyed
Cactus + breaker, collection channel routed away from the stalk Breaks correctly at 2nd segment Low - drop falls clear before settling

Common mistakes

  • Cacti touching each other. Adjacent cacti break each other's new growth constantly instead of ever reaching the breaker block. Keep the full one-block gap.
  • Planting on the wrong block. Only sand, red sand, suspicious sand, or another cactus segment works. Anything else pops the cactus off on the next tick.
  • Breaker block at the wrong height. It has to be adjacent to the space the cactus is about to grow into, not merely somewhere nearby - one block above the sand, level with the second segment.
  • Collecting right next to the stalk. This is the mistake that makes a farm look broken when it is actually working: the cactus is breaking correctly, but every drop that lands against the remaining stalk is destroyed the moment it touches it. Route drops away from the cactus before collecting them.
  • Assuming render distance keeps it running. A farm that is visually loaded on your screen from a distance is not necessarily inside simulation distance. If it stops producing while you are away, that is almost always the cause.

Frequently asked questions

How does an automatic cactus farm work?

Cactus breaks and drops as an item the moment a solid block (or lava) is adjacent to it on any of its four horizontal sides. You plant cactus on sand with a solid breaker block positioned where the second segment will grow; the moment the cactus grows into that space, it touches the block and self-harvests. No redstone is involved.

Why does cactus break by itself?

It is a game rule, not a bug: a cactus block pops off if a solid block or lava occupies a horizontally adjacent space, if the block above it turns to water or lava, or if a piston tries to move it. Farms exploit the first case by placing a block exactly where the cactus will grow.

Is cactus a good furnace fuel?

No. Despite older guides claiming otherwise, cactus does not appear in Minecraft's furnace fuel table at all - it only functions as a smelting input that produces green dye. Do not plan a smelting fuel loop around burning cactus.

Do cactus farms need redstone or a nearby player?

No to both, which is what makes this farm unusual. It needs zero redstone, and unlike most automatic farms, it does not need a player within simulation distance either - it just needs the chunk to be kept in an entity-ticking state, whether that is simulation distance, the spawn chunks, or a chunk loader.

Does cactus need light or water to grow?

Neither. Cactus grows purely on random ticks regardless of light level, so it works underground or sealed in a dark box, and it has no hydration mechanic the way crops planted on farmland do.

Why do my cactus drops keep disappearing?

Cactus destroys any dropped item that touches it, including cactus items themselves. If your collection point (hopper, water stream) is directly beside the stalk, the drop is popping correctly and then being destroyed on the way down. Route the item away from the cactus block before it settles.

What is cactus actually useful for besides green dye?

Green dye is the main product, but cactus also gives the highest smelting XP of any farmable block in Java Edition (1 XP per item), has a 50% chance to raise a composter's level by one, and its mob- and item-destroying property makes it useful as a mob-proofing block or a trash-disposal chute in unrelated builds.

A cactus farm is one of the cheapest, most reliable automatic builds in the game precisely because there is so little to it: sand, cactus, one block in the right spot, and a place for the drop to land that isn't the cactus itself. Once you are comfortable with it, move up to the redstone-driven sugar cane farm and browse the farm guides hub for the rest.

Where to next

More on this