The present invention relates to imidazole derivatives of the general formula wherein R1, R2, R3, and R4 are as defined in the specification and to pharmaceutically acceptable salts thereof. Compounds of formula I are metabotropic glutamate receptor antagonists. They can be used in the treatment or prevention of mGluR5 receptor mediated disorders.