TheGarageBand.net

Connect a MIDI Keyboard to GarageBand: Mac, iPhone and iPad

Match the keyboard to your Mac, iPhone or iPad, get a chosen instrument sounding, and record a phrase. Includes USB power, Bluetooth MIDI and checks for a silent controller.

Compact MIDI keyboard connected by USB to a closed laptop on a wooden bench in a sunlit music room

To connect a MIDI keyboard to GarageBand on Mac, connect its USB data cable, create a Software Instrument track, choose a sound and play. On iPhone or iPad, connect through the adapter your device needs and open a Keyboard Touch Instrument. Bluetooth MIDI has a separate connection screen: Audio MIDI Setup on Mac, or GarageBand's Bluetooth MIDI Devices screen on mobile.

I favor a wired connection for the first note check because it leaves fewer things to sort out at once. Get one piano part sounding and recording before adding a hub full of equipment or assigning every knob.

Choose the connection for your keyboard and device

Check the controller maker's instructions for the exact model, operating system and power supply. A plug that fits does not establish compatibility: Apple's keyboard connection guide also calls for any required manufacturer driver or interface setup. On mobile, look for explicit iPhone/iPad support or the maker's class-compliant USB MIDI instructions; a Mac driver cannot establish mobile support.

Your connectionWhat to connectCheck before opening GarageBand
USB keyboard → MacKeyboard's computer/data USB port → matching Mac USB port, with a compatible adapter if needed.Use the USB port and cable type named in the keyboard manual; connector shapes vary.
USB keyboard → USB-C iPad or iPhoneCompatible USB data cable directly, or keyboard cable → compatible USB adapter/hub → device.Check mobile support and power requirements. On a hub, the controller needs a data port; the charger goes to the designated power input.
USB keyboard → Lightning iPad or iPhoneKeyboard USB cable → compatible Lightning USB camera adapter → device.The Lightning to USB 3 Camera Adapter has a Lightning power input for a charger. A simple charging lead is not the camera-adapter route.
Keyboard with 5-pin MIDI socketsKeyboard MIDI Out → MIDI In on a compatible MIDI interface → computer/device.Check the interface's platform support and power. An audio interface is useful for this only if it actually has the MIDI connection you need.
Bluetooth MIDI keyboardUse the Mac or mobile Bluetooth MIDI sequence below.The keyboard must support compatible Bluetooth MIDI, not merely Bluetooth audio.

Apple lists MIDI devices, hubs and adapters for USB-C iPads. Its USB-C iPhone guidance likewise distinguishes a compliant connection from an accessory that only happens to fit. For a particular USB-C controller, follow its mobile connection instructions rather than buying an adapter by appearance.

With 5-pin MIDI, follow the signal direction printed on the ports. For notes entering GarageBand, start at the keyboard's MIDI Out and trace the cable to the interface's MIDI In. Apple shows a two-direction MIDI hookup; follow your interface's instructions for the complete setup. A MIDI cable does not record the keyboard's own piano or synth sound.

Resolve power and accessory recognition first

If the keyboard does not power on, check its power switch and specified supply first. On Mac, bypass an optional hub and try a direct supported USB connection, then a known compatible data cable. Arturia recommends direct USB for the MiniLab 3 and a hub with suitable power when needed; follow your own model's instructions for the final setup.

On a Mac laptop with Apple silicon, check for an accessory-approval alert too. Unlock the Mac and choose Allow for the controller you intended to connect. Apple explains that choosing Don't Allow prevents recognition while still allowing charging, so a powered controller can still have a blocked data connection.

A controller lighting up tells you it has some power; it does not prove that notes reached the instrument. If a phone or tablet reports that the accessory uses too much power, resolve that before changing tracks. Apple recommends a powered USB hub, a secondary power source, or power connected to a Lightning to USB 3 Camera Adapter, as appropriate to the device.

For a USB-C hub, verify its data ports, charging input and supported power delivery in the hub and controller manuals. A charger input is not automatically another USB data port. Keep the first setup to the controller and the connections needed to power it; add the microphone or audio interface after the keyboard works. This is an isolation step, not a promise that every powered hub supports every controller.

For wired iPhone and iPad connections, unlock the device before attaching the accessory. If it is still unrecognized, disconnect it, unlock and reconnect. You can make that check with the normal accessory security setting.

MIDI carries the performance; the instrument makes the sound

A MIDI keyboard tells GarageBand which notes to play. The selected software instrument supplies the piano, bass or other sound; the device's audio output sends that sound to speakers or headphones. Apple's MIDI definition and software instrument controls describe those separate roles.

