An efficient method for the solid-supported synthesis of 5-N-alkylamino and 5-N-arylamino pyrazoles is described. This method is general and mild and utilizes readily accessible resin-immobilized beta-ketoamides 2 as starting materials for the preparation of 1. Resin-immobilized beta-ketoamide, aryl-, or alkylhydazine and Lawesson's reagent are suspended in a mixture of THF/Py and heated at 50-55 degrees C to give a resin-bound 5-aminopyrazole, that is liberated from the solid support by treatment with TFA.