How to install mBlock 5 on Windows 10 and 11 (step by step)

Download and install mBlock 5, Makeblock’s free block-coding app, on Windows 10 or 11: official download, SmartScreen and UAC prompts, and quick fixes.

mBlock 5 is free to download from the official site, mblock.cc. It is Makeblock’s Scratch-based app for coding robots such as the mBot and mBot2, and it can also switch to Python. This guide takes you through installing it on Windows 10 or 11.

In short

Step What happens Time
1. Download .exe from mblock.cc (about 380 MB) 1–3 min
2. Install accept the UAC prompt, the install starts straight away 1–2 min
3. USB driver accept the CH340 driver window for an mBot under 1 min
4. First launch choose your robot, connect it, switch language 2 min

Before you start

  • A Windows 10 or 11 PC with an administrator account (or an adult who has one).
  • Around 1 GB of free disk space for the download and the installed app (the installer itself is roughly 380 MB).
  • A stable internet connection.

No PC? mBlock also runs in a browser at ide.mblock.cc, with the mLink helper to connect hardware.

Step 1: Download the installer

  1. Open mblock.cc, Download.
  2. Choose Windows and download mBlock 5.
  3. The .exe file lands in your Downloads folder.

Step 2: Run the installer

  1. Double-click the .exe file.
  2. Windows asks “Do you want to allow this app to make changes?” (User Account Control): click Yes.
  3. The installer runs on its own, with a progress bar.
  4. When you see Finish, mBlock is installed and a shortcut appears on the desktop.

Step 3: Install the mBot USB driver (CH340)

At the end of the installation, a small Driver Setup (CH340 / CH341SER) window opens on top of the installer. Click Install and wait for Driver install success. Do not close it: without this driver, Windows does not show the original mBot as a COM port when you plug it in by USB.

The mBot2 and CyberPi connect through their own USB link and are usually recognised by Windows 10 and 11 without this step.

Step 4: First launch and connection

  1. Open mBlock 5 from the desktop shortcut.
  2. In the Devices panel, click Add and pick your robot (for example mBot or mBot2).
  3. Plug the robot in with a USB data cable and switch it on.
  4. Click Connect, choose the USB tab, select the COM port and confirm.
  5. Change the interface language from the language (globe) menu in the top bar if needed.

No account is required to code offline; signing in only adds cloud saving.

Quick fixes

Problem What to try
The .exe won't start Right-click → Properties → Unblock if shown; run as administrator; download again.
"Windows protected your PC" (SmartScreen) More info → Run anyway, only if the file came from mblock.cc.
Installation stops with an error Your antivirus may be blocking it: allow the installer, then retry.
No admin rights (school PC) Ask the IT department, or use the browser version.
Robot not detected Plug it in by USB first; for Bluetooth on mBot, see Makeblock's help pages.
No COM port in the Connect window Install the CH340 driver (mBot), try another USB port and a cable that carries data, not a charge-only cable.
mBlock opens but stays blank Restart the PC, update the graphics driver, then reinstall the latest version from mblock.cc.

FAQ

Is mBlock 5 free?

Yes, the app and the browser version are free from Makeblock.

Which Windows versions are supported?

Windows 10 and Windows 11, 64-bit, according to the official download page. Older versions are not covered by this guide.

Do I need an account to use mBlock 5?

No. You can code and upload programs offline without signing in; an account only adds cloud saving and sharing.

Why doesn’t my mBot show up as a COM port?

The CH340 USB driver is missing or the cable only charges. Reinstall the driver from the installer window or the official Makeblock page, then try another USB port and cable.

Does it work on a Mac or a Chromebook?

There is a macOS version on the same download page; on a Chromebook, use the browser version.

Which robot should I buy to go with it?

See our guide to programmable robots for kids.

Next steps: build your first mBot program, and if the wireless link fails, see mBlock Bluetooth troubleshooting.

Further reading

Was this page helpful?

Have a question about this guide or need advice? Ask us here

Torn between two models or stuck on a build? Drop us a line and we will get back to you by email.