ConspectusCompared to traditionally used irreversible chemical reactions, dynamic covalent chemistry (DCC) including imine formation represents a more advanced technique in the preparation of molecules with complex structures and topologies, whose syntheses require the formation of many bonds. By allowing the occurrence of error checking and self-correcting, it is likely that the target molecules with high enough thermodynamic stability could be self-assembled in high or even quantitative yield. Two questions are raised herein. First, it becomes a central problem in self-assembly that how to endow a target product with high enough thermodynamic stability so that it can be produced as the major or the only product within the self-assembly library. Second, the reversible nature of dynamic bonds jeopardizes the intrinsic stability of the products. More specifically, the imine bond which represents the mostly used dynamic covalent bond, is apt to undergo hydrolysis in the presence of water. Developing new approaches to make imine more robust and compatible with water is thus of importance. In this account, we summarized the progress made in our group in the field of self-assembly based on C═N bond formation. In organic solvent where an imine bond is relatively robust, we focus on studying how to enhance the thermodynamic stability of a target molecule by introducing intramolecular forces. These noncovalent interactions either release enthalpy to favor the formation of the target molecule or preorganize the building blocks into specific conformations that mimic the product, so that the entropy loss of the formation of the latter is thus suppressed. In water, which often leads to imine hydrolysis, we developed two strategies to enhance the water-compatibility. By taking advantage of multivalency, namely, multiple bonds are often more robust than a single bond, self-assembly via condensation of imine was performed successfully in water, a solvent that is considered as forbidden zone of imine. Another approach is to replace typical imine with its more robust and water compatible derivatives, namely, either hydrazone or oxime, whose C═N bonds are generally less electrophilic compared to typical imine. With the water-compatible dynamic bonds in hand, a variety topological nontrivial molecules such as catenanes and knots was self-assembled successfully in aqueous media, driven by hydrophobic effect. When the self-assembled molecules in the form of rings and cages were designed for supramolecular purposes, water-compatibility endows a merit that allows the hosts to take advantage of hydrophobic effect to drive host-guest recognition, enabling various tasks to be accomplished, such as separation of guest isomers with similar physical properties, recognition of highly hydrated anions, as well as stabilization of guest dimers.