sodcalculator

10 Tech How-To

MIDI Keyboard to GarageBand on Mac: Setup Guide

Guide 10-54851 · Updated · Step by step

Connecting a MIDI keyboard to GarageBand on a Mac lets you play and record software instruments, control the transport, and tweak knobs and faders without touching the mouse. This guide covers both USB and traditional 5-pin MIDI connections, plus the few settings you need to check in GarageBand so the keyboard actually makes sound. You’ll need your keyboard, a Mac running a recent version of macOS, and either a USB cable or a MIDI interface with the appropriate cables.

What You’ll Need

  • A MIDI keyboard (with USB or 5-pin MIDI ports)
  • A Mac with GarageBand installed (free from the Mac App Store)
  • A USB-A to USB-B or USB-C cable (most modern keyboards use USB-B or USB-C)
  • If your keyboard only has 5-pin MIDI: a USB MIDI interface and two MIDI cables (in/out)
  • Optional: an audio interface if you also want to record the keyboard’s built-in sounds as audio

Step-by-Step

  1. Turn off the keyboard before connecting anything. This avoids any glitchy handshake between the keyboard and your Mac.
  2. Connect the keyboard using the appropriate method:
    • USB: Plug the USB cable into the keyboard’s USB port and into a USB port on your Mac. Use a USB hub only if needed; direct connection is more reliable.
    • 5-pin MIDI: Connect the keyboard’s MIDI OUT to the interface’s MIDI IN, and the keyboard’s MIDI IN to the interface’s MIDI OUT. Then plug the interface into your Mac via USB.
  3. Turn on the keyboard. Wait a few seconds for macOS to recognize it. A small notification may appear, but often it’s silent.
  4. Open GarageBand. If it’s already open, close and reopen it so it scans for new devices.
  5. Create a new project (File > New) or open an existing one. Choose “Empty Project” or any template that includes software instruments.
  6. Add a software instrument track: Click the “+” button in the top-left, select “Software Instrument” in the dialog, and click “Create”. This gives you a track that can receive MIDI from your keyboard.
  7. Select a sound from the Library on the right side of the window. Click a patch like “Grand Piano” or “Synth Basics” to load it.
  8. Check the track’s input: In the track header, click the “Smart Controls” button (the dial icon) or look at the track’s “Recording Settings”. Make sure the “Input” is set to your keyboard’s name. It might show as “USB MIDI” or the specific model name.
  9. Enable MIDI input (if needed): Go to GarageBand > Settings (or Preferences) > “Audio/MIDI”. Under “MIDI”, ensure your keyboard is listed and the “Input” is enabled. If it’s not there, check the macOS “Audio MIDI Setup” app (in Applications/Utilities) to see if the Mac sees it.
  10. Play a note on the keyboard. You should hear the selected sound. If you don’t, check the track’s “Record Enable” button (the red circle) – it should be armed (red) for you to hear MIDI input live.
  11. Record your performance: Click the red record button in the transport bar, play, then press stop. You’ll see MIDI notes appear on the track’s region.
  12. If you want to edit: Double-click the recorded region to open the Piano Roll editor. You can drag notes, change velocity, and quantize timing.

Common Mistakes

  • Not arming the track: The track must have the red record-enable button lit to hear MIDI input. If it’s not armed, you’ll see no response.
  • Wrong input selected: The track’s input might default to “None” or a different device. Always check the input dropdown in the track header.
  • Keyboard set to a local control mode: If your keyboard has its own sounds and a “Local On/Off” setting, set it to “Local Off” when using it as a MIDI controller, otherwise you might get doubled notes or no sound from GarageBand.
  • Using a charge-only USB cable: Some cables labeled for charging don’t carry data. Use the cable that came with the keyboard or a known data cable.
  • Plugging into a USB hub that’s underpowered: Keyboards with many LEDs or motors may need a direct USB port. Try a different port.
  • Forgetting to close and reopen GarageBand: GarageBand sometimes doesn’t pick up a newly connected device until restart.

Tips

  • Use the “Musical Typing” window (Window > Musical Typing) as a fallback if your keyboard isn’t working – it lets you play with the computer keyboard, but it’s not a substitute for a real controller.
  • Assign the keyboard’s knobs and sliders to GarageBand Smart Controls: select a track, click Smart Controls, then click the “MIDI” tab, and move a knob on your keyboard. GarageBand will ask you to assign it to a parameter.
  • Use the “Track > New Track” shortcut (Option-Command-N) to quickly add a software instrument track.
  • Keep your keyboard’s firmware updated if the manufacturer provides updates – this can fix connection issues.
  • If you’re recording audio from the keyboard’s own sounds, connect the audio outputs to an audio interface, and create an Audio track instead of a Software Instrument track.

Troubleshooting

No sound when pressing keys

  • Check that the track is armed (red button).
  • Check the track’s input is set to your keyboard.
  • Check the keyboard’s volume knob isn’t at zero (if it has one).
  • Try a different software instrument – some patches might have low volume.
  • Open the “Audio MIDI Setup” app (Applications/Utilities) and see if the keyboard appears. If not, unplug and replug the USB cable.

Keyboard appears in macOS but not in GarageBand

  • Close GarageBand completely (Command-Q) and reopen.
  • In GarageBand Settings > Audio/MIDI, click “Reset MIDI Drivers” if available.
  • Restart your Mac – this often clears driver hiccups.

Notes are delayed or stutter

  • Lower the buffer size in GarageBand Settings > Audio/MIDI > “Buffer Size”. Try 128 or 64 samples.
  • Close other apps that might be using MIDI (like a DAW or browser with MIDI access).
  • If using a USB hub, try a direct port.

Only some keys work

  • This usually indicates a keyboard hardware issue. Test with the “Musical Typing” window to confirm GarageBand is fine.
  • Check if the keyboard has a “split” or “zone” mode activated – turn it off.

Keyboard works but the pitch bend/mod wheel doesn’t

  • In GarageBand, the track must be a software instrument. Some patches don’t respond to pitch bend.
  • Check the keyboard’s MIDI channel – it should be set to “All” or channel 1.

Frequently Asked Questions

Do I need to install any drivers?
Most modern USB MIDI keyboards are class-compliant and work without drivers on macOS. If your keyboard has a dedicated driver, install it from the manufacturer’s website.

Can I connect multiple MIDI keyboards?
Yes. Connect each via USB (or a MIDI interface with multiple ports). In GarageBand, each track can have a different MIDI input, but you can also set them all to “All” to play any track.

Why does my keyboard play its own sounds instead of GarageBand’s?
Your keyboard is probably in “local on” mode. Set it to “local off” so the keys only send MIDI data, not trigger internal sounds. You can also turn the keyboard’s volume down and rely on GarageBand’s output.

Can I use a MIDI keyboard with an iPhone or iPad?
Yes, but this guide is for Mac. On iOS, you’ll need a Lightning-to-USB camera adapter or a Bluetooth MIDI connection, and GarageBand for iOS works similarly.

How do I record the audio from my keyboard’s built-in sounds?
Connect the keyboard’s audio outputs (usually 1/4″ jacks) to an audio interface connected to your Mac. In GarageBand, create an Audio track and select the interface as input.

Why is there a delay between pressing a key and hearing the sound?
That’s latency. Lower the buffer size in GarageBand Settings > Audio/MIDI, or use a faster audio interface. For most casual use, 128 samples is fine.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →