How to Find the Key of a Song

Find a song’s key from a recording, chord chart, or score. My guide shows how to check your answer, even when the chords fit two keys or the song changes key.

A keyboard with one highlighted key

Finding a song’s key means working out which note the music treats as home and whether the music around that note is major, minor, or in another mode. Some songs make that easy. You can hear the bass and chords lead back to the same place at the end of each phrase. Other songs fade out before you hear a clear ending, or settle on one chord in the verse and another in the chorus. Even a tune you’ve worked out note for note can leave you with several plausible answers. C major, A natural minor, and G Mixolydian, for instance, use the same seven notes.

In this guide, I’ll work through several ways to find the key, from matching a few notes on a guitar or keyboard to hearing where a song changes key. For each method, I’ll show you what to listen for or look for, how to check your answer, and what to try if the clues disagree. You can follow the examples in order to learn the skill, or jump to a method that fits the song you’re working on.

The audio players and scores are my piano demonstrations. The song links take you to the artists’ recordings.

Where to start with your song

I have a recording

I have the chords or sheet music

I’ve tried a method and something doesn’t add up

Optional theory about tonic, root, and bass

What does a key sound like? Play these examples if you want to hear what I mean by home, or if you mix up the tonic, chord root, and bass note. If those terms are familiar, go straight to the methods.

Play these two short progressions. Pause at the end of each one.

Chords to play Listen for
C → F → G → C How the G chord leads back to C.
Am → Dm → E7 → Am How the E7 chord leads back to Am.

Both phrases use moving chords to make a particular chord feel like the point of arrival. In the first phrase, the home note is C and the home chord is C major. In the second, the home note is A and the home chord is A minor. The name for that home note is tonic.

A phrase that lands on C · C major

audio-thumbnail
A phrase that lands on C
0:00
/6
Piano score in C major. Chords C, F, G, C. The left hand plays the bass roots.

A phrase that lands on A minor · A minor

audio-thumbnail
A phrase that lands on A minor
0:00
/6
Piano score in A minor. Chords Am, Dm, E7, Am. The left hand plays the bass roots.

Three terms are easy to mix up when you start working out songs:

  • The tonic is the home note of the music. In the first example it stays C through the whole phrase.
  • The root belongs to an individual chord. When you get to the G chord, its root is G, even though the key is still C major.
  • The bass note is the lowest note sounding at that moment. A G chord can have B in the bass. It’s still a G chord, written G/B.

The notes a song uses and the note it treats as home are separate clues. C major and A natural minor share the same seven notes.

Two keyboards show the same seven white keys. C is marked as the tonic in C major, and A is marked as the tonic in A natural minor.

To hear the difference, play the melody notes E–D–C–B–C, holding the last C. Then play E–D–C–B–A and hold the A instead. Try the first ending over a C chord and the second over an Am chord. You’ve changed where the phrase comes to rest while staying within the same set of notes.

Same white keys, home on C · C major

audio-thumbnail
Same white keys, home on C
0:00
/12
Piano score with melody E4, D4, C4, B3, C4. The final melody note is C4 over a C chord.

Same white keys, home on A · A natural minor

audio-thumbnail
Same white keys, home on A
0:00
/12
Piano score with melody E4, D4, C4, B3, A3. The final melody note is A3 over an Am chord.

If you’ve found A as the home note, try both A major and A minor. Listen for C♯ in the A major chord and C in the A minor chord. That tells you the quality of the home chord. To distinguish A major from a mode such as A Mixolydian, listen to the rest of the tune and harmony as well. My guide to relative and parallel minor

Find the key from a recording

Use a guitar or keyboard to match what you hear. The first three methods start with different parts of the same recording, so you can switch when one part is hard to hear.

If you have the audio file, choose an MP3 or WAV in my free Song Key Finder and select Find the key. It compares major and minor keys and suggests one to test. Your file stays on your device. Try the suggested home chord at the end of a phrase. If that chord sounds right but its scale doesn’t fit the tune, check for a mode. If you only have the artist and title, look up the exact release. A cover or live version can be in a different key.

Method 1. Check the ending

