This article presents a perfectly-competitive model of firm boundary decisions and study their interplay with product demand, technology, and welfare. Integration is privately costly but is effective at coordinating production decisions; nonintegration is less costly, but coordinates relatively poorly. Output price influences the choice of ownership structure: integration increases with the price level. At the same time, ownership affects output, since integration is more productive than nonintegration.For a generic set of demand functions, equilibrium delivers heterogeneity of ownership and performance among ex-ante identical enterprises. The price mechanism transmutes demand shifts into industry-wide re-organizations and generates external effects from technological shocks: productivity changes in some firms may induce ownership changes in others. If the enterprise managers have full title to its revenues, market equilibrium ownership structures are second-best efficient. When managers have less than full revenue claims, equilibrium can be inefficient, with too little integration.