Maxillofacial hard tissue defects caused by trauma or infection often affect craniofacial function. Taking the natural hard tissue structure as a template, constructing an engineered tissue repair module is an important scheme to realize the functional regeneration and repair of maxillofacial hard tissue. Here, inspired by the biomineralization process, we constructed a composite mineral matrix hydrogel PAA-CMC-TDM containing amorphous calcium phosphates (ACPs), polyacrylic acid (PAA), carboxymethyl chitosan (CMC) and dentin matrix (TDM). The dynamic network composed of Ca2+·COO− coordination and ACPs made the hydrogel loaded with TDM, and exhibited self-repairing ability and injectability. The mechanical properties of PAA-CMC-TDM can be regulated, but the functional activity of TDM remains unaffected. Cytological studies and animal models of hard tissue defects show that the hydrogel can promote the odontogenesis or osteogenic differentiation of mesenchymal stem cells, adapt to irregular hard tissue defects, and promote in situ regeneration of defective tooth and bone tissues. In summary, this paper shows that the injectable TDM hydrogel based on biomimetic mineralization theory can induce hard tissue formation and promote dentin/bone regeneration.