Bone retention is a usual clinical problem existing in a lot of maxillofacial surgeries involving bone reconstruction and bone transplantation, which puts forward the requirements for bone adhesives that are stable, durable, biosafe, and biodegradable in wet environment. To relieve the suffering of patients during maxillofacial surgery with one-step operation and satisfying repair, herein, we developed a double-cross-linked A-O hydrogel named by its two components: [(3-Aminopropyl) methacrylamide]-co-{[Tris(hydroxymethyl) methyl] acrylamide} and oxidated methylcellulose. With excellent bone adhesion ability, it can maintain long-lasting stable underwater bone adhesion for over 14 days, holding a maximum adhesion strength of 2.32 MPa. Schiff-base reaction and high-density hydrogen bonds endow the hydrogel with strong cohesion and adhesion performance as well as maneuverable properties such as easy formation and injectability. A-O hydrogel not only presents rarely reported long-lasting underwater adhesion of hard tissue but also owns inherent biocompatibility and biodegradation properties with a porous structure that facilitates the survival of bone graft. Compared to the commercial cyanoacrylate adhesive (3 M Vetbond Tissue Adhesive), the A-O hydrogel is confirmed to be safer, more stable, and more effective in calvarial in situ bone retention model and onlay bone retention model of rat, providing a practical solution for the everyday scenario of clinical bone retention.