The last chord gives you a candidate when the song has a clear ending. Replay the last few seconds and listen for the last sustained harmony. Find its low note on your instrument, one fret or key at a time. If it’s hard to hear at the bottom of the mix, try matching it an octave higher. Then try the major and minor chords built on that note. If neither matches, check which notes sound above the bass. The last chord may be an inversion, with a different note at the bottom.

Now rewind to the end of an earlier phrase, such as the last line of a chorus. Does that same chord give the music somewhere to land? Listen to the chord before it, too. In the C-major example above, the G-to-C move tells you more about the key than the C chord on its own.

If the ending goes by too fast, set a short loop that includes the chord leading into it. A practice player such as Anytune lets you slow that loop down while keeping the pitch steady.

Try the same opening with two endings. Play C → F → G, then give the last bar either another G or a C. Compare the version that stops on G with the earlier example that lands on C. A song can stop at the first kind of ending and leave you expecting more. It can also end with a melody note like E over a C chord, or with E in the bass of C/E. In both cases E is a clue to the notes in the last chord.

A phrase that stops on G · C major

audio-thumbnail
A phrase that stops on G
0:00
/6
Piano score in C major. Chords C, F, G, G. The last bar stays on G instead of returning to C.

When the track fades, replay a complete phrase before the fade or listen across the point where a chord pattern starts again. If you still can’t hear a clear arrival, try the bass line. More on phrase endings and cadences

Method 2. Follow the bass

Match the main bass notes first, then use the rest of the arrangement to check the chords above them. In Ben E. King’s “Stand by Me”, you can hear the bass line clearly before he sings. Listen for the low notes that start or hold down each part of the repeating pattern. You can pick out the shorter connecting notes on a second pass.

Two passes through a bass line. First match the low notes where the harmony changes. Then listen above them to check the chords.
  1. Match the first low note. Play one note at a time on your instrument until you find A. If you’re on guitar, the open A string gives you a place to start.
  2. Find the next main notes. Replay the pattern and follow A → F♯ → D → E. Leave the shorter connecting notes for a later pass.
  3. Listen through the end of the loop. Follow E back into A. As the song continues, try the A major and A minor chords at that return. Listen to the rest of the arrangement as well as the bass. The chord there is A major.
  4. Check the full harmony. The main bass notes support A → F♯m → D → E. In A major those are I → vi → IV → V. You can hear why the end of the pattern leads back to the beginning once you play E followed by A.

In my piano reduction, the left hand holds the four bass roots and the right hand plays the chords. Listen for the E-to-A return when the loop starts again in bar 5.

Bass roots and chords in A major · A major

audio-thumbnail
Bass roots and chords in A major
0:00
/11
Piano reduction of the underlying progression. A, F-sharp minor, D and E repeat. The left hand plays one bass root per bar.

The bass alone gave you four pitches. The other parts tell you which chords they belong to, and the progression tells you what those chords are doing. If you want to hear just how much you can change while keeping that tune recognizable, listen to the alternatives in my “Stand by Me” reharmonization.

When the bass is busy, shorten the loop to one or two changes. Listen for which bass notes coincide with changes in the rest of the band. When one bass note stays the same through several chords, try following the melody. And if you match a low E under what sounds like a C chord, try C/E before deciding the chord root has to be E. Chord symbols and slash notation

If the bass is buried in the mix, you can isolate it in a tool like Moises. Match the low notes from the isolated part, then go back to the full mix to hear which chords sit above them.

Method 3. Match notes in the melody

If the singer, riff or lead instrument is the easiest part to follow, start there. Loop a short phrase, then try individual notes on your instrument. Some will fit immediately. Check whether you can actually match a few notes you hear in the tune, especially notes that recur or last long enough for you to compare. This gives you something firmer to work with than a note that happened to sound pleasant against one chord.

If two neighboring notes sound equally plausible, zoom in on that moment in a spectrogram, such as the one in Capo for Mac. Use the display to pick a pitch to try, then play it against the melody. The display can also show other instruments and overtones, so listen for which pitch the tune is actually carrying.

Suppose your first four matched melody notes are A, C♯, D and E. If you start by checking the major and natural minor scales, two sets of notes fit.

Possible keys Notes in the shared collection
D major or B minor D, E, F♯, G, A, B, C♯
A major or F♯ minor A, B, C♯, D, E, F♯, G♯

