This paper analyzes neural signal recording artifacts and proposes a method for artifact detection and removal. It characterizes artifacts into four types based on their frequency characteristics and develops algorithms to detect and remove each type. Testing shows the method achieves over 80% detection accuracy for artifacts comparable to neural spikes. It also improves the signal-to-distortion ratio by 10-30 dB after removing artifacts.