You do not need an audio interface just to send MIDI over a supported USB connection. If you want the keyboard's own built-in sound, check its audio outputs and any documented USB audio function, then use an audio recording route. A MIDI-only USB connection will not capture that sound. The audio recording guide covers that separate input choice.

Connect and play a MIDI keyboard on Mac

  1. Connect and power the keyboard. Use the USB or MIDI-interface route above and any setup its maker specifies.
  2. Create an instrument track. In GarageBand, choose Track > New Track, select Software Instrument, then click Create. The Library opens so you can choose a sound. Apple's New Track instructions distinguish this from the Mic or Line and Guitar or Bass audio choices.
  3. Choose a simple sound and keep that track selected. Play one physical key. Listen for the chosen instrument before recording a whole part.
  4. Check the controller if needed. Open GarageBand > Settings > Audio/MIDI. The MIDI Controller field shows the last connected controller, or None; with several connected, choose the one you want. Input Device selects a Core Audio input and Output Device selects where you hear audio. They are separate from the MIDI Controller and Reset MIDI Drivers controls.
MIDI Controller menu in GarageBand's Audio/MIDI settings, showing None.
MIDI Controller shows the last connected controller. Choose the one you want when more than one is connected. Open full-size controls.

Bluetooth MIDI on Mac uses Audio MIDI Setup

Follow the keyboard maker's Bluetooth MIDI requirements, then use the Mac as the device that initiates the connection:

  1. Open Audio MIDI Setup, in Applications > Utilities.
  2. Choose Window > Show MIDI Studio.
  3. Click Configure Bluetooth in the MIDI Studio toolbar.
  4. Put the keyboard into its documented Bluetooth MIDI pairing mode.
  5. Select it in the device list and click Connect.
  6. Return to GarageBand, select the software instrument track and play a note.

This is Apple's Bluetooth MIDI host sequence. The nearby Advertise option makes the Mac discoverable as a peripheral; it is not the step for having the Mac connect to your keyboard. Pairing headphones for audio is a different connection.

Record a phrase and check that it stayed

Keep the software instrument track selected. Put the playhead where the part should begin: click the lower part of the ruler. For a steady pulse, turn on Metronome; turn on Count-in for a lead-in. Record > Count-in sets its length.

Click Record or press R, play a short phrase, then click Stop or press the Space bar. GarageBand creates a MIDI region as you record. Playing keys without recording lets you hear the instrument, but does not by itself leave a recorded phrase.

Move the playhead back to the region and start playback with your hands off the keyboard. Hearing that part is the useful end-to-end check: connection, instrument and recording all contributed. Save the project before changing the setup. If you need the wider project workflow, follow the GarageBand beginner guide.

Connect and play on iPhone or iPad

For the first check, use a new song so an experimental take cannot replace a part you want to keep. On iPhone, tap Navigation > My Songs; on iPad, tap My Songs in the control bar. Tap Add Song at the upper right. Apple's iPhone song browser and iPad song browser use those respective routes.

  1. Connect the compatible keyboard. Use the USB-C or Lightning route above, with supported power, and unlock before connecting a wired accessory.
  2. Open Keyboard. In the Sound browser, swipe to Keyboard and tap it. The Browser button takes you back to the instrument choices if needed, as shown in the iPhone and iPad getting-started guides.
  3. Choose the sound. On iPhone, tap Navigation > Sounds, then the sound you want. On iPad, tap the sound name near the top of the screen, then select a sound. Apple documents these different iPhone Keyboard controls and iPad Keyboard controls.
  4. Compare a touch key with a physical key. Tap an onscreen key, then play the controller. Both should trigger the chosen instrument. If only the touch key sounds, keep that working instrument selected while checking the external connection.
Grand Piano sound selector in GarageBand for iPad.
On iPad, tap the sound name above the keyboard to choose a keyboard sound. Compare an onscreen key with the connected keyboard. Open full-size controls.

Connect Bluetooth MIDI inside the mobile app

Put the compatible keyboard into its manufacturer's Bluetooth MIDI connection mode. In GarageBand, tap Settings in the control bar, then Advanced > Bluetooth MIDI Devices. On iPhone SE, tap Song Settings after Settings. Tap the keyboard's name and turn its Connect switch on, then return to Keyboard and play a note.

Apple gives that route for iPhone Bluetooth MIDI devices and iPad Bluetooth MIDI devices. Turn the same switch off to disconnect. The mobile app's screen and the Mac's Audio MIDI Setup screen serve different device routes.

Set the recording length before the take

