Porous titania (TiO2) was synthesized under ultrasonic vibration via an anodic oxidation of titanium metal in various kinds of electrolyte such as HNO3, H2SO4, and their mixture. HNO3 resulted in amorphous or poorly-crystalline particles with mesopores while H2SO4 resulted in dense and crystalline film with macropores. Ultrasound in general decreased the maximum voltage, film thickness, and a rutile phase, while it increased the region for the formation of mesoporous structure. Role of ultrasound on the anodic oxidation is discussed.