Electrical stimulation is a promising approach to enhance bone regeneration while having potential to inhibit bacterial growth. To investigate effects of alternating electric field stimulation on both human osteoblasts and bacteria, a novel in vitro system was designed. Electric field distribution was simulated numerically and proved by experimental validation. Cells were stimulated on Ti6Al4V electrodes and in short distance to electrodes. Bacterial growth was enumerated in supernatant and on the electrode surface and biofilm formation was quantified. Electrical stimulation modulated gene expression of osteoblastic differentiation markers in a voltage-dependent manner, resulting in significantly enhanced osteocalcin mRNA synthesis rate on electrodes after stimulation with 1.4VRMS. While collagen type I synthesis increased when stimulated with 0.2VRMS, it decreased after stimulation with 1.4VRMS. Only slight and infrequent influence on bacterial growth was observed following stimulations with 0.2VRMS and 1.4VRMS after 48 and 72 h, respectively. In summary this novel test system is applicable for extended in vitro studies concerning definition of appropriate stimulation parameters for bone cell growth and differentiation, bacterial growth suppression, and investigation of general effects of electrical stimulation.