In order to find a solution to protect pigs from bacterial diarrhea and the nasty smell in stalls which are the most trouble, we composed a bio-formula with Stretococcus thermophilus, Bacillus amyloliquifaciens and Bacillus subtilis. The antagonistic microbe Bacillus amyloliquifaciens can control the growth of Salmonella typhimurium KCTC 1926, Escherichia coli O-157, Listeria and Staphylococcus. S. thermophilus from pig’s stomach can live in gastric juice so it also control germs. They worked in its living cell state and its culture fluid. As a result of feeding with piglings, it showed effects of preventing diarrhea and increasing the weight.