Device for arranging cables in a junction box extractable from a chassis. Between the junction box (1) and the chassis (2) there is a conduit (5) into which the cables (7) are run from the front viewed from the direction in which the box is extracted from the chassis (2), whereby the length of the cable (7) in the chassis (2) is chosen so that the junction box (1) can be drawn out of the chassis (2) for a distance determined in advance.