Pineapple contains active compounds, such as phenolics, steroids, flavonoids, terpenoids, saponins, quinines, coumarins, alkaloids, and tannins. These compounds can be used as antioxidants, antibacterial, and antifungals. The purpose of this study was to determine the activity of compounds in pineapple steam in inhibiting the growth of Staphylococcus aureus, Shigella dysentry, Salmonella typhi in vitro and silico. The extraction method was carried out by maceration using 70% ethanol. Analysis of the compound in pineapple extract using LC-MS. In vitro antimicrobial activity test using the disc diffusion method. Toxtree software was used to test the toxicity of compounds. Physicochemical test of compounds using Lipinski Test. Docking molecular using PyRx software. Visualization of docking results using Discovery Studio 2019 Software. The results showed that the yield obtained from the extraction process of pineapple weevils was 79.3%. There were 58 compounds obtained from the LC-MS analysis. Compounds that have antibacterial activity are acetic acid, cinnamic acid, oxalic acid, malic acid, thiamine, niacin, riboflavin, p-coumaric acid, caffeic acid, ferulic acid, sinapic acid, quercetin, ananasic acid, subaphyllin, beta carotene, lutein, cyamin, cyaniding 3,5,3'-triglucoside, beta-sitosterol, campesterol, and hydroxysitosterol. Toxicity test results with toxtree software found that all compounds belong to Class I. Class, I compound that have low toxicity properties. © Published under licence by IOP Publishing Ltd.