A unique coral-like porous SnO(2) hollow architecture with enhanced photovoltaic property for dye-sensitized solar cell application was prepared, and a biomimetic swallowing growth mechanism for the formation of the special structure was also proposed for the first time.