Chord Not in the Key? Borrowed Chords & Secondary Dominants

November 25, 202612 min readMusic Theory
Share
A chord progression on a guitar with one borrowed chord highlighted outside the key

The Short Answer

You’ve worked out the key. Most of the chords fit, and then one just doesn’t: a C minor in a song in G, an E7 in a song in C, an F where the key says it should be F♯. That chord almost never means you got the key wrong. Songwriters step outside the key on purpose all the time, and they tend to do it in a few predictable ways.

Why a chord doesn’t fit the key

A chord outside the key is nearly always one of four things: borrowed from the parallel minor (Cm in G major), a secondary dominant pointing at another chord in the key (E7 heading to Am), the major V of a minor key (E7 in A minor), or a modal chord like the rock ♭VII (F in G). None of them change the key. If a progression has several chords you can’t explain, that’s when to double-check the key itself.

Each of the four gets its own section below, with progressions you can play right here on the page. The roman numeral and colour under each chord come straight from the Key Finder. Nobody typed them in by hand, so they’ll match what you see when you paste the same chords into the tool.

Diatonic — in the keyAmber — borrowed or secondary dominantRed — chromatic

The Seven Chords That Do Fit

“In the key” means something specific: the chord uses only the seven notes of the key’s scale. Those are the diatonic chords. Every major key has exactly seven, and they always follow the same pattern: major, minor, minor, major, major, minor, diminished.

Here they are in G major. Most of this article sticks to G, because its chords are all easy open shapes:

Uppercase numerals are major chords, lowercase are minor, and the ° marks the diminished one. You’ll find the full set for every key, with diagrams, 7th chords and common progressions, on the chords in the key of G page and its 23 siblings.

A progression that only uses these seven sounds like this, and the Key Finder leaves every chip neutral:

I
vi
IV
V
All diatonicKey Finder: G major · 4/4 diatonic

Four chords, all from the G major scale. Nothing sticks out, so there’s nothing to explain.

Every other chord in this article is one that’s not on that list. So the useful question isn’t “is it in the key?” (you can already see it isn’t). It’s “where did it come from?”

Reason 1: Borrowed From the Parallel Minor

Every major key has a parallel minor, the minor key on the same root. G major and G minor share a home note but not a scale: G minor flattens the 3rd, 6th and 7th (B♭, E♭ and F). A borrowed chord is one you lift from the parallel minor and drop into the major key. Because the home note doesn’t move, your ear still hears G as home. It just feels like a cloud passed over for a moment.

In G major, these are the chords worth borrowing:

iv — Cm
The most common borrowed chord in pop. It’s just the IV chord made minor, with one note (E) dropping to E♭. It nearly always heads straight back to the tonic.
♭VI — E♭
A major chord a major 3rd below the tonic. Big and cinematic, and usually followed by ♭VII.
♭VII — F
A major chord a whole step below the tonic. Rock uses it so much that it gets its own section further down.
♭III — B♭
A major chord a minor 3rd above the tonic. Bluesy and heavy, and you’ll hear it in plenty of riffs.

Start with the minor iv. Listen to how C sounds on its way home, then hear what changes when Cm slips in between:

I
IV
iv
I
The minor ivKey Finder: G major · 2/3 diatonic

C, then C minor, then home. Only one note moves (E drops to E♭), and the whole thing turns wistful.

I
♭VI
♭VII
I
♭VI – ♭VII – IKey Finder: G major · 1/3 diatonic

Two borrowed major chords climbing back home. If it sounds like the end of a video-game level or an arena-rock finale, that’s because it so often is.

Here’s how to spot a borrowed chord: its root is a note from the parallel minor scale (usually ♭3, ♭6 or ♭7), or it’s a chord from the key that has flipped from major to minor. The whole G minor set is on the chords in the key of G minor page, and anything on that list can show up in a G major song.

Reason 2: Secondary Dominants

The V chord pulls hard toward I. In G, the D wants to resolve to G. A secondary dominant takes that same pull and aims it at a different chord in the key. It’s the V of some other chord, written V/ii (“five of two”), V/V, V/vi and so on.

