Skip to main content
Minecraft Blocks

Iron bars in Minecraft: crafting, uses, and mob behavior

By July 13, 2026No Comments

What are iron bars?

Iron bars are a transparent block crafted from iron ingots. They look like vertical metal rods and connect to adjacent solid blocks or other iron bars to form continuous panels, much like glass panes do.

Players use them as windows, jail cells, mob barriers, and decorative trim on builds where stone or wood would feel too heavy. They block most mob movement, let light pass through at full strength, and survive lava and fire without burning. Once you have a steady iron supply, bars become one of the cheapest decorative blocks per surface area in the game.

How to get iron bars

You craft iron bars at a crafting table. Place 6 iron ingots in the bottom two rows of the 3×3 grid, leaving the top row empty. The recipe outputs 16 iron bars, which is the best ingot-to-block ratio of any iron product in Minecraft.

They also generate naturally in several structures: stronghold portal rooms (the small windows along the walls), woodland mansion rooms, jungle pyramid staircases, and igloo basements where the captured villager and zombie villager are kept. You can mine these with any pickaxe and take them home.

Mining iron bars

Iron bars require a pickaxe to drop. Any tier works, including wood. Break them with bare hands or any other tool and they shatter without dropping anything, so always carry at least a wooden pickaxe when raiding a stronghold or mansion if you want to keep the bars. Their hardness is 5.0 and their blast resistance is 6.0, which is the same as iron blocks for resistance but much lower than obsidian. A creeper that detonates next to a bar will destroy it along with any nearby blocks.

Crafting recipe in detail

The exact recipe needs no special tools or ingredients beyond iron:

  • Empty row at the top of the crafting grid
  • Three iron ingots across the middle row
  • Three iron ingots across the bottom row

That gives 16 iron bars per craft. Iron is scarce in early game, so most players wait until they have a steady supply from a branch mine or an iron farm before they start using bars decoratively. A single iron golem farm can produce more bars than most builds will ever need within a few in-game days. If you only need a small window, a single 6-ingot craft covers most household uses on its own.

How iron bars behave

Connection rules

An iron bar placed by itself shows as a small post in the middle of the block, with four short stubs pointing outward to mark where it could connect. Place another iron bar, a solid full block, or a glass pane next to it, and the model extends a full bar segment to that side. This is how you build long fences or paneled windows that look continuous.

Iron bars do not connect to fences, walls, trapdoors, or stairs. They will connect to glass panes, which lets you mix bar segments and glass panes in the same wall for a layered look. They will also connect to the side of any solid block, including stone, wood, and concrete.

Light, sound, and physics

Light passes through iron bars at full strength. They don’t block sunlight, and they don’t lower the sky-access value that monsters check when deciding whether to spawn, so a roof made of bars won’t keep mobs out of the floor below. If you want a spawn-proof roof, use solid blocks and put bars only in the walls.

Redstone signals do not travel through iron bars. They have no power state of their own and aren’t part of any redstone component, so treat them as inert for circuit purposes.

Iron bars are waterloggable. Place them in a water source, or pour water into the same block they occupy, and the water stays inside the bar. This is useful for underwater builds and aquarium walls where you want a visible barrier without breaking the water flow.

Iron bars and mobs

What can and can’t pass through

Most hostile mobs cannot path through iron bars. Zombies, skeletons, creepers, witches, pillagers, and drowned all treat a single bar like a solid wall and will pace back and forth on the other side.

Small mobs change the picture a little. Baby zombies and silverfish can squeeze into gaps if the bars are set up with corners that leave a thin opening, though the standard one-block bar layout still stops them in most cases. Spiders cannot pass through, but they can climb the bars vertically the same way they climb any surface, so a bar wall is not a spider-proof ceiling.

Endermen do not teleport into a block occupied by iron bars, and they cannot pick up iron bars (the enderman grab list is fixed, and bars aren’t on it). Slimes and magma cubes can change size after spawning, but a single-bar wall stops adult forms cleanly.

Reaching across

