Abstract The tert‐butyl esters of indole‐5‐carboxylic acid and relatedcompounds such as benzofuran‐ and benzothiophene‐5‐carboxylic acid were readily accessed by reacting the appropriate carboxylic acids with tert‐butyl trichloroacetimidate. To obtain the tert‐butyl esters of the 5‐carboxylic acids of 1H‐benzotriazole and 1H‐benzimidazole, position 1 of these heterocycles had to be protected by acetylation