Skip to main content
Farms & Builds

How to Build an Automatic Sugar Cane Farm in Minecraft

Step-by-step guide to building a fully automatic sugar cane farm in Minecraft 1.21+ using observers and pistons. Covers zero-tick fixes, water placement, and scaling designs.

9 min read15 sectionsJava & Bedrock1.21

Sugar cane is used for paper (maps, books, bookshelves, fireworks, banner patterns) and sugar (cakes, pumpkin pie, potions of swiftness). An automatic sugar cane farm harvests itself using observers and pistons, producing stacks of sugar cane per hour with no player input. This guide covers the standard observer-piston design and how to scale it.

Why build an automatic sugar cane farm?

  • Paper is required for maps, books, bookshelves, and cartography tables.
  • Sugar is used in brewing and baking recipes.
  • Villager librarians buy paper, making this an emerald source.
  • Fully automatic: produces while you do anything else nearby.

Materials list (8-cane row design)

ItemQuantityNotes
Sugar cane8One per planting spot
Dirt or sand8Sugar cane grows on dirt, sand, grass, podzol, or red sand
Water buckets4+Sugar cane must be adjacent to water
Pistons8One per sugar cane
Observers8One per sugar cane, detect growth
Hoppers8+Collection line
Chests2+Storage
Building blocks~50Structural support
Glass (optional)variesViewing panels

Step-by-step build instructions

Step 1: Place the water channel

Dig a 1-block-deep, 1-block-wide channel, 8 blocks long. Fill it with water. This is the irrigation channel. Sugar cane must be planted on a block directly adjacent to water.

Step 2: Place planting blocks

On one side of the water channel, place 8 dirt or sand blocks in a row, each one touching the water. These are the planting positions.

Step 3: Plant sugar cane

Plant one sugar cane on each dirt/sand block. Sugar cane grows up to 3 blocks tall. The farm harvests the second and third blocks, leaving the bottom one to regrow.

Step 4: Place pistons

Behind each planting block (opposite side from the water), one block up, place a piston facing the sugar cane. The piston should be at the same height as the second sugar cane block (one above the planted one). When the piston fires, it breaks the second sugar cane block and all blocks above it.

Step 5: Place observers

Behind each piston, place an observer facing toward the sugar cane. The observer watches the block directly above the planted sugar cane (where the second block grows). When sugar cane grows into that spot, the observer detects the change and sends a pulse to the piston.

Side view (one unit):

  [SUGAR CANE 3]     (broken by piston)
  [SUGAR CANE 2] <-- [PISTON] <-- [OBSERVER]
  [SUGAR CANE 1]     (stays, regrows)
  [DIRT/SAND]
  [WATER adjacent]
  [HOPPER below water] > [CHEST]

Step 6: Add the collection system

When the piston breaks the sugar cane, the items drop into the water channel. Place hoppers at the end of the water channel (where water flows to) or below the water blocks. The hoppers collect the sugar cane items and feed them into chests.

Step 7: Test and verify

Wait for the sugar cane to grow to 2 blocks tall. The observer should detect the growth and fire the piston, breaking the top block. The sugar cane drops into the water, flows to the hoppers, and ends up in the chest. If nothing happens, check that the observer is facing the right direction (the face with the "eye" texture should look at the sugar cane).

Scaling the design

The basic 8-cane row produces roughly 30 to 60 sugar cane per hour (growth is random-tick based). To scale up:

  • Double-sided: Place planting blocks on both sides of the water channel. This doubles output with minimal extra materials.
  • Multiple rows: Stack rows 3 blocks apart. Each row is independent. 10 double-sided rows produce 600 to 1,200 sugar cane per hour.
  • Longer rows: Extend each row to 16, 32, or 64 blocks for proportionally higher output.
Top-down (double-sided):

  [PISTON][OBSERVER]
  [CANE]
  [DIRT]
  [WATER CHANNEL]
  [DIRT]
  [CANE]
  [PISTON][OBSERVER]

