Well-ordered silicon nanowires (SiNWs) are applied as surface-enhanced Raman scattering (SERS) substrates. Laser interference lithography is used to fabricate large-area periodic nanostructures. By controlling the reaction time of metal assisted chemical etching, various aspect ratios of SiNWs are generated. Ag nanoparticles are decorated on the substrates via redox reaction to allow a good coverage of Ag over the SiNWs. As the height of the SiNWs increases, the light scattering inside the structures is enhanced. The number of the probing molecules within the detection volume is increased as well. These factors contribute to stronger light-matter interaction and thus lead to higher SERS signal intensity. However, the light trapping effect is more significant for higher SiNWs, which prevents the detection of the SERS signals. An optimized aspect ratio ∼5:1 (1 μm height and 200 nm width) for the SiNW array is found. The well-ordered SiNWs demonstrate better SERS signal intensity and uniformity than the randomly arranged SiNWs.