Lead halide perovskite nanocrystals with excellent photophysical properties are promising electrochemiluminescence (ECL) candidates, but their poor stability greatly restricts ECL applications. Herein, hydrogen-bonded cocrystal-encapsulated CsPbBr 3 perovskite nanocrystals (PeNCs@NHS-M) were synthesized by using PeNCs as nuclei for inducing the crystallization of melamine (M) and N-hydroxysuccinimide (NHS). The as-synthesized composite exhibits multiplicative ECL efficiencies (up to 24fold that of PeNCs) without exogenous coreactants and with excellent stability in the aqueous phase. The enhanced stability can be attributed to the well-designed heterostructure of the PeNCs@NHS-M composite, which benefits from both moiety passivation and protection of the peripheral cocrystal matrix. Moreover, the heterostructure with covalent linkage facilitates charge transfer between PeNCs and NHS-M cocrystals, realizing effective ECL emission. Meanwhile, the NHS and M components act as coreactants for PeNCs, shortening the electron-transport distance and resulting in a significant increase in the ECL signal. Furthermore, by taking advantage of the specific binding effect between NHS-M and uranyl (UO 2 2+ ), an ECL system with both a low detection limit (1 nM) and high selectivity for monitoring UO 2 2+ in mining wastewater is established. The presence of UO 2 2+ disrupted the charge-transfer effect within PeNCs@NHS-M, weakening the ECL signals. This work provides an efficient design strategy for obtaining stable and efficient ECLs from perovskite nanocrystals, offering a new perspective for the discovery and application of perovskite-based ECL systems.