How do you connect a MIDI keyboard to a Chromebook?
Plug a USB MIDI keyboard into your Chromebook, open Chrome, and click Allow when the page asks to use MIDI devices. Most keyboards work without installing anything.
A Chromebook is one of the easier computers to use with a MIDI keyboard, because Chrome has MIDI support built in. You do not need drivers or extra software. What you do need is the right cable, a keyboard that can send MIDI over USB, and a web page that asks Chrome for access.
What you need
- A keyboard with MIDI over USB. Most digital pianos, stage pianos and small controller keyboards sold in the last several years have it. Look for a USB port marked "USB to Host", "USB MIDI" or just "USB" near the other connectors.
- The right cable. Many keyboards use a USB-B port (the squarish one, like on a printer). Many controller keyboards use a regular USB-A or a USB-C port instead.
- An adapter if needed. Lots of Chromebooks only have USB-C ports. If your cable ends in USB-A, a small USB-A to USB-C adapter or a cable with a USB-C end solves it.
- Chrome, up to date. ChromeOS updates itself, but it is worth checking in Settings if something is not working.
If you are not sure what MIDI actually is, what a MIDI keyboard is is a short read. And no, you do not need a separate MIDI interface for a keyboard that already has USB, as this guide explains.
Step by step
- Turn the keyboard on.
- Connect the cable from the keyboard's USB port to the Chromebook. If the keyboard has two USB ports, use the one meant for a computer (often labeled "to Host"), not the one meant for a USB flash drive.
- Open Chrome and go to the page or app you want to play with.
- When Chrome asks whether the site may use your MIDI devices, choose Allow.
- Press a few keys. If the app shows the notes you play, you are connected.
The permission prompt is the step people most often miss. If you clicked Block by accident, click the icon at the left of the address bar, find the MIDI setting for the site, switch it to Allow, and reload the page.
What about Bluetooth?
Some keyboards can connect over Bluetooth MIDI, which means no cable. On a Chromebook this is less predictable than USB. Whether it works depends on your keyboard, your Chromebook and your ChromeOS version, so I cannot promise it will. If you want the simplest, most reliable setup, use USB. To weigh the two options, see Bluetooth MIDI vs USB MIDI.
Using it with a piano game
Once your keyboard is connected, a game like Keyfall can read it directly in Chrome. Notes fall toward the keys, each one shows its letter name, and you play them on your real keys. It is free, needs no download, and also lets you use the microphone, the computer keyboard or the touch screen if the MIDI connection gives you trouble.
If nothing happens
Work through these in order. Most problems are solved by the first three.
- Try a different cable. Some cables only charge devices and carry no data. This is a very common cause.
- Unplug and replug. Then reload the page. Chrome checks for MIDI devices when a page loads, so connect the keyboard first, then open or refresh the page.
- Check the permission. Make sure the site is allowed to use MIDI, as described above.
- Close other tabs or apps using MIDI. Another tab may be holding on to the keyboard.
- Switch ports. Try another USB port on the Chromebook, and avoid unpowered hubs if you can.
- Restart both devices. Turn the keyboard off and on, and restart the Chromebook.
- Check for updates. Update ChromeOS and Chrome in Settings.
- Ask about restrictions. A school or work Chromebook may be managed by an administrator who blocks USB devices or MIDI access. That is a setting you cannot change yourself.
There is a longer checklist in why is my MIDI keyboard not working.
About sound and delay
A MIDI keyboard sends information about which keys you pressed, not actual sound. Whether you hear the notes from the keyboard's own speakers, from the Chromebook, or both depends on the keyboard and the app. If you hear every note twice, a little late, check whether your keyboard has a "Local Control" setting in its menu, since turning it off is sometimes used to avoid doubled sound. The exact menu differs between brands, so check your manual.
Some delay between pressing a key and hearing the sound is normal on any computer. Headphones plugged into the keyboard itself usually give the quickest response because the sound never goes through the computer.
A quick setup tip
Place the Chromebook where you can see the screen without leaning, and keep the cable loose enough that it will not get pulled when you move. A cable tugged out in the middle of a song is a surprisingly common reason a connection drops. If you are practicing at home regularly, a steady spot for both the keyboard and the laptop makes everything easier.
More about keyboards, midi and bluetooth
FAQ
Do I need to install a driver for my keyboard on a Chromebook?
Usually not. Most modern USB keyboards work without drivers, and Chrome can talk to them directly once you allow MIDI access on the page.
Can I use an old keyboard with 5-pin MIDI ports?
Only with a USB MIDI interface cable or box between the keyboard and the Chromebook. Those 5-pin ports do not connect to USB directly.
Why does Chrome not ask me for MIDI permission?
You may have blocked it earlier, or the site may only ask when it first needs MIDI. Check the site settings next to the address bar, set MIDI to Allow, and reload the page.
Will it work in browsers other than Chrome on a Chromebook?
Chrome is the safest choice. Support in other browsers varies, so see [which browsers support Web MIDI](/guides/which-browsers-support-web-midi/).
Can a child use this on a school Chromebook?
It might, but school devices are often managed and may block USB devices or MIDI access. If it does not work, ask the school's IT person whether they can allow it.
My keyboard has no USB port. What can I do?
Check whether it has Bluetooth MIDI, or use a USB MIDI interface if it has 5-pin MIDI ports. If it has neither, you can still play with the microphone, computer keyboard or touch screen in some apps.
Practise it on your own piano. Keyfall is a free piano game: notes fall toward the keys and you play them on a digital piano, keyboard, phone or computer.
Play free