Two-photon excitation of a phosphorescent nanoprobe that is quenched by molecular oxygen permits high-resolution measurements of oxygen in both the vasculature and tissue of rodent brain.