A prerequisite for in vivo fluorescence imaging is the safety of fluorescent probes. Among all fluorescent probes, fluorescent proteins (FPs) might be the safest ones, which have been widely used in biological sciences at the gene level. But FPs have not been used in vivo in the purified form yet due to the instability of proteins. Here, we individually coat near-infrared (NIR) FPs (NIRFPs) with a silica nanoshell, resulting in NIRFP@silica, one of the safest and brightest NIR fluorescent nanoprobes with a quantum yield of 0.33 for in vivo imaging. The silica shell not only protects NIRFPs from denaturation and metabolic digestion, but also enhances the quantum yield and photostability of the coated NIRFPs. When injected via the tail vein, NIRFP@silica NPs can distribute all over the mouse body, and then can be efficiently eliminated through urine in 24 h, demonstrating its potential applications as a safe and robust NIR fluorescence probe for whole body imaging.