New series of quinoxaline derivatives (4a–4h) were synthesized by treating 2‐chloro‐3‐hydrazinyl quinoxalin (3) with various anilines. Compound 3 was obtained from the 2,3‐dichloroquinoxaline 2 which was prepared from 4‐dihydroquinoxaline‐2,3‐dione (1). All synthesized compounds (4a–4h) were characterized by various spectral techniques, that is, IR, 1H‐NMR, mass spectroscopy, and elemental analysis and completion of reaction were confirmed by TLC. In vitro antimicrobial activity of synthesized compounds was evaluated using disc diffusion assay against gram‐positive and gram‐negative microbial strains, and then, the minimum inhibitory concentration and IC50 values of compounds were also determined. The results of antimicrobial study revealed that compounds 4e, 4g, and 4a were active and exhibited better inhibitory activities as compared with standard drug amoxicillin. Docking studies were performed by using Argus lab, and all the compounds exhibited good docking scores between −9.53 and −7.94 kcal/mol against dihydrofolate reductase protein fragment from Staphylococcus aureus (PDB ID‐4XE6). Among all compounds, 4e has shown the maximum docking score and found in agreement to in vitro studies.