The present invention relates to new substituted azetidine compounds of formula (I): or pharmaceutically acceptable salts thereof, as further described herein, to pharmaceutical compositions containing them, and the use of the compounds in the treatment of functional gastrointestinal disorders, IBS, and functional dyspepsia. The compounds are neurokinin (NK) antagonists. The present invention further relates to processes for the preparation of the compounds.