Home Staircase DesignStaircase & railing ideas for Indian homes
Iron & CNC

Pipe Railing Design: MS and GI Pipe Railings That Last

Round pipe is the cheapest strong railing you can build. Here is how to pick the right NB size and class, and lay it out so it is safe as well as cheap.

Updated 8 min read12 illustrated designs
Pipe Railing Design: MS and GI Pipe Railings That Last: illustration
Original illustration
Quick answer

A pipe railing uses round MS or GI pipe, typically 40 NB posts and 25-32 NB rails, welded or clamped and painted. It costs about ₹300-650 per running foot in 2026. Use medium (class B) pipe outdoors, keep posts within 1.5 m, and add verticals or mesh so no gap exceeds 100 mm where children live.

Posts40 NB (48.3 mm OD) or 50 NB
Rails25 NB or 32 NB
Recommended classMedium (B, blue band) outdoors
Cost₹300-650/rft painted MS; GI ~15-25% more
Max post spacing1.5 m
Paint life3-4 yrs enamel; 8-12 yrs GI + paint
Classic 3-rail roof pipe railing: pipe railing design illustration01

Classic 3-rail roof pipe railing

Material
MS 40 NB posts, 25 NB rails (medium class)
Best for
Water-tank roofs not used by children
Cost
₹350-450/rft

Top rail at 1,000 mm minimum. Ask for saddle-cut joints, not flat-welded ends.

4-rail pipe railing in matt black: pipe railing design illustration02

4-rail pipe railing in matt black

Material
MS 40 NB posts, 4 × 25 NB rails
Best for
Modern roofs and terrace edges
Cost
₹400-520/rft

Four rails reduce gaps but still exceed 100 mm; add mesh below if needed.

Pipe frame with vertical pipe infill: pipe railing design illustration03

Pipe frame with vertical pipe infill

Material
MS 40 NB frame, 15 NB verticals at 100 mm
Best for
Family terraces
Cost
₹500-650/rft

Child-safe and still cheap. Weld verticals into drilled holes in the rails for a neat finish.

Galvanised pipe with clamp fittings: pipe railing design illustration04

Galvanised pipe with clamp fittings

Material
GI 32 NB pipe, malleable clamp tees and elbows
Best for
Coastal roofs, industrial-style homes
Cost
₹550-800/rft

No welding, so zinc stays intact. Use an etch primer if you want to paint it.

Pipe railing on brick parapet stub: pipe railing design illustration05

Pipe railing on brick parapet stub

Material
450 mm brick parapet + 2 × 25 NB rails
Best for
Village houses and farm roofs
Cost
₹300-450/rft

The parapet does the safety work at low level; posts are short and cheap.

Pipe top rail with welded mesh panel: pipe railing design illustration06

Pipe top rail with welded mesh panel

Material
40 NB frame, 50×50 mm welded mesh (3 mm wire)
Best for
Roofs with kids, pets or poultry
Cost
₹400-550/rft

Use galvanised mesh and paint after fixing. Bend mesh edges into the frame.

Curved pipe railing for round terrace: pipe railing design illustration07

Curved pipe railing for round terrace

Material
Rolled 32 NB rails, 40 NB posts
Best for
Semi-circular terraces and porch roofs
Cost
₹500-700/rft

Pipe must be roll-bent in a workshop; heating and hammering on site kinks it.

Pipe railing with X-brace panels: pipe railing design illustration08

Pipe railing with X-brace panels

Material
40 NB posts and rails, 20 NB diagonals
Best for
Farmhouses and stable-style verandahs
Cost
₹400-550/rft

Rustic look; add mesh where the drop exceeds 600 mm.

Pipe frame with powder-coated flat infill: pipe railing design illustration09

Pipe frame with powder-coated flat infill

Material
40 NB frame, 40×5 mm flats
Best for
Balconies that need a lighter modern look
Cost
₹550-750/rft

Round pipe top rail is comfortable to hold; flats give a cleaner face.

Pipe stair handrail on wall brackets: pipe railing design illustration10

Pipe stair handrail on wall brackets

Material
32 NB MS pipe, wood-effect PU, 75 mm brackets
Best for
Staircases against a wall
Cost
₹250-400/rft

Keep 40-50 mm clear between pipe and wall for knuckles.

Pipe posts with cable infill: pipe railing design illustration11

Pipe posts with cable infill

Material
40 NB MS posts, 4 mm SS 316 wire rope
Best for
Hill homes and view terraces
Cost
₹700-1,000/rft

Posts must be stiff; wire needs re-tensioning. Wires are climbable, so not for toddlers.

