How to remove a word from the keyboard dictionary on Xiaomi: all methods of 2026

Have you ever encountered a situation where the auto-replacement on Xiaomi stubbornly replaces the right word with the wrong one added to the dictionary by mistake? Or the keyboard offers obscene expressions that have accidentally survived after correspondence? In MIUI (the Xiaomi brand shell), the user dictionary accumulates words automatically - and not always convenient. Unfortunately, standard settings do not always allow you to quickly clear unnecessary entries.

In this article, we will discuss 5 Proven ways to remove a word from the dictionary on Xiaomi, Redmi, Poco and Black Shark smartphones – from standard tools to hidden Gboard keyboard features and MIUI Keyboard. We will pay special attention to the nuances for different versions. MIUI 14/15 android models 13/14, So if you've tried to reset the dictionary through the settings, but it didn't work, you'll find alternative solutions here, including: ADB-Teams for experienced users.

Why Words Are Saved in Xiaomi’s Dictionary and How It Works

The MIUI Keyboard (and its modifications for different regions) automatically adds new words to the user dictionary when:

  • πŸ“ Manual addition through long pressing on the word in the sentence line (function "Add to the dictionary").
  • βœ… Auto-replacement confirmation – if you choose one of the options, it can be saved as β€œright".
  • πŸ’¬ Frequent use - algorithm MIUI Analyzes repeated words and adds them to the database (even with typos!).
  • πŸ”„ Sync with Xiaomi account – if you have enabled the option to Sync keyboard data in your account settings.

The problem is you can't delete a word from the keyboard interface -- MIUI doesn't provide direct access to editing the dictionary -- but there are workarounds that not everyone knows about, like resetting the keyboard, which deletes all the saved words, but this is a radical solution. We'll look at point methods.

πŸ“Š What keyboard do you use on Xiaomi?
MIUI Keyboard (standard)
Gboard (Google)
SwiftKey
Another.
I don't know.

Method 1: Delete a word via MIUI Keyboard settings (official method)

This method works on most devices with MIUI 12-15 and is relevant for the standard MIUI Keyboard. If you use Gboard or another keyboard, move on to the next section.

  1. Open any text field (such as Notes or Messages) and call the keyboard.
  2. Press the gear icon (βš™οΈ) in the top row of the keyboard to open its settings.
  3. Go to the section Keyboard Settings β†’ Dictionary and input β†’ User dictionary.
  4. In the list, find an unnecessary word, click on it and select Delete.

Important! Some firmware (e.g. MIUI Global for the European region) may not have a user dictionary, in which case try an alternative path:

Settings β†’ Additional β†’ Language and input β†’ Virtual keyboard β†’ MIUI Keyboard β†’ Settings β†’ Dictionary

πŸ’‘

If a word doesn’t appear in the list, try typing it into the text box – sometimes MIUI only shows actively used entries.

Method 2: Reset keyboard settings (radical method)

If the previous method didn’t work, or you want to delete all the saved words at once, you can reset the keyboard settings, which will delete the entire user dictionary, as well as reset auto-replace options, gestures and themes.

β˜‘οΈ Preparation for keyboard reset

Done: 0 / 4
  1. Go to Settings β†’ Applications β†’ Application Management.
  2. Find the MIUI Keyboard (or Keyboard) and open its settings.
  3. Select Warehouse. β†’ Clear the data.
  4. Confirm action. The keyboard will restart with factory settings.

⚠️ Note: Some models (e.g. Xiaomi 13 Pro or Redmi Note 12) may require resetting the input language after resetting.

Method 3: Delete words via Gboard (if you use Google keyboard)

Many Xiaomi users install Gboard instead of a standard keyboard, in which case the word deletion process is easier:

  1. Open Settings β†’ System β†’ Language and input β†’ Virtual Keyboard β†’ Gboard.
  2. Select the dictionary β†’ User dictionary.
  3. Click on the language (such as Russian), then find the unnecessary word and swipe it left or through the menu.

If the word is not listed, but the keyboard still suggests it:

  • πŸ” Check the sync of the dictionary with your Google account in the Gboard settings.
  • πŸ—‘οΈ Clear Gboard cache in Settings β†’ Annexes β†’ Gboard β†’ Warehouse.
  • πŸ”„ Reinstall the keyboard via Google Play.
What if Gboard doesn’t save new words?
If it doesn’t appear in the prompts after adding a word to the Gboard dictionary, check: 1. Is the β€œSave New Words” option enabled in the Gboard settings. 2. Is there a conflict with other keyboards (turn them off in the language settings). 3. Is the keyboard updated to the latest version?

Method 4: Manual editing of a dictionary file (for advanced users)

On Xiaomi with root rights or through ADB, you can manually edit a user dictionary file, which is suitable if the standard methods do not work, but requires caution.

