We demonstrate the advantages of a dynamic diffractive optical element, namely a spatial light modulator (SLM) for the controlled and enhanced optoinjection and phototransfection of mammalian cells with a femtosecond light source. The SLM provides full control over the lateral and axial positioning of the beam with sub‐micron precision. Fast beam translation enables time‐sequenced irradiation, which is shown to enhance the optoinjection efficiency and alleviate the problem of exact beam positioning on the cell membrane. We show that irradiation in three axial positions doubles the number of viably optoinjected cells when compared with a single dose. The presented system also enables untargeted raster scan irradiation which provides a higher throughput transfection of adherent cells at the rate of 1 cell per second. Additionally, fluorescent imaging is used to demonstrate cell selective two‐step gene therapy. (© 2010 WILEY‐VCH Verlag GmbH & Co. KGaA, Weinheim)