At Rooster Walk, you can hang out in a hammock while listening to live music. (Roger Gupta)

Music festivals are almost always worth a trip. Whether they’re on farms in far-flung places or in the heart of crowded cities, these events are meant to draw people to one location for a day or weekend of reveling. But if you’re going to make a vacation out of a festival, you probably want more than just music while you’re there. Here are four festivals within a few hours of D.C. that offer plenty of music — and a little something extra.

Dominion Energy Riverrock
500 Tredegar St., Richmond; May 18-20, free.
The music is secondary at Richmond’s Dominion Energy Riverrock, which bills itself as the country’s “premier outdoor sports and music festival.” When you’re not watching roots rock from The Wood Brothers and Sister Sparrow & the Dirty Birds, you can participate in or watch racing, biking, climbing and paddling competitions around the James River waterfront.

Allegany County Fairgrounds, 11400 Moss Ave., Cumberland, Md.; academy: May 20-23, $425; festival: May 24-27, general admission: $210.50.
Organized and headlined by Del McCoury, the camping festival boasts a who’s who of bluegrass acts, including Bela Fleck, Rhiannon Giddens and more. For musicians, the main attraction may be the four days before the fest, when McCoury’s sons, Rob and Ron, host a music academy full of jam sessions and classes.

Rooster Walk
Pop’s Farm, 675 Hobson Road, Martinsville, Va.; May 24-27, general admission: $160.
Rooster Walk celebrates its 10th year with swamp rock band JJ Grey & Mofro, gospel rockers Robert Randolph and the Family Band and a special collaborative set between up-and-comers Billy Strings and Marcus King. Camping in the scenic woods of Pop’s Farm is as much of a draw: You can go hiking, biking and do other outdoor activities.

LEAF Festival
377 Lake Eden Road, Black Mountain, N.C.; May 10-13, general admission: $184.
The nonprofit LEAF Festival turns 46 this year and, beyond a diverse mix of jazz (Snarky Puppy), folk (Ani DiFranco), soul (The Suffers) and world music (Bokante), the event offers scenic camping near a lake and a program of “healing arts.” Expect more than 50 workshops on such topics as nutrition, yoga and dance; take a plant walk or get a massage and acupuncture.