Antibiotic resistance of the bacteria leads to Multi Drug Resistance (MDR) strain which is achieved mainly by the presence of Outer membrane Proteins (OMP) in the bacteria. Swertiamarin is an active compound isolated from Enicostemma axillare, a herb which was already proved to have antimicrobial activity. Also the herb was used to treat diseases like skin disease, intermittent fever, helminthiasis, tumors, diabetes mellitus, rheumatism, abdominal ulcer, hernia, swelling, itching, and insect poisoning. In this study, in silico analysis of swertamarin interaction was studied by docking the compound with Salmonella typhi and Escherichia coli OmpF porins. The molecular information helps in checking the efficiency of the compound as antibacterial agent and a way to design effective drugs from the compound.