How to write a rap song: a step-by-step guide
To write a rap song, pick a concept and a beat, write the hook first, then build verses of about 16 bars, with each line filling one bar of the beat. As you write, focus on three things: what you’re saying, how the rhymes connect, and how the words ride the rhythm (your flow). Rap it out loud the whole time, then record a rough take and fix whatever trips.
This works for boom bap, trap, drill, melodic rap and the rap verses on pop and R&B songs. It covers the basics, plus how to use AI as a starting point without losing your voice.
Step 1: Pick a concept
A concept is what the song is about, in one sentence. Strong rap songs usually have one:
- A story: the night everything changed outside the corner store.
- A statement: I made it without anyone’s help.
- A feeling: the paranoia that shows up once the money does.
- A theme to play with: time, as in clocks, overtime, doing time, running out of time.
Write the concept at the top of the page. When a bar doesn’t serve it, cut the bar.
The best concepts come from your own life. Specific details, like the street, the car or the exact words someone said, make a verse believable in a way generic flexing can’t.
Step 2: Choose the beat
The beat sets the mood and the pace. A slow, dark trap beat suggests a different song than a bright, bouncy one. Listen a few times and ask: what does this make me feel, and what would I say over it?
Notice the tempo too. Many trap beats feel half-time, so you can rap in a relaxed pocket or switch to quick triplet flows. A boom bap beat in the 85 to 95 BPM range suits a steadier, wordier delivery.
Step 3: Understand bars
In most hip-hop, a bar is four beats. Count along, 1, 2, 3, 4, with the snare usually landing on 2 and 4. One bar roughly equals one line of lyrics.
Common lengths:
- Verse: 16 bars, sometimes 8, 12 or 24.
- Hook: 8 bars, often a 4-bar phrase repeated.
- Intro or outro: 4 to 8 bars.
Knowing this lets you plan the song before you write it. A typical layout is intro, hook, verse 1 (16 bars), hook, verse 2 (16 bars), hook, outro.
Step 4: Write the hook first
The hook is what people remember. Write it before the verses so every verse has a target to lead back into.
Keep it short, repeat it and make it easy to say along with. A hook can be rapped, chanted or sung, and it often uses a simpler rhythm than the verses so it stands out.
Here’s an original hook about grinding without help:
Nobody gave me nothing, I took it Every door that they closed, I just shook it Late nights, no sleep, I’m still booking Nobody gave me nothing, I took it
Step 5: Write the verses
Now fill your 16 bars. A few practical rules:
- Start strong. The first two bars set the tone. Don’t warm up; open with an image or a punchline.
- Keep moving. Each four-bar section should add something: a new detail, a turn or a punchline.
- End lines on strong words. The last word of a bar carries the most weight. Nouns and verbs land harder than “it” or “the”.
- Save your best bars for last. Bars 15 and 16 lead back into the hook, so finish on something that hits.
Here are some opening bars in that style:
Mama worked doubles, I was home with the keys Learned to cook rice before I learned my ABCs Now the same hands counting what the work brought me Still don’t sleep ’cause the past still haunts me
Step 6: Build your rhymes
Rap rhyming goes well beyond end rhymes:
- End rhymes close the bars: keys and ABCs.
- Multisyllabic rhymes match several syllables: brought me and haunts me.
- Internal rhymes land inside a bar: cold night, hold tight, flow right.
- Slant rhymes match the vowel without a perfect ending, which gives you far more options.
Chain one rhyme sound across several bars to build momentum, then switch to a new sound to keep it fresh. When an ending is stuck, a rhyme finder that shows multis with syllable counts saves a lot of time. For daily habits that make you quicker, see how to make rhymes faster.
Step 7: Work on your flow
Flow is how your words sit on the beat: where you start, where you pause, how many syllables you fit in, and which ones you stress.
- Count syllables. Bars with very different syllable counts feel uneven unless you’re doing it on purpose. A syllable counter helps you spot the outliers.
- Find the pocket. Rap a bar several ways: on the beat, slightly behind it, in triplets. Keep the version that feels natural.
- Use pauses. Space is part of flow. A beat of silence before a punchline makes it hit harder.
- Switch it up. Changing the flow partway through a verse keeps attention.
If words aren’t coming, mumble the rhythm first. Then fill in words that match the sounds you made.
Step 8: Use AI as a starting point
AI lyric tools can help when you’re stuck. Give one a topic, mood and style, such as “dark trap, about trust issues, first person”, and it will return lines you can react to. Some ways to use it well:
- Take the image, leave the line. If AI gives you “smoke in the mirror”, keep the image and write the bar yourself.
- Add your life. Replace generic words with your own names, places and slang.
- Keep the tone consistent. AI lines often sound polished and neutral. Make them match the rest of your verse so nothing sticks out.
- Let it seed the hook. Generate ten options, pick the one with the best rhythm and rewrite it until it’s yours.
Your voice is the point of the song. We go deeper on this in how AI can help songwriters.
Step 9: Record a rough take and edit
Rap the whole song over the beat and record it, even if it’s just on your phone. Listen back and note:
- where you run out of breath,
- where a bar feels crowded or empty,
- where your own attention drifts.
Cut the weak bars, swap stiff words for ones that roll off the tongue, and record again. Most verses get noticeably better on the third or fourth take.
Common mistakes
- Writing without the beat playing. You end up with bars that look good and don’t fit.
- Rhyming for the sake of it. A clever rhyme that says nothing is filler. Meaning first, then sound.
- Every bar the same rhythm. Vary length and pace so the verse breathes.
- No hook. A verse with nothing to come back to feels like a freestyle rather than a song.
Write and record rap in one place
Lyric Studio is a free iPhone and iPad app built around this process: a lyric notepad, a rhyme finder for perfect, slant and multisyllabic rhymes with syllable counts, AI lyric suggestions, an AI beat generator and a library of 100+ beats, and a recorder to lay your verse over the beat.
Frequently asked questions
How many bars is a rap verse?
The most common verse length is 16 bars, with hooks usually around 8 bars. Many modern songs use shorter 8- or 12-bar verses, so let the song decide.
How do you write a rap verse as a beginner?
Loop a beat, count four beats per bar and write one line per bar. Start with a clear topic, end lines on words that rhyme, and rap it out loud as you go to check the flow.
What makes a good rap hook?
A good hook is short, repeated and easy to chant or sing, and it says the song's main idea. It often uses a different rhythm from the verses so it stands out.
Can AI help me write rap lyrics?
AI can suggest lines, rhymes and topic ideas when you're stuck. Use it as a starting point, then rewrite every line with your own details and slang, because your perspective is what makes a verse land.