The nematode Caenorhabditis elegans is a genetically tractable model organism to investigate sterol transport. In vivo imaging of the fluorescent sterol, dehydroergosterol (DHE), is challenged by C. elegans' high autofluorescence in the same spectral region as emission of DHE. We present a method to detect DHE selectively, based on its rapid bleaching kinetics compared to cellular autofluorescence. Worms were repeatedly imaged on an ultraviolet-sensitive wide field (UV-WF) microscope, and bleaching kinetics of DHE were fitted on a pixel-basis to mathematical models describing the intensity decay. Bleach-rate constants were determined for DHE in vivo and confirmed in model membranes. Using this method, we could detect enrichment of DHE in specific tissues like the nerve ring, the spermateca and oocytes. We confirm these results in C. elegans gut-granule-loss (glo) mutants with reduced autofluorescence and compare our method with three-photon excitation microscopy of sterol in selected tissues. Bleach-rate-based UV-WF imaging is a useful tool for genetic screening experiments on sterol transport, as exemplified by RNA interference against the rme-2 gene coding for the yolk receptor and for worm homologues of Niemann-Pick C disease proteins. Our approach is generally useful for identifying fluorescent probes in the presence of high cellular autofluorescence.