The two are often used interchangeably, however, guardrail is used at the perimeter of an edge or fall hazard and acts as a barricade or protection against the fall. A handrail is also used to prevent a fall, however, it is generally used on a sloped surface, such as a stair or ramp.