Cobaltabis(dicarbollide) [3,3'-Co(1,2-C2B9H11)](-)-doped polypyrrole (PPy) films have been prepared galvanostatically on glassy carbon electrodes in acetonitrile solution. The potential response behavior of the film of this new material has been investigated in some common pH buffers and in acid-base titrations. The potentiometric characteristics of the resulting films are indicative of a quasi-Nernstian response (approximately 50 mV/pH unit), a linearity range from pH 12 to 3 and correlation coefficients (r2) of approximately 0.98. The electrode is suitable for pH measurements and for monoprotic titrations of strong alkalis with strong acids, and weak bases with strong acids, but the long response time hinders the use of this electrode for multiprotic titrations. The time response has been dramatically improved by reducing the film thickness by using the template effect of a non-conducting polymer (PVC) cast over the graphite surface before PPy deposition. PPy polymerization occurs in the free channels of PVC leading to the formation of PPy wires. The morphological change of PPy does not affect the slope or linearity range. The response of the PVC-PPy electrochemical sensor is rapid and the sensor is easy to prepare, at low cost, and its performance is comparable with that of commercial glass electrodes.