To unlock your iPhone on T-Mobile, you device should meet:
Your iPhone must be a T-Mobile device.
Your iPhone must not be reported as lost, stolen or blocked to T-Mobile.
The account associated with the device must not be cancelled and is in good standing.
You have requested no more than 2 mobile device unlock codes per line of service in the last 12 months.
The device must satisfy all the Postpaid or Pay in Advance (Prepaid) Unlocking terms outlined below.
T-Mobile may request proof of purchase or additional information in its discretion and certain other exceptions may apply.
You can make a request to unlock your phone using the carrier’s Mobile Device Unlock app or by contacting customer service (1-877-746-0909) to ask for an unlock. Once approved, T-Mobile will send you instructions on how to unlock your device.