How to permanently block unknown numbers on Xiaomi: 5 working ways

Spam calls and messages from unknown numbers have become a scourge of modern times. According to Kaspersky, in 2023, one in three smartphone users experienced fraudulent calls at least once a week. Xiaomi phone owners have several built-in tools to combat this problem, from basic MIUI features to advanced security options, but many users are unaware of their existence or use them inefficiently.

In this article, we will analyze all available ways to block unknown numbers on Xiaomi, Redmi and other devices. POCO โ€” From standard settings to hidden features and third-party solutions, you'll learn how to weed out not only spam, but also swapped-numbered calls (spoofing), which are often used by scammers to disguise themselves as banks and government agencies. MIUI 12-14 Adapted to the latest security updates 2026 year-end.

1. Standard locking through the "Phone" - a quick way

The easiest method is to use the built-in features of the Phone app, which is suitable for blocking specific numbers after the first call or for adding numbers from a magazine to a blacklist.

To block the number:

  • ๐Ÿ“ฑ Open the Phone application and go to the Journal section
  • ๐Ÿ” Find the number you want to block and click on it.
  • โš™๏ธ In the menu that opens, select Block the number (or Blacklist on older versions). MIUI)
  • โœ… Confirm the action in the window that appears

For mass blocking of unknown numbers:

  1. Get on the phone. โ†’ โ‹ฎ (three-point) โ†’ Settings โ†’ Number locking
  2. Activate the option to Block Unknown Numbers
  3. Manually add numbers or ranges (e.g. +79xxxx to lock all Russian numbers)

๐Ÿ’ก

If calls continue to arrive after blocking, check the blacklist synchronization settings in Mi Account. Sometimes resetting the app cache Phone helps with crashes.

2. Advanced settings in "Security" (MIUI Security)

The Security app (or MIUI Security) offers more flexible tools for spam filtering, where you can set automatic rules for blocking keywords, geolocating numbers, and even behavioral patterns (such as repeated calls from different numbers).

How to set up:

  1. Open Security. โ†’ Protection against spam
  2. Turn on the call filter switch
  3. In the section Blocking Rules select: ๐Ÿšซ Block all unknown numbers ๐Ÿ“› Block numbers with suspicious prefixes (the list is updated automatically) ๐Ÿ”„ Block repeat calls (if one number calls more than 3 times a day)

Exceptions

A feature of this method is the cloud-based spammer database that Xiaomi shares among all users, and if a number is flagged as fraudulent by at least 100 users, it is automatically added to your blacklist.

How does cloud filtering work in MIUI?
Xiaomi works with telecom operators and services like Truecaller to build a database of spam numbers. The algorithm analyzes the frequency of calls, their duration (spamers usually reset after 1-2 beeps) and geolocation. For example, if a number with the prefix +375 (Belarus) calls a Russian number and behaves suspiciously, the system automatically blocks it.

Blocking through โ€œMessages" (SMS-filter)

Not only does spam come through calls, but also via SMS. MIUI has a separate messaging filter that works independently of call blocking, and its settings are hidden deeper, but provide an additional layer of protection.

Algorithm of settings:

  • ๐Ÿ“ฉ Open the Messages app
  • ๐Ÿ”ง Click on three dots in the upper right corner โ†’ Settings โ†’ Spam protection
  • ๐Ÿ”„ Enable options: Filter spam messages Block messages from unknown senders Mark suspicious links (phishing protection)
  • ๐Ÿ—‘๏ธ In Spam Management, set up automatic deletion of messages older than 30 days.

Important: some banking and service SMS may be spammy. Check the Spam folder in the Messages app regularly to ensure you don't miss important notifications.

๐Ÿ“Š How often do you receive spam calls?
Every day.
Several times a week
Rarely.
Never.
I'm having trouble answering.

4.Using Truecaller and other third-party applications

If built-in MIUI tools arenโ€™t enough, you can install specialized applications. Truecaller is the most popular solution with a database of more than 500 million numbers, but there are alternatives like Hiya or Kaspersky Who Calls.

Advantages of Truecaller:

  • ๐ŸŒ Global database of spammers with user reviews
  • ๐Ÿ” Identifying unfamiliar numbers in real time
  • ๐Ÿ“Š Call statistics (frequency, geolocation, type of spam)
  • ๐Ÿ›ก๏ธ Integration with MIUI system-application

