The invention discloses a preparation method of a heat-resistant optical fiber filling agent, and belongs to the technical field of high polymer materials. The method comprises the following steps inparts by weight: sequentially weighing 70-80 parts of basic oil, 10-15 parts of modified rotary steam substance, 10-16 parts of micro-capsules, 8-15 parts of polyallyl amine, 3-5 parts of organobentonite, 3-4 parts of an antioxidant, 5-8 parts of thermoplastic elastomer, 2-3 parts of a flame retardant, 2-4 parts of dicyclohexyl carbon imine, and 3-5 parts of polydimethylsiloxane; mixing the basicoil and the modified rotary steam substance; sequentially adding the micro-capsules, the polyallyl amine, the organobentonite, the flame retardant, the thermoplastic elastomer, the antioxidant, the dicyclohexyl carbon imine and the polydimethylsiloxane; and stirring and mixing to obtain the heat-resistant optical fiber filling agent. According to the technical scheme, the prepared heat-resistant optical fiber filling agent has the characteristics that the consistency is further improved under high temperature, so that the drip resistance of optical fibers is further improved, as a result, theheat resistance of the optical fibers is improved.