During operations, surgical mesh is commonly fixed on tissues through fasteners such as sutures and staples. Attributes of surgical mesh include biocompatibility, flexibility, strength, and permeability, but sutures and staples may cause stress concentration and tissue damage. Here, we show that the functions of surgical mesh can be significantly broadened by developing a family of materials called hydrogel–mesh composites (HMCs). The HMCs retain all the attributes of surgical mesh and add one more: adhesion to tissues. We fabricate an HMC by soaking a surgical mesh with a precursor, and upon cure, the precursor forms a polymer network of a hydrogel, in macrotopological entanglement with the fibers of the surgical mesh. In a surgery, the HMC is pressed onto a tissue, and the polymers in the hydrogel form covalent bonds with the tissue. To demonstrate the concept, we use a poly(N-isopropylacrylamide) (PNIPAAm)/chitosan hydrogel and a polyethylene terephthalate (PET) surgical mesh. In the presence a bioconjugation agent, the chitosan and the tissue form covalent bonds, and the adhesion energy reaches above 100 J⋅m−2. At body temperature, PNIPAAm becomes hydrophobic, so that the hydrogel does not swell and the adhesion is stable. Compared with sutured surgical mesh, the HMC distributes force over a large area. In vitro experiments are conducted to study the application of HMCs to wound closure, especially on tissues under high mechanical stress. The performance of HMCs on dynamic living tissues is further investigated in the surgery of a sheep.