Abstract<em>Revised May 2011</em><br>This paper analyzes the behavior of international capital flows by foreigners and domestic agents, especially during financial crises. We show that gross capital flows by foreigners and domestic agents are very large and volatile, especially relative to net capital flows. This is because when foreigners invest in a country domestic agents tend to invest abroad and vice versa. Gross capital flows are also pro-cyclical. During expansions, foreigners tend to bring in more capital and domestic agents tend to invest more abroad. During crises, there is retrenchment, i.e. a reduction in capital inflows by foreigners and an increase in capital inflows by domestic agents. This is especially true during severe crises and during systemic crises. The evidence can shed light on the nature of shocks driving international capital flows. It seems to favor shocks that affect foreigners and domestic agents asymmetrically -e.g. sovereign risk and asymmetric information- over productivity shocks.