Genre guide·8 sections

Ragtime

What Ragtime is, where it came from, how it sounds, and how to identify it.

GAGenre AI music team · Updated August 21, 2026

Ragtime is American piano music from roughly 1895 to 1918, built on a simple, devastating idea: a strictly regular march bass in the left hand under a persistently syncopated melody in the right. It was the first Black American music to become a national commercial phenomenon, it sold in the form of printed sheet music rather than recordings, and it is one of the direct ancestors of jazz.

This guide covers where ragtime came from, how the syncopation actually works, why it is composed rather than improvised, and which pieces to start with. To hear how a rag reads to a classifier, run a few seconds through our free AI music genre detector.

What Is Ragtime?

Ragtime is defined by a rhythmic collision. The left hand plays a steady oom-pah — bass note on the beat, chord on the offbeat — in a march-like 2/4. The right hand plays a melody whose accents deliberately fall between those beats. The tension between the two is the entire style, and the term "ragged time" describes exactly that.

Two things distinguish it from the jazz that followed. Ragtime is composed and notated, not improvised: the sheet music is the work, and performers were expected to play what was written. And it is formally strict, borrowing the multi-strain structure of the military march — typically AABBACCDD, with each sixteen-bar strain a self-contained melody and a key change at the trio.

Its natural instrument is the piano, though rags were arranged for banjo, brass band and orchestra from the beginning. Scott Joplin, its most important composer, printed a warning on his scores that has been ignored for over a century: "It is never right to play ragtime fast."

History & Origins

Ragtime came out of Black communities in the American Midwest and South in the 1890s, combining the syncopations of banjo music, cakewalk dances and minstrel-show repertoire with the harmony and form of European marches and dances. The 1893 World's Columbian Exposition in Chicago is often cited as the point where itinerant pianists spread the style nationally.

Scott Joplin is the central figure. Working in Sedalia and later St. Louis, Missouri, he published "Maple Leaf Rag" in 1899; it sold in the hundreds of thousands of copies over the following years and made ragtime a mass-market commodity. "The Entertainer" (1902) followed. Joplin's ambitions ran well past dance music — he wrote a ballet and two operas, and spent his last years attempting to stage Treemonisha, which was never properly performed in his lifetime.

Around him worked James Scott, Joseph Lamb — the rare white composer accepted into the first rank — Tom Turpin, Eubie Blake and, at the boundary with jazz, Jelly Roll Morton.

The commercial mechanism matters. In 1900 the American music industry was a sheet-music industry: songs sold as printed paper to be played at home on the family piano, supplemented by piano rolls for player pianos. Ragtime's success was measured in copies sold, which is also why its composers rarely got rich from performance.

By 1917 — the year Joplin died and the year the first jazz records were issued — the style was being displaced by jazz, which took ragtime's syncopation and added improvisation, blues inflection and a swing feel. Ragtime's own descendants continued: stride piano in Harlem through James P. Johnson and Fats Waller, and novelty piano in the 1920s.

The great revival came in the 1970s. Musicologist Joshua Rifkin's 1970 recordings of Joplin for Nonesuch sold unexpectedly well and treated the rags as concert music; three years later, Marvin Hamlisch's Joplin arrangements for the film The Sting (1973) put "The Entertainer" back into the American top three. Joplin received a posthumous Pulitzer Prize in 1976.

Key Characteristics & Sound

What identifies a ragtime piece:

  • Syncopated right hand: melodic accents falling between the beats, most often as a short–long–short figure across the bar.
  • March bass in the left hand: alternating bass note and chord, absolutely steady, no swing.
  • Metre: 2/4, occasionally 4/4 — a march feel rather than a dance-band feel.
  • Tempo: moderate, around 76–100 BPM in the notated march sense; Joplin explicitly warned against fast playing.
  • Multi-strain form: four sixteen-bar strains, typically AABBACCDD, with a key change at the trio.
  • Diatonic harmony with chromatic passing chords and diminished sevenths — European practice, not blues harmony.
  • No improvisation: the printed score is the piece.
  • Straight eighths, no swing — the single most common mistake in modern performances.

Where it sits among its relatives:

Ragtime compared with adjacent styles
TraitRagtimeEarly JazzStride PianoBlues
Period1895–19181917–19301919–19401900 onward
ImprovisationNoneCentralCentralCentral
Rhythm feelStraight, marchSwungSwungShuffle or straight
Left handSteady oom-pahBand supplies bassLeaping tenthsRepetitive figure
FormAABBACCDD strains32-bar and 12-barSong forms12-bar
Reference workMaple Leaf RagDippermouth BluesCarolina ShoutCross Road Blues

Instruments, Notation & Recording

Ragtime's technical context is unusual because most of it predates recorded sound as a mass medium:

  • Upright piano — the domestic instrument the entire industry was built around.
  • Printed sheet music as the primary product, with cover art and publishers as the era's record labels.
  • Piano rolls — perforated paper for player pianos, and the closest thing to a recording of a rag performance from the period. Some rolls were edited or hand-punched, so they are not always literal documents.
  • Banjo, brass band and orchestral arrangements — rags circulated well beyond the piano.
  • Acoustic recordings after 1900, mostly of band arrangements rather than solo piano, because early recording handled ensembles better than a lone upright.
  • Modern performance practice divided between the concert-hall approach — measured tempo, exact notation, following Rifkin — and the honky-tonk approach, fast and loose, which is how most people have heard it.

