Image Image Image Image Image Image Image Image Image Image

HTC Source | January 18, 2018

Scroll to top


How to SIM unlock the HTC One (M8) for free

How to SIM unlock the HTC One (M8) for free

So, you picked up the all new HTC One (M8), but now you’re wondering what you need to do to unlock the phone’s SIM slot. . If you purchased an unlocked international phone, you can pop in any SIM card you want and go about your business. But that option is typically not available if you purchased a subsidized HTC One (M8) through a service provider.

Luckily, there there are a few options which will all you to get your hands on a SIM unlock code for the HTC One (M8). If you want the quickest option and are willing to pay, you can get a SIM unlock code for the HTC One (M8) for only $12.95. But we have a better solution if you don’t mind waiting a few days. If you want to unlock your carrier-branded HTC One (M8) without opening your wallet, call your service provider and simply ask them for the SIM unlock code to your HTC One (M8).  The only catch is that each service provider has a few criteria which must be met before they give up the unlock code for the device.

US service provider US unlock policies

AT&T: account has been active and is in good standing for at least sixty days; phone is paid off or service commitment has been fulfilled.
T-Mobile: phone has been paid off.
Sprint: account has been active and is in good standing for at least 90 days.
Verizon: the HTC One (M8) from Verizon is SIM unlocked right out of the box.

While we only list the SIM unlock policies for the US, service providers in Europe and Asia typically abide by the same rules. If you do not meet the criteria required by your service provider, a third-party SIM unlock service for your HTC One (M8) is your only other option.

Obtain your HTC One (M8) SIM unlock code from your service provider

In order to SIM unlock your HTC One (M8), you must have your IMEI number and a nanoSIM card from another service provider.

  1. Locate your handset IMEI number within Settings > About Phone > Phone Identity > IMEI
  2. Write down your IMEI number
  3. Call your service provider: (AT&T: 1-800-331-0500; T-Mobile: 1-800-866-2453; Sprint: 1-888-211-4727)
  4. Ask customer service for the SIM unlock code for your HTC One (M8)
  5. Customer service will ask for your IMEI number and will fill out a request form. Once the SIM unlock code request form for your HTC One (M8) is processed, the code will be emailed to you (typically 1-3 days later)

SIM unlock the HTC One (M8)

  1. Once you receive your SIM unlock code, turn off your HTC One (M8)
  2. Remove the nanoSIM card from the phone
  3. Insert a nanoSIM card from another service provider and turn the HTC One (M8) back on
  4. When prompted, enter SIM unlock code provided by your service provider
  5. Enjoy your HTC One (M8) on any GSM carrier of your choice.

About Nick Gray

