A novel and simple method of preparation of 2-alkylaminoquinazolin-4-ones with fused heteroaromatic rings from easily accessible (hetero)aromatic amines is described. The method is very efficient, and the 2-alkylaminoquinazolinone derivatives are obtained in three steps without chromatographic purification. The key step is the ring closure of the N-protected guanidine intermediates by intramolecular Friedel-Craft's type substitution.