Peripheral nerve damage frequently occurs in challenging surgical cases resulting in high costs and morbidity. Various optical techniques have proven effective in detecting and visually enhancing nerves, demonstrating their translational potential for assisting in nerve-sparing medical procedures. However, there is limited data characterizing the optical properties of nerves in comparison to surrounding tissues, thus limiting the optimization of optical nerve detection systems. To address this gap, the absorption and scattering properties of rat and human nerve, muscle, fat, and tendon were determined from 352-2500 nm. The optical properties highlighted an ideal region in the shortwave infrared for detecting embedded nerves, which remains a significant challenge for optical approaches. A 1000-1700 nm hyperspectral diffuse reflectance imaging system was used to confirm these results and identify optimal wavelengths for nerve imaging contrast in an in vivo rat model. Optimal nerve visualization contrast was achieved using 1190/1100 nm ratiometric imaging and was sustained for nerves embedded under ≥600 µm of fat and muscle. Overall, the results provide valuable insights for optimizing the optical contrast of nerves, including those embedded in tissue, which could lead to improved surgical guidance and nerve-sparing outcomes.