You now have a specific thing to look for. Try matching the next note that sounds like either G or G♯. If you hear G♯ as a regular part of the tune, start with A major and F♯ minor. Test the A major and F♯ minor chords at the ends of phrases, and pay attention to the chord that leads into each arrival. In a phrase that keeps returning to A major, with E leading into it, A major has the stronger case.

The table gives you a shortlist. If you keep hearing G natural and the phrases still settle on an A major chord, consider A Mixolydian. It uses the same notes as D major, with A as home. Check whether G natural keeps turning up in the tune or harmony. A single chromatic note can simply connect two other notes.

Melody clues in A major · A major

audio-thumbnail
Melody clues in A major
0:00
/12
Piano score with starting melody A4, C-sharp5, D5, E5. G-sharp4 over E leads toward the final A.

Melody clues in A Mixolydian · A Mixolydian

audio-thumbnail
Melody clues in A Mixolydian
0:00
/12
Piano score with the same opening melody. G-natural4 over G precedes the return to the A chord.

In a minor key, the sixth and seventh can vary within the same song. In A minor, you may hear G natural in one phrase and G♯ leading back to A in another. That raised seventh is the sound of harmonic minor, and it gives you the major E or E7 chord. A line that rises through F♯ and G♯ to A uses the raised sixth and seventh of ascending melodic minor. Those notes can all be part of music centered on A minor. Minor scales and keys

Two sevenths in A minor · A minor

audio-thumbnail
Two sevenths in A minor
0:00
/12
Piano score in A minor with G natural in bar 2, G-sharp in bar 3 and F-sharp, G-sharp, A in the last bar.

You can also try this with a single note first. Pause a familiar tune just before it finishes. Hum the note you expect to hear next, then find it on your instrument. Replay the phrase to see where the tune actually goes. Sometimes you’ll hum the melody’s last note, which might be the third or fifth of the home chord. Use the bass and chord underneath to check whether the note you sang is the tonic.

If both candidates still use all the notes you’ve found, compare how the music settles in each key.

Find the key from chords or sheet music

A chord chart gives you the harmony. A score can also show a key signature and reveal which notes land together. Start with the information your version gives you.

Method 4. Read the chord progression

With a chord chart, look for a chord that several phrases lead back to. Mark the ends of lines, sections and repeats, then check the lead-in to each likely home chord. In this example, the two phrases start on different chords and end the same way.

Section Chords
First phrase Em → Am → D7 → G
Second phrase C → Am → D7 → G

The first chord is Em, and both G major and E natural minor share the notes you’d normally expect here. The standout move is D7 → G at the end of both phrases. Play it. The F♯ in D7 can rise to G, and the C can fall to B. Those notes help you hear why the G major chord is a destination. In this example the evidence points to G major.

Reading the chord chart in G major · G major

audio-thumbnail
Reading the chord chart in G major
0:00
/11
Eight-bar piano score with one sharp. The two phrases begin on Em and C and both end D7 to G.

In a minor key, you can get the same kind of arrival. In Dm → E7 → Am, the G♯ in E7 leads to A. Hearing that move at a settled phrase ending supports A minor. In some pop and rock songs, the return you hear is more like F → C or B♭ → F → C. Try the whole movement in context. A clear tonic can emerge without the kind of dominant chord you’d expect in a classical cadence. Cadences and phrase endings · Harmonic patterns in pop

One more thing to check if you’re playing along. Guitar chord shapes and the notes sounding on the recording can differ. With a capo at fret two, a G shape sounds as A. If a chart gives you G shapes with that capo instruction, compare the concert-pitch A chord on a keyboard with the recording.

If your chart is just a repeating set of chords with no clear destination, look at what the melody and the other sections contribute.

If you only have a recording, software can suggest a chart. Moises’s chord detection puts chord names alongside playback. Check the chords around one important arrival on your instrument before relying on the chart to name the key.

Method 5. Read the key signature

With sheet music, look at the sharps or flats printed at the start of the staff. In ordinary major or minor notation, that signature gives you a major key and its relative minor to try. Use the phrases and chords in the score to decide between them.

