Back to blog

How to Write a Rap: A Beginner Guide With Examples

Learn how to write a rap in 7 steps: bars, hooks, rhyme schemes and flow, with a fully marked-up example verse and a fast way to hear your lyrics rapped.

By AiRap.me Team·Updated Nov 1, 2026

A notebook of handwritten rap lyrics next to headphones and a phone playing a beat

Most people who want to learn how to write a rap already have the hard part: something to say. What they are missing is the frame. Where the rhymes go. How long a line can be. Why a verse is 16 bars.

This guide gives you that frame in seven steps, then shows a full example verse with every rhyme marked, so you can see how to write rap lyrics instead of just reading tips about it. At the end, you can hear a verse performed by turning one photo into a video with the AI rap generator.

Time needed
30–60 minutes
First goal
1 verse + 1 hook
Verse length
16 bars
You need
A beat + a notebook

What a rap is made of

Before writing a single line, learn four words. Every rap song is built from them.

PartWhat it isTypical length
BarOne measure of the beat: four beats in almost every rap song. One line of lyrics usually fills one bar1 line
VerseThe section that tells the story or makes the point. It changes every time16 bars
Hook (chorus)The short, catchy part that repeats between verses4–8 bars
Rhyme schemeThe pattern of which lines rhyme with which, such as AABBWhole verse

A 16-bar verse is the standard, not a rule. Plenty of famous verses are 12, 24 or 32 bars.

A typical song runs hook, verse, hook, verse, hook. For your first rap, one verse and one hook is a finished song you can perform.

How to write a rap in 7 steps

1

Pick one topic, then make it specific

"Money" is a topic. "Paying rent with coins from a jar on the 31st" is a rap. Write your topic in one sentence, then list five details only you would know: names, places, times, objects. Those details turn into your best lines.

2

Choose a beat and count the bars

Pick an instrumental before you write, because the tempo decides how many words fit in a line. Boom bap beats usually sit around 85–95 BPM and leave room for more words. Trap beats are often 130–150 BPM but feel half as fast, with space for short, punchy lines.

Play the beat and count "1, 2, 3, 4" along with it. Each count of four is one bar. In most rap the snare hits on 2 and 4, and the rhyme at the end of a line tends to land near the 4.

Diagram of one rap bar with four beats and the lyric syllables landing on each beat
Illustration: one bar is four beats. The stressed syllables sit on the beats, and the rhyme lands near beat 4.
3

Write the hook first

The hook is what people remember, so it should say your topic in the fewest words possible. Repeat a phrase. Keep it to 4 lines. If you can't sing it after hearing it once, it's too complicated.

4

Set a rhyme scheme

Beginners do best with AABB: lines 1 and 2 rhyme, lines 3 and 4 rhyme. Once that feels easy, try ABAB (alternating), or stack a run of four lines on the same sound for a big moment. Write the rhyming end words down the right side of the page first, then fill in each line.

5

Write the verse with your details

Spend your 16 bars on the five details from Step 1. A useful shape: bars 1–4 set the scene, bars 5–12 tell what happened, bars 13–16 land the point. Show, don't announce: "my phone at 2 percent, still waiting on a text" says more than "I was lonely".

6

Put a punchline at the end of each section

A punchline is a line that twists what came before it: a joke, a double meaning or a surprising image. Save the strongest one for bar 16. Listeners remember the last thing they heard.

7

Read it out loud and fix the flow

Rap it over the beat, out loud, at full speed. Any line where you run out of breath or rush the words is too long. Cut words until it fits. Filler like "really", "just" and "yeah, you know" is the first thing to go.

Rhyme types every rapper uses

You don't need perfect rhymes. Rap leans on sound, and these four kinds of rhyme do most of the work:

TypeWhat it meansExample
Perfect rhymeThe end sounds match exactlylate / plate / straight
Slant (near) rhymeThe vowels match, the consonants don't quitehome / phone / alone / road
Multisyllabic rhymeTwo or more syllables rhyme in a rowcold coffee / old hoodie
Internal rhymeRhymes inside the line, not only at the endI came late, ate plate after plate

Slant rhymes are the norm in rap, not a cheat. The beat and your delivery cover the gap.

Stuck on an end word? Say the vowel sound out loud ("oh") and run through the alphabet: bone, cone, done… no, loan, moan, phone. It's slower than a rhyming dictionary, but it trains your ear.

How to write a rap verse: a full example

Here's an 8-bar section about Monday mornings, written for this guide. The bold words are the end rhymes, and the letters show the rhyme scheme.

Rap lyrics in a notebook with rhyming syllables highlighted in matching colors
Illustration: marking rhymes with matching colors shows the scheme at a glance.

