Methods of treating, preventing and ameliorating bacterial infections with 1,2-benzisothiazolinone and isoindolinone derivatives are disclosed. Pharmaceutical compositions containing 1,2-benzisothiazolinone and isoindolinone derivatives are useful for treating bacterial infections caused by drug resistant strains of bacteria, including but not limited to methicillin and vancomycin bacterial organisms.