Herpes simplex virus type 2 (HSV-2) infection, which is almost exclusively sexually transmitted, causes genital herpes. Although this lifelong and incurable infection is extremely widespread, currently there is no readily available diagnostic device that accurately detects HSV-2 antigens to a satisfactory degree. Here, we report an ultrasensitive electrochemical device that detects HSV-2 antigens within 9 min and costs just $1 (USD) to manufacture. The electrochemical biosensor is biofunctionalized with the human cellular receptor nectin-1 and detects the glycoprotein gD2, which is present within the HSV-2 viral envelope. The performance of the device is tested in a guinea pig model that mimics human biofluids, yielding 88.9% sensitivity, 100.0% specificity, and 95.0% accuracy under these conditions, with a limit of detection of 0.019 fg mL-1 for gD2 protein and 0.057 PFU mL-1 for titered viral samples. Importantly, no cross-reactions with other viruses were detected, indicating the adequate robustness and selectivity of the sensor. Our low-cost technology could facilitate more frequent testing for HSV-2.