Miranda Lambert is longing for life in the wild West in "If I Was a Cowboy": "If I was a cowboy, I'd be wild and free / Rollin' around these towns like tumbleweeds ... If I was a cowboy, I'd be the queen," she sings in the chorus.

Lambert co-wrote "If I Was a Cowboy" with Jesse Frasure, after the two met while creating a remix of her song "Tequila Does." (As a DJ, Frasure — also a well-known songwriter — goes by Telemitry.) Below, she shares the story behind the song, in her own words.

I wrote this song with my new-found friend Jesse Frasure. It was our first write together, actually, and we had a blast. We went out to the West in our heads, and I had to use all my favorite little quirky cowgirl terms — like "hairpin trigger," for instance — so I'm really, really excited about this song. It makes me bring out my inner cowgirl ...

Get our free mobile app

You know, it's funny: He's a Detroit boy, and I'm an East Texan, but somehow we wrote a song about the wild West together, so it's pretty cool.

Top Country Songs of 2021, Ranked

You'll find much more than just the Top 10 Country Songs of 2021 on this list.

Our team has sourced fans to create 10 superlatives for this mid-year version of the year-end songs list. Best Country Tearjerker? Best Country Baby-Maker? Best Country Breakup Song of 2021? Keith Urban, Carly Pearce, Chris Bandi and more help make up this portion of the Top Country Songs list, while hitmakers like Thomas Rhett and Little Big Town lead the 10 best songs portion.

Did your favorite song of 2021 make this list? To be considered, the song must have been released in 2021 or have actively charted for a portion of the year (see "Wine, Beer, Whiskey"). New artists including Lainey Wilson, Breland and Triston Marez crack the Top 10. Let us know your favorite song of 2021 at Twitter or email, at staff@tasteofcountry.com.