Remarkable improvement achieved by imidazole derivatives in ruthenium-catalyzed hydroesterification of alkenes using formates.