The synthetic route of the pyrazol derivatives (5a–5x) was outlined in Scheme 1. First of all, 2a–2c were synthesized in THF by treating p-substituted benzoate with acetonitrile using NaH as catalyst. Secondly, compounds 2a–2c and hydrazine hydrate were dissolved in ethanol and refluxed for 1 h to get compounds 3a–3c. Lastly, the coupling reaction between the obtained compounds 3a–3c and nicotinic acids was performed by using 1-ethyl-3-(3-dimethylaminopropyl) carbodiimide hydrochloride (EDCl) and N-hydroxybenzotriazole (HOBt) in anhydrous methylene dichloride, and refluxed to give the desired compounds 5a–5x. All of the synthesized compounds were given satisfactory analytical and spectroscopic data, which were in full accordance with their depicted structures.