A sensor is provided that is appropriate for optical detection of dissolved carbon dioxide. Such a sensor may be used for transcutaneous detection of carbon dioxide in the tissue. Alternatively, such sensors may be inserted into the tissue. Detection of dissolved carbon dioxide in the tissue may serve as a useful clinical marker for physicians.