The paper reports on the achievement of material optical contrast on the nanoscale by means of apertureless near-field optical microscopy ANSOM with second-harmonic generation (SH-ANSOM). A grazing incidence illumination configurations adopted, with excitation of the tip dipole along its axis, and backscattering collection arrangement along the maximum emission direction. This optimized geometry resulted in a 2/3 orders of magnitude increase