The treatment of critical-size bone defects with irregular shapes remains a major challenge in the field of orthopedics. Bone implants with adaptability to complex morphological bone defects, bone-adhesive properties, and potent osteogenic capacity are necessary. Here, a shape-adaptive, highly bone-adhesive, and ultrasound-powered injectable nanocomposite hydrogel is developed via dynamic covalent crosslinking of amine-modified piezoelectric nanoparticles and biopolymer hydrogel networks for electrically accelerated bone healing. Depending on the inorganic-organic interaction between the amino-modified piezoelectric nanoparticles and the bio-adhesive hydrogel network, the bone adhesive strength of the prepared hydrogel exhibited an approximately 3-fold increase. In response to ultrasound radiation, the nanocomposite hydrogel could generate a controllable electrical output (-41.16 to 61.82 mV) to enhance the osteogenic effect in vitro and in vivo significantly. Rat critical-size calvarial defect repair validates accelerated bone healing. In addition, bioinformatics analysis reveals that the ultrasound-responsive nanocomposite hydrogel enhanced the osteogenic differentiation of bone mesenchymal stem cells by increasing calcium ion influx and up-regulating the PI3K/AKT and MEK/ERK signaling pathways. Overall, the present work reveals a novel wireless ultrasound-powered bone-adhesive nanocomposite hydrogel that broadens the therapeutic horizons for irregular bone defects.