The phase separation in the coacervates of adhesive muscle foot proteins is not fully understood. Here, the authors use simulations and point mutations of a mussel foot derived protein to show that hydrogen bonding is essential in the formation of coacervates in sea water which can help develop underwater adhesives.