To build one, pick a target chord in the key, go up a perfect 5th, and play a major chord or a dominant 7th there. In G major:

  • V/VA7 resolves to D — the C♯ leads up to D.
  • V/iiE7 resolves to Am — the G♯ leads up to A.
  • V/viB7 resolves to Em — the D♯ leads up to E.
  • V/iiiF♯ resolves to Bm — the A♯ leads up to B.

The giveaway is a major chord or 7th chord where the key expects a minor one: E instead of Em, B instead of Bm, A instead of Am. Usually the next chord sits a 4th above it. That extra sharp is a leading tone, and it sounds most natural when the chord goes where it’s pointing.

I
V/ii
ii
V
I
V of iiKey Finder: G major · 3/4 diatonic

E7 is the V of Am. Its G♯ is a leading tone, and the only place it really wants to go is up to A.

I
V/V
IV
V
I
V of VKey Finder: G major · 3/4 diatonic

A7 is the V of D. Listen for the C♯ inside the A7: it leans straight into the D chord.

I
V/vi
IV
iv
Both at onceKey Finder: G major · 2/4 diatonic

The “Creep” progression by Radiohead. B is a secondary dominant (the V of Em) and Cm is the borrowed iv. That’s two outside chords in a four-chord loop, and it still sounds like it’s in G.

The “Creep” loop shows two more things. First, a secondary dominant doesn’t have to land where it points. B is the V of Em, but here it sidesteps to C instead, which is a big part of why that change sounds so uneasy. Second, outside chords can pile up. Half the chords in that loop are outside the key, and it’s still clearly in G.

A close relative: a diminished chord a half step below the target does the same job. G♯dim between G and Am is vii°/ii, and the Key Finder marks it amber too. And yes, a G7 heading to C is technically V/IV. But since G is already the key’s home chord, the tool reads it as I.

Reason 3: The Major V in a Minor Key

In a minor key, the V chord is usually major, even though the minor scale gives you a minor one. This is the one that trips people up most, because it looks like the theory is wrong. The A natural minor scale is A B C D E F G, so its v chord should be Em. But open almost any A minor song and you’ll find E or E7 instead, with a G♯ that isn’t in the natural minor scale.

It comes down to pull. G natural sits a whole step below A, which makes for a weak approach. Raise it to G♯ and it’s only a half step below the tonic. That’s a leading tone, the same thing that makes D resolve so strongly to G in G major. Raising that one note gives you the harmonic minor scale, and its V chord is major. Hear the difference for yourself:

i
iv
V
i
Harmonic minor VKey Finder: A minor · 3/3 diatonic

E7 contains a G♯, which A natural minor doesn’t have. The Key Finder still counts it as diatonic, because minor keys almost always take their V from harmonic minor.

i
iv
v
i
Natural minor vKey Finder: A minor · 3/3 diatonic

Same cadence, this time with the “correct” Em. Play it right after the E7 version and you’ll hear how much weaker the pull home is.

Nearly every minor-key song does this, so the Key Finder treats the major V (and G♯dim, the vii°) as part of the minor key. E7 shows up as a plain V, not amber. If the chord chart for an A minor song has an E in it, nothing’s wrong. In fact, that E is the best single clue that the song really is in A minor and not C major, which is the whole subject of is my song in C or A minor? The chords in the key of A minor page lists the harmonic-minor V right next to the natural one for the same reason.

When It Really Is Outside

Sometimes a chord doesn’t match any of the four. It isn’t from the parallel minor, it doesn’t point at a chord in the key, and no mode explains it. The Key Finder colours those chords red, for chromatic.

I
vi
IV
V
—
I
A truly chromatic chordKey Finder: C major · 4/5 diatonic

D♭ isn’t any of the four. It sits a half step above the tonic and slides down into it. The tool marks it red, and honestly, that’s the right call.

Red doesn’t mean something’s broken. The usual suspects:

Chromatic passing chords
A chord that slides a half step into its neighbour, like the D♭ into C above. It’s there for the bass movement more than the harmony.
Tritone substitutes
Jazz players swap a V7 for the dominant 7th a tritone away, like D♭7 for G7 in C. The two share the same 3rd and 7th, so D♭7 still pulls home, but its root is foreign to the key.
Pure colour
Some chords are picked purely for how they sound. Theory can describe them afterwards, but it didn’t write them.
A key change
If a run of red chords all fit some other key, the song has modulated. Look at that section on its own.

