The effects of chlorine dosage, reaction time, algae concentration, and cell components, including extracellular organic matter (EOM), intracellular organic matter (IOM) and cell debris (CD), were evaluated on the formation of nitrosamines (NAs), including N-Nitrosodimethylamine (NDMA), -Nitrosomethylethylamine (NMEA), N-Nitrosodi-n-propylamine (NDPA), N-nitrosodi-n-butylamine (NDBA), N-Nitrosopyrollidine (NPyr), during the chlorination of Microcystis aeruginosa (M. aeruginosa) and Cyclotella meneghiniana (C. meneghiniana) in drinking water treatment. In addition, the NAs formation from Chlorophyll-a and Microcystin-LR (MC-LR) chlorination was investigated. The results showed that NDMA was the most dominant product of two algae, while only a small yield of NPyr, NMEA and NDBA was generated with NDPA as the least. The nitrosamines formation potential (NAsFP) of M. aeruginosa was positively correlated with the chlorine concentration, while the highest NAsFP of C. meneghiniana was observed at 10 mg/L chlorine. With the increase of reaction time, the NAsFP from C. meneghiniana was higher than M. aeruginosa. The NAs formation enhanced with the increase of cell concentration. Moreover, the impacts of cellular components on the NAsFP followed the order of CD > IOM > EOM and IOM > EOM > CD for M. aeruginosa and C. meneghiniana, respectively. The results indicated that proteins and soluble microbial products (SMPs) were the main cellular components to contribute to NAs formation and IOM was the primary source of NAs precursor for both algae. Chlorination of Chlorophyll-a and MC-LR showed that chlorophyll-a formed only a small yield of NDMA and NDBA, while MC-LR made a more significant contribution to the types of NAs.