An effective and practical method has been developed for the diversity-oriented synthesis of trans-4,6-diaryl-5-nitropiperidin-2-ones via four-component reaction from substituted nitrostyrenes, aromatic aldehydes, dimethyl malonate, and formamide for the generation of a wide range of structurally interesting and pharmacologically significant compounds. It is worth mentioning that in the course of this reaction, the formation of products was highly stereoselective.