In this work, an etching process is studied and optimized to etch cylindrical nanopores in silicon, with a diameter in the range between 280 and 500 nm and a depth around 7 µm, corresponding to high depth-to-diameter aspect ratios between 14 and 25. Such samples are very well suited for the realization of nanostructures for silicon nanophotonics.