We study how bank competition affects commercial lending, credit allocation, and firm performance. Using evidence from Ecuador’s commercial credit market and pass-through estimates from the 2014 SOLCA loan tax, we identify lending distortions due to supply-side bank market power and distinguish them from other sources of pricing power in credit markets. We find that 26% of observed loan markups are due to joint profit maximization and that moving to Bertrand-Nash competition would substantially reduce loan prices, increase loan use, and expand credit access. These distortions vary markedly across borrowers and are especially large for small and young firms and for new lending relationships. We combine this empirical evidence with a structural general equilibrium model of firm dynamics and bank competition in the lending market to quantify how limited bank competition distorts credit allocation, firm-level outcomes, and aggregate allocative efficiency.