The palladiumcatalyzed one-pot synthesis of isoxazoles and pyrazoles from aryl iodides, terminal alkynes, chromium hexacarbonyl and hydroxylamine hydrochloride or aqueous hydrazine solution is described. The Sonogashira carbonylative coupling intermediate was trapped in situ by hydroxylamine hydrochloride or aqueous hydrazine to deliver isoxazoles or pyrazoles, respectively, in high yields. This efficient