A cord lock comprising: a main body which is formed into a tubular shape adapted to insert a band from one side opening of the tubular shape into another side opening, and having front and rear walls (10, 11) and two side walls, and inclined portions formed in inner surfaces of the side walls and expanding toward a depth; and an operating button having an operating portion, a biasing device biasing the operating portion to the one side opening to cooperate with the inclined portions, and a gear-shaped engagement portion which is adapted to pinch the band inserted into the tubular shape, said cord lock being characterized in that it comprises elongated holes arranged so as to face the front and rear walls (10, 11) and extending in a direction of the tube, and the operating button has a front wall side operating portion and a rear wall side operating portion arranged on the front wall and the rear wall, respectively, and a connecting portion integrally connected to the front and rear wall side operating portions (20, 21) through the elongated holes, the operating button has a support piece which is provided in the connection portion, and a pivot portion which is arranged in the support piece and protrudes toward one of the front wall side operating portion and the rear wall side operating portion to axially support the gear-shaped engagement portion, a distance between an axial end of the pivot portion and a shaft end supporting the gear-shaped engagement portion arranged in the other side or a support portion being narrower than a thickness of the gear-shaped engagement portion, the distance being expanded by the elastically deforming portion (22a, 24a) which is arranged in the operating button to pass the gear-shaped engagement portion. a main body which is formed into a tubular shape adapted to insert a band from one side opening of the tubular shape into another side opening, and having front and rear walls (10, 11) and two side walls, and inclined portions formed in inner surfaces of the side walls and expanding toward a depth; and an operating button having an operating portion, a biasing device biasing the operating portion to the one side opening to cooperate with the inclined portions, and a gear-shaped engagement portion which is adapted to pinch the band inserted into the tubular shape, said cord lock being characterized in that it comprises elongated holes arranged so as to face the front and rear walls (10, 11) and extending in a direction of the tube, and the operating button has a front wall side operating portion and a rear wall side operating portion arranged on the front wall and the rear wall, respectively, and a connecting portion integrally connected to the front and rear wall side operating portions (20, 21) through the elongated holes, the operating button has a support piece which is provided in the connection portion, and a pivot portion which is arranged in the support piece and protrudes toward one of the front wall side operating portion and the rear wall side operating portion to axially support the gear-shaped engagement portion, a distance between an axial end of the pivot portion and a shaft end supporting the gear-shaped engagement portion arranged in the other side or a support portion being narrower than a thickness of the gear-shaped engagement portion, the distance being expanded by the elastically deforming portion (22a, 24a) which is arranged in the operating button to pass the gear-shaped engagement portion.