In this paper, we analyse the impact and persistence of shocks to global (push) and domestic (pull) factors on each component of the financial account for the Mexican Balance of Payments, at the highest degree of disaggregation, including investment by foreign residents in Mexican public and private sector securities, as well as investment by domestic residents in foreign securities. To this end, we estimate impulse response functions from vector autoregressive models for the period 1995-2015. We find that an increase in the foreign interest rate leads to lower portfolio investment. An increase in global risk generates lower portfolio investment, particularly in private sector securities. Foreign investors respond to a higher extent to foreign interest rate and liquidity shocks compared to domestic investors.