The present disclosure describes novel IDO inhibitors and methods for preparing them. The pharmaceutical compositions comprising such IDO inhibitors and methods of using them for treating cancer, infectious diseases, and other disorders are also described.