An iron railing is a fence made of iron. This may either be wrought iron, which is ductile and durable and may be hammered into elaborate shapes when hot, or the cheaper cast iron, which is of low ductility and quite brittle. Cast iron can also produce complicated shapes, but these are created through the use of moulds of compressed sand rather than hammering, which would be likely to damage the iron.
One of the earliest uses of cast iron railings in England was in 1710–14 at St Paul's Cathedral, despite the objections of Christopher Wren, who did not want a fence around the Cathedral at all, and said that if there had to be one it should be of wrought rather than cast iron. The set was made at Gloucester Furnace, Lamberhurst, in the Weald of Kent and surrounded the cathedral, including seven gates. It weighed two hundred tons and cost six pence a pound. The total cost was £11,202 which was a fortune then. No further railings are known to have been cast in the Weald. Other early uses of cast iron railings were at Cambridge Senate House and at St Martin's-in-the-Fields, London.
Wrought iron may be used to construct ornate railings. The Davies brothers of Wrexham made such railings in the 18th century and these are much admired — Nikolaus Pevsner described their work as "miraculous". They made fine wrought iron railings for Stansty Park and these may now be seen at Erddig Hall.