This paper provides empirical evidence on the impact on technical inefficiency of smallholder dairy producers when they formally participate in a milk supply chain. Here the stochastic production frontier and technical inefficiency effects model are estimated based on the data gathered from 800 smallholder dairy farms in Pakistan. The results suggest that the technical inefficiency of the participating farms is significantly reduced. A strong impact of the supply chain is also detected in reducing technical inefficiency of farms that are located in remote areas and on those that have larger herd-size. Experienced farmers upto the age of 36 years have the advantage of reducing technical inefficiency. The remaining differences in relative inefficiency of dairy farms are accounted for by severe long-term depressive disorders.