A neurostimulator and a manufacturing method thereof. The neurostimulator comprises: a glass substrate (1); a plurality of metal pins (2) provided on the substrate (1); and a stimulation component (3) formed by the metal pin (2) at one side of the substrate (1). The density of the metal pins (2) is greater than 15 pins/mm