The present invention relates to a capsule filling machine for filling a capsule (20), which comprises an upper capsule part (21) and a lower capsule part (22). Said capsule filling machine comprises a plurality of separate stations for handling the capsules (20) and a capsule separation device (30) and a capsule presence device (40), the capsule separation device (30) and the capsule presence device (40) being integrated into a common station (2).