Nowadays, synthesis of novel nitrogen-bearing heterocyclic scaffolds is a challenging and also demanding task. In our present work, we demonstrate a novel one-pot pseudofour-component reaction of 3,4-methylenedioxyaniline, N,Ndimethylbarbituric acid, and aryl/heteroaryl aldehydes for the regioselective construction of functionalized 6,8-dihydro-1′H,5H-spiro [[1,3]dioxolo[4,5-g]quinoline-7,5′-pyrimidine]-2′,4′,6′(3′H)-trione scaffolds using a trimethylglycine-betainebased sustainable catalyst. The title derivatives are achieved through the formation of three new C−C bonds and one C− N bond, and two asymmetric carbon centers are generated in the final motif. The present protocol works efficiently, tolerates different substituents present in reactants, has a simple operational procedure, provides excellent reaction yield in a short time, uses a recyclable catalyst, and results in up to 99.7% purity (HPLC) for the synthesized compounds, with high diastereoselectivity (d.r. > 50:1 (syn/anti)), excellent atom economy, reaction mass efficiency, and effective mass yield.