In recent times, the application of the use of ion-selective electrodes has expanded in the field of pharmaceutical analyses due to their distinction from other sensors in their high selectivity and low cost of measurement, in addition to their high measurement sensitivity. Cost-effective, reliable, and robust all-solid-state potentiometric selective electrodes were designed, characterized, and successfully used for pholcodine determination. The design of the sensor device was based on the use of a screen-printed electrode modified with multiwalled carbon nanotubes (MWCNTs) as a solid-contact transducer. Tailored pholcodine (PHO) molecularly imprinted polymers (MIPs) were prepared, characterized, and used as sensory receptors in the presented potentiometric sensing devices. The sensors exhibited a sensitivity of 31.6 ± 0.5 mV/decade (n = 5, R2 = 0.9980) over the linear range of 5.5 × 10−6 M with a detection limit of 2.5 × 10−7 M. Real serum samples in addition to pharmaceutical formulations containing PHO were analyzed, and the results were compared with those obtained by the conventional standard liquid chromatographic approach. The presented analytical device showed an outstanding efficiency for fast, direct, and low-cost assessment of pholcodine levels in different matrices.