4-Mercapto-5-acetylpyrimidine derivative was used as a precursor for preparation of some novel thieno[2,3-d]pyrimidine, pyrazolo[2,3-d]pyrimidine, isothiazolo [5,4-d] pyrimidine, pyrrolo[4,5-d]pyrimidine, and pyrimidio[4,5-d]pyrimidine derivatives. Furthermore, some of the prepared products were revealed promising antimicrobial activities.