Biofilms are communities of microbial cells that underpin diverse processes including sewage bioremediation, plant growth promotion, chronic infections and industrial biofouling. The cells resident in the biofilm are encased within a self-produced exopolymeric matrix that commonly comprises lipids, proteins that frequently exhibit amyloid-like properties, eDNA and exopolysaccharides. This matrix fulfils a variety of functions for the community, from providing structural rigidity and protection from the external environment to controlling gene regulation and nutrient adsorption. Critical to the development of novel strategies to control biofilm infections, or the capability to capitalize on the power of biofilm formation for industrial and biotechnological uses, is an in-depth knowledge of the biofilm matrix. This is with respect to the structure of the individual components, the nature of the interactions between the molecules and the three-dimensional spatial organization. We highlight recent advances in the understanding of the structural and functional role that carbohydrates and proteins play within the biofilm matrix to provide three-dimensional architectural integrity and functionality to the biofilm community. We highlight, where relevant, experimental techniques that are allowing the boundaries of our understanding of the biofilm matrix to be extended using Escherichia coli, Staphylococcus aureus, Vibrio cholerae, and Bacillus subtilis as exemplars.