Accurate, non-contact pH sensing is of particular importance in the biological and clinical sciences. Fluorescence lifetime based pH sensing is potentially more useful than intensity based methods because of the reduced sensitivity to excitation source intensity variations, scattering effects, and photobleaching. In this work, we investigate the variation of fluorescence lifetime with pH for resorufin. The intensity averaged lifetime ((tau) over bar) of resorufin sodium salt in 0.1M phosphate buffer shows an increase of > 3 ns over the 2 - 10 pH range, with 90% of the signal change occurring between pH 4 and 8. The fluorescence is not quenched by chloride or oxygen and was unaffected by the ionic strength of the buffer. Resorufin is relatively insoluble in non-alkaline phosphate buffered solutions, but (tau) over bar was estimated to increase by similar to2 ns between pH 6 and 8. Resorufin and its sodium salt were both incorporated into sol-gels by either acid or base hydrolysis of tetramethoxysilane (TMOS). Various surfactants were also added to the sol-gels in an attempt to optimise the fluorescence properties and pH sensitivity of the dyes, and to prevent cracking. The sols were then cast from petri-dishes or dip-coated onto acrylic and glass slides. The dyes retained their pH sensitivity, with (tau) over bar showing an increase of approximately 2 ns over the pH range 6 - 8. However, leaching of the dye is observed at higher pH and attempt to minimise dye leaching and sol-gel cracking, poly(vinyl alcohol) (PVA) was cross-linked to the silica gel to form a more flexible matrix.