A key signature with one sharp, F-sharp, can point to G major or E minor. Compare whether phrases settle on a G chord or an E minor chord.
Sharps or flats Major candidate Relative minor candidate
7 flats C♭ A♭m
6 flats G♭ E♭m
5 flats D♭ B♭m
4 flats A♭ Fm
3 flats E♭ Cm
2 flats B♭ Gm
1 flat F Dm
None C Am
1 sharp G Em
2 sharps D Bm
3 sharps A F♯m
4 sharps E C♯m
5 sharps B G♯m
6 sharps F♯ D♯m
7 sharps C♯ A♯m

For example, one sharp gives you G major or E minor to investigate. If the score consistently ends phrases on Em and you see D♯ leading into E, E minor is a strong reading. That D♯ can be written as an accidental even though it’s doing ordinary work in E minor. If you want to play along with a particular recording, check that the score is in the same sounding key. An arrangement for another singer or a part written for a transposing instrument can show different notes. Reading major key signatures · Reading minor key signatures

One sharp and a return to E minor · E minor

audio-thumbnail
One sharp and a return to E minor
0:00
/12
Four-bar piano score with F-sharp in the key signature. The written D-sharp in bar 3 rises to E over the final Em chord.

If your score has playback, listen to the two or three measures around a phrase ending and follow the notes on the page. These signatures can also be used for modal music. For instance, one sharp gives you the notes of G major, but if the music keeps settling on D and uses C natural, D Mixolydian is another possibility.

When the clues disagree

When two keys fit, look for a moment where they make different predictions. Which chord would each key lead you to expect at the end of the phrase? Play both candidates at the same spot and listen to what the recording actually does before and after it. If different sections keep returning to different chords, check their keys separately.

Two keys fit the same chords

Try Am → F → C → G on a loop. You can call those chords i → ♭VI → ♭III → ♭VII in A minor or vi → IV → I → V in C major. Every chord fits both readings. The next clue is what the music does with them. Try singing a phrase that keeps coming back to A over the loop. Then sing one that emphasizes C and settles over the C chord. You can change the pull of the whole passage while leaving the chords in the same order.

Same chord loop, melody drawn to A · A minor hearing

audio-thumbnail
Same chord loop, melody drawn to A
0:00
/12
Piano score with Am, F, C, G. The melody places A on the first strong beat and returns to A at the end.

Same chord loop, melody drawn to C · C major hearing

audio-thumbnail
Same chord loop, melody drawn to C
0:00
/12
Piano score with the same Am, F, C, G chords. The melody holds C for the entire C-chord bar.

Heart’s “What About Love?” gives you a real example. Start with the intro and follow the repeated bass note D. Now listen to the verse. Its Dm → B♭ → F → C loop fits both D minor and F major. Hear what happens at the chorus, where F major comes forward more clearly. Compare the sections before you decide how you’d describe the verse. Published analysis of Heart’s arrangement · Research on ambiguous four-chord loops

For another song to try, listen along with my analysis of “Blinding Lights”. I explain how the melody pulls your ear in different directions over a repeating chord loop. If you’d like to write a melody over that loop, I made an exercise for it in Steal This Move.

A chord falls outside the key

First play C → F → G7 → C to establish C major. Then play C → E7 → Am → F → G7 → C. E7 contains G♯, which is outside the C-major scale. It gives you a strong push into Am. Keep playing after that arrival. The F and G7 lead back to C, so there’s a good reason to keep C major as the overall key and hear the Am as a brief destination. E7 is a secondary dominant here. My secondary dominants guide

A brief visit to A minor · C major

audio-thumbnail
A brief visit to A minor
0:00
/11
Piano score. After establishing C major, E7 briefly leads to Am. F and G7 then lead back to C.

A borrowed chord can change the color without moving the center. Play C → F → Fm → C. The A♭ in Fm pulls down to G as you arrive back on C. If you treated the first A♭ as evidence that the key had changed, you’d miss the return that makes the sound work. My analysis of borrowed chords in Radiohead’s “Creep”

F minor borrowed in C major · C major

audio-thumbnail
F minor borrowed in C major
0:00
/6
Piano score. Chords C, F, Fm, C. A-flat in Fm moves down to G over the final C.

The key changes between sections

Listen to the next few phrases. If the old home chord returns right away, a brief visit is more likely. If later phrases settle on the new chord, a key change is more likely.

