An apparatus for drying and/or roasting beans, such as cocoa beans, or parts of beans, such as nibs, includes a frame, a drum for receiving the (parts of) beans, rotatably mounted in the frame and provided with an inlet for a fluid, in particular a gas, such as heated air, a fan for feeding the fluid via the inlet to the drum, and a drive for rotating the drum. The fluid inlet and the drive are located on the same end of the drum.