This communication reports that the TiO2@polydopamine nanocomposite with a core-shell structure could be a highly active photocatalyst working under visible light. A very thin layer of polydopamine at around 1 nm was found to be critical for the degradation of Rhodamine B.