Barnacle attachment to various foreign materials in water is guided by an extracellular multiprotein complex. A 19 kDa cement protein was purified from the Megabalanus rosacement, and its cDNA was cloned and sequenced. The gene was expressed only in the basal portion of the animal, where the histologically identified cement gland is located.