How to Write a Rap Song: Structure, Bars, Flow and Hooks

Abhinash KhatiwadaAbhinash Khatiwada
·
How to Write a Rap Song: Structure, Bars, Flow and Hooks — cover

To write a rap song, pick a beat first, count its bars, then write the hook before anything else so you know what the verses are building toward. Write verses in 16-bar blocks, keep your rhymes landing where the drums land, and say every line out loud over the beat — rap is written with the mouth, not the eye.

Key takeaways

  • The standard modern rap structure is intro, 16-bar verse, 8-bar hook, repeated twice, then a bridge or third verse and a final hook.
  • A bar is one measure of four beats. Counting bars while the beat plays is the single most important technical skill in written rap.
  • Write the hook first: it sets the subject, the energy and the tempo of every verse that follows.
  • Flow is where your syllables sit against the drums. Multisyllabic rhyme and internal rhyme are what separate an amateur verse from a professional one.
  • If you have no beat to write over, you can describe an instrumental in a prompt and generate one to practise against.

What is a rap song, structurally?

A rap song is a track built from rhythmic spoken verses over a looped instrumental, organised into bars and grouped into sections that repeat on a predictable schedule.

That predictability is not a limitation, it is the point. A listener who knows the hook is coming back after 16 bars is a listener who can anticipate, and anticipation is most of what makes music feel good. Written rap differs from freestyle in exactly one respect — you get to edit. If you want the improvised skill instead, how to freestyle rap covers that separately; everything below assumes you are writing and revising.

Rap song structure at a glance

SectionTypical lengthJob
Intro4–8 barsEstablish the beat and the mood; often ad-libs, a spoken line, or a stripped version of the hook
Verse 116 barsIntroduce the subject and your voice; strongest opening line in the song
Hook / chorus8 barsThe repeated, most memorable part; states the song's idea in the fewest words
Verse 216 barsEscalate — new angle, new detail, more technical, or more personal
Hook8 barsIdentical repeat; this is where the song becomes familiar
Bridge8 barsChange of texture: sung, half-time, beat drops out, or a switch in perspective
Verse 3 (optional)8–16 barsPayoff verse; often shorter and more intense than verses 1 and 2
Final hook / outro8–16 barsRepeat and fade, or one last variation on the hook line
Notebook page with sixteen numbered lines for a rap verse and bar counts in the margin
One written line equals one bar, so a 16-bar verse is sixteen lines on the page.

That whole arrangement typically runs about three minutes. Shorter is completely normal now — two-minute tracks with one verse and two hooks are everywhere in streaming-era rap. Longer, verse-heavy structures are the norm in boom bap and conscious rap, where three 16s and a short hook is still standard.

How many bars in a rap verse?

A bar is one measure of music — in rap, almost always four beats. A standard rap verse is 16 bars, a standard hook is 8 bars, and a bridge is usually 8.

Those numbers exist because beats are built in loops of four and eight bars, so sections that are multiples of eight lock cleanly to the instrumental. Break the pattern and the beat will tell you — you will hear your verse end in the middle of a loop.

Common variations worth knowing:

  • 8-bar verse: a feature verse, or a fast-moving pop-rap song where the hook does most of the work.
  • 12-bar verse: less common, but used when a writer wants a slightly clipped, restless feel.
  • 24 or 32 bars: a statement verse. Used when the writing itself is the event.
  • 16 with a 4-bar tail: the verse ends at 16 and four bars of ad-libs or a stripped line lead into the hook.

How to actually count bars

  1. Play the instrumental and count "one, two, three, four" along with the kick and snare. That is one bar.
  2. Count bars in groups of four on your fingers: 1-2-3-4, 2-2-3-4, 3-2-3-4, 4-2-3-4. That is four bars.
  3. Do it four times through and you have 16 bars — a verse.
  4. Listen for where the instrumental changes: a new element entering, a filter sweep, a drum fill. Those changes almost always land on bar 4, 8 or 16 and confirm your count.

On the page, one written line usually equals one bar. So a 16-bar verse is 16 lines. That is the simplest way to keep length under control before you ever open a mic. If you are not sure of the beat's tempo, tap it out with a BPM tap counter — knowing whether you are on a 88 BPM loop or a 140 BPM one changes how many syllables per bar you can comfortably fit.

How to pick a beat and a BPM

