When I first arrived in Barcelona, I got a T-mobilitat card. I was then asked for a PIN at a metro station, and I was completely clueless. The staff had only said a few things in Catalan when I got the card, and I didn’t understand anything about a PIN. It took me a few days to figure it out, so I’m sharing my experience with you now.
What is the T-mobilitat Card PIN?
T-mobilitat is Barcelona’s new smart transport card system, replacing the old paper T-10 tickets. The card requires a 4-digit PIN, which is primarily used for identity verification when using top-up machines. The PIN is as important as a bank card password, but many people are unaware of this when they get the card and only discover the issue when they need to use it.

How to Set and Change Your PIN
When you first activate your T-mobilitat card, the system will ask you to set a PIN. If you missed this step when getting the card, which is a common issue for travelers also figuring out things like Barcelona to Cadaqués transport or the Barcelona day travel card, you can set it in the following ways:
| Method | Steps | Notes |
| Official App | Download the T-mobilitat app, log into your account, and change it in the settings | You need to register an account and link your card first |
| Top-up Machines | Select the PIN management option on the automatic ticket machines at metro stations | You need to know your current PIN or use the default one |
| Service Center | Go to a TMB customer service center for in-person assistance | You must bring your ID and the transport card |
Important Reminder: The default PIN is usually 0000 or the last four digits of your birth year, but this can vary. If you don’t remember setting a PIN at all for your Barcelona public transport tickets, it’s best to go directly to a service center to reset it.
What to Do If You Forget Your PIN
I’ve forgotten my PIN myself. I was in a hurry to top up my card but couldn’t remember the password for the life of me. I tried my birthday and the last four digits of my phone number, but nothing worked. In the end, I had to go to the service center at the Universitat metro station. The staff verified my NIE and card information, then helped me reset the PIN. The whole process took about 15 minutes.
It’s important to note that entering the wrong PIN 3 times in a row will temporarily lock the card. Don’t panic if this happens; it will automatically unlock after 24 hours, or you can go to a service center to unlock it immediately. A friend of mine was in a rush and tried several times, got the card locked, and it disrupted their plans for the day.
Tips for Daily Use
After using T-mobilitat for a while, I’ve come up with a few practical tips. First, save your PIN in your phone’s notes, but don’t label it obviously as ‘Transport Card PIN’—use a code word instead. Second, try to top up your card during off-peak hours to avoid people in line behind you seeing you enter your PIN.
If you often need to top up cards for family or friends, I recommend having them each set a different PIN and share it with you for easier management. Barcelona’s public transport system is very convenient, and once you sort out this minor PIN issue, using it is a breeze. I hope this guide helps new arrivals in Barcelona or anyone struggling with their PIN.