Four 2-aryl-8,8-dimethyl-6,7,8,9-tetrahydropyrazolo[2,3-a]quinazolin-6-ones: isolated molecules, hydrogen-bonded dimers, and pi-stacked chains of hydrogen-bonded dimers.