How to set up:

  1. Install Truecaller from Google Play
  2. Register (requires a phone number for verification)
  3. In the application settings, enable: Spam Block โ†’ Aggressive Show notifications about blocking Synchronization with contacts (optional)

Phone Settings โ†’ Applications โ†’ Truecaller

Install the latest version of the app |Give all permissions requested |Enable aggressive lock mode |Add important numbers to whitelist |Disable ad display in the settings-->

โš ๏ธ Warning: Truecaller collects your contacts and calls to improve its database. If privacy is critical, use alternatives like Should I Answer? that work locally without sending data to servers.

5. Hidden MIUI functions: blocking by regular expressions

For advanced users, MIUI can create custom lock rules using regular expressions, allowing you to block entire ranges of numbers, numbers with specific patterns, or even calls at specific times of the day.

Examples of regular expressions to block:

Purpose of blockingRegular expressionExample
All numbers with +7 code^\+7\d{10}$+79123456789
Numbers with repeating numbers (spam)^\+?\d{1,3}(\d)\1{2,}\d+$+79991112233
Calls from 23:00 to 8:00^(?!.(0[8-9]|1[0-9]|2[0-2]).).*$Any room at night
Numbers prefixed 900-999^\+79[0-9]{2}\d{7}$+79001234567

How to use regular expressions:

  1. Open Security โ†’ Spam Protection โ†’ Blocking Rules โ†’ Add a rule
  2. Select the Castomy Rule
  3. In the Template field, enter a regular expression
  4. Specify action: Block or Redirect to voicemail
  5. Save the rule and test it on test numbers

If you frequently encounter calls on behalf of banks, add your bankโ€™s official numbers to the whitelist in Security settings. Fraudsters often swap numbers disguised as support for Sber, Tinkoff or VTB.

๐Ÿ’ก

Create a separate group in your contacts called "Important Numbers" and add banks, operator and family support, and set an exception for this group in your lock settings.

FAQ: Frequent questions about locking numbers on Xiaomi

Can I block all international calls except for specific countries?
Yes, MIUI Security has a geolocation lock option. Go to Security โ†’ Spam Protection โ†’ Blocking Rules โ†’ Blocking by region and select the countries from which you want to allow calls (for example, only Russia and Kazakhstan). All other international numbers will be blocked automatically.
Why do blocked numbers still ring?
This can happen for several reasons: Resets after updating MIUI (check lock settings again); calls go through VoIP (WhatsApp, Viber) โ€“ they need to be blocked separately in each messenger; spammers use spoofing (swapping numbers), and the system does not recognize them as spam; Conflict with other applications for blocking (for example, if Truecaller and built-in MIUI protection are simultaneously active). Try disabling all third-party blockers and configuring only built-in MIUI tools.
How to unlock the number if I am wrong?
To remove the number from the blacklist: Open the phone โ†’ โ‹ฎ โ†’ Settings โ†’ Lock numbers. Find the number on the blocked list and swipe it left (or click on the basket). Confirm deletion. MIUI Security: Enter Security โ†’ Protection against spam โ†’ Blacklist. Select a number and click Delete. If the number doesn't appear in the lists, check the Spam folder in the Messages app -- it's probably blocked only for the Messages app. SMS.
Will the lock work if I change it? SIM-map?
Built-in lockdown MIUI It's wired to a device, not to a device. SIM-It means a map: ๐Ÿ”„ The blacklist and lock rules will remain when the change is made. SIM. ๐Ÿ“ฑ If you can move it. SIM In another phone, the lock will not work (it is configured separately on each device). โ˜๏ธ If you use a Mi Account and have blacklisted sync, the settings will be transferred to the new Xiaomi phone when you log in. For Truecaller and other third-party apps, the lock is tied to your service account, so it will work on any device after you log in.
Can I block scheduled calls (e.g., at night)?summary> Yes, MIUI has a Do Not Disturb feature with flexible settings: Open Settings โ†’ Sounds and Vibrations โ†’ Do Not Disturb. Turn on mode and set your schedule (e.g., 23:00 to 8:00). In the Exceptions section, select Contacts Only or Repeat Calls (if one number calls twice within 15 minutes, the call will pass). In addition, you can block notifications from apps. This mode does not block numbers forever, but only limits calls at the selected time.