Start with the same C → F → G7 → C phrase again. This time play C → E7 → Am and continue with Dm → E7 → Am twice. Let the last Am ring out. You’ve given A minor enough time and enough returns to establish itself as the new center. The E7 → Am pair is the same as in the previous example. What comes afterward changes what it means.

A key change from C major to A minor · C major to A minor

audio-thumbnail
A key change from C major to A minor
0:00
/16
Piano score in three lines. The first phrase establishes C, then E7 leads to Am and two Dm to E7 to Am returns establish A minor.

If you hear this in a recording, loop the end of the verse and the end of the chorus separately. Match the chord each section comes to rest on, then listen to the transition between them. Write the key beside each section and mark where the new center becomes clear. Tonicization and modulation

If my Song Key Finder gives you one answer for the full track, try it on separate audio clips from the verse and chorus. Compare each result with what you heard at that section’s phrase endings.

Major or minor doesn’t describe the sound

Keep the home note you’ve found and check the pitches around it. A major home chord can belong to Mixolydian, a sound you’ll hear in rock. In “Tired of Waiting for You” by the Kinks, listen to the intro and first verse. The chords move between G and F, the major chord a whole step below G. That move, alongside the lowered seventh in the melody, helps you hear the Mixolydian sound. Open Music Theory’s transcription and analysis

The Police’s “Every Little Thing She Does Is Magic” is a good example of why I’d check more than one section. In the intro and verse, the bass climbs through G, A, B and C♯. With G as the point of reference, that C♯ gives the opening a G Lydian color. In the chorus, listen for A leading to D. Another reading hears the opening bass as starting on the fourth degree of D major and delaying the arrival on D. If you try to match the pitches on your instrument, the original recording can sound a little sharp against standard tuning. Bass transcription and analysis · Trevor de Clercq’s D-major reading

A minor home chord can also belong to a mode. In a Dm → G loop with D as home, the B natural in G is a clue to D Dorian. If the same chords lead into C and the music keeps settling there, you have evidence for C major. The chords are the same. Listen for where the phrase lands.

D feels like home in D Dorian · D Dorian

audio-thumbnail
D feels like home in D Dorian
0:00
/6
Piano score with Dm and G alternating. The last bar returns to Dm.

The same two chords lead to C · C major

audio-thumbnail
The same two chords lead to C
0:00
/6
Piano score with the same Dm and G opening. A C chord replaces Dm at the end.

Some songs use sounds from several places. In Soundgarden’s “Black Hole Sun”, listen to the guitar melody in the intro and then to Cornell’s vocal over the returning progression. In composer Vivek Maddala’s transcription, the guitar leans toward G minor with B♭, while Cornell sings B natural in the verse. You can hear both shades around G without expecting every chord or melody note to fit one scale. Maddala’s analysis

A riff may establish E as a center using E and B without ever giving you the third. Before calling it E major or E minor, listen to the vocal or another instrument for G♯ or G. Blues poses another problem for a one-scale answer. A performance can be clearly centered on E while the accompaniment uses an E7 chord and the melody also leans on G natural. In that context, blues in E may tell you more about what to play than either “E major” or “E minor.” Modal patterns in pop · Blues harmony

The home chord arrives late, or never sounds

When the intro leaves you between two guesses, play into the next section and hear what changes. A chorus can give you the first strong confirmation. Some songs keep the harmony moving around an implied center and never play the chord you expect. You can still look for the tonic in the tune and compare it with the next best candidate. If the evidence remains mixed, write down the section, the two possible readings and what supports each. For playing along, that tells you much more than forcing a single label onto the whole track. Mark Spicer’s song examples

The notes in the chart sound too high or low

If every note is a little sharp or flat, check your instrument’s tuning and any pitch adjustments in your player. If the pattern fits but everything is off by a whole number of semitones, check the capo and whether the chart is for a different arrangement. If only a few notes rub, listen to what those notes are doing before retuning anything.

When you write down the key, include the section and the evidence you heard. “A major, because the repeating phrase resolves from E to A” is a result you can check on an instrument. If the verse and chorus give you different answers, write down both.

Keep listening

If you’d like to try this with more songs, subscribe to my free newsletter. I share song analyses with specific moments to listen for and guides you can try on your instrument.