The coffee machine (1) comprises a coffee dispenser having a support (3), a first spout (4) and at least a second spout (5) for dispensing coffee, and a mechanism for connecting the first and at least second spout (4, 5) to the support (3) configured to adjust the position of the first spout (4) and at least a second spout (5) in the direction of the width (L) and at the same time of the height (A) of the coffee machine (1).