Two kinds of online preconcentration techniques including large-volume sample stacking-sweeping and selective-exhaustive injection-sweeping (SEI-S) were employed in CE to develop a rapid, simple and sensitive method for determination of melamine (MM) and its derivatives such as ammeline (AMN), ammelide (AMD) and cyanuric acid (CA) in liquid milk products. Though the sensitivity of large-volume sample stacking-sweeping is not particularly high, it can be used to detect all the four compounds simultaneously. However, it is very difficult to improve the sensitivity of these four compounds by using single SEI-S method directly, owing to their completely different extents of protonation or deprotonation. Grouping can solve this problem perfectly. After the four compounds are divided into two groups (MM/AMN and AMD/CA), cation-SEI-S or anion-SEI-S can be applied for their online stacking. In cation-SEI-S, the detection limits for MM and AMN were both 0.01 ng/mL based on the signal-to-noise ratio of 3. In anion-SEI-S, the detection limits were 0.05 and 0.02 ng/mL for CA and AMD, respectively. Results of this study show a great potential for the SEI-S method to be a useful tool for the rapid and sensitive determination of MM and its derivatives in liquid milk products.