Outside the Key, or the Wrong Key?

Often the real worry behind “why doesn’t this chord fit?” is “did I get the key wrong?” Here’s a progression where you could argue either way, and the only thing that settles it is where the song comes to rest:

V
IV
I
As a loopKey Finder: G major · 3/3 diatonic

Three chords that never settle. All three are diatonic in G major, so G major wins, with D major close behind.

I
♭VII
IV
I
Resolved to DKey Finder: D major · 2/3 diatonic

Add one more D at the end and the answer flips to D major, with C as a borrowed ♭VII. Same chords, different home.

That’s the long-running “Sweet Home Alabama” argument in a nutshell. As a loop, D–C–G is three diatonic chords in G. Heard as a song that keeps coming home to D, it’s D Mixolydian, and the C is a ♭VII. The chords don’t decide it. The tonic decides it.

A practical rule of thumb:

  1. One or two outside chords in a progression that otherwise fits? Keep the key, and name the stray chord using the four reasons above.

  2. Several outside chords that all happen to fit a different key? Re-check the key. Try the keys a 4th or 5th away, and the relative major or minor.

  3. Listen for what the song ends on and where it feels at rest. The tonic is the chord that sounds finished. It isn’t necessarily the first chord, or the one you play most.

  4. A cluster of red in just one section? That section has probably changed key, so analyse it separately.

It works the other way too: one outside chord at the end can tip a short progression. The Picardy example above reads as A minor because six minor-key chords come before the major A. Paste just “Am Dm E7 A” into the Key Finder and it calls the key A major instead. So give it the whole section, not one bar. And if you’re still not sure where the tonic is, find it by ear first. How to find the key of a song by ear walks you through it.

Quick Reference: Outside Chords in G Major & A Minor

Here are the common outside chords in the two keys guitarists play in most, along with what the Key Finder calls each one. Tap a chord name to see its diagrams. For any other key, move every chord by the same distance, or let the Chord Transposer do it for you.

G major
CmivBorrowedG minor · Back to G
E♭♭VIBorrowedG minor · F, then G
F♭VIIBorrowedG minor / Mixolydian · C or G
B♭♭IIIBorrowedG minor · C or G
GmiBorrowedG minor · Anywhere — it is a mood swing
A / A7V/VSecondaryV of D · D
E / E7V/iiSecondaryV of Am · Am
B / B7V/viSecondaryV of Em · Em (or C, as a surprise)
F♯V/iiiSecondaryV of Bm · Bm
G♯dimvii°/iiSecondaryLeading tone of Am · Am
A minor
E / E7VHarmonic minorA harmonic minor · Am
G♯dimvii°Harmonic minorA harmonic minor · Am
D / D7 / D9IVBorrowedA Dorian · Am
AIBorrowedA major (Picardy third) · Nowhere — it is the ending
B♭♭IIBorrowedA Phrygian · Am, or down to E
B7V/vSecondaryV of Em / E · E or Em

The Key Finder counts the “Harmonic minor” rows as diatonic (neutral chips), while the “Borrowed” and “Secondary” rows show amber. Anything missing from both tables, like Fm in G major, comes up red.

Check Your Own Progression

Every chip on this page came straight out of the Key Finder, so you can run the exact same analysis on your own song. Paste or type the chords (G B C Cm is plenty) and it will:

  • ✓score all 24 major and minor keys and rank them by confidence, so you can see how close the runner-up is;
  • ✓put a roman numeral on every chord, including ♭VII, V/ii and iv, not just the diatonic seven;
  • ✓colour borrowed chords and secondary dominants amber and chromatic chords red, and count how many of your chords are strictly diatonic;
  • ✓open a chord diagram when you click any chord in the analysis.

If the chord you were stuck on comes up amber, it belongs, and the numeral tells you which of the four reasons explains it. If it comes up red, check the Circle of Fifths for a neighbouring key it might fit, then go back over the “wrong key” checklist above.

Analyse your progression in the Key Finder →