<p>An optical fiber comprises a core 1 extending in a longitudinal direction and a cladding 3 of silica aerogel preferably having a hydrophobic property to provide a high optical transmission efficiency. The silica aerogel of the cladding is prepared by polymerizing a hydrolyzed alkoxysilane before a supercritical drying treatment and is subjected to a hydrophobic treatment before or during the supercritical drying. <IMAGE> <IMAGE></p>