The invention discloses a nipple sealing agent for non-human animals. The nipple sealing agent is prepared from the following components in percentage by mass: 11 to 40 percent of temperature-sensitive in-situ gel matrix, 0.001 to 2 percent of ion-sensitive in-situ gel matrix, 5 to 20 percent of carbomer gel, 0.02 to 8 percent of chitosan, 0.01 to 5 percent of polymer retardant, 0.001 to 2 percentof bacteriostatic agent and the balance of water for injection, wherein the temperature-sensitive in-situ gel matrix is poloxamer, and the ion-sensitive in-situ gel matrix is gellan gum. The nipple sealing agent is mainly based on an in-situ gel system, the sensitivity to the environment in the nipple is greatly improved, the environment in the nipple can be perceived in time, and gelling is rapidly generated; the chitosan is added so that the gel strength can be effectively improved, a compact barrier can be formed, and invasion of pathogenic bacteria is hindered. The gel matrix is good in biocompatibility, can be adhered to the inner wall of a nipple hole, and can be remained in the nipple hole for a long time to cover the whole dry period.