Skip to main content

How to make a fence in Minecraft

Need to keep your cattle or imprisoned villagers alive and contained in Minecraft? The best way to keep them in check is to build a high fence or wall so that nothing can escape. We show you how to make a fence in Minecraft along with gates and walls.

We added walls to this guide because, like fences, they’re waist-high by default. Once you start stacking walls, the resulting structure isn’t completely solid — there are openings between each post, creating what resembles an open castle. You can use a wooden gate to enclose the walled structure.

What you need

Minecraft Trees
Image used with permission by copyright holder

Wood – Go find yourself a batch of trees and chop them down. Your lumberjack skills will result in little blocks of wood logs (Survival Mode) scattered across the terrain that you need to gather. You can use any tool to chop down trees — even your fist — except for a sword.

Get your weekly teardown of the tech behind PC gaming
Check your inbox!

You can also use any type of wood to build your fence, though you’ll want to stay consistent for appearance. Here are your wood choices:

  • Acacia
  • Birch
  • Crimson
  • Dark Oak
  • Jungle
  • Oak
  • Spruce
Minecraft Clay
Image used with permission by copyright holder

Clay – You need this for Brick Walls. Clay resides underwater. The blocks are mostly gray speckled with various gray hues.

Other Bricks and Stones – If you don’t want a Brick Wall, you can use other ingredients. Some of these you can find naturally while others require crafting:

  • Andesite
  • Blackstone
  • Cobblestone
  • Diorite
  • End Stone Brick
  • Granite
  • Nether Brick
  • Sandstone
  • Stone Bricks

Let’s start by creating a wood fence!

Create Wood Plank blocks

Minecraft Make Oak Wood Planks
Image used with permission by copyright holder

First, you need Wood Planks built from any log you collect from trees. You can use stripped wood too.

Step 1: Open your inventory (shown above) or Crafting Table.

Step 2: Place one (1) Wood block into the crafting grid.

Step 3: Drag the resulting four (4) Wood Plank blocks down into your inventory.

Step 4: Repeat these steps to get all the Wood Plank blocks you need.

Create Warped Wood Plank blocks (Java Edition only)

You’ll need these if you want to create a Warped Wood Fence in the Java Edition. The only ingredient here is Warped Stem logs, which you can gather from the Warped Forest in the Nether.

Step 1: Open your inventory or Crafting Table.

Step 2: Place one (1) Warped Stem log block in any square. You can use stripped wood too.

Step 3: Drag the resulting four (4) Warped Wood Plank blocks down into your inventory.

Step 4: Repeat these steps to get the Warped Wood Plank blocks you need.

Create Sticks

Minecraft Make Oak Wood Sticks
Image used with permission by copyright holder

Here’s the second ingredient you need to create a fence.

Step 1: Open your inventory (shown above) or Crafting Table.

Step 2: Place one (1) Wood Plank block in any square in the top row.

Step 3: Place one (1) Wood Plank block directly below in the second row, as shown above.

Step 4: Drag the resulting four (4) Sticks down into your inventory.

Step 5: Repeat these steps to get the Sticks you need.

Create a Wood Fence

Minecraft Make Oak Wood Fence
Image used with permission by copyright holder

You can use any Wood Plank block to build a fence, even the Warped Wood Plank blocks in the Java Edition as instructed earlier.

Step 1: Open your Crafting Table.

Step 2: Place one (1) Wood Plank block each in the top and middle square in the left column.

Step 3: Place one (1) Stick each in the top and middle square in the middle column.

Step 4: Place one (1) Wood Plank block each in the top and middle square in the right column.

Step 5: Drag the resulting three (3) Fences down into your inventory.

Step 6: Repeat these steps to get the Fences you need.

Create a Wood Gate

Minecraft Make Oak Wood Gate
Image used with permission by copyright holder

You can certainly jump over your new fence, but wouldn’t it be easier to simply walk through a gate? Sure it would.

Step 1: Open your Crafting Table.

