The invention relates to oxazole and thiazole based carboxamide and urea derivatives as vanilloid receptor ligands to pharmaceutical compositions containing these compounds and also to these compounds for use in the treatment and/or prophylaxis of pain and further diseases and/or disorders.