A cord lock includes a female member including first cord insertion portions through which a cord can be inserted to pass; a male member capable of moving in and out from an opening of the female member, and including second cord insertion portions through which the cord inserted to pass through the first cord insertion portions can pass; and an urging device provided between the female member and the male member to provide an urging force in a direction wherein the male member protrudes from the opening of the female member. The second cord insertion portion of the male member and the urging device are located adjacent to each other, and on opposed faces of the female member and the male member along an insertion direction of the cord, straight portions which can carry out at least a line contact are provided.