Knowledge of the cost and production structure of transit systems can be instrumental in uncovering an array of important information regarding their operation. Optimal fleet size and pricing, average and marginal cost, and the potential for success of deregulation and privatization efforts can be addressed successfully when the cost structure of transit systems is known. Research on the cost structure of mass transit systems using panel data frequently shows conflicting results with respect to issues such as economies of scale and density, and factor substitution elasticities. In this analysis the authors extend prior research in two significant directions. First, they control for cross-sectional heterogeneity that may otherwise seriously bias the resulting parameter estimates. Second, they make an explicit effort to capture differences in the economies of scale between large, medium, and small transit systems. Based on panel data for fixed-route public transit systems, the results indicate that transit services are characterized by a nonhomothetic production function, exhibiting returns to density and scale that depend on the size of the transit firm.