A practical and green approach for the one-pot multicomponent synthesis of fused tetrazolo[1, 5-a]quinazoline derivatives has been described via the condensation of 5-aminotetrazole, dimedone, and various aldehydes using 1-butyl-3-methylimidazolium tetrachloroaluminate [bmim]Cl/AlCl3, as a catalyst and task-specific ionic liquid medium. The catalyst was showed remarkable advantages in comparison with previous methods. Short synthetic route, operational simplicity, high-to-excellent yields, eco-friendliness and mild reaction conditions are the advantages of this method.