Music Theory7 min read

How to Write Catchy Melodies: 5 Rules That Work

How to write catchy melodies: repetition with one change, rhythm before pitch, the 2-bar motif rule, question and answer phrasing, and range discipline.

To write a catchy melody, write a short 2-bar motif, repeat it, and change exactly one thing on the repeat. Catchiness is not a gift; it is a structure: repetition makes a melody familiar, and the single change keeps it from getting boring. Add question-and-answer phrasing, design the rhythm before you pick the pitches, and keep the whole melody inside about an octave. Those five rules cover most hooks on the radio.

Rule 1: Repetition with one change

The human brain flags a pattern as a hook when it can predict it, then gets a small surprise. So repeat your phrase almost exactly. Play a 2-bar idea, then play it again with one edit: the last note lands a third higher, one rhythm doubles up, or one note drops out. One change, not three. If you change everything on the repeat, the listener never learns the phrase, and a phrase nobody learns cannot be catchy.

Test yourself on any hook you love: hum it, and count how much of it is literal repetition. Usually 70 to 80 percent. This is also why "keep it interesting" is bad melody advice: interest comes from the one deviation inside a familiar frame, not from constant novelty. Novelty without repetition is just information, and information is not a hook.

Rule 2: Rhythm before pitch

Most producers write melodies by hunting for pitches, but the rhythm is what people remember first. Try this: mute your instrument, tap a 2-bar rhythm you like, and record it as a single repeated note in the piano roll. Only then move the notes to different pitches. A great rhythm with average pitches beats average rhythm with clever pitches every time. This is also the fastest fix for a melody that feels flat: keep the notes, rewrite the rhythm.

Rule 3: The 2-bar motif rule

Here is the rule of thumb worth writing on your studio wall: a catchy melody is a 2-bar idea, stated four times, with small changes. Two bars is short enough to memorize on first listen and long enough to have a shape. Build an 8-bar melody as motif, motif with one change, motif, then a different ending that resolves. Long, winding 8-bar through-composed melodies can be beautiful, but they are almost never catchy.

Rule 4: Question and answer

Strong melodies talk in pairs. The first phrase ends somewhere unstable, like the 2nd or 5th degree of the scale, and feels like a question. The second phrase ends on a stable tone, usually the root or 3rd, and feels like the answer. In A minor, a phrase ending on B or E asks; a phrase ending on A or C answers. If your melody feels like it wanders, check the phrase endings first: most wandering melodies are all questions and no answers, or the reverse.

Rule 5: Range discipline

Keep the melody inside one octave, and spend most of its time inside a sixth. Singable range is memorable range, even for instrumental music, because listeners internally hum what they hear. Save the widest leap in the melody for one moment, usually the start of the answer phrase or the final hook note, so it reads as an event instead of noise. A melody that leaps constantly has no leaps at all, in the listener's ear.

A workflow that uses all five

  • Loop your chords and tap a rhythm for 2 bars (rule 2).
  • Assign pitches from the chord tones, staying inside a sixth (rule 5).
  • End the phrase on an unstable note (rule 4, the question).
  • Repeat it with one change, then answer it on a stable note (rules 1 and 3).
  • Walk away for an hour, come back, and hum it from memory. Whatever you cannot remember, the listener will not either: cut it or simplify it.

If nothing good comes out in 20 minutes, stop grinding the same loop. Blank-page paralysis has its own fixes: see how to beat writer's block in music production.

Study melodies you did not write

The fastest way to internalize these rules is to drag someone else's great melody into the piano roll and look at it: count the repetitions, find the one change, mark the question and answer endings. FFUNK melodies are written by composers with Gold and Platinum records, so they are worth dissecting as much as using, and every file can be auditioned in the browser before you download it. Rules are a map, not the territory: you still need reps. Start the 7-day free trial (card required, cancel anytime) and study as many as you like, or open a free account for 5 credits a month.

Get 5 free MIDI credits every month

Create a free account and download composer-written chords and melodies, in your key, every month. No subscription needed.

Create free account

Fresh from the catalog

Try FFUNK free

5 free credits every month.

Start sketching in-key progressions today. Keep every file you download. Go monthly when you want more.

Try now5 free credits every month