This paper describes the functionalization of oxidized boron-doped diamond (BDD) electrodes with N-(3-trimethoxysilylpropyl)pyrrole (TMPP) and the influence of this layer on the electrochemical transfer kinetics as well as on the possibility of forming strongly adhesive polypyrrole films on the BDD interface through electropolymerization. Furthermore, localized polymer formation was achieved on the TMPP-modified BDD interface using the direct mode of a scanning electrochemical microscope (SECM) as well as an electrochemical scanning near-field optical microscope (E-SNOM). Depending on the method used polypyrrole dots with diameters in the range of 1-250 microm are electrogenerated.