The coffee machine (1) comprises a coffee dispenser having a support (3), a first spout (4) for dispensing coffee supported by the support (3), at least a second spout (5) for dispensing coffee supported by the support (3), the support (3) having translation guides for translating the first and the second spout (4, 5) in the direction (L) of the width of the machine (1), and a gear for synchronising the translation movement in the opposite sense to the first and second dispensing spout (4, 5) in the direction (L) of the width of the machine (1).