Yes, provided both t-mobiles are of same country. If they are different country then there is a chance for the mobile to be locked. You need to unlock inorder to swap simcards. To unlock, I suggest you can approach Simpleunlocking.com and specify the country,locked network of phone and get the unlock along with free instructions.