We describe the synthesis and SAR of a series of analogues of the mGlu(5) partial antagonist 5-(phenylethynyl)pyrimidine. New molecular switches are identified that modulate the pharmacological activity of the lead compound. Slight structural modifications around the proximal pyrimidine ring change activity of the partial antagonist lead to that of potent and selective full negative allosteric modulators and positive allosteric modulators, which demonstrate in vivo efficacy in rodent models for anxiolytic and antipsychotic activity, respectively.