While designing adhesives that perform in aqueous environments has proven challenging for synthetic adhesives, microorganisms commonly produce bioadhesives that efficiently attach to a variety of substrates, including wet surfaces that remain a challenge for industrial adhesives. The aquatic bacterium Caulobacter crescentus uses a discrete polar polysaccharide complex, the holdfast, to strongly attach to surfaces and resist flow. The holdfast is extremely versatile and has an impressive adhesive strength. Here, we use atomic force microscopy (AFM) to unravel the complex structure of the holdfast and characterize its chemical constituents and their role in adhesion. We used purified holdfasts to dissect the intrinsic properties of this component as a biomaterial, without the effect of the bacterial cell body. Our data support a model where the holdfast is a heterogeneous material composed of two layers: a stiff nanoscopic core, covered by a sparse, flexible brush layer. These two layers contain not only N-acetyl-D-glucosamine (NAG), the only yet identified component present in the holdfast, but also peptides and DNA, which provide structure and adhesive character. Biochemical experiments suggest that, while polypeptides are the most important components for adhesive force, the presence of DNA mainly impacts the brush layer and initial adhesion, and NAG plays a primarily structural role within the core. Moreover, our results suggest that holdfast matures structurally, becoming more homogeneous over time. The unanticipated complexity of both the structure and composition of the holdfast likely underlies its distinctive strength as a wet adhesive and could inform the development of a versatile new family of adhesives.