Swing, in music, both the rhythmic impetus of jazz music and a specific jazz idiom prominent between about 1935 and the mid-1940s, years sometimes called the swing era. Swing music has a compelling momentum that results from musicians’ attacks and accenting in relation to fixed beats.