Log Railings on Docks and Boathouses: Building for the Waterline
The lakehouse photos make it look simple. A peeled-log railing running the length of a dock, weathered to driftwood gray, framing the water the way a log rail frames a cabin porch. Building that railing is a different job from building one on a deck attached to your house, and most of what makes it different has nothing to do with woodworking. A dock sits in the splash zone of a body of water, it may move, and the water it sits over often answers to an authority that is not your local building department. All three of those facts shape how you build, and the third one can stop the project before it starts.
Permits Come First, and There May Be Two of Them
On dry land, you ask your local building department whether a railing needs a permit and what guard rules apply. Shoreline work is not that simple. Structures in or over water frequently fall under a second layer of permitting on top of, or instead of, the residential code.
Many lakes and rivers are managed by a state agency, often a Department of Natural Resources or its equivalent, and shoreline construction there can require a permit from that agency before any work touches the water. Private lakes and reservoirs often add a lake association or a utility that controls the shoreline and sets its own rules for what you can build and how far out it can go. And if the water is a navigable water of the United States, building a structure in or over it can trigger federal review. Section 10 of the Rivers and Harbors Act of 1899, administered by the U.S. Army Corps of Engineers, requires authorization for structures built in or over navigable waters, and the Corps lists piers, docks, and wharves among the structures it covers.
Not every pond falls under federal jurisdiction, and the rules vary by state and by water body. The point is that you cannot assume the residential code is the only authority. Building codes are entirely local, so verify with your local building department AND the authority managing the waterway before you build, which may mean your state DNR, a lake association, the Corps of Engineers, or some combination. Start those conversations early. A permit you find out about after the posts are in is the most expensive kind.
Where the Residential Code Still Applies
Once you are clear on who governs the water, the railing itself still has to keep people from falling, and that is where building-code thinking carries over. Where the residential code applies, the 2021 IRC sets the guard requirements: Section R312 covers when a guard is required and its height and opening limits, and Table R301.5 specifies the 200-pound concentrated load a guard must resist. That load acts downward and horizontally outward, away from the walking surface. Our building codes guide walks through the guard provisions in more detail.
Whether your dock railing is legally a code guard, a barrier under the waterway authority’s rules, both, or governed by some local hybrid is exactly the kind of question only your jurisdiction can answer. Do not guess. Confirm which standard the railing must meet, because that determines its required height, its opening spacing, and the load its posts and connections have to carry. You must always consult your local building department and the waterway authority before beginning construction. Nothing on this page substitutes for that confirmation, and this is not engineering advice.
Fixed Dock or Floating Dock Changes the Anchor
How the railing connects to the dock depends on what the dock is. A fixed dock stands on pilings or posts driven into the lakebed, so it behaves much like an elevated deck. The railing posts tie into solid framing, and the same connection logic as a deck applies: anchor the post to framing that can carry both the railing’s weight and the outward load it must resist, the way the posts-to-concrete guide handles a rigid base. If a fixed dock has a concrete or masonry abutment at the shore end, that section anchors like any other land structure.
A floating dock is the harder case. It rests on the water and rides up and down with the level, which means it flexes, lists, and moves under foot in ways a fixed structure does not. A heavy log railing adds weight high up and out at the edges, and that weight changes how the float sits and how it rocks. Float-supported decking is often lighter framing than a land deck, sized for a particular load and balance. Adding a row of solid logs around the perimeter is a real change to that structure, not a cosmetic add-on, and it can warrant review by a structural engineer or the dock manufacturer before you load it up. Tell whoever evaluates it that the railing is full logs, because the weight is the whole question.
Constant Water Is the Enemy of Wood
A dock railing lives in the worst moisture environment a log rail will ever see. It gets splashed, it sits in humid air coming off the water, and the bottoms of posts near the deck stay damp long after a land railing has dried. This is the same fight our high-humidity and coastal guide describes and our hot tub and pool deck guide sees concentrated in a splash zone, except a dock gets it from every direction at once.
Start with a wood that resists decay on its own rather than relying on finish alone. Keep end grain off the wet decking wherever you can, because end grain drinks water faster than any other surface, and a post sitting flat in a puddle rots from the bottom up. Seal the cut ends and the joints thoroughly, expect the finish to wear faster here than on a dry deck, and plan to refinish on a shorter cycle. A railing over water is a standing commitment to upkeep, and going in knowing that beats being surprised by soft wood in a few seasons.
Hardware That Survives the Water
The metal matters as much as the wood near a waterline. Ordinary galvanized or plated fasteners corrode fast in constant moisture, and saltwater or brackish water is harder still. When they rust they lose strength, they bleed iron stains down the logs, and a railing whose wood is sound but whose connections are rusting is a railing in trouble.
Use corrosion-resistant hardware rated for wet and marine or near-marine service throughout, including the hidden connectors you will never see again once the post is set. Stainless steel is the common choice for saltwater and brackish exposure. Match the rating to your water, ask a supplier what they specify for shoreline structures in your area, and do not mix dissimilar metals that can drive galvanic corrosion. The hardware is not the place to save money on a structure that has to hold someone leaning over open water.
A log railing on a dock can be one of the best-looking rails you will ever build, and you can see the look in our lakehouse and waterfront gallery. Just treat it as the demanding job it is. Find out who governs the water before you cut a single log, build the railing to whatever guard standard your jurisdiction sets, anchor it to a base sized for the real weight, and choose wood and hardware that can take constant water. Get those right and the railing earns its place at the waterline. Skip the permitting and you can lose the whole thing to an authority you did not know you had to ask.