Write to a beat, not in silence. The beat decides your tempo, your pocket, your syllable budget and half of your mood before you write a word.

StyleTypical tempoFeelWhat it asks of the writer
Boom bapAround 85–95 BPMHard swung drums, dusty sampled loopsDense, wordy bars; rhyme technique is the main event
TrapAround 130–150 BPM (felt as half that)Rolling hi-hats, 808 slides, lots of spaceRepetition, melody, cadence; fewer ideas, better delivered
DrillAround 138–145 BPMSliding 808s, sparse, menacingClipped phrasing, heavy end rhymes, attitude over density
Lo-fi / jazz rapAround 80–95 BPMWarm keys, soft drums, relaxedConversational, observational, story-friendly
Melodic rapAround 120–160 BPMSung hooks over trap drumsHook has to work as a melody, not just a phrase

Pick the style before the subject if you are stuck — a boom bap loop will pull a different song out of you than a trap beat will, even on the same topic.

If you do not have an instrumental to write over, you can make one. In Neume you type a description of what you want — for example, "dusty 90 BPM boom bap instrumental, dusty vinyl drums, upright bass, muted trumpet sample, no vocals" — and get a full track back in about a minute. There are no tempo sliders or instrument menus; the description is the whole interface, so be specific in words instead. Put it on loop and write to it.

Write the hook first

A hook is the repeated 8-bar section that carries the song's central idea and its most memorable phrase. Writing it first is the biggest single upgrade most new rap writers can make.

Here is why: the hook fixes the subject, the energy level and the cadence. Once you have it, verse writing becomes a much simpler problem — every bar just has to justify the hook. Write verses first and you will usually end up with sixteen bars pointing in four directions and a hook glued on afterwards that fits none of them.

What a good rap hook does:

  • Uses far fewer words per bar than the verses — space is what makes it stick
  • Repeats one phrase at least twice, usually at the start or end of each pair of bars
  • Says the title of the song
  • Sits in a different rhythmic pocket than the verse, so the shift is audible

The craft behind that repeated phrase is covered in depth in how to write a hook. If you need a shortlist fast, a rap lyrics generator will produce hook options in seconds that you can cannibalise for the one line worth keeping.

Flow, pocket and cadence explained

Writer counting beats by hand while listening to an instrumental on headphones
Flow is physical: count the beat with your body before you count it on paper.

Flow is the rhythm of your words against the beat. Pocket is the feeling of sitting exactly where the drums want you. Cadence is one specific repeating rhythmic pattern within your flow.

Most beginners rap in one cadence for sixteen straight bars, which is why beginner verses feel flat even when the words are good. The fix is deliberate variation. Four techniques that work immediately:

  1. Change where the bar starts. Instead of starting every line on beat one, push some lines to start just after the beat, or pull them early so they run over the bar line. Two or three of these in a verse transform it.
  2. Change density. Write four dense, fast bars, then one bar with four words in it. The space hits harder than the speed.
  3. Switch cadence at bar 9. Halfway through a 16, change the rhythmic pattern entirely. Listeners feel this as the verse "opening up" even if they cannot name it.
  4. Use the snare as a target. Landing a stressed rhyme syllable right on the snare (usually beats two and four) is what makes a line feel locked in.

Test for pocket: record yourself on your phone over the beat and listen back. Anything that drifts ahead of or behind the drums will be obvious in playback and invisible while you are performing it.

Rhyme schemes and multisyllabic rhyme

A rhyme scheme is the pattern of which line endings rhyme with which. In rap the pattern extends inside the lines as well, which is where most of the technical interest lives.

Start with the basics — AABB couplets, ABAB alternation, and the way internal rhyme threads through both — which are laid out with examples in rhyme schemes explained. Then add the two techniques that define modern rap writing:

Multisyllabic rhyme matches two or more syllables at once rather than just the final sound. Instead of rhyming "line" with "time", you rhyme "trace the line" with "waste of mine" — three syllables of matched vowel sound. Written out, a useful way to build these is to take a phrase you want to keep, write its vowel sounds as a skeleton (ay-uh-eye), and then find another phrase with the same vowel skeleton. The consonants can be completely different; ears track vowels.

Internal rhyme places rhymes inside the bar as well as at the end of it. A bar with a rhyme on beat two and another on beat four feels twice as constructed as one that only rhymes at the end. Chained internal rhyme — where the middle of bar one rhymes with the start of bar two — is what makes a verse feel like it is pulling you forward.