You can attack mobs through iron bars with a melee weapon. The bar geometry leaves enough open space for a sword swing to register on the other side. This makes bars a classic choice for early-game mob pens: lock a zombie villager behind a wall, hit the mob through the bars if you need to, and you stay safe from grabs and damage.

Arrows can also pass through the gaps. A skeleton on one side can still hit you on the other depending on the angle, so a wall of bars is not a complete arrow shield. If you need full arrow cover, put solid blocks at chest height and use bars only as decoration above.

What iron bars are used for

Windows and visibility

The most common use is decorative. Iron bars give a medieval, fortified look that fits castles, prisons, dwarven halls, and industrial builds where glass would feel too clean. Pair them with stone bricks, deepslate, or dark oak for the strongest visual. They also work well as a partial window: a half-height row of bars on top of a stone wall reads as a gun-port or a watch slit without the work of trim blocks.

Mob pens and farms

A small pen of iron bars holds a single mob securely while letting you see, hit, and interact with it. Common setups:

  • Curing zombie villagers with weakness potions and golden apples
  • Holding a villager in a trading hall where you want a clear line of sight
  • Containing an iron golem in a farm so it can be pushed onto a killing platform
  • Caging a wandering trader long enough to grab the lead off its llamas

Safe rooms and lookouts

Bars are useful for emergency overlooks. A 1×1 window of iron bars in a bunker lets you watch the surface during the night without exposing yourself to direct mob contact. Arrows can still get through some angles, so place the bars deeper into the wall (one block recessed) when you can. The recess narrows the firing arc and most ranged mobs lose line of sight.

Tips and common mistakes

  • Carry a pickaxe when looting strongholds or woodland mansions. Bars only drop with a pickaxe, and players often forget this on a first stronghold trip.
  • Iron bars don’t connect to walls or fences, so a transition between the two looks rough. Use a full block as a post between them to clean up the join.
  • You can place a button or a pressure plate near bars, but you cannot place a torch directly on a bar segment. Use an adjacent wall block as the torch host.
  • A line of bars one block off the ground still blocks adult mobs, but baby zombies can run under it. Place bars flush with the floor when you want full coverage.
  • Bars survive lava. A lava moat behind a row of iron bars is a viable trap, and the bars give you a clear view of whatever fell in.
  • If you have leftover iron from a mob farm, bars are a good iron sink to keep storage from filling up.

Java and Bedrock differences

The block behaves the same on both editions in the ways that matter: same recipe, same drop, same connection rules, same waterlogging. The main visible difference is in how the model renders against partial blocks on certain corner cases, which is a quirk of each edition’s renderer and doesn’t change gameplay. Mob pathfinding is also slightly different between editions, but neither version lets adult hostile mobs cross a one-block bar wall.

Frequently asked questions

How many iron bars does the recipe make?

16 bars per craft, using 6 iron ingots. That’s the best ingot-to-block conversion of any iron product in the game.

Can you climb iron bars?

Players cannot. Spiders can, because spiders climb any vertical surface. If you need a climbable shaft, use ladders or scaffolding instead.

Do iron bars stop creepers from exploding through a wall?

They block the creeper from reaching you, but a creeper that detonates next to bars will still damage nearby blocks, including the bars themselves. The bars are not blast-proof. Wrap them in stone, deepslate, or obsidian if explosion resistance matters.

Are iron bars fireproof?

Yes. They don’t burn from lava, fire, or campfires, which makes them safe to use in nether builds and in fire-prone areas like savanna villages.

Can you place iron bars underwater?

Yes. They’re waterloggable and keep the water source in their block when placed, so they work as see-through walls in aquariums and underwater tunnels.

Do iron bars block redstone signals?

They don’t carry a signal, and they aren’t part of any redstone component. A signal from a redstone block won’t pass through them either. Treat them as inert for circuit purposes.

Will endermen pick up iron bars?

No. Iron bars aren’t on the enderman grab list, so they’re safe to leave exposed in places where stealing endermen would otherwise be an issue.

Worth knowing

Iron bars cost very little iron for the visual return, and a single craft covers most decorative needs. Once you have an iron farm running, treat them as the default whenever a build calls for windows in something other than a clean modern style.