We construct a chromosome-level genome assembly of the acorn barnacle Amphibalanus amphitrite. Using this genome together with multi-omics datasets and functional evidence, we reveal the evolution and function of two lineage-specific genes, bcs-6 and bsf, that help A. amphitrite adapt to a sessile lifestyle.