The dictionary file is usually along the path:

/data/data/com.android.inputmethod.latin/files/user_dict_ru_RU.dict

(for MIUI Keyboard) or

/data/data/com.google.android.inputmethod.latin/files/user_history_dict_ru_RU.dict

(for Gboard).

To remove the word:

  1. Connect your phone to your PC and open ADB Shell (the ADB setup instructions are in the FAQ).
  2. Use the command to view the file: Adb shell cat /data/data/com.android.inputmethod.latin/files/user_dict_ru_RU.dict
  3. Find the unnecessary word and write down the line in which it is located.
  4. Delete the file with the command: adb shell rm /data/data/com.android.inputmethod.latin/files/user_dict_ru_RU.dict (The keyboard will recreate it the next time you enter it).

⚠️ Attention: Incorrect editing of system files can lead to keyboard failures. MIUI 14+ Android 13+ Access to this file can be blocked even through ADB In this case, use Magisk or modules to circumvent restrictions.

Method 5: Disable synchronization and reset via Mi Account

If words are saved again after deletion, the problem may be syncing with Xiaomi account, and even after manual cleaning, the dictionary is restored from the cloud.

To fix this:

  1. Open Settings β†’ Accounts β†’ Mi Account β†’ Synchronization.
  2. Turn off the option of Keyboard Synchronization (or Input Data Synchronization).
  3. Return to the keyboard settings and reset (see Method 2).
  4. Reset the device.

After that, words will not be restored. If you want to save other data (such as notes or contacts), leave the synchronization on for them.

MethodDifficultyRequired. root/ADBDeleting all words?It's working on MIUI 15.
Through the MIUI Keyboard settings⭐❌ No.❌ No (pointed)βœ… Yes.
Resetting the keyboard⭐⭐❌ No.βœ… Yes.βœ… Yes.
Editing via Gboard⭐❌ No.❌ No (pointed)βœ… Yes.
ADB/Manual deletion of fileβ­β­β­β­βœ… Yes.βœ… Yes.⚠️ Partially (depending on SELinux)
Shutting down synchronization⭐⭐❌ No.❌ No, just the cloud)βœ… Yes.

πŸ’‘

The most reliable way for most users is to combine disabling sync (Method 5) and resetting the keyboard (Method 2) to ensure that all local and cloud copies of the dictionary are deleted.

Frequent problems and solutions

Even after the word is deleted, it can reappear, and let's look at the typical causes and ways to eliminate them:

  • πŸ”„ Word comes back after reboot β†’ Check sync with Mi Account or Google (see Method 5).
  • πŸ“± No "User Dictionary" in the settings β†’ Update the firmware or use it ADB-method.
  • πŸ”‘ Keyboard asks for password after reset β†’ It's a bug. MIUI 14.Reset the keyboard via Settings β†’ Annexes.
  • 🌐 English words not deleted β†’ Remove them separately in the Input Language settings β†’ English (USA/UK).

If none of the methods worked, it might be saved in a system dictionary (e.g., firmware for a specific region).

  • Use another keyboard (e.g. SwiftKey or Fleksy).
  • Turn off auto-replacement in keyboard settings.
  • Wait for firmware updates (sometimes Xiaomi fixes such bugs in new versions of MIUI).

FAQ: Answers to Frequent Questions

Can you delete a word from the dictionary without resetting all the data?
Yes, if you are using Gboard or your version of MIUI Keyboard supports custom dictionary editing (see Method 1). On some firmware (e.g. MIUI China), this option may be hidden - in this case only reset or ADB will help.
When you delete the word, it reappears. Why?
You probably have the dictionary synced with your Xiaomi or Google account enabled, disable it in your account settings and re-delete it, and check if it has been added to the Systems Dictionary (there the user cannot make changes).
How to remove a word from the dictionary on Xiaomi with Android 14?
On Android 14 (MIUI 15), the path to keyboard settings may be different. Try: Settings β†’ Additional β†’ Special Features β†’ Keyboard and Input β†’ MIUI Keyboard β†’ Settings β†’ Vocabulary If no point, use Method 2 (Reset) or Method 4 (ADB).
Can I recover deleted words from the dictionary?
No, you can't reset or manually delete the words. If you've had Mi Account or Google sync enabled, try: temporarily turn the sync back on. Wait 5-10 minutes (data needs to be downloaded from the cloud); turn off sync again if you don't need the words.
How to set up ADB to remove the dictionary?
To use ADB: Download Platform Tools from Google. Enable USB Debugging in Settings β†’ About Phone β†’ MIUI Version (click 7 times on version, then return to Additional β†’ For Developers). Connect your phone to your PC and follow the command: adb devices (you should see your device). Use the commands from Method 4 to work with the dictionary file.