Computerised image analysis was utilised to enumerate the attachment of Staphylococcus epidermidis to HEp2 cell monolayers. A differential staining technique was employed such that individual staphylococcal cells stood out in sharp contrast against the uneven cell surface and granular contents of the epithelial cells. The primary image analysis operation involved subtracting an out‐of‐focus image from an in‐focus image of the bacteria on the monolayer, thereby accentuating the bacterial image. Enumeration, using a particle counting routine, was rapid and reproducible, facilitating counting in excess of 700 bacteria per field at ×500 magnification. The computerised programme compared favourably with manual counting and would provide a rapid, objective and morphologically discriminatory method for evaluating bacterial attachment to various tissues.