MyMacro on Xiaomi: what is this program and how to use it in 2026

If you own a Xiaomi smartphone and you notice a mysterious MyMacro program in the list of applications, but you do not understand what it is for, this article will help you understand. Immediately let us say: it is not a virus or malware, although some users mistakenly mistake it for one. MyMacro is a built-in tool for automating actions on devices running MIUI, which allows you to record and play sequences of touches, gestures and commands.

It's basically a desktop macro that's been brought to mobile, and with MyMacro, you can make it easier to do things like open a lot of apps quickly to get complex interface scenarios, but not everyone knows that it exists -- it's often hidden in the depths of the settings, or it only appears after the developer mode is activated, and then we'll go into detail about how the app works, where to find it, and whether it's worth using.

What is MyMacro and why is it needed by Xiaomi?

MyMacro (sometimes called MacroDroid in some firmware) is a system application for automating tasks on Xiaomi, Redmi and POCO smartphones. It allows you to record sequences (macros) that can then be played with a single click. For example, you can create a macro to:

  • ๐Ÿ”„ Quickly switch between frequently used applications.
  • ๐Ÿ“ฑ Automatically turn on/off Wi-Fi or mobile data depending on location.
  • ๐ŸŽฎ Simplifications of control in games (e.g., repeated combo strikes).
  • ๐Ÿ“ Filling out forms or entering frequently used texts (e.g. email or address).

It is important to understand that MyMacro is not a standalone app that can be downloaded from Google Play. It is built into MIUI firmware and activated via Settings โ†’ Additional โ†’ Macros (the path may vary depending on the firmware version). In some models, such as Xiaomi 12T or Redmi Note 11, this tool is available by default, and in others it must be enabled manually.

MyMacroโ€™s main advantage over third-party counterparts (such as Tasker or Automate) is its deep integration with the system, which can interact with MIUI settings at a level not available to most third-party applications, for example, you can create a macro that will automatically switch the theme from dark to light depending on the time of day, or run a specific application when you connect your headphones.

๐Ÿ“Š Have you ever used a macro on your smartphone?
Yeah, regularly.
I tried it, but it didn't come in handy.
No, but I want to try.
No, and no planning.

Where to find MyMacro on Xiaomi: step-by-step instructions

While useful, finding MyMacro isn't always easy -- it depends on the MIUI version and the smartphone model. Here are a few ways to find the app:

  1. Through System Settings: Go to Settings โ†’ Additional โ†’ Macros. If this item is not available, try the Settings path โ†’ Special Features โ†’ Macroses.
  2. Through Settings Search: Open Settings, tap the magnifier icon (search) in the top right corner, and type in "Macros" or "MyMacro."
  3. Through Developer Mode: Activate Developer Mode (7 times click on the MIUI version in About Phone), then find the Macrosa item in the developer settings.
  4. Through Launcher: On some firmware, the MyMacro icon appears in the app menu after first running through the settings.

If none of these methods worked, your firmware may not support this feature, in which case you can try upgrading MIUI to the latest version or using alternative automation applications like Tasker or MacroDroid (but they require root rights to work properly).

โ˜‘๏ธ Preparing for work with MyMacro

Done: 0 / 4

How to Create and Set Up a Macro in MyMacro

Making a macro in MyMacro consists of three main steps: recording actions, setting up triggers, and saving a script. Let's take a simple macro to automatically open YouTube and play your favorite playlist.

Step 1: Starting the macro recording

  1. Open MyMacro through settings or launcher.
  2. Click the button โ€œCreate macroโ€ or โ€œAddโ€.
  3. Select the โ€œWrite Actionsโ€ option (usually indicated by the circle icon or the record button).

Step 2: Performing actions to record

Now all your touches and gestures will be recorded.

  1. Open the YouTube app.
  2. Find the right playlist and click on it.
  3. Put the video on pause (this will be the final macro action).
  4. Return to MyMacro and stop the recording.

Step 3: Set up the trigger

Now you have to choose what will run the macro.

  • ๐Ÿ”˜ Button on the screen โ€“ a floating icon will appear for a quick start.
  • ๐Ÿ•’ In time, the macro will work at the specified hour.
  • ๐Ÿ“ Location โ€“ for example, when approaching the house.
  • ๐Ÿ”Œ When connecting the device (earphones, charging, etc.).

Note that too complex scripts can work unstable, especially if the application interface changes between recording and playback (for example, after the YouTube update).

What happens if the macro is not reproduced?
Check if the interface of the application that the macro interacts with has changed, for example, if you recorded the actions in the old version of Instagram and then updated it, the coordinates of the buttons could shift, and also make sure that the MyMacro settings allow auto-start and there are no battery restrictions for this application.

Security and Risks of Using MyMacro

While MyMacro is Xiaomiโ€™s official tool, it comes with some risks.

โš ๏ธ Note: Macros can record and play back passwords and pins, and if you create a macro to automatically log into a banking application, anyone who accesses your phone can play that macro and access your data. Never record activities related to financial information!

Other potential problems:

  • ๐Ÿ”„ Conflicts with other applications: Some macros may interfere with other automated tools (e.g. Google Assistant or Google Assistant) IFTTT).
  • ๐Ÿ”‹ Increased battery consumption: Constant operation of background macros (especially with location triggers) can reduce battery life.
  • ๐Ÿ› ๏ธ System instability: macros that are too complex or incorrectly configured can cause freezes or reboots.

To minimize the risks:

  1. Do not use MyMacro to automate your actions in banking applications, messengers with important correspondence or systems with two-factor authentication.
  2. Check the list of active macros regularly and remove unnecessary ones.
  3. Limit the background activity of macros in the battery settings (Settings โ†’ Battery โ†’ Battery Optimization).

