The increase use of ion sensors in the fields of environmental, agricultural, and medical analysis is stimulating analytical chemists to develop new sensors for fast, accurate, reproducible, and selective determination of various ions. In this study a new samarium membrane sensor was constructed and for the first time, it was applied as a probe in indirect determination of hyoscine, homatropine, and tramadol drugs in their pharmaceutical formulation. The proposed membrane sensor was constructed based on a membrane containing 2% sodium tetraphenyl borate (NaTPB) as an anionic additive, 63% dibutyl phthalate (DBP) as solvent mediator, 5% ionophore, and 30% poly(vinyl chloride) (PVC). The proposed Sm(III) electrode exhibits a Nernstian response of 19.35 +/- 0.2 mV per decade of samarium concentration, and has a lower detection limit of 1.0 x 10(-7) M. The linear range of the sensors was 1.0 x 10(-7) 1.0 x 10(-1) M. It works well in the pH range of 3.0 - 8.0.