The invention relates to pyrrolidine derivatives of formula wherein R1, R2, R3, n, and o are defined in the specification and to pharmaceutically active acid-addition salts thereof. Compounds of formula I have a high affinity simultaneously to both the NK1 and the NK3 receptors (dual NK1/NK3 receptor antagonists), useful in the treatment of schizophrenia.