The warning that applies to all of it: a rhyme that forces you to say something you do not mean has cost you more than it bought. Rewrite the earlier line instead.

Punchlines and wordplay that actually land

A punchline is a bar whose payoff arrives at the very end, usually through a double meaning. The setup does the work; the last two or three words collect.

  • Put the payoff last. If the clever word is in the middle of the bar, the listener processes it while you are already saying the next thing. Move it to the end and give it a beat of space.
  • Use one word with two meanings. The whole technique of a punchline is a word the listener understands one way in the setup and another way at the payoff.
  • Set up a picture, then break it. Two bars building a familiar image, one bar that turns it into something else.
  • Don't stack three in a row. Punchlines need room. A verse of nothing but punchlines reads as a list, not a verse.

Callbacks are the cheapest high-value trick available: repeat a small phrase from verse one in the last bar of verse two, slightly changed. Listeners love noticing things.

A worked 4-bar example

Handwritten rap bars with rhyming syllables underlined and linked by arrows
Marking up your own rhyme scheme is the fastest way to see where a verse is repeating itself.

Here is a four-bar section written from scratch for this article so you can see the techniques rather than read about them. The beat is imagined as a 90 BPM boom bap loop, subject: outgrowing your old neighbourhood.

  • Same block, new locks on the door I grew up behind
  • Same clock, tickin' off the hours that I used to find
  • Endless — now a Tuesday costs me more than rent
  • And the kid who wasted summers here is who I'm chasin' since

What is happening technically:

  1. Multisyllabic end rhyme. "grew up behind", "used to find", "chasin' since" — the matched sound is a two-syllable vowel shape, not a single word, which is why it feels fuller than a plain rhyme.
  2. Internal rhyme on beat one. "Same block" / "Same clock" sets a repeated anchor at the start of bars one and two, so the listener has something to hold.
  3. A run-on across the bar line. Bar two's sentence finishes with the first word of bar three ("Endless"), then stops dead. That break is the most interesting rhythmic moment in the four bars and it was created purely by moving a word.
  4. Density change. Bars one and two are wordy; bar three has a hard caesura after one word. The space makes bar four's longer line hit harder.
  5. Concrete over abstract. New locks, a clock, a Tuesday, rent. No "memories", no "pain", no "journey".

Write four bars like this, then three more sets of four, and you have a 16. Building a verse in 4-bar blocks is far easier than staring at sixteen empty lines.

Recording and delivery: getting the written bars to sound right

Writing and performing are different skills, and a great verse delivered flat is a bad song.

  • Memorise before you record. Reading from a page audibly changes your phrasing. Learn four bars at a time.
  • Double your hook. Record the hook twice and stack the takes. That thickness is most of why professional hooks sound bigger than verses.
  • Punch in. Record in 4- or 8-bar chunks rather than trying to nail a whole 16. Nobody does it in one take.
  • Add ad-libs last. Short echoes of the last word of a bar, thrown in the gaps. They fill space and raise energy at almost no cost.
  • Watch your plosives. Words starting with P and B pop the mic. Angle the mic slightly off-axis from your mouth, or use a pop filter.
  • Breathe on purpose. Mark your breath points in the written verse. If you have not left one for eight bars, you have a writing problem, not a lung problem.

If you are releasing the song, you will also want a name that is not already taken — the rap name generator is a quick way to brainstorm options.

How to draft rap lyrics with AI and rewrite them into your own

Two collaborators working on a rap verse in a bedroom studio
Performing a draft for one other person exposes weak bars instantly.

An AI lyrics generator is a sparring partner, not a ghostwriter. Its value is that reacting to a mediocre draft is much easier than starting from nothing, and that it will hand you rhyme families you would not have reached for.

