A novel fluorescent chemosensor allows the assessment of intracellular total magnesium in small samples.