While cointegration models with constant parameters generate statistical arbitrage, the cointegration feature may change and even disappear due to regime shifts. This paper studies the time-consistent mean-variance portfolio problem in a Markov-modulated regime switching cointegration economy....