We quantify barriers to cross-border banking within the euro area and their consequences for credit allocation and output. Using loan-level data from the European credit registry (AnaCredit) and group structures (RIAD), we estimate barriers to relationship formation, loan pricing, and banks’ branching decisions at the country-pair level. We find that barriers to cross-border relationships between banks and firms and cross-border bank entry are large while wedges on interest rates and loan quantities are comparatively small. The estimated edges are strongly associated with differences in national banking regulations, measured using a novel dataset on regulatory distances. We embed our estimates into a quantitative spatial general equilibrium model with heterogeneous banks and firms subject to cross-border frictions in relationship formation, loan pricing, and bank entry. Partially relaxing frictions predicts sizable and heterogeneous output gains across euro area countries. These gains are primarily driven by increases in capital and labor rather than improvements in allocative efficiency.