Expression of functional, recombinant mammalian proteins often requires expression in mammalian cells (see Single Cell Cloning of a Stable Mammalian Cell Line). If the expressed protein needs to be made frequently, it can be best to generate a stable cell line instead of performing repeated transient transfections into mammalian cells. Here, we describe a method to generate stable cell lines via electroporation followed by selection steps. This protocol will be limited to the CHO dhfr- Urlaub et al. (1983) and LEC1 cell lines, which in our experience perform the best with this method.