Confocal Raman microscopy (CRM) is employed to study the skin physiology, drug permeation and skin disease monitoring. In order to increase the depth of investigations, the effect of optical clearing was observed on porcine ear skin ex vivo. The optical clearing agents (OCAs) glycerol and iohexol (Omnipaque™) were applied to the porcine ear skin and investigated by CRM after 30 and 60 min of treatment. The extent of optical clearing by utilizing concentrations of 70% glycerol and 100% Omnipaque™ was evaluated. The intensity of the skin-related Raman peaks significantly increased starting from the depth 160 µm for Omnipaque™ and 40 µm for glycerol (p ⩽ 0.05) after 60 min of treatment. The OCAs’ influence on the collagen hydration in the deep-located dermis was investigated. Both OCAs induce skin dehydration, but the effect of glycerol treatment (30 min and 60 min) is stronger. The obtained results demonstrate that with increasing the treatment time, both glycerol and Omnipaque™ solutions improve the optical clearing of porcine skin making the deep-located dermal regions able for investigations. At the used concentrations and time intervals, glycerol is more effective than Omnipaque™. However, Omnipaque™ is more promising than glycerol for future in vivo applications as it is an already approved pharmaceutic substance without any known impact on the skin structure.