Specific prompts produce usable material; vague ones produce filler. Five that work with the rap lyrics generator:

  • Structure prompt: "Write a 16-bar rap verse over a 90 BPM boom bap beat about outgrowing your old neighbourhood. One line per bar. Use multisyllabic end rhymes in couplets. Concrete images only — streets, doors, buses, weather. No words like journey, struggle or pain."
  • Hook prompt: "Give me eight different 8-bar rap hooks for a song called 'Same Block'. Each one must repeat the title twice and use no more than six words per bar. Vary the mood: proud, bitter, nostalgic, funny."
  • Rhyme-family prompt: "List 20 multisyllabic phrases that rhyme with 'grew up behind' — match the vowel sounds, not the spelling. Everyday language, no forced words."
  • Cadence prompt: "Rewrite this verse so bars 9 to 12 switch to a faster, more clipped cadence with more syllables per bar, then bars 13 to 16 slow back down. Keep the meaning and the rhyme scheme." (Paste your own verse.)
  • Punchline prompt: "Write ten two-bar setups and payoffs about moving out of your parents' house, where the last word of the second bar has a double meaning. Keep them clean."

Then make it yours:

  1. Keep two lines, bin the rest. A draft's job is to produce a couple of ideas worth stealing from yourself.
  2. Swap every generic detail for a real one. The actual bus route, the actual corner shop, the actual thing your brother said. This is the entire difference between a verse that sounds like rap and a verse that sounds like you.
  3. Break the regularity. AI drafts default to identical line lengths and perfect end rhymes. Shorten a bar. Run one sentence over a bar line. Let one rhyme go slant.
  4. Rewrite bar 16. The last bar before the hook is the one listeners remember; it is also the one a draft handles worst.
  5. Perform it over the beat before you accept it. If a bar fights your mouth at tempo, it is wrong regardless of how it reads.

You can also take the finished lyric straight into a full track — paste your words with a line describing the beat you want into the AI rap song generator and hear the arrangement, then rewrite anything that did not land. Commercial use is included in what you make.

Finish one 16 this week

The writers who improve fastest are the ones who finish. Pick a beat, count sixteen bars, write the hook, then build the verse in four blocks of four. It will not be your best song — the fourth one will be better and the tenth one will be the first you play for anyone.

If you want a beat to write over tonight, describe one and generate it, loop it, and start counting.

Frequently Asked Questions

Sixteen bars is the standard rap verse, and one written line usually equals one bar, so a verse is sixteen lines. Hooks are normally eight bars and bridges eight. Eight-bar verses are common for guest features and pop-leaning tracks, while 24 or 32 bars is a statement verse. Sections are almost always multiples of eight because instrumentals loop in four- and eight-bar blocks.

It depends on the sub-style. Boom bap sits around 85–95 BPM, lo-fi and jazz rap around 80–95, trap around 130–150 (felt as half that, so it sounds slow), and drill around 138–145. Melodic rap ranges widely. Pick the style first and the tempo follows. If you have an instrumental and do not know its tempo, tap it out with a BPM tap counter before you start writing.

Write the hook first. It locks in the subject, the energy and the cadence, which makes verse writing a much smaller problem — each bar only has to justify the hook. Writing verses first usually produces sixteen bars pointing in different directions and a hook bolted on afterwards that fits none of them. Keep the hook short: fewer words per bar than the verse, with one phrase repeated.

Freestyling and writing are separate skills and plenty of respected rappers only write. Loop a beat, count bars on your fingers, and build the verse in blocks of four lines rather than sixteen at once. Draft silently, then perform each block over the beat and fix whatever fights your mouth. Freestyling helps your flow, but it is not a prerequisite for writing a good verse.

A multisyllabic rhyme matches two or more syllables at once instead of just the final sound — rhyming a whole phrase against another phrase with the same vowel pattern. Ears track vowel sounds, not spelling, so the consonants can differ completely. A practical method: write the vowel skeleton of the phrase you want to keep, then find another everyday phrase with the same skeleton.

AI can produce a complete draft in seconds, and a full track with vocals in about a minute, but a draft is raw material. The useful workflow is to generate, keep the two or three lines that actually moved you, replace every generic detail with something from your own life, break the too-regular line lengths, and rewrite the last bar of each section. The prompt you write matters more than the tool.

Most modern rap tracks run roughly two to three and a half minutes. A standard build — intro, 16-bar verse, 8-bar hook, 16-bar verse, hook, bridge, final hook — lands around three minutes. Streaming-era tracks are often shorter, with one verse and two hooks in under two minutes. Verse-heavy boom bap and conscious rap still commonly use three sixteens and a short hook.

Need a beat to write over?

Describe the instrumental you want in one line and Neume builds it in about a minute, or paste in your finished bars and hear the whole track. Your first song is free and you own what you make.