New heterocyclic compounds spiroderivatives of allopurinol of biological interest were prepared from allopurinol via thionation and 1,3-dipolar cycloaddition and were produced in high to excellent yields. These compounds were characterized on the basis of spectral and spectroscopic data (1H NMR,13C, IR, and MS). The antibacterial activity of the synthesized products was studied using bacterial strains:Staphylococcus aureus,Enterococcus faecalis,Escherichia coli, andPseudomonas aeruginosa. Compounds having an ethyl group showed the best activity with MIC value of 31.25 µg/mL againstStaphylococcus aureusandStreptococcus fasciens.