Learn Piano Game Play free
Home › Guides › Keyboards, MIDI and Bluetooth › How do you connect a MIDI keyboard to an Android device?

How do you connect a MIDI keyboard to an Android device?

Plug the keyboard into your Android phone or tablet with a USB cable and an OTG adapter, or pair it over Bluetooth if it supports Bluetooth MIDI. USB is usually the simpler and more reliable choice.

Most Android phones and tablets can talk to a MIDI keyboard, either through a USB cable or over Bluetooth. The USB route is the easiest, so start there if your keyboard has a USB port. Below you will find the cables to look for, the steps, and what to check when nothing shows up.

Two ways to connect: USB or Bluetooth

MIDI is not sound. It is a stream of small messages that say which key you pressed, how hard, and when you let go. Your keyboard sends those messages, and an app or website on your Android device turns them into sound or game input.

Bluetooth MIDI is not the same as Bluetooth audio. A keyboard that can only send sound to Bluetooth speakers will not send key presses to your phone.

What you need for USB

Most digital pianos and controller keyboards are "class compliant", which means they work without installing a driver. Android generally handles these well. You need two things:

OTG stands for "On-The-Go". It lets your phone act as the host, the way a computer does, so it can see the keyboard.

Some keyboards have two USB ports. The one marked "to Host" (or "computer") is the one for your phone. The one marked "to Device" is for things like memory sticks.

Steps for USB

  1. Turn the keyboard on.
  2. Plug the cable into the keyboard's "to Host" or computer USB port.
  3. Connect the other end to your Android device, using the OTG adapter if needed.
  4. If Android asks for permission to use the USB device, allow it.
  5. Open Chrome and go to the app or website you want to play with. When the browser asks for permission to use MIDI devices, choose Allow.
  6. Press a key. If the app reacts, you are connected.

If you are not sure your keyboard sends MIDI at all, this guide on how to check if a keyboard sends MIDI can help.

Connecting over Bluetooth MIDI

First check your manual for the words "Bluetooth MIDI". Then:

  1. Turn on Bluetooth on your Android device.
  2. Put the keyboard into pairing mode. How you do this depends on the model, so follow the manual.
  3. Open Chrome and the page you want to use, allow MIDI access, and look for your keyboard in the list.

This is where Android can be fiddly. On some phones the keyboard appears in the normal Bluetooth settings, and on others it only shows up once an app connects to it. If it does not appear, try pairing it in Bluetooth settings first. A free Bluetooth MIDI connection app from the Play Store can also help, since it makes the link and then lets Chrome use it. What works varies by phone, Android version and keyboard.

A Bluetooth MIDI keyboard usually talks to one device at a time, so switch off Bluetooth on any other phone, tablet or computer nearby that might have grabbed it.

Playing with your keyboard in the browser

A browser game is a good way to test the connection, because there is nothing to install. Keyfall is a free piano game that runs in Chrome on Android. Once Chrome can see your keyboard, choose it as the input and play along with the falling notes. Every note shows its letter name, and Starter mode waits at the line and shows which key to press, which is handy while you are still finding your way around the keys.

Chrome is the safest choice on Android. If you want to know why, see which browsers support Web MIDI.

One more thing about sound: MIDI carries key presses, not audio. Your keyboard will still play its own sound through its speakers or headphones, and the game may play sound from the phone too. If you hear both, turn one of them down.

If nothing happens

Work through these in order:

The same ideas apply to computers, and why a keyboard is not detected by a computer goes into more detail on cables and ports.

Once the first note lights up on screen, you are set. After that, connecting is usually just a matter of plugging in and opening Chrome.

More about keyboards, midi and bluetooth

61 keys or 88 keys: which should a beginner choose?What should you look for in headphones for a digital piano?What is the right keyboard stand and bench height for piano practice?Bluetooth MIDI vs USB MIDI: which should you use?Can you use Bluetooth headphones with a digital piano?Digital piano vs keyboard: which should a beginner buy?Do You Need a Driver for a USB MIDI Keyboard?Do you need a sustain pedal on a digital piano?

FAQ

Do I need to install an app to use a MIDI keyboard on Android?

Not for web pages and browser games, because Chrome can talk to MIDI devices once you give it permission. Separate apps, such as synth or notation apps, may have their own connection settings.

What cable do I need to connect a keyboard to my Android phone?

You need a USB cable that fits your keyboard (often USB-B) and a way to fit your phone's port, such as a USB-C to USB-B cable or a USB-C OTG adapter. Make sure the cable carries data and is not charge only.

Will my phone power the keyboard, or drain its battery?

Digital pianos with their own power adapter do not need power from the phone. Small bus-powered controller keyboards take power through the cable, which can drain the phone faster or sometimes fail to work at all.

Is USB or Bluetooth better for learning on Android?

USB is usually more reliable and has less delay, so it is a good first choice. Bluetooth is fine if your keyboard supports it and you prefer no cable, but setup varies more.

Does the keyboard sound come out of my phone?

Not by itself. MIDI only sends key presses, so your keyboard plays its own sound unless an app or game makes sound on the phone.

Is the process the same on an iPhone or iPad?

No. Apple devices work differently, and for Bluetooth on iPhone and iPad the Keyfall game needs the free Bluefy browser. See the guide on [connecting a keyboard to an iPad](/guides/how-to-connect-keyboard-to-ipad/) for the steps.

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