Biofilm matrices consist of a mixture of extracellular polymeric substances synthesized in large part by the biofilm-producing microorganisms themselves. These matrices are responsible for the cohesion and three-dimensional architecture of biofilms. The present study demonstrates the existence of a matrix composed of extracellular DNA, proteins and polysaccharides in the biofilm formed by the human pathogen Streptococcus pneumoniae. Extracellular DNA, visualized by fluorescent labelling, was an important component of this matrix. The existence of DNA–protein complexes associated with bacterial aggregates and other polymers was hypothesized based on the unexpected DNA binding activity of lysozyme LytC, a novel moonlighting protein. Actually, a 25-amino-acid-long peptide derived from LytC (positions 408 and 432 of the mature LytC) was also capable of efficiently binding to DNA. Moreover, the presence of intercellular DNA–LytC protein complexes in pneumococcal biofilms was demonstrated by confocal laser scanning microscopy. Evidence of extracellular polysaccharide different from the capsule was obtained by staining with Calcofluor dye and four types of lectin conjugated to Alexa fluorophores, and by incubation with glycoside hydrolases. The presence of residues of Glcp(1→4) and GlcNAc(1→4) (in its deacetylated form) in the pneumococcal biofilm was confirmed by GC-MS techniques.