How do you connect a sustain pedal to a keyboard?
Plug the pedal's cable into the jack on the back of your keyboard labeled Sustain, Damper or Pedal, with the keyboard switched off, then turn it on without touching the pedal. Most keyboards then respond right away.
A sustain pedal is one of the simplest add-ons you can buy for a digital piano or keyboard, and connecting it takes about a minute. The pedal makes notes keep ringing after you lift your fingers, just like the right pedal on an acoustic piano. This guide shows where it plugs in, what to do if it works backwards, and how to start using it.
What you need
You only need three things:
- A sustain pedal (often called a foot switch or damper pedal)
- A keyboard with a pedal jack
- A few seconds to plug it in correctly
The jack is almost always a 6.35 mm (1/4 inch) socket, the same size as a standard guitar cable. Many keyboards come with a basic pedal in the box, so check before buying one. Some small or very cheap keyboards have no pedal jack at all, which we cover below.
Step by step
- Switch the keyboard off. This matters for the polarity reason explained in the next section.
- Find the jack. Look on the back or the left or right side panel. It may be labeled Sustain, Damper, Pedal, Foot Switch or Assignable. If you see several jacks, pick the one with the sustain or damper label.
- Push the plug in firmly. It should seat all the way. A half-inserted plug is the most common reason a pedal does nothing.
- Put the pedal on the floor where your right foot rests naturally, with the heel on the floor.
- Turn the keyboard on without touching the pedal. Keep your foot off it until the keyboard has fully started.
- Test it. Play and hold a note, press the pedal, then lift your fingers. The note should keep sounding. Release the pedal and the sound should fade out.
If your keyboard is also connected to a computer or tablet by USB or Bluetooth, the pedal still plugs into the keyboard itself, not into the computer. The keyboard sends the pedal action along with your notes as MIDI (sustain is MIDI control change number 64). If you are setting up a USB link, our guide on what class compliant USB MIDI means explains why most keyboards just work.
If the pedal works backwards
Sometimes the sound sustains when the pedal is up and cuts off when you press it down. This is a polarity problem. Pedals come in two electrical types: normally open and normally closed. Keyboards check which type is attached at the moment they power on and assume the pedal is up at that time.
So if your foot is resting on the pedal during startup, the keyboard learns the wrong state. The fix is easy:
- Turn the keyboard off.
- Take your foot off the pedal.
- Turn the keyboard back on and wait a few seconds.
If it is still backwards, look for a small polarity switch on the pedal (many have one underneath) and flip it. Some keyboards also have a pedal polarity setting in their menu. Check the manual for your model, because the menu names differ between brands.
Switch pedals and piano-style pedals
Not all pedals feel or behave the same:
| Type | Feel | Good for |
|---|---|---|
| Small switch pedal | Light, plastic, can slide on the floor | Beginners on a budget, light use |
| Piano-style pedal | Heavier, a solid base, springs like a real pedal | Regular practice, more stable feel |
| Continuous (half-pedal) pedal | Responds to how far you press | Keyboards that support half-pedaling |
An on and off switch pedal is enough to start. Half-pedaling, where the sound is only partly sustained, needs both a pedal and a keyboard that support it, and not every beginner model does. Check the specifications of your keyboard before paying extra for one. If your pedal slides away from you, a non-slip mat or placing it against a wall or the keyboard stand helps a lot.
When your keyboard has no pedal jack
Some compact keyboards simply have no pedal input. You still have options, depending on the model:
- Some have a button or on-screen setting that holds notes (a sustain function), though it is not the same as a foot pedal.
- If the keyboard connects to a computer or tablet by USB, certain music apps can let you add sustain in software, but this depends on the app.
- If you plan to study seriously, it may be worth choosing a keyboard with a pedal jack next time. Our guide on weighted and unweighted keys covers other features worth checking at the same time.
First steps with the pedal
A pedal can make everything sound muddy if it is held down all the time, so start with small exercises. Many teachers suggest the following, though methods vary:
- Play a note or chord, then press the pedal just after you play it.
- Lift the pedal and press it again just as you change to the next chord. This is often called legato pedaling.
- Listen. If two different chords blur together, you held the pedal too long.
Keep your heel on the floor and move only your foot, from the ankle. Sheet music often shows pedal marks, but many beginner pieces have none, and it is perfectly fine to learn the notes first. If you play along with Keyfall, the free browser game at learnpianogame.com, you can concentrate on the falling notes and add the pedal later, once your hands feel comfortable. A teacher can show you pedal timing far better than text can.
Quick troubleshooting
- No effect at all: push the plug in fully, check that you used the sustain jack, and try another cable or pedal.
- Backwards: restart with your foot off the pedal, then try the polarity switch.
- Sustain sticks on: make sure the pedal can return all the way up and nothing is pressing it.
- Sound does not change: check that your chosen sound supports sustain, since a few special sounds ignore it. See how to change the sound on a digital keyboard.
More about keyboards, midi and bluetooth
FAQ
Which jack does the sustain pedal go into?
Use the jack labeled Sustain, Damper, Pedal or Foot Switch, usually on the back of the keyboard. It is typically a 6.35 mm (1/4 inch) socket.
Why does my pedal work backwards?
Keyboards detect the pedal type when they switch on, so a foot resting on the pedal at startup confuses them. Turn the keyboard off, lift your foot, and turn it on again, or flip the polarity switch on the pedal.
Can I use any sustain pedal with any keyboard?
Most standard pedals with a 6.35 mm plug work with most keyboards, but polarity and half-pedal support vary. Check your keyboard's manual before buying a more expensive pedal.
Do I need a sustain pedal as a beginner?
Not on day one. You can learn notes, rhythm and hand position first and add the pedal when your teacher suggests it or when your pieces call for it.
Does the pedal plug into my computer or tablet?
No. It plugs into the keyboard, and the keyboard passes the pedal action to your device over USB or Bluetooth MIDI.
Can I use a pedal with a keyboard that has no pedal jack?
Not directly. Some keyboards have a sustain button, and some music apps can add sustain in software, but a keyboard with a proper jack gives the most natural feel.
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