The Ugi four-component reaction is versatile multicomponent reaction for generation of complex diversity, herein, we developed a novel methodology by using 4-((1-((tetrahydrofuran-2-yl)methyl)-1H-1,2,3-triazol-4-yl)methoxy)benzaldehyde as one of the components in Ugi 4CR that contains 1,2,3-triazole moiety which is a privileged molecule in medicinal chemistry to obtain Ugi adducts under room temperature ionic liquids as medium of solvent, then followed SN2 pathway cyclization to get triazole containing 2,5-diketopiperazine derivatives in good yield using basic ionic liquids as a catalyst.