Spectrophotometric method for the determination of certain proton pump inhibitors belonging to the benzimidazole class of compounds has been developed. The method is based on the reaction of omeprazole, lansoprazole, pantoprazole, rabeprazole and esomeprazole with iron (III) and subsequent reaction with ferricyanide under neutral condition which yields Prussian blue product with maximum absorption at 720–730 nm. The commonly encountered excipients and additives that often accompany pharmaceutical preparations did not interfere with the determination. The method was applied for the determination of omeprazole, lansoprazole, pantoprazole, rabeprazole and esomeprazole in pharmaceutical preparations and no difference was found statistically. Thus, the spectrophotometric method can be applied as inexpensive, rapid, easy, accurate and precise method for the routine analysis of the five proton pump inhibitors in pharmaceutical preparations.