This article presents a low-cost and flexible software solution for acoustic startle response (ASR) test that can be used with a Spike2-based interface. ASR is a reflexive response to an unexpected, loud acoustic stimulus, and prepulse inhibition (PPI) is a phenomenon in which the startle response is reduced when preceded by a weak prestimulus of the same modality. Measuring PPI is important because changes in PPI have been observed in patients with various psychiatric and neurological disorders. Commercial ASR testing systems are expensive, and their closed source code affects their transparency and result reproducibility. The proposed software is easy to install and use. The Spike2 script is customizable and supports a wide range of PPI protocols. As an example of PPI recording, the article presents data obtained in female rats, both wild-type (WT) and dopamine transporter knockout (DAT-KO), showing the same tendency as the data obtained in males, with ASR on a single pulse higher than ASR on prepulse+pulse, and PPI reduced in DAT-KO rats compared to WT.