Alarm on blast, it's a quarter to eight (A) Cold coffee in my hand and I'm already late (A) Bus pulled off, I just watched it go (B) Ran half a mile in my old hoodie, slow (B) Boss on the phone like "where you at?" (C) Said "traffic," but we both know that (C) Monday got me beat, but the weekend's on its way (D) Five more days, then I sleep in all day (D)

What's going on in there:

  • AABB all the way through, so each pair is easy to follow.
  • Cold coffee / old hoodie (lines 2 and 4) is a multisyllabic rhyme hiding in the middle of the lines.
  • Late / eight is perfect. Go / slow too. At / that is short on purpose, to speed up the middle.
  • The punchline is the last pair: the verse turns from complaining into a joke.
  • Every line has a concrete detail: a time, a bus, a hoodie, a phone call.

Copy the structure, swap the topic, and you have your first verse.

Beginner mistakes to skip

  • Forcing a rhyme. If the only word that rhymes makes no sense, rewrite the line, not the meaning.
  • Lines that are too long. If you can't rap it in one breath over one bar, split it.
  • Being vague. "I'm the best, I'm on top" has been written a million times.
  • Writing without a beat. Lyrics that read well on paper often don't fit any tempo.
  • Never finishing. Sixteen bars that are done beat 40 bars that are "almost there".

Stuck? Use AI for a first draft

Blank page and no ideas? The rap lyrics generator writes a 16-bar verse, or a hook plus a verse, from a topic you type. You pick one of eight rap styles and a mood (hype, funny, confident or sad), and add names or jokes you want in the lines. It's free: 10 runs a day without an account, or 20 when signed in.

Treat the AI's verse as a starting point, not the finished song. It doesn't know your inside jokes or how you talk. The best results come from keeping the structure and rhyme scheme, then rewriting half the lines with your own details.

Need a stage name to go with the lyrics? The rap name generator makes one from your name and a vibe.

Hear a verse rapped from one photo

Writing is easier when you can hear what a finished rap sounds like. On AiRap.me you upload one photo, choose a rap style, and the person in the photo performs an original verse with a beat and lip sync.

Rap lyrics on paper next to a phone showing a vertical AI rap video
Illustration: from a notebook to a short rap video on a phone.

The video writes its own verse based on the theme you pick (freestyle, birthday, roast, hype or love). You can't paste your own lyrics into the video yet. Use it to hear the flow of a style, or post your written lyrics as the caption under the video.

Videos start at 14 credits for 6 seconds at 768P. Every setting and price is on the pricing page, and the full walkthrough is in our step-by-step guide to AI rap videos.

Where to take it next

  • Write a rap for someone: our birthday rap guide has three fill-in verses.
  • Write a second verse on the same beat, then rap both with the hook in between.
  • Or go straight to the AI rap generator and hear what a verse sounds like in each style.

References

  • Rapping, Wikipedia (flow, rhyme and delivery)
  • Bar (music), Wikipedia
  • Hook (music), Wikipedia
  • Rhyme, Wikipedia (perfect, slant and internal rhyme)
  • Slant rhyme, Merriam-Webster
  • Paul Edwards, How to Rap: The Art and Science of the Hip-Hop MC (Chicago Review Press, 2009)

Make your AI rap video now

Upload one photo and get your rap video in about 20–30 seconds.

Try Free

Quick answers

01

How long should my first rap be?

Aim for one 16-bar verse and a 4 to 8 bar hook. That is about 90 seconds of music at a normal tempo, which is plenty for a first song. A full track usually has two or three verses with the hook between them.

02

Does every line in a rap have to rhyme?

No. Most raps rhyme the last word of each pair of lines, but near rhymes, internal rhymes and the occasional unrhymed line are all normal. A line that says something real beats a forced rhyme every time.

03

Where do I find a beat to write to?

Search YouTube for "free type beat" plus a style, such as "boom bap type beat" or "trap type beat". Read the description first: many producers allow free non-commercial use only if you credit them.

04

How do I actually rap the lyrics I wrote?

Start slow. Clap or tap the beat, speak each line so the stressed syllables land on the beats, then raise the speed. Recording yourself on your phone and listening back is the fastest way to spot lines that are too crowded.

05

Is there a free way to write rap lyrics with AI?

Yes. The AiRap.me rap lyrics generator is free: 10 runs a day without an account, or 20 a day when signed in, with no credits or card needed.

06

Can I use AI-written rap lyrics as my own?

You can use and edit the lyrics the AiRap.me generator writes for you. Treat them as a first draft: change the lines into your own words and details, so the rap sounds like you and not like everyone else who asked for the same topic.