๐Ÿ’ก

If you're experimenting with macros, create a separate user on your phone (via Settings โ†’ System โ†’ Multiplayer) and test macros there. This will protect your core data from random errors.

How to remove or disable MyMacro on Xiaomi

If you decide you don't need MyMacro, you can disable it or delete it.

Option 1: Unsetting (without deletion)

  1. Go to Settings โ†’ Applications โ†’ Application Management.
  2. Find MyMacro on the list.
  3. Click "Disable" (if the button is active).

Option 2: Removal (requires root rights)

Because MyMacro is a system application, you can't completely uninstall it without root rights.

  • ๐Ÿ“ฑ Hide from the menu with a launcher (for example, Nova Launcher).
  • ๐Ÿ”ง Freeze through ADB (without root: adb shell pm disable-user --user 0 com.miui.macro
  • ๐Ÿ—‘๏ธ Remove completely with root rights via Root Explorer or Titanium Backup.

โš ๏ธ Warning: Removing system applications can lead to unstable work MIUI. If errors occur after removing MyMacro (for example, gestures or settings do not work), restore the application via firmware or reset to factory settings.

Comparing MyMacro with other automation tools

If MyMacro doesn't work for you, there are alternatives, and here's a comparison of popular automation tools for Android:

AnnexDemands a rootIntegration with MIUIDifficulty setting upFree version
MyMacroโŒ No.โญโญโญโญโญ (full-fledged)โญโญ (simple)โœ… Yes.
Taskerโš ๏ธ Partially.โญโญ (limited)โญโญโญโญ (difficult)โŒ No (7-day trial)
MacroDroidโŒ No.โญโญโญ (middle-class)โญโญโญ (moderately)โœ… Yes (with limitations)
AutomateโŒ No.โญโญ (limited)โญโญโญ (moderately)โœ… Yes.
IFTTTโŒ No.โญ (minimal)โญ (simple)โœ… Yes (with limitations)

MyMacro beats competitors with deep integration with MIUI, but loses flexibility. For example, Tasker can automate almost any Android task, but requires root rights to work properly and has a complex interface. MacroDroid is a good compromise for those who want more features than MyMacro, but are not ready to understand Tasker.

๐Ÿ’ก

If you want simple automation of everyday tasks (opening apps, changing settings) MyMacro is the best option. For complex scenarios with conditions and branches, choose Tasker or MacroDroid.

Frequent MyMacro Problems and How to Solve Them

MyMacro users sometimes encounter errors, and here are the most common problems and solutions:

1. Macros is not reproduced

  • ๐Ÿ”น Check if the interface of the application with which the macro interacts has changed.
  • ๐Ÿ”น Make sure that there are no limitations in the MyMacro battery settings (Settings) โ†’ Battery โ†’ Optimizing the battery โ†’ All applications โ†’ MyMacro โ†’ No restrictions).
  • ๐Ÿ”น Reboot your phone โ€“ sometimes helps to reset background processes.

2.The macro is not working properly (presses the wrong way)

  • ๐ŸŽฏ Rewrite macros โ€“ perhaps there were extra touches when recording.
  • ๐ŸŽฏ Increase delays between actions in macro settings (if such option is available).
  • ๐ŸŽฏ Check if the screen resolution or scale has changed.

3 MyMacro does not open or gives an error

  • ๐Ÿ”„ Update. MIUI last-minute.
  • ๐Ÿ”„ Clear the app cache (Settings) โ†’ Annexes โ†’ MyMacro โ†’ Warehouse โ†’ Clear the cache).
  • ๐Ÿ”„ If the error occurred after the firmware update, the feature may be temporarily disabled.

4.The macro starts on its own

  • ๐Ÿ›‘ Check macro triggers โ€“ you may have chosen a condition that is too broad (e.g., โ€œany Wi-Fi connectionยป).
  • ๐Ÿ›‘ Remove unnecessary macros that may conflict.
  • ๐Ÿ›‘ Turn off auto-start for MyMacro in the application resolution settings.

If none of these methods worked, try resetting MyMacro to factory settings. To do so, delete all the macros you created and restart your phone. In extreme cases, you can reset MIUI settings (but this will delete all your data!).

FAQ: Answers to Frequent Questions About MyMacro

โ“ Can I use MyMacro on the Internet? POCO or Redmi?
Yes, MyMacro is available on all MIUI devices, including POCO and Redmi smartphones, but on some budget models (e.g. Redmi 9A), this feature can be disabled by default. To activate it, update your firmware to the latest version or turn on Developer Mode.
โ“ Do you need root rights to work with MyMacro?
No, MyMacro is a system application and does not require root rights to operate, but without root, some features may be limited (e.g., interacting with system settings that are not normally available for third-party applications).
โ“ Can I transfer macros to another Xiaomi phone?
Unfortunately, MyMacro does not have a built-in macro export/import function, but you can manually play the same actions on a new device or use third-party tools to back up system data (like Titanium Backup, but it requires root rights).
โ“ Why MyMacro is not on my phone?
There are several reasons: Your Xiaomi model doesn't support this feature (relevant to very old or some budget devices).The feature is hidden in your version of MIUI. Try updating your firmware or activating Developer Mode. In your region MyMacro is disabled by default (e.g. on firmware for the European market). If none of the ways worked, try alternative automation apps like MacroDroid.
โ“ Is it safe to use MyMacro for gaming?
While MyMacro is not prohibited in games, it can be considered cheating in some online games (such as PUBG Mobile or Call of Duty: Mobile). Game developers can block an account for using automated scripts. If you create macros for offline games or single-player modes, there are no risks.