You can build a railing planter box that fits your deck or balcony railing in about two hours with basic tools and about $20 in lumber. The detail most people get wrong is the mounting: if you screw the box directly to the railing, you risk splitting the wood or drilling through a hollow rail. Instead, build a simple cleat or bracket that hangs over the top rail, so the box sits securely without damaging the railing.
Measure Your Railing Before You Buy Lumber
Your railing’s width and style determine the box size and the mounting method. Measure three things:
- Top rail width – the flat top surface from front to back (usually 2–4 inches).
- Railing height – from the top rail down to where the box will rest (often 30–36 inches).
- Available length – the straight run where you want the box (for example, 24 inches between posts).
For a standard 2×4 top rail (3.5 inches wide), a box that is 6 inches deep and 6 inches tall works well. For a wider rail, you can go 8 inches deep. Keep the box length under 36 inches so it does not sag; if you want a longer run, build two shorter boxes and place them side by side.
Pick a Mounting Style That Won’t Damage the Rail
There are two reliable ways to attach a railing planter without drilling into the railing itself.
Hanging Cleat (Best for Flat Top Rails)
Cut a piece of 1×2 lumber to the same length as your box. Screw it to the back of the box, flush with the top edge. Then cut two short blocks (about 2 inches long) and screw them to the underside of the cleat, spaced so they straddle the top rail. The blocks hook over the rail, and the cleat rests on top. Add a small screw through the cleat into the rail only if the rail is solid wood and you are comfortable with a small hole; otherwise, let the weight of the box hold it.
Bracket Mount (For Thick or Round Rails)
Use metal L-brackets rated for outdoor use. Screw one side of each bracket to the back of the box, then place the box so the other side of the bracket rests on top of the rail. Secure the bracket to the rail with a zip tie or a small screw if the rail is solid. This method works when the top rail is too narrow for a cleat.
Whichever method you choose, test the fit before adding soil. The box should sit level and not rock.
Build the Box: Simple Cuts and a Drainage Bottom
You need one 8-foot cedar board (1×6 or 1×8, depending on depth) and a few screws. Cedar resists rot; pine will work if you seal it with exterior paint or stain.
- Cut the board to length: for a 24-inch box, cut two pieces at 24 inches for the front and back, and two pieces at 5.5 inches for the sides (if using a 1×6, which is actually 5.5 inches wide).
- Drill pilot holes and screw the sides to the front and back, forming a rectangle.
- For the bottom, cut a piece of 1/2-inch exterior plywood to fit inside the box (about 22.5 x 5.5 inches for a 24-inch box).
- Drill 5–6 drainage holes, each 1/4 inch, spaced evenly across the bottom.
- Screw the bottom to the box from underneath, leaving a 1/4-inch gap on all sides for drainage.
Worked example: a 24-inch long, 6-inch deep, 6-inch tall box holds about 0.5 cubic feet of soil, which is roughly 4 gallons. That is enough for two to three small plants like herbs or annuals.
Add a Liner and Soil So It Lasts
Line the inside with a sheet of landscape fabric or a plastic liner with drainage holes. This keeps soil from washing out through the gaps and slows wood rot. Cut the fabric to fit, then add a layer of gravel or broken pot shards about 1 inch deep over the drainage holes – this keeps soil from clogging them.
Fill with a lightweight potting mix, not garden soil. Potting mix drains well and is less heavy, which matters when the box hangs on a railing. A 24-inch box needs about 4 gallons of mix.
Choose Plants That Fit the Box and the Sun
What you plant depends on how much sun your railing gets. For a sunny spot (6+ hours), try petunias, geraniums, or cherry tomatoes. For shade (less than 3 hours), use impatiens, ferns, or begonias. Keep the plants small or trailing – a 6-inch depth is too shallow for deep-rooted vegetables like carrots.
Water the box daily in hot weather because it dries out faster than a ground bed. Check the soil with your finger; if it is dry an inch down, water until it runs out the bottom. Fertilize every two weeks with a balanced liquid fertilizer at half strength.
Check the Weight and the Railing Before You Hang It
A 24-inch planter filled with moist soil and plants weighs about 30–40 pounds. Confirm your railing can support that. If the railing feels wobbly or is made of thin metal, reinforce it or place the planter on the floor instead. Also, check local building codes – some balconies have rules about hanging items on railings.
Once it is hung, give it a gentle tug. If it moves, add a second cleat or bracket. Then enjoy your flowers or herbs.
Related
General information for everyday wellbeing, not medical advice. If something affects your health, sleep or mood for more than a short while, talk to a qualified professional. Read more
Spotted an error? Tell us and we will correct it (corrections policy).