Ethyl, n-dodecyl, and n-hexadecyl esters of urocanic acid (4-imidazoleacrylic acid) were prepared from 4-imidazolecarboxaldehyde in satisfactory yields via the Wittig reaction.