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

How to Build a Tree Farm in Minecraft

Step-by-step guide to building automatic and semi-automatic tree farms in Minecraft 1.21+. Covers AFK tree farms with TNT dupers, piston-based designs, and manual layouts for every wood type.

Wood is the most fundamental resource in Minecraft. You need it for crafting tables, tools, building, fuel, charcoal, and dozens of recipes. A dedicated tree farm saves time by concentrating saplings, automating harvesting, or both. This guide covers several designs from a basic manual layout to a fully automatic TNT-based tree farm that produces thousands of logs per hour.

Why build a tree farm?

  • Consistent, renewable supply of logs without traveling to find forests.
  • Automatic versions produce logs while you AFK.
  • Provides saplings, sticks, apples (from oak/dark oak), and charcoal fuel.
  • Compact designs fit inside a base perimeter.

Materials list

ItemQuantityNotes
Saplings (any type)16+Oak is easiest, birch grows uniformly
Dirt or grass blocks16+Planting surface
Bone meal64+For instant growth (optional but recommended)
PistonsvariesFor piston-based auto-harvest designs
Redstone dustvariesWiring for pistons or dispensers
Dispensers4 to 16For bone meal application in automatic versions
Observers4 to 16Detect log growth
Hoppers8+Collection system
Chests4+Storage
TNT (for TNT-based designs)variesOnly if using a TNT duper tree farm
Slabs32+Restrict tree growth height

Design option 1: Manual tree farm

Step 1: Clear a flat area

Find or flatten a 16x16 area. Place dirt blocks in a grid with 4 blocks of space between each sapling position. This spacing ensures trees grow without interfering with each other.

Step 2: Plant saplings

Place one sapling on each dirt block. For oak trees, use a single sapling per position. For dark oak, plant 2x2 saplings together. Birch is ideal for manual farms because birch trees always grow to the same height (5 to 7 blocks), making harvesting predictable.

Step 3: Restrict height with slabs

Place slabs 8 blocks above each sapling position. This forces oak trees to grow as their small variant, which is much faster to chop. Without height restriction, oak trees can grow massive branching canopies that waste time and leave floating leaves everywhere.

Side view of height-restricted manual farm:

  [SLAB]                [SLAB]
    |                     |
    |   (7 blocks air)    |
    |                     |
  [SAPLING]---4 blocks---[SAPLING]
  [DIRT]                 [DIRT]

Step 4: Harvest and replant

Chop trees from the bottom up. Leaves decay naturally within 4 to 5 minutes once all connected logs are removed. Collect dropped saplings and apples, then replant.

Design option 2: Semi-automatic bone meal farm

Step 1: Build the dispensing system

Place a dirt block with a sapling. Put a dispenser facing the sapling, loaded with bone meal. Wire the dispenser to a button or lever. Each press applies bone meal to the sapling, forcing instant growth.

Step 2: Add a piston trunk breaker

Place a sticky piston facing the log position directly above the sapling. When the tree grows, fire the piston to break the bottom log. This causes the entire tree to pop off as items because the bottom log supports the rest. Collect items with hoppers below.

Side view (semi-auto):

       [LOG]
       [LOG]
       [LOG]
  [P]>[LOG]    P = Piston (pushes into log position)
  [D]>[SAPLING]  D = Dispenser (bone meal)
  [DIRT]
  [HOPPER] > [CHEST]

Step 3: Wire observer detection

Place an observer watching the block above the sapling. When the tree grows, the observer detects the new log and triggers the piston. Add a short delay (2 ticks) with a repeater so the piston fires after the tree fully generates.

Design option 3: Fully automatic TNT tree farm

This design uses a TNT duplication glitch (works in 1.21 Java Edition). A TNT duper creates explosions that break the tree into items. Bone meal dispensers grow trees instantly. The cycle repeats automatically.

Warning: TNT dupers may be patched in future versions. Some servers also disable TNT duplication. Check your server rules first.

Step 1: Build the growth chamber

Create a walled chamber around the sapling position, leaving room for the tree to grow. Use blast-resistant blocks (obsidian or end stone) for the walls so TNT does not destroy the farm structure.

Step 2: Install the TNT duper

Build a standard TNT duper above the growth chamber. The duplicated TNT falls onto the grown tree, breaking all logs and leaves into dropped items. Water streams at the base push items into hoppers.

Step 3: Add the bone meal cycle

Dispensers apply bone meal to the sapling. Once the tree grows, the observer fires the TNT duper. After the explosion, the sapling replants (from the drops collected by hoppers and re-fed into a dispenser). The cycle repeats roughly every 5 to 10 seconds.

How tree growth works

Saplings require a light level of 9 or higher and adequate space above them. Each random tick, a sapling has a 1/12 chance to attempt growth. Bone meal forces an immediate growth attempt. Different tree types need different clearances:

  • Oak: 1x1 trunk, needs 4+ blocks of air above. Small variant grows with a slab 7 blocks up.
  • Birch: 1x1 trunk, always 5 to 7 blocks tall. Most predictable for farms.
  • Spruce: 1x1 for small, 2x2 saplings for mega spruce (huge yield per tree).
  • Jungle: 1x1 for small, 2x2 for mega jungle trees. Mega variants produce 50+ logs each.
  • Dark oak: Always requires 2x2 saplings. Drops apples.
  • Acacia: 1x1 trunk but grows diagonal branches, needs extra horizontal clearance.
  • Mangrove: Can be grown on dirt or mud. Propagules work like saplings.
  • Cherry: 1x1 trunk, needs wide clearance for the spreading canopy.

Which wood type is best for farming?

Birch is the best all-around choice. It grows uniformly, never produces branches, and has a consistent height. Oak is the most versatile because it drops apples and works with every design. For raw log output, 2x2 spruce or jungle trees produce the most logs per growth cycle. For aesthetic builds, cherry and mangrove offer unique colors.

Common mistakes

  • Not enough space above saplings. If the growth check fails due to blocked space, the sapling sits there doing nothing. Always verify clearance for your tree type.
  • Forgetting to restrict oak tree height. Large oak trees with branches waste time and leave floating leaf blocks that look messy.
  • Placing saplings too close together. Trees that grow into each other's space can block future growth attempts on adjacent saplings.
  • No collection system. Logs and saplings that drop into the world despawn after 5 minutes. Use hoppers or water streams to gather drops promptly.
  • Using TNT designs on servers with entity limits. Some servers cap TNT entities. Test with a single TNT before building the full farm.

Frequently asked questions

Can I farm all wood types automatically?

Yes, but some types are harder to automate than others. Birch and small oak work best with piston-based designs. Large 2x2 trees (dark oak, mega spruce, mega jungle) require more complex setups with TNT or multiple pistons.

Do I need silk touch to collect saplings?

No. Saplings drop naturally from decaying leaves. Oak and dark oak leaves also drop apples. You can speed up leaf decay by breaking them manually with shears or a hoe.

How fast is a fully automatic tree farm?

A well-built TNT-based birch farm produces roughly 2,000 to 4,000 logs per hour. Semi-automatic designs with bone meal and piston breaking produce 500 to 1,500 logs per hour depending on how fast you click.

Does the farm work underground?

Yes, as long as the sapling has a light level of 9 or higher. Place torches or glowstone nearby. Trees do not need sunlight, only sufficient light level.

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