A handrail is required when there are four or more steps or rises. Handrails are also required when a stair rises more than 30 inches above the underlying surface.