Learn Piano Game Play free
Home › Guides › Keyboards, MIDI and Bluetooth › How do I connect a keyboard to a Mac for piano lessons?

How do I connect a keyboard to a Mac for piano lessons?

Most digital pianos and MIDI keyboards connect to a Mac with a single USB cable, and the Mac recognizes them without any driver. If your keyboard has Bluetooth MIDI, you can pair it wirelessly through the Audio MIDI Setup app instead.

Connecting a keyboard to a Mac is usually easier than people expect. There is no special software to install for most models, and the whole job often takes under five minutes. This guide covers both ways to connect (USB and Bluetooth), how to check that your Mac can see the keyboard, and what to do if it does not.

What you need

Before you start, check three things:

Older keyboards with only round 5-pin MIDI sockets need a separate MIDI to USB interface. Our guide on USB MIDI vs 5-pin MIDI explains the difference.

Connect with a USB cable

USB is the most reliable option, and it is the one I would try first. It has no pairing and no batteries, and it usually has the least delay.

  1. Turn the keyboard on.
  2. Plug the cable into the keyboard's USB port, then into your Mac (use an adapter if needed).
  3. Wait a few seconds. Most keyboards are "class compliant", which means macOS recognizes them automatically.
  4. Check that the Mac sees the keyboard (see the section below).

Plug the cable directly into the Mac if you can. A cheap USB hub can cause dropped notes, and some keyboards do not like being connected through one.

Connect with Bluetooth MIDI

Some keyboards have Bluetooth MIDI built in. It saves a cable, but it needs one extra setup step on the Mac. For more detail on wireless playing, see how to use a Bluetooth MIDI keyboard.

  1. Turn the keyboard on and switch on its Bluetooth. Some models need you to hold a button or turn it on in a menu.
  2. On the Mac, open Audio MIDI Setup (find it with Spotlight, or in Applications, then Utilities).
  3. In the menu bar, choose Window, then Show MIDI Studio.
  4. Click the Bluetooth icon in the MIDI Studio toolbar.
  5. When your keyboard appears in the list, click Connect.

If the keyboard does not show up, check that it is not already paired with a phone or tablet nearby. Many keyboards can only talk to one device at a time. Also note that pairing it in the general Bluetooth settings is usually not enough for MIDI, so use the Audio MIDI Setup window.

Check that the Mac can see your keyboard

In Audio MIDI Setup, with the MIDI Studio window open, your keyboard should appear as an icon. If you press keys and the icon reacts, or the keyboard shows up at all, the connection works.

You can also test it in any music app that accepts MIDI. GarageBand, which many Macs have available for free, is a common choice. If notes play there, the Mac is receiving your keyboard correctly.

Use it for practice in your browser

Once the Mac sees the keyboard, you can play along in a browser. Chrome works best, because it supports Web MIDI, the feature that lets a web page read your keyboard. Safari does not support it, so use Chrome for this. When the page asks for permission to use MIDI devices, click Allow.

A free option is Keyfall, a piano game that runs in the browser with no download. Notes fall toward the keys, each one shows its letter name, and you play it when it reaches the line. It accepts a keyboard over USB MIDI or Bluetooth MIDI. It is meant for practice and fun, not as a replacement for a teacher.

If you take lessons over video call, connect your keyboard the same way, then ask your teacher whether they want to hear the keyboard's own sound or your computer's sound. Many digital pianos only send MIDI over USB and play their sound through their own speakers or headphones, so the call may hear only the room microphone.

If something does not work

ProblemThings to try
Keyboard not listed in MIDI StudioTry another cable (some are charge only), another port, and restart the keyboard
Bluetooth keyboard will not connectTurn off Bluetooth on nearby phones and tablets, then try again in Audio MIDI Setup
Chrome does not see the keyboardConnect the keyboard first, reload the page, and allow MIDI when asked
Notes feel delayedUse USB instead of Bluetooth and close other busy apps and tabs

For a longer checklist, read why is my MIDI keyboard not working. If the notes arrive but feel late, how to reduce keyboard lag in the browser has practical fixes.

One last point: a bad cable is a very common cause. A cable that charges a device but carries no data looks identical to a good one, so keep a known good cable for your keyboard.

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 a driver to use a keyboard on a Mac?

Usually not. Most modern keyboards are class compliant, so macOS recognizes them as soon as you plug them in. A few professional devices come with their own software, so check the manual if yours does not appear.

Which browser should I use with a MIDI keyboard on a Mac?

Chrome is the safest choice, because it supports Web MIDI and asks you to allow access to your keyboard. Safari does not support Web MIDI.

Why is there no sound from my Mac when I play?

MIDI carries only the key presses, not audio. The sound comes from the keyboard's own speakers or headphone jack, or from software on the Mac that turns MIDI into sound, such as GarageBand.

Is Bluetooth or USB better for piano practice?

USB is usually more reliable and tends to have less delay, so it is a good first choice. Bluetooth is convenient if you want to avoid cables and your keyboard supports it.

Can I connect an old keyboard with 5-pin MIDI ports?

Yes, but you need a MIDI to USB interface between the keyboard and the Mac. The Mac cannot connect directly to the round MIDI sockets.

Do I need Audio MIDI Setup for a USB keyboard?

No, you do not need to change anything there for USB. It is still a handy place to confirm that the Mac can see the keyboard, and it is required for pairing Bluetooth MIDI.

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