Step 2: Place one (1) Stick each in the top and middle square in the left column.

Step 3: Place one (1) Wood Plank block each in the top and middle square in the middle column.

Step 4: Place one (1) Stick each in the top and middle square in the right column.

Step 5: Drag the resulting Fence Gate down into your inventory.

Step 6: Repeat these steps to get the Fence Gates you need.

Create a Nether Fence

Minecraft Netherrack
Image used with permission by copyright holder

Now let’s get real and venture down into the Nether to get the ingredients we need to create a Nether Fence. You’ll need Netherrack to create a Nether Brick, which in turn makes a Nether Brick Block. Both are required to make a Nether Fence.

While colors are hard to see down below, Netherrack is a mixture of red hues ranging from brown to light pink, as shown above. You need a pickaxe to mine this skull-patterned ore.

There are three stages to building a Nether Fence. First, we need bricks. That means you need the Furnace and fuel.

Part 1: Create Nether Bricks

Minecraft Create Nether Brick
Image used with permission by copyright holder

Step 1: Open your Furnace.

Step 2: Place Fuel in the bottom square. This can be Coal, Charcoal, Wood — anything you have that burns.

Step 3: Place a Netherrack block in the top square.

Step 4: Drag the resulting Nether Brick down into your inventory.

Step 5: Repeat these steps to get the Nether Bricks you need, or simply place more than one fuel and Netherrack block into the squares. The furnace will continue to create Nether Bricks until the resources are depleted.

Part 2: Create Nether Brick Blocks

Minecraft Make Nether Brick Block
Image used with permission by copyright holder

Simple bricks won’t be enough. We’ll need to cram some together to make blocks.

Step 1: Open your Crafting Table.

Step 2: Place one (1) Nether Brick each into the top and middle square in the left column.

Step 3: Place one (1) Nether Brick each into the top and middle square in the middle column.

Step 4: Drag the resulting Nether Brick block down into your inventory.

Step 5: Repeat these steps to create all the Nether Brick blocks you need.

Part 3: Create the Nether Fence

Minecraft Make Nether Fence
Image used with permission by copyright holder

Finally, with both Nether Bricks and Nether Brick Blocks in hand, we can finally create the fence.

Step 1: Open your Crafting Table.

Step 2: Place one (1) Nether Brick Block each into the top and middle square in the left column.

Step 3: Place one (1) Nether Brick each into the top and middle square in the middle column.

Step 4: Place one (1) Nether Brick Block each into the top and middle square in the right column.

Step 5: Drag the resulting six (6) Nether Brick Fences down into your inventory.

Step 6: Repeat these steps to create all the Nether Fences you need.

Since we’re playing with Nether, why not learn how to create a Nether Brick wall too? Again, they’re low like Fences with protruding posts but are solid throughout.

Create a Nether Brick Wall

Minecraft Make Nether Brick Wall
Image used with permission by copyright holder

Step 1: Open your Crafting Table.

Step 2: Place one (1) Nether Brick Block each into all three squares in the bottom row.

Step 3: Place one (1) Nether Brick Block each into all three squares in the middle row.

Step 4: Drag the resulting six (6) Nether Brick Walls down into your inventory.

Step 5: Repeat these steps as necessary.

Now let’s journey down the rabbit hole even further and learn how to make a standard Brick Wall. Again, they’re waist-high with protruding posts and a solid build.

Create a Brick Wall

This requires three parts: Create bricks, create Brick Blocks, and then the actual Brick Wall. To make bricks, you need Clay which resides underwater.

Part 1: Create a Brick

Minecraft Create Brick
Image used with permission by copyright holder

Step 1: Open your Furnace.

Step 2: Place Fuel in the bottom square. This can be Coal, Charcoal, Wood — anything you have that burns.

Step 3: Place one (1) Clay chunk in the top square.

Step 4: Drag the resulting Brick down into your inventory.

Step 5: Repeat these steps to create more bricks, or simply insert multiple Fuel and Clay into the Furnace grid. The Furnace will continue to make Bricks until the resources are depleted.