How sugar cane growth works

Sugar cane grows based on random ticks. On average, a sugar cane block takes about 18 minutes to grow one block taller (at the default random tick speed of 3). It grows up to 3 blocks tall. The farm harvests at 2 blocks, and the bottom block remains and starts regrowing immediately.

Sugar cane grows in any light level, any biome, and any dimension (as long as it is planted on a valid block adjacent to water). It does not need sunlight, bone meal has no effect on Java Edition sugar cane, and it grows at the same rate underground.

Common mistakes

  • Observer facing wrong direction. The observer's face (with the red dot / eye texture) must face the sugar cane growth position. The redstone output comes from the back. If placed backward, it never detects growth.
  • No water adjacent to planting block. Sugar cane pops off immediately if placed on a block without adjacent water. Even one missing water block breaks the row.
  • Piston at wrong height. The piston must be at the second block level (one above the planted sugar cane). If placed at the first block level, it breaks the base and the sugar cane stops growing.
  • Items despawning. If the collection system is broken or full, sugar cane drops sit in the water for 5 minutes before despawning. Check hoppers and chests regularly.
  • Planting on the wrong block. Sugar cane only plants on dirt, grass, sand, red sand, podzol, and moss blocks. It does not plant on stone, gravel, or clay.

Sugar cane growth basics

Sugar cane grows on sand, dirt, grass, podzol, coarse dirt or mud directly adjacent to a water source block. It grows up to three blocks tall. Each block has a random chance of growing every 16 game ticks (about 1.1 seconds on average), controlled by an internal counter that increments from 0 to 15. When the counter hits 15, the cane grows one block. Average growth time per block is roughly 18 minutes on Java Edition.

Light level does not affect sugar cane growth. It grows in complete darkness, underground, in the Nether and in the End, as long as the base block is valid and water is adjacent.

Observer-piston farm (Java and Bedrock)

This is the standard automatic design and works on both platforms:

  • Place a row of sand blocks with a water channel running behind them (water must touch the sand on at least one side).
  • Plant sugar cane on each sand block.
  • Behind each sugar cane, at the second block height (one above the base), place a piston facing the cane.
  • On top of each piston, place an observer facing the sugar cane. The observer's face (the one with the small dot texture) should look at the space where the third cane block will grow.
  • When the cane reaches three blocks tall, the observer detects the block update and fires a redstone pulse into the piston below it. The piston extends, breaks the second and third cane blocks, and the bottom block stays planted.
  • Broken cane items fall onto the water stream below. Funnel the water into hoppers connected to chests at the end of the row.

Layout and row spacing

Each row needs: one block for sand, one block for sugar cane airspace, one block for the piston, and one block for the observer wiring. You can mirror two rows back-to-back sharing a single redstone line, giving you a two-row module that is five blocks wide. Tile these modules side by side for as many rows as you want.

A common layout is 20 rows (10 double modules), producing roughly 200 sugar cane per hour on Java Edition. Double that to 40 rows if you need heavy paper output for a librarian villager trading hall.

Collection system

Water streams carry dropped items to one end of the row. At the collection point, use a hopper minecart running under the water stream on powered rails. Hopper minecarts pick up items through blocks above them, which is more reliable than bare hoppers for wide streams. Route the minecart into a regular hopper feeding into a chest.

Alternatively, run a line of hoppers under the water channel. This is simpler but costs more iron. For a 20-row farm, expect 30 to 40 hoppers.

Bone meal sugar cane farm (Bedrock Edition only)

On Bedrock Edition, bone meal works on sugar cane. This changes everything. Instead of waiting for natural growth, a dispenser loaded with bone meal points at the sugar cane base and fires automatically:

  • Place sand with water adjacent and plant one sugar cane.
  • Place a dispenser facing the bottom sugar cane block, loaded with bone meal.
  • Wire a redstone clock (two observers facing each other or a repeater loop) to the dispenser so it fires bone meal rapidly.
  • Place a piston at the second block height with an observer to harvest when the cane reaches height three.
  • This produces sugar cane as fast as you can supply bone meal, vastly faster than natural growth.