Low pipe guard for garden or ramp edges: pipe railing design illustration12

Low pipe guard for garden or ramp edges

Material
40 NB posts, single 32 NB rail at 900 mm
Best for
Ramps, garden steps, porch edges
Cost
₹200-300/rft

Only where the drop is under about 600 mm; otherwise a full guard is needed.

Illustrations are original drawings made to show the idea and proportions; cost ranges are indicative 2026 prices for Indian cities and vary by city, brand and quantity.

01Why pipe railings are still the default on Indian roofs

Walk across the roofs of any small town and you will see the same thing: two or three horizontal pipes welded to pipe posts, painted green, silver or black. People search for it as loha pipe railing design or lohe ke pipe ki railing design, and it is popular for good reasons. Round pipe is strong for its weight, it is stocked by every hardware shop, any welder can work with it, and a round top rail is comfortable to hold.

The weakness is also obvious. A basic two-pipe railing leaves gaps of 300-400 mm, which is fine for a cattle shed but not for a terrace where children play. The designs on this page fix that without losing the low cost. For the wider choice between iron styles, see the iron railing design hub.

02NB pipe sizes explained (and the 2-inch confusion)

MS and GI pipes in India are sold by nominal bore (NB) under IS 1239, not by outside diameter. The number is roughly the inside diameter in mm, and the outside diameter is always larger:

  • 25 NB (called 1") = 33.7 mm OD
  • 32 NB (1¼") = 42.4 mm OD
  • 40 NB (1½") = 48.3 mm OD
  • 50 NB (2") = 60.3 mm OD

This trips people up because stainless steel railing pipe is sold by outside diameter: a "2-inch" SS pipe is 50.8 mm OD, close to a 40 NB MS pipe. If you are comparing an MS quote with an SS quote, compare outside diameters, not the inch label.

For any railing pipe design, remember that for handrails 33.7-48.3 mm OD is the comfortable grip range. A 60.3 mm pipe is too fat for a small hand on a stair and looks heavy on a balcony.

03Light, medium or heavy: pipe class A, B and C

IS 1239 pipes come in three wall thicknesses, colour-coded with a band on the pipe. Shop language often calls them A, B and C class:

  • Light (A, yellow band): thinnest wall. Fine for indoor handrails; rusts through too quickly outdoors.
  • Medium (B, blue band): the sensible choice for roofs, balconies and boundary railings.
  • Heavy (C, red band): for posts that carry gates or for high-impact areas like parking ramps. Overkill for most homes.

Unbranded "railing pipe" is often thinner than even light class. Check the band colour, the brand stencil, and if in doubt, measure the wall with a vernier at the cut end.

Try the free Railing Cost Calculator

Estimate SS, MS, glass, wood or cement railing cost in ₹.

Open calculator →

04MS black pipe vs GI pipe for railings

MS black pipe is cheaper and easy to weld, but it relies entirely on paint. GI (galvanised iron) pipe has a zinc coating inside and out, so it resists rust much longer, especially inside the pipe where you cannot paint. GI costs roughly 15-25% more per kg.

The catch with a GI pipe railing design: welding burns off the zinc around each joint. You can handle this two ways:

  1. Use bolted pipe clamp fittings (key-clamp style tees and elbows) so nothing is welded. Clean, modular, slightly industrial look.
  2. Weld, then grind and apply cold galvanising zinc-rich spray on every joint before priming.

Paint does not stick well to fresh, shiny GI. Wait a few weeks or use an etch primer, otherwise the paint peels in sheets.

05Horizontal vs vertical pipe railing designs

Most iron pipe railing design photos you find online show one of two layouts, and the choice between them matters more than the paint colour. A simple pipe railing design is fine on a roof, but an iron pipe railing design for balcony use needs closer spacing.

Horizontal pipes (2, 3 or 4 rails) are the cheapest, quickest and most common. They look clean on long roofs. But they are climbable, and with fewer than five rails the gaps exceed the 100 mm safety limit.

Vertical pipes or bars between a top and bottom rail are safer and only slightly more expensive. Use 15 NB or 20 NB pipe, or 12 mm square bar, at 100 mm centres.

A practical hybrid for terraces: a 40 NB top rail at 1,000-1,100 mm, a 25 NB mid rail, and welded mesh or verticals in the lower 700 mm. You get the light look of a pipe railing with a child-safe lower zone. On roofs used only for water tanks, a simple three-rail design with a 1,000 mm top is usually acceptable, but check your local bye-laws. More roof-specific detail is on roof railing design.

06Pipe railing for village houses, roofs and balconies: cost

Indicative 2026 rates in Indian cities and towns (vary by steel price, location and quantity):

  • 2-rail MS pipe roof railing, enamel painted: ₹300-400/rft
  • 3-4 rail MS pipe railing with 40 NB posts: ₹350-500/rft
  • Pipe frame with vertical infill or mesh: ₹450-650/rft
  • GI pipe with clamp fittings: ₹500-800/rft

Village homes often save further by fixing posts into a 230 mm brick parapet stub, which cuts post height and steel. See village house railing design for parapet-plus-pipe combinations, and use the railing cost calculator to compare.

07What to tell your welder: pipe railing checklist

  • Post fixing: 40 NB posts grouted 150 mm into RCC, or welded to a 100×100×6 mm plate with 4 anchor fasteners. Never just set in plaster.
  • Fish-mouth joints: pipe-to-pipe joints should be saddle-cut so the full circumference is welded, not a flat end welded at two points.
  • Close the ends: weld a disc or fit a plastic end cap. Open pipe ends collect water and mosquitoes.
  • Drain hole: a 6 mm hole at the bottom of each post just above the base so trapped water escapes.
  • Expansion: on runs longer than about 10 m, leave a sleeved joint so the rail can expand in summer without cracking welds.
  • Paint inside: before closing ends, pour a little primer through the pipe and roll it.

08Mistakes to avoid

  • Two rails only, at 300 and 900 mm. The most common unsafe railing in India.
  • Silver aluminium paint on MS pipe. It looks like SS for one season and then chalks. Use a proper grey or black PU.
  • Post sitting on waterproofing. Drilling through terrace waterproofing for posts causes leaks below. Fix posts on the parapet or into raised pedestals and seal well.
  • Mixing GI and copper or brass fittings. Dissimilar metals corrode the zinc quickly.

If you want the same look in stainless steel without painting, compare with SS railing design.

IS 1239 MS/GI pipe sizes for railings (approx. weights, black pipe)
Nominal boreOutside dia.Light (A) kg/mMedium (B) kg/mTypical railing use
15 NB (½")21.3 mm0.951.21Vertical infill
20 NB (¾")26.9 mm1.241.56Infill, light rails
25 NB (1")33.7 mm2.02.4Rails, handrails
32 NB (1¼")42.4 mm2.63.1Top rails
40 NB (1½")48.3 mm3.23.6Posts, top rails
50 NB (2")60.3 mm4.15.0Heavy posts, gate posts

Frequently asked questions

Which pipe size is best for a railing?

For a typical home, use 40 NB (48.3 mm OD) pipe for posts and top rails and 25 NB (33.7 mm OD) for intermediate rails. Vertical infill can be 15 or 20 NB pipe. Choose medium class wall thickness for anything outdoors. Larger 50 NB pipe looks heavy and is only needed for gate posts.

Is GI pipe better than MS pipe for railings?

GI pipe resists rust better because it is zinc coated inside and out, which matters on roofs and near the coast. It costs about 15-25% more and welding damages the zinc at joints. Use clamp fittings or treat welds with zinc-rich spray. For sheltered balconies, well-painted MS pipe is adequate.

How much does a pipe railing cost per foot?

In 2026, a painted MS pipe railing costs about ₹300-500 per running foot for 2-4 horizontal rails and ₹450-650 with vertical infill. GI pipe with clamp fittings runs ₹500-800 per foot. These are indicative ranges and change with city, steel prices and job size.

What is the difference between class A, B and C pipe?

They are the light, medium and heavy wall-thickness grades of IS 1239 pipe, marked with yellow, blue and red bands. Light pipe has the thinnest wall and suits indoor use. Medium is right for most outdoor railings. Heavy is for structural uses such as gate posts or vehicle barriers.

Is a horizontal pipe railing safe for children?

Usually not on its own. Horizontal rails act like a ladder, and two or three rails leave gaps much wider than the 100 mm limit. If children use the terrace, add vertical infill, welded mesh or a solid panel in the lower 700 mm, or build a brick parapet with the pipe rail on top.

How do I paint an old rusted pipe railing?

Scrape and wire-brush loose rust, sand to bare metal at heavy spots, and wipe with thinner. Apply a rust-converter or zinc primer on bare areas, then a full coat of primer, then two coats of enamel or PU. Check pipe bases and joints; if the pipe is rusted through, cut and replace that section.

Home Staircase Design editorial team
We write for homeowners planning a staircase or railing with a local fabricator: original drawings, Indian standards (NBC 2016) and current market price ranges. How we research and price. Last reviewed 1 November 2026.