Part 2: Create a Brick Block

Minecraft Create Brick Block
Image used with permission by copyright holder

Now we need to create Brick Blocks because this game is all about crafting.

Step 1: Open your Crafting Table.

Step 2: Place one (1) Brick each into the top and middle square in the left column.

Step 3: Place one (1) Brick each into the top and middle square in the middle column.

Step 4: Drag the resulting Brick Block down into your inventory.

Step 5: Repeat these steps to get all the Brick blocks you need.

Part 3: Create a Brick Wall

Minecraft Create Brick Wall
Image used with permission by copyright holder

Finally, we can make the Brick Wall!

Step 1: Open your Crafting Table

Step 2: Place one (1) Brick Block each into the three squares in the top row.

Step 3: Place one (1) Brick Block each into the three squares in the middle row.

Step 4: Drag the resulting six (6) Brick Walls down into your inventory.

Step 5: Repeat these steps to get all the Brick Walls that you need.

Minecraft Create Mossy Cobblestone Wall
Image used with permission by copyright holder

Note: You can replace the Brick Blocks in Step 2 and Step 3 with Andesite, Blackstone, Cobblestone, Diorite, End Stone Brick, Granite, Sandstone, or Stone Bricks. You can also use Mossy and Red variants, like Mossy Cobblestone.

As shown above, you can fill Row 2 and Row 3 of the crafting grid to create Walls in addition to the Row 1 / Row 2 method in our instructions. The point is to have two connected rows filled with blocks.

That’s a lot of crafting right? Now we can place it all in the Overworld.

How to place a Fence or Wall

Minecraft Place First Fence Post
Image used with permission by copyright holder

Step 1: Make sure your Fence or Wall is in the Hotbar and selected for your Main Hand.

Step 2: Look directly at the ground where you want to place the first Fence or Wall.

Step 3: Perform the following to place your first Fence or Wall:

  • PC – Right-click on the target area.
  • Console – Press the Left Trigger button while facing the target area.
  • Mobile – Tap on the target area.

Step 4: For both the Fence and Wall, all you will see is a single post, as shown above. Target the next block and place your second Wall or Fence. You’ll now see two posts joined by two horizontal planks (wood), as shown below, or a lower wall (bricks).

Minecraft Place Second Fence Block
Image used with permission by copyright holder

Step 5: Continue to add a Fence or Wall portion until you create an enclosed area.

Tip: If you want to throw up a Fence or Wall quickly. simply keep the Left Trigger or Right-Click mouse button down while moving. You’ll fire off blocks like a machine gun.

Minecraft Compled Fence
Image used with permission by copyright holder

Step 6: To add a Wood Gate, demolish one Fence or Wall block and replace it with a Wood Gate block. You can open the gate by performing the following:

  • PC – Right-click on the Wood Gate.
  • Console – Press the Left Trigger button while facing the Wood Gate.
  • Mobile – Tap on the Wood Gate.
Minecraft Completed Fence with Gate
Image used with permission by copyright holder

Stack a Fence or Wall

Your Fence or Wall doesn’t need to remain waist-high. Instead, you can “stack” these blocks to create a higher container for your captured animals or villagers.

Step 1: With your Fence or Wall currently selected in the Hotbar, target a corner post, and perform the following:

  • PC – Right-click on the Wood or Wall post.
  • Console – Press the Left Trigger button while facing the Wood or Wall post.
  • Mobile – Tap on the Wood or Wall post.

Step 2: You’ll now see the Wood or Wall post doubled in height, as shown below. Follow the previous steps to build your Fence or Wall like normal, only you’re on a higher level.

Minecraft Fence Start Second Level
Image used with permission by copyright holder

The result is a Fence or Wall that reaches to the top of your virtual head. Don’t build a second-level Fence or Wall block directly over the entrance — you won’t fit through the opening given you’re two blocks high. Instead, build a third-level Fence or Wall block “awning,” as shown below. Unfortunately, we forgot to add a Skeleton Skull to the awning before taking the screenshot…

