The invention provides a rhodococcus ruber strain, a rhodococcus ruber bacterium preparation and an application of thalli cells and extracts of rhodococcus ruber. The strain is rhodococcus ruber (Rhodococcus ruber) FIM-12 which is preserved in the China General Microbiological Culture Collection Center on April 3, 2019, with the preservation number being CGMCC No.17525. The strain can be used forpreparing rhodococcus ruber cells and extracts of the rhodococcus ruber through microorganism fermentation: after the rhodococcus ruber (Rhodococcus ruber) FIM-12 is subjected to fermentation and culture, thalli cells are collected, the thalli cells are washed with purified water so that wet cells are obtained, the wet cells are subjected to repeated freeze-thawing combined with ultrasonic wall breaking, then extraction with anhydrous alcohol is performed, and the rhodococcus ruber extracts are obtained. The rhodococcus ruber strain can be applied to industrialized fermentation and production,the rhodococcus ruber thalli cells and the rhodococcus ruber extracts are prepared, the prepared products have the functions of increasing immunity activity and restraining effects, and the rhodococcus ruber strain can be used as a production strain for further research and development.