Log & Wire Mesh Railings: Hog Panel and Welded Wire Infill

Heavy log posts and rails with hog panel or welded wire infill: panel options, framing flat mesh into round logs, and the code questions inspectors ask.

Updated Jun 2026 5 min read

Drive past any new build that calls itself a farmhouse and look at the fence line. Odds are it is hog panel: a welded steel grid stretched between heavy wood posts, plain and tough and somehow exactly right. That same grid has been migrating from the pasture to the porch for years, and paired with full log posts and rails it makes the most approachable of the hybrid railing styles. The metal does the see-through work, the logs carry the weight, and the whole thing reads more ranch than lodge.

If you have already read our log and cable and log and iron guides, this is the third member of the family. It is usually the simplest of the three to pull off, because the infill comes off the rack at a farm store rather than out of a tensioning catalog or a fabrication shop.

Ranch Fence, Timber Bones

Cable railing disappears. Iron railing sharpens. A wire grid does neither, and that is the point. The mesh keeps a visible pattern hanging in the opening, so the railing still reads as a fence, just one you can see the valley through. Set against thick peeled log posts, the thin steel grid creates the same heavy-against-light contrast that makes the cable hybrid work, but with a plainer, agricultural accent in place of the yacht hardware.

Finish drives the mood. Raw galvanized panels weather to a soft dull gray that suits working ranches and unpainted outbuildings. Black powder-coated panels read crisper and push the look toward modern farmhouse, closer to the territory of the iron hybrid. Either way the wood stays the star, which is why this style tends to pair with chunky, character-heavy posts rather than slim milled ones.

Hog Panel, Cattle Panel, or Welded Wire

The names get thrown around loosely, so it helps to sort them out before you shop.

Hog panels are stiff welded steel rod panels sold as livestock fencing, commonly in 16-foot (about 4.9 m) lengths. Their openings are graduated, tighter near the bottom and wider toward the top, a layout designed to stop piglets that also happens to put the smallest gaps where a railing needs them. Cattle panels are the taller cousins with larger openings throughout. Welded wire mesh, sold in flat sheets, gives you a uniform grid instead, and woven or crimped wire patterns show up in the more architectural versions of the look.

Two cautions before you buy. Opening size is a code matter, not a taste matter, and the section below covers it. And remember these panels are made to contain animals, not to serve as part of a guard on a raised deck. Nobody at the farm store can hand you load documentation for railing use, so the strength of the railing has to come from the posts, rails, and frame. The panel is infill, nothing more, and if your inspector wants numbers on the assembly, that is a conversation for an engineer rather than a product label.

Framing a Flat Grid into Round Wood

A livestock panel is flat and rectangular. A log is neither. Bridging that mismatch is the real craft of this style, and builders handle it three ways.

The most common is a sub-frame. You cut the panel to size, capture it inside a picture frame of dimensional lumber or steel flat bar, and fasten that framed unit between the log posts and rails. The frame hides every cut wire end and gives you square, predictable mounting surfaces. A second approach sandwiches the panel edges between pairs of wood battens screwed to flattened faces on the posts and rails, which means flattening those faces first with a drawknife or power planer, the same flat-bearing logic that cable hardware demands. The third option is a kerf: a saw slot cut into a flattened rail face that the panel edge slips into before the rail is fitted.

Whichever route you take, deal with the cut ends. Snipped galvanized rod is sharp, and the cut exposes raw steel that will rust and bleed orange streaks down your logs after a few seasons of rain. Grind the stubs smooth, keep them buried inside the frame, and touch up cuts with a zinc-rich cold galvanizing paint before assembly.

The Questions an Inspector Will Ask

A wire grid railing on a deck or porch is a guard, and guards have rules. Under the 2021 IRC (R312), guards are required on raised walking surfaces and residential guards must generally be at least 36 inches (about 91 cm) high, with openings that do not allow a 4-inch (102 mm) sphere to pass. That sphere rule is the one that catches panel shoppers, because some common grids run right at 4 inches. An opening that measures exactly at the limit is a coin flip with an inspector, and a wire that flexes under the test can turn a passing grid into a failing one. Buying a tighter grid is cheaper than rebuilding a section.

Strength gets checked too. The 2021 IRC, Table R301.5, requires a guard to resist a 200-pound concentrated load, and in a mesh railing that load lands on the top rail, the posts, and their connections to the structure below. Our building codes guide walks through how those requirements apply to irregular logs. Building codes are adopted locally and amended freely, so verify all of this with your local building department before you build.

The Climbability Question

A steel grid is a ladder to a four-year-old. The national 2021 IRC does not prohibit climbable infill on guards at one- and two-family homes, focusing instead on opening size and strength, but some local jurisdictions amend that or read it more strictly. It is the same debate covered on our horizontal log railing page, and the answer varies town by town. Ask your building department how they treat grid infill before you commit, and if small children use the deck, weigh the ladder issue on its own merits regardless of what the code allows.

Get the grid size right, frame the panels cleanly, and settle the local code questions early, and this style rewards you with a railing that costs less than its cable and iron siblings while holding its own beside them. Browse some modern rustic projects and you will start spotting hog panel everywhere, doing quiet work between very loud logs.

Verified Sources & Citations

Information in this guide was compiled using technical specifications, building codes, and material properties from the following authoritative sources: