The fluorescence of β-cyclodextrin-modified CdS quantum dots can be reversibly tuned by introducing different substrates in aqueous media.