A hook is the four bars a listener can sing back after one play. That definition is worth keeping in front of you while you write, because it rules out most of what gets called a hook: the clever chord change nobody can hum, the production moment that only works in the mix, the melody that needs three listens to reveal itself. If it doesn't survive one pass and a bad memory, it isn't a hook yet.
The good news is that hooks are built more than found, and the construction method is visible all over Max Martin's catalog.

Start with rhythm, not pitch
The most durable part of a hook is its rhythm. "...Baby One More Time" is recognizable from its rhythmic pattern alone, tapped on a table, no pitches at all. Martin's hooks tend to lock onto a syncopated figure that anticipates the downbeat, which creates forward pull even when the notes barely move.
So build in that order. Speak or tap the phrase until the rhythm is compulsive on its own, then hang pitches on it. If you start with pitches, you'll write something pretty; pretty is not the job. The rhythm and metrical patterns post covers the underlying figures, including the pop clave that shows up under an unreasonable number of hits.
Keep the intervals small, spend the leap once
Hook melodies live in stepwise motion and small intervals, because small intervals are singable by people in cars. A hook usually gets one leap, and the leap is the event: leap up, land, walk back down by step. That leap-and-land shape is one of the most common contours in the chart canon, and we broke it down in the sticky melodies guide.
Blinding Lights
The Weeknd
The chorus hook covers a narrow range and moves mostly by step, but the melody's emotional arc comes from where it sits against the chords and the one place it reaches upward. Strip the synths away and the hook still works sung a cappella, which is the test every Martin-school hook passes.
One surprise per hook
A hook needs exactly one moment of wrongness: a note from outside the expected scale, a rest where a note should be, a phrase that ends one beat early. The rest of the hook should be almost boringly predictable, because predictability is what lets the surprise register. Hooks with three clever moments have zero hooks in them.
This is the repetition-variation balance in miniature, roughly 70% familiar to 30% surprising, and it's the same ratio that governs repetition across a whole song.
Fast diagnostic: play your hook for someone once, wait ten minutes, and ask them to sing any part of it. Whatever they sing back is the actual hook. Keep that part, rebuild the rest around it.
Place it where memory forms
Hook placement beats hook quality more often than writers like to admit. The same phrase lands differently at bar one of the chorus than buried at bar five, because first and last positions are where memory forms. Martin front-loads: the chorus usually opens with the title phrase on the hook melody, so the listener's attention peak and the song's best material coincide.
Phrase structure does the rest. AAAB gives you three chances to teach the hook and one to make it interesting, which is why it's all over the 8-bar melody rule territory: short phrases, repeated with intention, varied just enough to stay fresh.
Test it like a professional
Working writers don't trust their own ears on day one, because familiarity fakes stickiness. The tests that survive contact: sing it a cappella (does it work without the track), sing it at half volume in a bad mood (does it work without performance energy), and the ten-minute recall test above. A hook that passes all three is finished; stop polishing it.
Hooks are one layer of the system. The Melodic Math ebook connects them to the sections around them: how verses withhold so hooks can spend, how pre-choruses build the ramp, where the money note goes and why. It's nearly 100 pages, built from fifteen number-one hit breakdowns, and it costs less than a plugin you'd use twice.