Pair this with a composting system: excess sugar cane goes into composters to produce bone meal, which feeds back into the dispensers. With enough rows, the farm becomes self-sustaining.

Java Edition does not support bone meal on sugar cane, so this design is exclusive to Bedrock and its console variants.

Zero-tick farms (historical note)

Before version 1.16, Java Edition players exploited a zero-tick growth glitch where pistons rapidly placed and removed a block adjacent to sugar cane, triggering instant growth updates. Mojang patched this in 1.16 by adding a random delay to growth ticks. Zero-tick sugar cane farms no longer work on current versions. The observer-piston design described above is the modern replacement.

Tips for maximizing output

  • Build the farm in loaded chunks. Sugar cane only grows when the chunk is ticked. Use a spawn-chunk farm or stay within simulation distance.
  • AFK near the farm while doing other tasks, enchanting, brewing or organizing storage.
  • Use sand as the base block, not dirt. There is no growth speed difference, but sand is easier to break if you need to remodel.
  • Avoid planting cane in biomes with heavy rain animation if you experience lag; the particles can reduce frame rates near large farms.

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

Frequently asked questions

Can I use bone meal on sugar cane?

On Java Edition, no. Bone meal has no effect on sugar cane. On Bedrock Edition, bone meal works and grows sugar cane instantly. This guide covers Java Edition mechanics.

Does tick speed affect growth rate?

Yes. The default random tick speed is 3. Increasing it with /gamerule randomTickSpeed makes sugar cane grow faster. On vanilla survival servers, the default is 3 and cannot be changed by players.

How much paper can I make per hour?

3 sugar cane = 3 paper. An 8-cane farm producing 50 sugar cane per hour makes about 50 paper per hour. A large 64-cane double-sided farm produces 400 to 800 paper per hour.

Is sugar cane affected by light level?

No. Sugar cane grows at any light level, including total darkness. You can build the farm underground without any torches and it works identically.

Questions about Build an Automatic Sugar Cane Farm

Why would you set up Build an Automatic Sugar Cane Farm at all?

Sugar cane is used for paper (maps, books, bookshelves, fireworks, banner patterns) and sugar (cakes, pumpkin pie, potions of swiftness).

What are the numbers behind Build an Automatic Sugar Cane Farm?

On one side of the water channel, place 8 dirt or sand blocks in a row, each one touching the water.

What separates the options in Build an Automatic Sugar Cane Farm?

For Sugar cane, the table on this page lists Quantity: 8, Notes: One per planting spot.

What should you avoid while doing Build an Automatic Sugar Cane Farm?

When the piston fires, it breaks the second sugar cane block and all blocks above it.

Which Minecraft version does Build an Automatic Sugar Cane Farm apply to?

Before version 1.16, Java Edition players exploited a zero-tick growth glitch where pistons rapidly placed and removed a block adjacent to sugar cane, triggering instant growth updates.

How to Build an Automatic Sugar Cane Farm in Minecraft: Step-by-step guide to building a fully automatic sugar cane farm in Minecraft 1.21+ using observers and pistons. Covers zero-tick fixes, water placement, and scaling designs.
How to Build an Automatic Sugar Cane Farm in Minecraft, from the Farms & Builds guides on Astroworld.

Blocks and items in this guide

Powered Rail in MinecraftPowered RailWater Bucket in MinecraftWater BucketCoarse Dirt in MinecraftCoarse DirtMoss Block in MinecraftMoss BlockSugar Cane in MinecraftSugar CaneWater Flow in MinecraftWater FlowBone Meal in MinecraftBone MealDispenser in MinecraftDispenser

All 8 of these are named in the Build an Automatic Sugar Cane Farm guide above, starting with Powered Rail. Look them up in the item database.

More guides on this site

More Farms & Builds Guides

Related Tools & Databases