Walls and Pathing: What Walls Actually Do
Mechanics
Updated: 18 September 2026 · By the Goblins Farm team
New players build walls to keep troops out. Walls do not keep troops out. They make troops take a longer route, and that longer route is spent under fire. Understanding walls as a delay-and-redirect tool rather than a barrier changes how you build and how you attack.
Redirect, do not block
When a ground troop wants to reach a target and a wall is in the way, the game evaluates whether walking around is cheaper than breaking through. Usually it is, so the troop walks around. That is the entire mechanic, and it is far more useful to a defender than an impassable barrier would be.
A troop walking around your wall is a troop spending several extra seconds inside the range of your defences, not attacking anything, taking damage. Time is the resource walls take away from an attacker. A wall that adds four seconds to every troop's route across a base defended by four splash defences has done more work than a wall that stops a single Giant.
Compartments are the real design unit
A single ring of wall around everything is close to worthless: attackers break one segment and the entire interior is open. What matters is compartmentalisation, dividing the interior into many small walled cells so that breaking in gives access to one building, not the whole base.
- Every compartment breached is a separate decision for the attacker, and separate Wall Breakers, and separate time.
- Storages make excellent compartment walls because they have large hitpoints and are worth taking, so they slow troops that stop to attack them.
- Do not double-wall. Two wall segments side by side cost twice as much and are broken by the same charge. Use the saved segments to add another compartment instead.
- Leave no gaps. A single missing segment is a door, and pathing will find it instantly. Check your layout for one-tile openings, especially where a building was moved.
More layout theory lives in base building principles.
How attackers get through
Four methods, in rough order of cost:
- Walk around. Free. Works whenever the base has an easier route, which most badly designed bases do.
- Wall Breakers. Cheap, fragile, and targeted specifically at walls that protect something new. A handful turns a surface attack into a core attack. They die instantly to splash damage, so they go in behind a tank.
- Jump over. Hog Riders jump walls natively; a Jump Spell creates a temporary crossing for any ground troop. Both convert a compartment maze into open ground, which is exactly why heavily compartmented bases are vulnerable to hog-based attacks.
- Go under or over. Miners tunnel and ignore walls entirely; every air troop ignores them by definition.
The design conclusion for defenders is that walls must be part of a system. A base compartmented to defeat Giants is a base that Hog Riders find comfortable; a base built to defeat air is a base with more anti-air than walls. You cannot be strong against everything, and choosing what to be weak to is what base design is.
Walls as an economic sink
Walls are the most expensive thing in the game by total cost, and there is no research, no builder occupied, and no timer. You tap, you pay, it is instantly upgraded.
That makes walls the perfect place to dump surplus. Any gold or elixir left over when you log off should go into walls, because loot in a wall cannot be stolen and loot in a storage can. Do not, however, prioritise walls over defences or heroes. Walls buy you seconds; a missing Air Defence loses you the whole base. Walls are what you do with money you have nowhere better to put, which, at most stages of the game, is a lot of money.
Practical rule. Upgrade walls from the outside in and from the core out at the same time, meeting in the middle, rather than doing one ring at a time. Mixed wall levels are ugly but functionally fine; a fully upgraded outer ring around an unupgraded core is not.
What this page talks about
Frequently asked
Do walls actually stop troops in Clash of Clans?
No. Walls block direct movement, so ground troops path around them unless breaking through is genuinely faster. The value of a wall is the extra seconds an attacker spends walking under fire, not any ability to keep troops out.
Should I double-wall my base?
No. Two adjacent wall segments cost double and are opened by the same Wall Breaker charge. Spend those segments on additional compartments instead, which forces the attacker to make and pay for more separate breaches.
Are walls worth upgrading?
Yes, but never before defences, heroes or army research. Walls are instant, need no builder and accept unlimited amounts of loot, which makes them the ideal place to spend surplus resources you would otherwise leave sitting in a storage where they can be stolen.
Goblins Farm is not affiliated with, endorsed by, sponsored by, or specifically approved by Supercell. Clash of Clans is a trademark of Supercell Oy. This material is unofficial fan content produced under Supercell's Fan Content Policy. Game values change with every update; always verify in-game before committing an upgrade.






