A chair rail is a continuous piece of horizontal molding located on the walls of a room. Although often used as a decorative element, the chair rail was originally intended to prevent the backs of chairs from rubbing against the wall and damaging the finished surface.