In situ regeneration of the enamel-like structure of hydroxyapatite (HAp) crystals under oral conditions is significant for dental caries treatment. However, it is still a challenge for dentists to duplicate the elegant and well-aligned apatite structure bonding to the surface of demineralized enamel. A biocompatible amelogenin-inspired matrix, a phase-transited lysozyme (PTL) film mimicking an N-terminal amelogenin with central domain (N-Ame) combined with synthetic peptide (C-AMG) based on the functional domains of C-terminal telopeptide (C-Ame) is shown here, which is formed by amyloid-like lysozyme aggregation at the enamel interface through a rapid one-step aqueous coating process. In the PTL/C-AMG matrix, C-AMG facilitated the oriented arrangement of amorphous calcium phosphate (ACP) nanoparticles and their transformation to ordered enamel-like HAp crystals, while PTL served as a strong interfacial anchor to immobilize the C-AMG peptide and PTL/C-AMG matrix on versatile substrate surfaces. PTL/C-AMG film-coated enamel induced both of the in vivo and in vitro synthesis of HAp crystals, facilitated epitaxial growth of HAp crystals and recovered the highly oriented structure and mechanical properties to levels nearly identical to those of natural enamel. This work underlines the importance of amyloid-like protein aggregates in the biomineralization of enamel, providing a promising strategy for treating dental caries.