Amidoalkylation of 5-aryl(hetaryl)tetrazoles with N-hydroxymethylamides of aliphatic and aromatic carboxylic acids occurs regioselectively and yields mainly 5-aryl(hetaryl)-2-acylaminomethyltetrazoles. These compounds are fairly stable in neutral media but are smoothly deprotected by the action of aqueous sodium hydroxide or hydrochloric acid.