An integrated centrifugal microfluidic device was developed to preconcentrate and detect hazardous mercury (II) in water with ionic liquid as environmentally friendly extractant. An automatically salt-controlled ionic liquid dispersive liquid-liquid microextraction on a centrifugal microfluidic device was designed, fabricated, and characterized. The entire liquid transport mixing and separation process was controlled by rotation speed, siphon valves, and capillary valves. Still frame images on the rotating device showed the process in detail, revealing the sequential steps of mixing, siphon priming, transportation between chambers, and phase separation. The preconcentration of red dye could be clearly observed with the naked eye. By combining fluorescence probe and microscopy techniques, the device was tested to determine ppb-level mercury (II) in water, and was found to exhibit good linearity and low detection limit.