Jin-Wook Chang, Elizabeth Klee, and Vladimir YankovWe develop a model of the repo market with strategic interactions among dealers who compete for funding in a decentralized over-the-counter market and have access to a centrally cleared interdealer market. We show that such “wiring” of the repo market combined with imperfect competition in dealer funding results in market inefficiencies and instability. The model allows us to disentangle supply and demand factors, and we use these factors to estimate supply and demand elasticities. Our estimates suggest that the instability of the market in September 2019 was driven by a large supply shock facing inelastic dealer funding demand, amplified by strategic interactions among dealers. We evaluate different interventions for market functioning and efficiency, including the Standing Repo Facility.