Minecraft Wood Fence with Gate and Awning
Image used with permission by copyright holder

Here’s a Wandering Trader appreciating our Brick Wall building skills. Notice we added a Wood Gate to enclose this space.

Minecraft Brick Wall with Gate
Image used with permission by copyright holder
Kevin Parrish
Former Digital Trends Contributor
Kevin started taking PCs apart in the 90s when Quake was on the way and his PC lacked the required components. Since then…
Is Stardew Valley cross-platform?
Stardew Valley Multiplayer Fishing

Stardew Valley is a game made by just one person, but it has seen more success than most games made by dozens, or even hundreds, of people. It's even one of Digital Trends' top 50 video games of all time. Since its release in 2016, the game has been updated regularly with new features and content to keep its avid fans coming back. This includes an online multiplayer component that allows you and up to three friends to hang out on each other's farms. And with the recent trend of games allowing players on different platforms to join together, you may wonder if Stardew Valley offers cross-platform functionality. Here's everything we know about cross-platform support in Stardew Valley.
Is Stardew Valley cross-platform?
Stardew Valley does not offer cross-platform support, meaning you can't play online multiplayer between any of the systems the game is on. So if you want to team up with some friends, make sure you all are playing on the same platform, such as the PlayStation 4, PlayStation 5, Xbox One, Xbox Series X, Nintendo Switch, or PC. Also be aware that whoever starts a multiplayer game is saving that shared world locally, meaning no one else can reenter that world without the host present.

The sad fact of the matter is there doesn't seem to be any indication that crossplay will come to Stardew Valley. The game's official Reddit still lists it as not being supported, and there was only one mention of it by the developer on Twitter back in 2018, when he responded to a question asking if crossplay would come to the game. He replied, "Unfortunately, there will not be crossplay. Apparently, the technical barriers are very high. It's still something I really want to add and I promise to look into it more closely, but first priority is getting the update out there." This was many years ago, and there has been no further information about cross-platform play since, so it seems very unlikely that we will see support for this functionality come to Stardew Valley.

Read more
How to hack in Fallout 4
A computer terminal in Fallout 4.

No matter what perks or skills your character has in Fallout 4, hacking will always come down to your ability as a player. There's no way to cheat the system here, and if you don't grasp what the game is asking you to do, you're mostly out of luck. Terminals will hide great loot behind their cryptic puzzles, as well as allow you to take over certain controls to turn your enemy's security against them. Some have very interesting logs about certain characters or events for all you lore junkies out there. Hacking has tons of uses, so let's brush up on your computer skills and give you a refresher on how to hack in Fallout 4.
How to hack in Fallout 4
When you first interact with a terminal to hack in Fallout 4, it will be a little overwhelming. As long as you have a high enough hacking skill to attempt a hack, you can go right into the minigame.

The basic idea of hacking is to find words hidden in that jumble of letters and symbols. Your goal is to find the correct word to crack the terminal before you run out of attempts. Once you find any word and select it, the terminal will tell you how close that word is to the correct one based on how many letters it has in the same space as the answer in the form of a likeness rating. The higher the rating, the more letters it has in common. It is somewhat similar to Wordle, only you don't type in the words yourself.

Read more
I’ve reviewed every AMD and Nvidia GPU this generation — here’s how the two companies stack up
Three graphics cards on a gray background.

Nvidia and AMD make the best graphics cards you can buy, but choosing between them isn't easy. Unlike previous generations, AMD and Nvidia trade blows point-for-point in 2024, and picking a brand to go with isn't as easy as counting the dollars in your wallet.

I've reviewed every graphics card AMD and Nvidia have released this generation, comparing not only raw performance, but also features like DLSS and FSR, ray tracing performance, and how VRAM works in modern games. After dozens of graphics card reviews, here's how AMD and Nvidia stack up against each other in 2024.
Nvidia vs. AMD in 2024

Read more