Hollow silica tubes with mesoporous wall structure were synthesized through the sol-gel reactions of tetraethoxysilane and n-octadecyltrimethoxysilane (TEOS/C18-TMS) on the surface of ammonium dl-tartrate crystals. Novel hollow carbon tubes with mesoporous walls and rectangular-shaped channels were fabricated using the silica tubes as templates.