Highly ordered mesoporous titania films were synthesized within a short time period by controlling the pH of sols and moisture exposure of as-prepared films.