The growth of the population along with the industrial development has led to an increasing increase in the production of solid waste. It is estimated that between 4000 and 6000 tons of this waste are produced in the city of Bogota, which can be used to obtain value-added products such as organic fertilizer (compost). In the composting process, microorganisms are responsible for degrading the substrates present in organic waste and can be applied by means of bio-inoculants. However, one of the problems of inoculants is their shelf life, since microorganisms must be resistant to adverse conditions. Among the microorganisms that can fulfill these characteristics (substrate degradation and resistance) is the genus Bacillus, a group of microorganisms capable of forming spores, structures of resistance that allow it to survive extreme conditions of temperature or nutritional limitation. The objective of this project was to design and optimize a culture medium to produce spores of Bacillus sp. 12AP. To this end, the sources of carbon glucose and sucrose and the sources of nitrogen, ammonium sulfate, yeast extract, a mixture of the two and temperatures 37 and 55 ° C with a factorial design of 2^3 were evaluated. The results yielded a count of 〖3.5x10〗^7 Esporas/mL with sucrose as carbon source, ammonium sulfate / yeast extract as nitrogen source and temperature of 55 ° C. The concentration of these carbon and nitrogen sources were optimized with a central composite design, which allowed to see that it was necessary to reduce the concentration of carbon source and increase the nitrogen concentration to obtain the optimum medium for the production of Bacillus sp. 12 AP spores. Medium composed of: Brown sugar (11 g/L), Yeast extract (6.4 g/L), Ammonium sulfate (3 g/L), Calcium chloride (0.5 g/L), Sodium monobasic phosphate (0.5 g/L) and sodium dibasic phosphate (0.5 g/L), with a count of 〖1x10〗^8 Esporas/mL. Enzymatic activity remained the same in the original production medium (halos of 10mm ± 3.61 and halos of 2.3mm ± 0.58 for proteolytic and amylolytic enzymes respectively) as in the optimized medium (halos of 10mm ± 7.81 and halos of 2.3mm ± 1.15 for proteolytic and amylolytic enzymes respectively). It was concluded that it is necessary to decrease the concentration of the carbon source and increase the concentration of nitrogen to increase the production of spores; It is also important to consider the experimental conditions such as temperature (55°C), which is a determining factor in the sporulation process of Bacillus sp. 12 AP and that the enzymatic activity of the microorganism is not affected by producing the spores in a medium without a source of starch or protein.