The invention relates to an apparatus for drying and/or roasting beans (1), such as cocoa beans, or parts of beans, such as nibs, comprising a frame (2), a drum (3) for receiving the beans (1) or parts of beans, rotatably mounted in the frame (2) and provided with an inlet (8) for a fluid, in particular a gas, such as heated air, a fan (14) for feeding the fluid via the inlet (8) to the drum (3), and a driving means (12) for rotating the drum (3). The fluid inlet (8) and the driving means (12) are located on the same end of the drum (3).