An electric stimulator for heart (as in heart pacemakers), brain (as in DBS), organs and general cells, with a supporting structure where there exists a first plurality of electrically isolated electrodes called field-shaping electrodes that are located under the surface of the supporting structure, and a second plurality of ordinary electrically stimulating electrodes called active electrodes, that are located at the surface of the supporting structure, capable of injecting electric charges in the space surrounding the supporting structure. Both types of electrodes are controlled by an appropriate electronics control unit and powered by some electric energy storage, as a battery. Field-shaping electrodes are electrically insulated, being unable to inject current in the surrounding medium, but they are capable of shaping the electric field, which has consequence on the path of the stimulating currents injected by active electrodes. The invention also discloses positioning the field-shaping electrodes underneath the active electrodes.