A new strategy for the synthesis of CdS nanocrystals (NCs) within supramolecular self-assembly nanoreactors has been described. The self-assembly nanoreactors were readily constructed through the electrostatic interactions and ion pairs between palmitic acid and the terminal amine groups of hyperbranched polymer. In a chloroform/water two-phase system, aqueous Cd (2+) ions were spontaneously encapsulated into the cavities of self-assembly nanoreactors in chloroform. After reaction with S (2-) ions, the CdS NCs with high stability were obtained. By the addition of excess triethylamine, CdS NCs formed in the self-assembly nanoreactors were transferred from organic phase into aqueous phase. After dialysis and rotorary evaporation, aqueous CdS NCs could be redispersed into chloroform solution containing palmitic acid.