Related Styles & Descendants

The family around it:

  • Cakewalk — the syncopated dance form that immediately preceded and fed into ragtime.
  • Classic ragtime — the notated Missouri school of Joplin, Scott and Lamb.
  • Stride piano — the Harlem successor with a wider, leaping left hand and improvisation; James P. Johnson, Fats Waller.
  • Novelty piano — the fast, virtuosic 1920s commercial branch; Zez Confrey.
  • Ragtime song — the vocal Tin Pan Alley version that borrowed the name loosely.
  • Jazz — the direct descendant, which added improvisation, blues and swing.
  • Swing and bebop — the later jazz traditions that grew from that turn.

Key Composers & Pieces

Where to start:

  • Scott Joplin — "Maple Leaf Rag" (1899), "The Entertainer" (1902), "Solace" (1909).
  • James Scott — "Frog Legs Rag" (1906).
  • Joseph Lamb — "American Beauty Rag" (1913).
  • Tom Turpin — "Harlem Rag" (1897), the first published rag by a Black composer.
  • Eubie Blake — "Charleston Rag" (composed 1899).
  • Jelly Roll Morton — "King Porter Stomp" — ragtime turning into jazz.
  • Zez Confrey — "Kitten on the Keys" (1921) — the novelty branch.
  • Joshua RifkinPiano Rags by Scott Joplin (1970) — the recording that started the revival.
  • Marvin HamlischThe Sting soundtrack (1973).
  • Scott JoplinTreemonisha (1911), finally staged in 1972.

Three pieces for the arc: "Maple Leaf Rag" for the breakthrough, "Solace" for how much range Joplin had, "King Porter Stomp" for the moment ragtime became jazz.

How AI Detects Ragtime

Ragtime is one of the more distinctive things a classifier can encounter, for a specific reason: it is solo piano with an extremely regular bass pattern and an irregular melody on top. That produces a clear periodicity in the low register — alternating bass and chord, twice per bar, with almost no variation — against high-register onsets that consistently fall off the grid. Very little else in recorded music has that combination.

The complications are historical. Original-era recordings and piano rolls carry heavy noise, limited bandwidth and unstable pitch, which can dominate the analysis; and the boundary with early jazz and stride is genuinely blurry, since the difference is improvisation and swing feel rather than instrumentation. Expect jazz, classical and blues in the alternatives list. Test one in the Genre AI music genre detector.

What our detector hears

Testing this style in Genre AI ourselves, Ragtime behaves better than almost anything else from before 1920, because its structure survives bad audio: even through the hiss of an early recording, the alternating bass-chord figure gives a very strong beat-level periodicity, and the syncopated top line gives an equally strong off-grid onset pattern. The reading usually sits between Jazz and Classical, which is a fair description of a notated piano music with African-American rhythm. The one thing that consistently moves the answer is swing: a performance that swings the eighths — historically incorrect but very common — reads as jazz almost immediately, while a straight, measured performance holds on ragtime and classical.

Frequently Asked Questions

What is ragtime?

Ragtime is composed American piano music from roughly 1895 to 1918, built on a steady march-like bass in the left hand and a syncopated melody in the right. It is notated rather than improvised and organised into multi-strain forms borrowed from the military march.

What is the difference between ragtime and jazz?

Ragtime is written down and played as composed, with straight eighth notes and no swing. Jazz, which grew out of it after 1917, is built on improvisation, blues inflection and a swung rhythmic feel. The overlap is real: Jelly Roll Morton worked on both sides of the line.

Who was Scott Joplin?

The most important ragtime composer, working in Missouri from the 1890s. 'Maple Leaf Rag' (1899) sold in the hundreds of thousands as sheet music and made the genre a national phenomenon; 'The Entertainer' (1902) became its most famous piece after the film The Sting. He received a posthumous Pulitzer Prize in 1976.

How fast should ragtime be played?

Moderately — roughly 76–100 BPM in march time. Joplin printed instructions on his scores insisting that ragtime should never be played fast, a warning that has been widely ignored since the honky-tonk performance style became popular.

What is the structure of a rag?

Usually four sixteen-bar strains arranged as AABBACCDD, with a key change at the trio section — the same multi-strain form as a military march, which is where ragtime borrowed it from.

Why did ragtime become popular again in the 1970s?

Two things: Joshua Rifkin's 1970 Nonesuch recordings, which presented Joplin's rags as concert music and sold unexpectedly well, and Marvin Hamlisch's Joplin arrangements for The Sting (1973), which returned 'The Entertainer' to the American top three.

Sources

Identify the genre of any track in seconds

Try the free AI genre detector →
Ragtime Music: History, Sound & Key Composers — Genre AI