The keyboard on Xiaomi smartphones running MIUI automatically remembers input words, offers auto-replacement options, and saves frequently used phrases. This is convenient until the system starts to pop up irrelevant or erroneous options, from random typos to sensitive data (logins, passwords, addresses). Unlike the standard Android keyboard, MIUI does not have an obvious βclear historyβ button, and hidden settings are scattered across different menus.
In this article, 5 working ways to remove words from Xiaomiβs keyboard, including resetting your personal dictionary, disabling sync with your Mi Account, cleaning the system keyboard cache, and even manually editing files (for advanced users), weβll break down the nuances for different versions of MIUI (12 to 15), warn about the possible consequences, and show you how to avoid resaving unnecessary words. If youβre tired of seeing old messages or random combinations of letters in hints, read on.
Why Xiaomi Keyboard Keeps Unnecessary Words
The MIUI autocomplete algorithm works on three mechanisms:
- π± Local dictionary β words that you enter manually (save in a file) user_dict.db device-wise).
- βοΈ Cloud sync β if you are logged in to your Mi Account, words can be downloaded from Xiaomi servers (including data from other devices on your device).
- π€ AI predictions β the system analyzes the context of correspondence and offers options based on frequency (for example, if you often write βhelloβ, the keyboard will slip it even in bad moments).
The problem is that MIUI doesn't distinguish meaningful words from typos or temporary data. For example, if you've entered an erroneous email address once (e.g. user@gmial.com), the keyboard will offer it over and over again. Moreover, when you change your device or reset your settings, words can be automatically restored through the cloud - so simply removing them from your local vocabulary is not enough.
β οΈ Note: If you use third-party keyboards (Gboard, SwiftKey), autocomplete settings are managed through their menus, not through system settings. MIUI. The instructions below apply only to the standard Xiaomi keyboard.
Method 1: Reset your personal dictionary (without losing other data)
The safest method is to clean only the dictionary, without removing other keyboard settings, which works on all versions of MIUI 12 to 15 and does not require superuser rights.
Instructions:
- Open Settings β Additional settings β Language and input.
- Select Current Keyboard β Xiaomi Keyboard (or MIUI Keyboard in older versions).
- Go to Keyboard Settings β Dictionary β Personal Dictionary.
- Click on the three dots in the top right corner and select Clear Personal Dictionary.
- Confirm the action (a password or fingerprint may be required).
Once reset, all manual additions (words you saved manually through the keyboard menu) and automatically memorized options will be deleted. However, words synced to your Mi Account may reappear the next time you connect to the Internet.
Disable keyboard synchronization in your Mi|Reboot smartphone | Check hints in messengers | Remove unnecessary words manually (if left)
-->
Method 2: Disabling synchronization with your Mi Account
If you keep resetting your dictionary, you're going to blame cloud sync. Xiaomi saves keyboard data on the servers and restores it when you log in. To avoid that, you need to turn off sync:
Steps:
- Open Settings β Accounts β Mi Account.
- Select Sync and find the Xiaomi Keyboard (or Input Settings).
- Turn off the slider near this point.
- Return to the account menu and click Exit (optional, but recommended for complete cleanup).
Once sync is disabled, all cloud keyboard data will be deleted from Xiaomi servers within 30 days, but local words will remain β they must be deleted separately (see Method 1).
β οΈ Warning: Disabling keyboard sync will also delete the input history on other Xiaomi devices connected to this account. If you use a tablet or second smartphone with the same account, prompts will also be dropped on them.
Yeah, it's convenient.|No, I turned it off because of confidentiality.|I was not aware of this function.|I tried it but there were problems.-->
Method 3: Clearing the cache and keyboard data (radical method)
If the previous methods didn't work, you can completely reset the keyboard settings by deleting the cache and data, which will return the keyboard to factory settings, but also delete:
- π¨ Current theme of design.
- βοΈ All user settings (vibration, sounds, key heights).
- π Input history (including useful words).
Instructions:
- Go to Settings β Applications β Application Management.
- In the search, type in the Xiaomi Keyboard (or MIUI Keyboard).
- Open the application page and select Storage.
- Click Clear the cache and Clear the data.
- Confirm the action and restart the smartphone.
Once reset, the keyboard will work like a new device.
- π€ Set up input languages.
- π΅ Turn on keys (if necessary).
- πΌοΈ Select the theme of the design.
What to do if the βClear Dataβ button is inactive?
Method 4: Manually delete words through a dictionary file (for advanced ones)
This method requires superuser rights (root) or access to ADB. It is suitable if you want to selectively delete individual words without resetting the entire vocabulary.
/data/data/com.miui.miuilatinime/databases/user_dict.dbTo edit it:
- Connect your smartphone to your PC and enable USB Debugging (Settings β About Phone β MIUI Version β 7 times press to unlock the developer mode).
- Use it. ADB or a file manager with root access (such as Root Explorer) to copy the file user_dict.db computer.
- Open the file in the SQLite editor (e.g. DB Browser for SQLite).
- In the word table, find and delete unnecessary entries.
- Save the file and return it to your smartphone by replacing the original.
The advantage of this method is that it only removes problematic words, but it requires technical skills and can cause failures if the file is corrupted.
| Method | Required. root/ADB | Deletes all words | Resets the settings. | Risk to the system |
|---|---|---|---|---|
| Resetting a personal dictionary | β No. | β Yes. | β No. | β οΈ Low. |
| Shutting down synchronization | β No. | β Only cloud-based. | β No. | β οΈ Low. |
| Clearing cache and data | β No. | β Yes. | β Yes. | β οΈ Medium. |
| Manual editing user_dict.db | β Yes. | β Selectively | β No. | β High-pitched |
Method 5: Reset via ADB (without root but with PC)
If you don't have root rights, but you have access to ADB, you can reset the keyboard dictionary through a command, which works on all versions of MIUI and doesn't require superuser rights.
Instructions:
- Install ADB on your computer (download Platform Tools from Google).
- Connect your smartphone to your PC and enable debugging over USB.
- Open the command prompt (or Terminal on Mac/Linux) and type:
adb shell pm clear com.miui.miuilatinime- Confirm the reset on your smartphone (if you receive a request).
- Reset the device.
This command completely clears keyboard data, including:
- π Personal dictionary.
- βοΈ All settings (themes, sounds, layout).
- βοΈ Local synchronization data (but not cloud data!).
π‘
If the keyboard starts to lag after resetting through ADB, reinstall its updates through the Google Play Store (if available for your model).
How to Prevent Repeated Sacrifice of Unnecessary Words
So that the keyboard Xiaomi does not memorize unnecessary words in the future:
- π« Turn off auto-replacement in keyboard settings (Settings) β Additionally. β Auto-replacement).
- π Clean up your history regularly (once a month through your Personal Dictionary).
- βοΈ Donβt use cloud sync if you value privacy.
- π± Install a third-party keyboard (such as Gboard) where vocabulary management is more flexible.
If you frequently enter temporary data (such as one-time passwords), use the incognito mode in the keyboard:
- When entering the text, click on the icon π€ (avatar) in the keyboard panel.
- Select Incognito Mode β words entered in this mode will not be saved.
π‘
Even after a full reset, the keyboard can start to remember words again, if you don't turn off auto-replace and sync. Combine ways to maximize effect.