We show that for every simple closed curve , the extremal length and the hyperbolic length of are quasi-convex functions along any Teichm¨uller geodesic. As a corollary, we conclude that, in Teichm¨uller space equipped with the Teichm¨uller metric, balls
are quasi-convex.