Skip to main content
← All Guides
Farms & Builds · 8 min read

How to Build an Automatic Cactus Farm

Automatic cactus farm designs for Minecraft. Covers the classic block-break method, sand placement rules, collection with hoppers, and cactus XP smelting.

Cactus farming is one of the oldest automatic farms in Minecraft. The design exploits cactus growth rules: a cactus breaks itself when a solid block is placed next to it. By placing blocks adjacent to where cactus grows, you get a fully automatic harvester with no redstone at all. Cactus can be smelted into green dye, composted, or sold to wandering traders.

Why build a cactus farm?

  • Green dye (from smelting cactus) is used for concrete, wool, banners, and terracotta.
  • XP from smelting cactus in furnaces.
  • Composting cactus produces bone meal (50% compost rate, one of the highest).
  • Zero-maintenance design with no redstone required.
  • Scales easily from tiny to industrial size.

Materials list

ItemQuantityNotes
Sand blocks1 per cactusCactus can only be placed on sand, red sand, or other cactus
Cactus1 per columnFound in deserts and badlands
Fences, glass panes, or walls1 per cactusPlaced diagonally to break growing cactus
Building blocksVariesFrame and platform
Hoppers or water streamsVariesCollection
Chests2+Storage

Step-by-step build instructions

Step 1: Build the growing platform

Place sand blocks in a grid pattern with 1 block of space between each. Cactus cannot be placed directly next to another solid block, so every sand block needs air on all 4 sides. A checkerboard pattern works:

Top-down view:

  .  S  .  S  .  S  .
  S  .  S  .  S  .  S
  .  S  .  S  .  S  .
  S  .  S  .  S  .  S

S = Sand with cactus
. = Air (empty space)

Step 2: Place cactus on each sand block

Put one cactus on each sand block. The cactus will grow upward to a maximum of 3 blocks tall.

Step 3: Add breaking blocks

Place a fence post, glass pane, or wall segment one block above each cactus, positioned diagonally (not directly adjacent, but on a neighboring block's edge). When the cactus grows to the second block, the presence of the adjacent solid block causes the new cactus block to break immediately and drop as an item.

Side view of one unit:

     F          F = Fence/wall (diagonal block, breaks cactus)
     C          C = Where cactus grows (instantly breaks)
     C          C = Original cactus (stays)
     S          S = Sand

The fence is on the neighboring column's block, diagonally adjacent.

Step 4: Add collection

Below the growing platform, create a water stream system. Leave gaps in the platform floor so broken cactus items fall through. Water streams on the floor below push items toward a central hopper collection point.

Alternatively, place hoppers directly under the sand blocks. This is more expensive (iron cost) but collects items more reliably since cactus items sometimes fly sideways when they break.

Step 5: Scale up

The beauty of cactus farms is that they scale linearly. Double the sand blocks, double the output. Industrial cactus farms use hundreds or thousands of sand blocks in stacked layers. Each layer has its own water collection system feeding into a central item elevator.

How it works

Cactus has a unique property: it breaks automatically when any solid block exists adjacent to it (north, south, east, or west). This is a block update check, not a random tick event. The cactus also grows via random ticks (average of 18 minutes per growth on Java). When the cactus grows a new block and that block detects an adjacent solid block, it pops off as an item immediately.

The dropped cactus item also has a special property: cactus blocks destroy any item entity that touches them. This means some of your dropped cactus items will land on the cactus below and be destroyed. This is the main source of item loss in cactus farms. Using water streams or hoppers to catch items quickly reduces this loss.

Smelting for XP and green dye

Cactus can be smelted into green dye (1:1 ratio). Like all smelting, it stores XP in the furnace. A large cactus farm feeding an auto smelter produces both green dye and stored XP. When you manually pull items from the furnace, all stored XP releases at once. With thousands of cactus smelted, this can be a significant XP source.

Efficiency stats

  • Cactus per block per hour: ~3-4 (factoring in item destruction)
  • 100-cactus farm: ~300-400 cactus per hour
  • Item loss to cactus destruction: 20-40% (depends on collection speed)

Common mistakes

  • Breaking block directly adjacent instead of diagonal. If you place a block directly next to the sand at cactus level, you cannot place the cactus at all. The breaking block must be one level above and on a neighboring column.
  • Ignoring item destruction. Cactus items landing on the cactus below are destroyed. Use water collection immediately below the growing level to minimize loss.
  • Sand blocks touching each other. Cactus cannot be placed on sand if an adjacent block is solid. Keep sand blocks separated with air gaps.
  • Slow collection. The longer items sit near cactus, the more get destroyed. Fast-flowing water or hopper coverage is critical.

Frequently asked questions

What is the best use for cactus?

Smelting into green dye is the most common use. Composting (50% compost chance) is efficient for bone meal. On servers with villager trading, cactus green dye can be sold to shepherd villagers.

Can I make a zero-tick cactus farm?

Zero-tick farms were patched in Java 1.16. They still work on some Bedrock versions but are considered a bug exploit. The classic design in this guide works on all current versions.

Connecting to an auto smelter for XP

One of the most popular uses for a cactus farm is feeding it directly into an auto smelter for XP banking. Here is how to set it up:

  1. Route the cactus farm output (via hopper chain or water stream) into the input chest of a super smelter.
  2. Use any fuel source. If you also have a bamboo or kelp farm, use dried kelp blocks or bamboo as fuel. Coal works too, but renewable fuel is better for long-term AFK sessions.
  3. The furnaces smelt cactus into green dye (1:1 ratio). Each item smelted stores 0.2 XP in the furnace.
  4. Let the smelter run for hours while you AFK. The green dye accumulates in the output chests, and XP accumulates silently in each furnace.
  5. When you want to collect XP, break the output hoppers temporarily and manually pull one item from each furnace. All stored XP releases instantly as XP orbs.

A 200-cactus farm running for 10 hours smelts roughly 6,000-8,000 cactus. At 0.2 XP per smelt, that is 1,200-1,600 XP stored in the furnaces, enough for dozens of enchanting levels. This is one of the oldest and most reliable XP banking methods in the game.

Building a multi-layer cactus farm

To scale cactus production dramatically, stack growing layers vertically. Build a second checkerboard grid of sand and cactus 4 blocks above the first layer. Add another water collection floor between the layers. Items from the upper layer fall through gaps to the lower collection system. Stack as many layers as you want, though 3-4 layers is the practical limit before the build becomes unwieldy. Each additional layer adds the same output as the first, so a 3-layer farm with 100 cactus per layer produces roughly 900-1,200 cactus per hour. At that scale, you will never run out of green dye or XP banking material.

Need a server that handles all this? Astroworld Hosting, NVMe SSDs, Pterodactyl panel, DDoS protection on every plan.

Related Tools & Resources

🔧

Minecraft Tools

Calculators, generators & server tools

🧱

Item Database

Browse all Minecraft items, stats & recipes

⚒️

Crafting Recipes

Visual crafting guides for every recipe