Cell detachment is an ordinary cell behavior, and acts a significant role in numerous physiological processes. In addition, as massive cell groups have specific shapes in vivo, selectively controlling detachment of patterned cells is crucial for both clinical and fundamental research, because it may act as a platform for studying many processes in vitro, and also may be used for tissue engineering. However, it is difficult to first pattern cell groups into isolated islands and then to control their detachment dynamically. Herein, we developed an integrated device that could confine cell groups into various designed shapes, and selectively detach them by applying a low potential. This device contains electrode arrays (EAs) for cell pattern and detachment; and an automatic control system (ACS) connected to a computer for electrically controlling cell detachment. By microfabrication technology, EAs are fabricated on a glass substrate and isolated by surrounding insulating layer (Parylene-C). A new surface modification method is developed: within one step, oligopeptide (CCRRGDWLC) can bond to the gold surface of EAs for cell adhesion or detachment, and PLL-PEG grafts to other parts around the gold surface to resist cell adhesion simultaneously. When a low potential is applied by the ACS to the selected electrodes, cell groups on these electrodes would round up and detach from the surface. Comparing with previous methods, our method can first pattern cells and then selectively detach them. Besides, this device is easy to operate, fast response, and the detaching units are high through-put, and we believe it will be widely used in biological and medical labs.