A simple and efficient method to prepare halogenated carbon quantum dots (CQDs) through solvent-thermal reaction was reported. The halogenated CQDs were synthesized and further surface functionalization with diamines was achieved based on the halogenated CQDs as intermediates. The halogenated CQDs provide an alternative approach for surface modification of CQDs.