The invention discloses an occluder for preventing the formation of traumatic neuroma and a preparation method thereof, belonging to the field of medical materials and technology. The occluder of the invention comprises a tubular body with a closed end and an open section, and the tubular body is filled with fillers , the tubular body and the filler are distributed with axon regeneration inhibitory substances; the matrix material of the tubular body and the filler is a degradable biomaterial, and the axon regeneration inhibitory substances are at least chondroitin sulfate proteoglycan, myelin-associated glycoprotein, and oligodendrocyte keratin One of the cell myelin glycoprotein and Nogo protein. The occluder of the present invention combines the characteristics of physical shielding and drug growth inhibition to inhibit the growth of axons after injury, causing the newborn axons to collapse, and after the occluder is degraded, the end of the axons is sealed by fibrous connective tissue, thereby preventing trauma The purpose of neuroma formation.