In this study, a simple technique was introduced for the fabrication of nanogap electrodes by using nano-oxidation scanning probe microscopy lithography with a Cr/Pt coated silicon tip. Silicon electrodes with a gap of sub-31 nm were fabricated successfully by this technique. The current-voltage measurements (I-V) of the electrodes demonstrated excellent insulating characteristics. This technique is simple, controllable, inexpensive, and faster than common methods. The results showed that silicon electrodes have a great potential for the fabrication of single molecule transistors, single electron transistors, and other nanoelectronic devices.