A luminescent nanoprobe has been designed for detection of oxygen. The nanoprobe exhibits high sensitivity, selectivity and excellent reversibility, and has been employed for hypoxia imaging in vitro and in vivo by ratiometric and photoluminescence lifetime imaging techniques.