Compact machine for making cheese, other milk-derivatives and tofu comprising a shell (1) in which an impermeable basin (3) is inserted, a collecting container (2) in which a permeable basket (6) is inserted for collecting the product and a support structure comprising a lower base member (10) having two side arms (8). The machine comprises, furthermore, a motor (7) integral to the shell (1) for operating a stirring member (5), and heating means (4) adapted to heat to various temperature the content of the basin (3). The basin (3) and the permeable basket (6) are open and coupled with respect to each other, in a releasable way, one against the another. The coupled basin (3) and the permeable basket (6) are adapted to be integrally rotated, in order to be moved alternatively between a first position (A), where the basin (3) is down and the basket (6) is up, and a second position, where the basket (6) is down and the basin (3) is up. The cheese can be extracted from the basket (6) after a plurality of preparation steps.