A series of 2-substituted xanthone derivatives 8-20 containing selected allyl, cinnamyl, morpholine, and imidazole moieties were synthesized and tested for their antifungal and antibacterial in-vitro properties. Of the newly synthesized derivatives, ten revealed antifungal activity especially against Trichophyton mentagrophytes (the biggest inhibition zones ranged 35 mm for 11 and 13). 2-(3-(Allylamino)propoxy)-9H-xanthen-9-one hydrochloride 9 inhibited growth of all of the examined fungal species. Significant efficacy against evaluated yeasts and dermatophytes was also observed for 6-chloro-2-methyl-9H-xanthen-9-one derivatives 11-13 containing encyclic amine moieties. Additionally, compounds 9, 11, and 12 hindered development of bacteria species but in a lesser degree. They were efficacious against Staphylococcus aureus, Escherichia coli, and Enterococcus faecalis.