In recent years, limited research has been conducted on enhancing DNA hybridization-based biosensor approaches using statistical models. This study explores the application of response surface methodology (RSM) to improve the performance of a DNA hybridization biosensor for dengue virus (DENV) detection. The biosensor is based on silicon nanowires decorated with gold nanoparticles (SiNWs/AuNPs) and utilizes methylene blue as a redox indicator. The DNA hybridization process between the immobilized DNA probe and the target DENV gene was monitored using differential pulse voltammetry (DPV) based on the reduction of methylene blue. Fourier-transform infrared spectroscopy (FTIR) and electrochemical impedance spectroscopy (EIS) were employed to confirm successful DNA hybridization events on the modified screen-printed gold electrode (SPGE) surface. Several parameters, including pH buffer, NaCl concentration, temperature, and hybridization time, were simultaneously optimized, with NaCl concentration having the most significant impact on DNA hybridization events. This study enhances the understanding of the role of each parameter in influencing DNA hybridization detection in electrochemical biosensors. The optimized biosensor demonstrated the ability to detect complementary oligonucleotide and amplified DENV gene concentrations as low as 0.0891 ng µL−1(10 pM) and 2.8 ng µL−1, respectively. The developed biosensor shows promise for rapid clinical diagnosis of dengue virus infection.