The invention relates to a dental composition for detecting bacteria comprising a solvent, at least one electron acceptor component and at least one electron donor component, the composition being substantially free of components which enable or facilitate the electron transmission between the electron acceptor component and the electron donor component. The invention also relates to a kit of parts and the use of the dental composition for producing a means for the intra-oral detection of bacteria.