A machine for producing and dispensing products such as ice cream, iced beverages or granita comprises a removable product-containing tank which is provided at its front end with a tap for dispensing the product and which, via its rear opening, sealingly houses a cooling element with a substantially horizontal axis and a motor-driven mixer element. The tank is removable from the machine by means of extraction from its operating position in a disassembly direction which is substantially parallel to the axis of the cooling element, and snap-engaging means for locking the movement of the tank are provided between the tank and its seat on the base of the machine, said means being able to be manually released by means of operation of at least one operating lever.