Songwriting

How to Write a Trap Song: BPM, 808s, Structure, and Flow

Trap is the dominant sound of the last decade. But it has rules — specific architectural choices that separate a hit from a loop with a rapper on top. Here is the full structural breakdown.

⏱ 9 min read · Songwriting · April 1, 2026

Trap music originated in Atlanta in the early 2000s — named after the trap houses where hustlers operated — and evolved into the most commercially dominant sound in hip-hop. From T.I. to Future to Travis Scott to the melodic wave pioneered by producers like Metro Boomin and Wheezy, trap has branched into a family of subgenres each with its own structural DNA.

If you want to write a trap song that actually sounds like trap — not a generic beat with some 808s — you need to understand the structural rules that define the genre: song architecture, BPM conventions, hi-hat patterns, 808 bass language, flow patterns, and how melodic trap diverged from hard trap.

This guide covers all of it. For context on how genre DNA works across all 30 genres, see our deep dive on what Genre DNA actually means.

The Foundation: What Defines Trap

Before you write a single bar, understand the four defining elements of trap production:

These four elements are non-negotiable. Remove any one of them and you are in a different genre.

Trap Song Structure: The Architecture

Hard trap and melodic trap share a similar song architecture, though melodic trap compresses the verse lengths and elevates the hook's role significantly.

Standard Trap Structure

One critical difference from older hip-hop: trap hooks often come first. Streaming algorithms favor front-loaded hooks because listeners skip within the first 30 seconds. If your hook is at the 90-second mark, you have already lost half your potential audience.

BPM and Tempo: Getting the Feel Right

Classic trap sits between 130–145 BPM, but the feel is slower because rappers and producers often operate on the half-time grid. A 140 BPM trap beat has a perceived feel of 70 BPM — giving space for slow, deliberate flow while the hi-hats create urgency above it.

Melodic trap has stretched into slower tempos — 120–130 BPM is common for introspective melodic records. Dark, aggressive trap pushes toward 145–155 BPM. Choose your tempo based on energy intent, not genre convention alone.

808 Bass: The Voice of Trap

The 808 in trap is not a bass guitar or a sub-kick. It is a melodic instrument with its own harmonic language. The 808 slides, sustains, and carries chord tones that define the emotional feel of the song.

Key 808 techniques:

For a trap song in the key of C minor, your 808 chord progression might be: Cm – Ab – Eb – Bb (i – VI – III – VII). This four-chord loop is the backbone of hundreds of trap records.

Hi-Hat Patterns: Programming the Energy

Trap hi-hats are not random. They follow patterns that create tension and release across the bar. Three foundational patterns:

The trap hi-hat pattern should breathe. A full bar of constant 1/32nd rolls gets exhausting. The best trap producers — Metro Boomin, Southside, Pi'erre Bourne — vary the density constantly, creating moments of intensity followed by moments of space.

Writing Trap Lyrics: Flow, Theme, and the Hook

Flow Patterns

Trap lyrics use three primary flow types:

Writing the Hook

The trap hook is the most important part of the song. It needs to be:

Chord Progressions for Trap

Trap chord progressions favor minor keys and simple, repeating loops. The most effective progressions are 2–4 chords that loop seamlessly:

Note that trap rarely uses major keys. When it does — typically in melodic or party-oriented records — it creates a deliberate contrast between the bright tonality and dark lyrical themes.

Hard Trap vs. Melodic Trap

The most important structural distinction in modern trap:

Element Hard Trap Melodic Trap
BPM138–150120–138
Hook styleRhythmic, chantedSung, melody-led
Verse length8–16 bars8–12 bars
Instrumental densitySparse, percussiveMelodic layers, strings, pads
Key referencesGucci Mane, 21 SavageTravis Scott, Lil Baby, Rod Wave

Common Mistakes in Trap Songwriting

Write a Trap Song in Seconds

SONIQ's Trap Genre DNA has the 808 patterns, triplet flow structures, and dark minor progressions built in. Generate complete trap lyrics, chord progressions, and a full production brief — in one click.

Try SONIQ Free →

Putting It All Together

A strong trap song is built on the intersection of rhythmic precision and emotional directness. The 808 carries the harmonic weight. The hi-hats create urgency. The hook states the theme plainly. The verses expand on it with flow and imagery.

Whether you are building hard trap or melodic trap, the structural rules are consistent: keep it minor, keep it sparse, front-load your hook, and let the 808 breathe. Everything else is style on top of structure.

For more on genre-specific structural rules, see our guide to hip-hop song structure across all subgenres and our breakdown of Genre DNA in music.