Tech enthusiast, Android user and founder of the first HTC blog – Nick Gray has been blogging about HTC phones before most people knew what a smartphone even was. Over the years Nick has owned and tested dozens HTC devices and is constantly flashing new ROMs to his Android phones.


  1. Tarcísio Medeiros

    So bad!
    Thankfully in Brazil is prohibited to sell locked cellphones. As you have to pay the cell phone full price only if you cancel your account.

  2. Mike Johnson

    I went to CPR cell phone repair..and was told unloking phone was not possible because Sprint was owed payment…is this true

  3. laloofr

    I have a unlock code that I paid for but when I turn on my htc M8 with the new sim card in it, it says “invalid sim card” and doesn’t ask me for a unlock code 🙁
    How can I enter the unlock code anyway??
    Thanks for your help
    (HTC One M8 locked Sprint USA)

    • nickmgray

      Here’s a few tips which might help.

      1. Switch off your HTC One M8 phone and find the SIM card tray. Using a paper clip or pin take out the SIM card from the tray. Then re-adjust the card and again insert it in the tray. Then see if the“no SIM card” error on HTC One M8 is solved or not.

      2. If you see that the problem still exits, then again take out the SIM card from the phone. Then clean it and the gold contacts on it using some alcohol. But be careful that the SIM card does not get damaged. Dry the card for sometimes and again re-insert it.

      3. Sometimes “no SIM card” error on HTC One M8 occurs if the card is loose in the tray. So to prevent it from shaking in the tray, thicken the SIM card by adding a thin layer of tape. Ensure that you are not covering the golden plates on the SIM card.

      4.By toggling the Air plane mode on and off can solve the No Sim car installed error on the htc one m8..Hold the Power button then switch on Airplane mode, Then hold the power button again and turn it off.You can go to network settings and manually turn it off and on again

      • laloofr

        Thank you nick, but I don’t have a “no sim card” problem.
        The HTC shows a ” invalid card” message, but doesn’t ask for the unlock code.

        • jose fernandez

          Hi Nick, Is there a suggested next step to laloofr’s question? I have the same situation. Thanks, Jose

          • nickmgray

            Hmmm… looks like Sprint allows SIM unlocking, but only when using a SIM card from a non-US service provider.


            Try using a SIM from Europe to unlock the Sprint HTC One (M8).

          • jose fernandez

            Thanks Nick, I will be traveling next month and can try that. In the interim….I called Sprint International and they gave me a PUK Unlock No.
            Will that help me at all solve my issue of unlocking my phone so I can use it with the Tmobile all US and Int’t plan?
            Or is the PUK unlock a different unlock key that still won’t solve my real need to get the tmobile plan that I can text, talk and data in 122 countries?
            We all appreciate your great help.

          • Jason Wang

            I had the same issue, but I tried Taiwan’s SIM card still the same invalid SIM Card message.
            Any suggestion?

          • CJ

            I have the same problem. Has anybody come up with a solution?

            Called Verizon Tech Support such that they asked me to enable global data roaming on my m8 as well as they changed Verizon network setting also. Aftet power off and back on the m8, the invalid sim card problem remained – no Intrrnet access, but my m8 can make and receive calls. Any idea?

      • Shauna Agan

        no. carrier was att, they gave me the code, sim is new and put in right. I was given the cue to unlock it, it said it was unlocked, but my new carrier could not connect it. error message mm#6

    • Mahesh

      Same problem in my mobile what I do

    • Rochelle

      Same problem..have u solved already

  4. Jones

    Do you want unlock your HTC One ? I recommend you they will send your unlock code in less than 5 mins!

    • Jack

      Thanks, i got my unlock code fastly!

    • Dany

      Yeah, tried that, they wanted 17$ to unlock my One M8, and finally went with the guys from simlockexpress, which delivered in about 60 minutes and cheaper, they even have a small tutorial here which was very simple to fallow, no complicated stuff, very easy for someone like me who has not so much knowledge about unlocking htc phones.

      • Omar

        I have used simlockexpress to unlock my wife htc desire in the past and
        they just SCAMED me, no money refund and zero support. I was forced to
        open dispute at PayPal and finally got my money back.

        • Really ? How did we scam you Omar ?
          You are the fucking competition OMAR, you are the fucker from

          You are very upset that we sell htc codes at 4 euro or 5$, lower than you, i’m i right ? Motherfucker lying son of a bitch.
          We sell lower than you and you come up to forums and write this bullshit ? FUCK YOU OMAR and your overpriced piece of shit website.
          How’s that for a FUCK YOU BACK REPLY ?

          • Jordan

            Really, are you a professional ? Which kind of professional talk this way, are you a kid doing business.

            I come here looking for unlocking my htc one m8, honestly i will not unlock my HTC ONE M8 from you.


          • Great job Omar. You made yourself a clone. You must be retarded not to defend yourself when someone tells you that you scam people. How old are you ? 2 ?
            It’s like someone acuses you for murder and you shut up and take it.
            No Omar / Jordan. This is a free world last time i checked. And acusing someone of something they did not do is punishable by law.

          • SmarterThenSimLockExpress

            I think the word you are looking for is “defamation” so go out and sue him. But I agree with Jordan, as a professional, your little rant has probably done you more harm then good.

            And I think you might want to check the world again. Sadly, it isn’t free. Most countries do have the freedom of speech, but it can also land you in jail (or worse dead) in many others – just ask the people in North Korea.

          • Wow dude. I have never seen a “professional” act like that. I can honestly say that is going to cost you some business. I will never deal with you nor will anyone I know ever deal with you. Stop and think next time instead of acting like an imbecile for the world to see.

  5. Vlad

    Had to use an unlocking website ( )
    Service Provider wasnt able to get me the code, the unlocking website did the job 😉

  6. jayP

    Does anyone know if I can unlock a Sprint One M8 and use it with my Verizon SIM?

  7. Chris Hawkes

    i m not a tech guy . i got my code from in exchange of video . hope it help. Thanks

  8. Justin

    Does This Also Apply To The Windows Phone Version?

  9. Kelum

    I bought a m8 sprint from ebay. I requested from seller to unlock it by contacting sprint. He did it. And now it is working for local carrier as well (Sri Lanka). But the thing is Mobile Network is always limited to EGDE. It doesn’t work for UMTS. What should I do ? Please help.
    Thank You.

  10. Kenda

    I have a sprint HTC M8 and I got the new updated version of the software and it isn’t giving me the option to enter a SIM code. What do I do?

  11. Leon Peters

    After doing some search i decided to try because of their good reviews. got my unlock code for htc one m8 and it works great at first attempt without any hassle.

  12. Sam

    Hi Nick, great tuto you have here .You can any HTC with code, just dial *#06# on your phone as if you are going to make a call , a 15 to 17 digits will appear on the screen , once you have the IMEI you can order your code from

  13. John Keeson

    Hey all, I found this website a while back: and I’ve used it to unlock both my One m7 & m8. Just click on the link and follow the guide as it shows you how to unlock the phone for free. Hope this helps you guys.

    • Alice Morgan

      Thank you, this works great!!

  14. Amberlea Sullivan

    I have the m8 from Verizon, which is supposed to be unlocked out if the box, but when I put the new SIM card in, it asks for a pin. I put in the default pin listed on my Verizon account, which locks me out and then I put in my PUK code and it says that it’s not right. I have no idea what to do.

    • Brian T. Truong

      So I guess no none can help huh. I have similar problem, and looking for help too. 🙁

  15. Shauna Agan

    I HAVE the unlock code!!! that is not the problem, so buying a new one is not the solution. How can I reenter the code??? MY sim is ne it was inserted properly.

  16. Brian T. Truong

    I have Verizon HTC M8 Metal Gray. When I insert sim cards from AT&T and Sprint, I can make a call, but can’t use data. Any suggestions please!

  17. rishad

    I tried to unlock my phones from many sites and most of them have failed to unlock,and for last few years I’ve got my best service from this site for my Galaxy S6 edge,S7 edge and LG G3 and HTC M8. and i found them very professional,responsive and helpful…

  18. MariaMo

    Hi Jordan. I find great that you’re profi with the HTC; World needs “althruist” like you. Thanks.
    I do have a problem with my new HTC ONE M8. I bought it locked by mistake, i actually wanted an unlocked smartphone. Without a card i could start it. Now after waiting long for a prepaid nano SIM card, when i tried to start it with the new nano sim card, stays eternally (over 20 Min) “on thinking” says: unlocking your SIM card and setting up your phone”….
    Then i’ve tried also removing the nano SIM and re-starting it…but stays with the same meassage…
    Have any idea what could help to make it work?

  19. thank u for Verizon