This paper analyzes the cost efficiency and optimal scale of Taiwan's electricity distribution industry. Due to the substantial difference in network density, firms may differ widely in production technology. We employ the stochastic metafrontier approach to estimate the cost efficiency of 24 distribution units during the period 1997-2002. Empirical results find that the average cost efficiency is overestimated using the traditional stochastic frontier model, especially for low density regions. The average cost efficiency of the high density group is significantly higher than that of the low density group as it benefits from network economies. This study also calculates both short-term and long-term optimal scales of electricity distribution firms, lending policy implications for the deregulation of the electricity distribution industry.