Controllable electroporation of cells was achieved using microcavity electrodes. An optimized microcavity electrode for cell electroporation/electro-fusion was obtained. A cell electroporation model was developed and validated. High-yield electro-fusion in a microfluidic device with microcavity electrodes was achieved.