A mobile song section determines how long the recording can run. For an open-ended first phrase, tap Song Section on the ruler's right edge, tap the Inspector beside the section name, then turn Automatic on. If there are several sections, use the last section. Tap Done on iPhone, or tap in Tracks view on iPad, to close those controls. Apple's iPhone section guide and iPad section guide explain the setting.

In an existing song, move the playhead to an empty area before recording: a new Keyboard recording replaces earlier material at that position on the same track. A new song is the simpler connection check. Do not shorten a used section to fix the controller; shortening a section also shortens regions that extend past its new end.

  1. Tap Metronome for the click. For a lead-in, open Settings > Metronome and Count-in and turn Count In on; iPhone SE goes through Song Settings first. The iPhone and iPad song settings also let you adjust the click's sound and level.
  2. Tap Record, then play the physical keyboard. Recording starts at the playhead.
  3. Tap Play to stop recording. The part appears as a region. Apple describes the sequence and replacement behavior in its iPhone recording instructions and iPad recording instructions.
  4. Drag the playhead back and tap Play to hear the phrase without playing along. On either device, the ruler locates playback; the iPad navigation controls work the same way.

Keep cables and headphones connected during the take. When you finish, return to My Songs to save: Navigation > My Songs on iPhone, or My Songs on iPad.

If the keyboard connects but GarageBand makes no sound

Start with the instrument, then follow the connection toward the keyboard. That order avoids replacing a working cable to solve a muted or wrongly selected track.

What happensNext useful check
The controller does not power onCheck its switch, specified supply and cable. On Mac, bypass an optional hub where the supported connection allows it. On mobile, resolve the accessory power requirement before changing instrument settings.
Neither physical nor onscreen keys soundCheck the selected instrument track, track/device volume and where audio is going. On Mac, check Output Device in Audio/MIDI settings. Establish an audible instrument first.
Onscreen keys sound; physical keys do notKeep that instrument selected. Check the controller's data cable, power, compatibility and connection mode; on mobile, unlock and reconnect a wired accessory.
Mac has lost a previously working controllerOpen Settings > Audio/MIDI, check MIDI Controller, then try Reset MIDI Drivers and play again. Apple defines the reset as reloading MIDI devices after a lost connection.
Bluetooth MIDI keyboard is absentRecheck its pairing mode and compatibility. Use Configure Bluetooth > Connect in Mac MIDI Studio, or the named device's Connect switch inside GarageBand on mobile.
Keys play, but there is no recorded regionStart Record on the selected instrument track, play a short phrase and stop. Auditioning a sound alone does not record it.
Mobile recording stops or loops earlyCheck the song section length. Use Automatic in the last section for an open-ended take, or set the intended fixed length before recording.
Notes sound, but the response feels lateCompare the same instrument through built-in speakers or a supported wired headphone output. Keep the MIDI connection unchanged for that check, then compare wired MIDI with Bluetooth MIDI if available. Change one connection at a time so you can identify which change helps.
Keys work; a knob or Play button does notCheck supported controller assignments. Note input and DAW control integration are separate questions.

On Mac, make the onscreen comparison with Window > Show Musical Typing or Command-K. Select the software instrument track and use the computer keys shown in the window. Apple's Musical Typing instructions give you an alternative note source while you isolate the hardware. The same guide locates Keyboard Sensitivity in Smart Controls; it changes response to playing force, not whether the controller is connected. If neither note source sounds, follow the GarageBand no-sound checks to restore the instrument output.

Musical Typing note keys A, S, D, F, G, H and J with their black-note computer keys.
Select the software instrument track and press Command-K. Play the computer keys shown here to check the instrument before changing the external connection. Open full-size controls.

Treat knobs, pads and transport buttons as a separate setup

A keyboard can play notes correctly while its faders or Record button do something else—or nothing useful—in GarageBand. Check the maker's instructions for your model and the app. For example, Arturia says the MiniLab 3 works as a generic GarageBand controller without its extra integration setup; that does not give it the same transport and DAW control integration as supported scripted setups. It is a model-specific distinction, not a reason to replace a keyboard whose notes work. If you are choosing a new controller for its extra controls, compare how different keyboards work with GarageBand before you buy.

On Mac, View > Show Smart Controls or B opens the selected track's onscreen sound controls. Moving them during software instrument recording stores region automation, as Apple's Smart Controls guide explains. That screen behavior does not establish a generic MIDI Learn procedure for every physical knob. For pads, confirm what messages the controller sends and which instrument is selected before treating a different sound as a connection failure.

Once the phrase plays back, listen for its job in the song: a bass part might leave room for the kick, while a chord part needs a clear entrance under the melody. Keep the working connection and change one musical thing at a time. If the entrance or ending needs tidying, trim or split the recorded region while keeping the rest of the arrangement in place.