The discovery, SAR, and X-ray crystal structure of novel biarylaminoacyl-(S)-2-cyano-pyrrolidines and biarylaminoacylthiazolidines as potent inhibitors of dipeptidyl peptidase IV (DPP IV) are reported.