Sandcastle worms have developed protein-based adhesives, which they use to construct protective tubes from sand grains and shell bits. A key element in the adhesive delivery is the formation of a fluidic complex coacervate phase. After delivery, the adhesive transforms into a solid upon an external trigger. In this work, a fully synthetic in situ setting adhesive based on complex coacervation is reported by mimicking the main features of the sandcastle worm's glue. The adhesive consists of oppositely charged polyelectrolytes grafted with thermoresponsive poly(N-isopropylacrylamide) (PNIPAM) chains and starts out as a fluid complex coacervate that can be injected at room temperature. Upon increasing the temperature above the lower critical s...