Seven 1‐(1‐piperidinyl)methyl‐2‐(4‐substituted styryl)‐5‐chlorobenzimidazole derivatives were synthesized by the reaction of 2‐(p‐substituted styryl)‐5‐chlorobenzimidazoles with formaldehyde and piperidine in methanol. Analgesic activity of the 1‐(1‐piperidinyl)‐methyl‐2‐(4‐substituted styryl)‐5‐chlorobenzimidazole derivatives was investigated by the modified Koster test in mice. No obvious relationships between analgesic activity and the nature of the substituent on the styryl group was found.