In the last decades, to access the stages of leptospirosis pathogenicity, site of infection, progression, monitor disease, and after-treatment were required especially non-invasive techniques. This becomes one of the significant goals for researchers. In this study, we developed a highly sensitive DNA-based electrochemical sensor to detect pathogenic leptospires in urine samples using a gold screen-printed electrode. The gold working electrode was electrodeposited with diazonium salt (CMA) with external carboxylic acid from the surface, and the specific Loa22 single-stranded DNA (ssDNA) probe to Leptospira interrogans was immobilized through a carbodiimide chemical reaction. The modified working electrode was characterized by contact angle measurement, cyclic voltammetry (CV) and electrochemical impedance spectroscopy (EIS). After that, targeted DNA testing showed the EIS change in the range of 5 ag mL-1 - 16 fg mL-1 with a correlation R2 of 0.9638. The high sensitivity electrochemical sensor indicated a lower limit of detection to the attomolar level specifically 5 ag mL-1. Additionally, the developed genosensor exhibited high specificity without crossing other bacteria present in urine such as Escherichia coli, Staphylococcus aureus, and S. typhi as well as non-pathogenic leptospires L. biflexa serovar Patoc. Leptospires DNA was analyzed in both buffer solution and diluted artificial urine and detection in diluted artificial urine 1:1,000 was possible despite salt interferences. This study provides a highly sensitive lower detection platform for leptospirosis, offering potential for further development as a portable and point-of-care testing tool.