The Berkeley, California-based outfit, led by guitarist Lars Frederiksen, have penned a track called 'Never Say Die', which will be used as the Quakes' new official theme song.
Rancid are set to perform the anthem at San Jose's rebranding party on January 30 which will be highlighted by the unveiling of the clubs new club logo and kits.
Long-time Quakes fan Frederiksen said: "MLS is like punk rock. It's like the underdog.
"More importantly, the San Jose Earthquakes are the punkest team in all of the MLS. We are not LA (Galaxy) or New York (Red Bulls) where we've got a bunch of money and we want to bring a bunch of movie stars to our team. We are not like that.
"We are just being San Jose. And that's what punk rock is, it's about being who you are, it's about sticking to your guns and doing what you want to do. I think San Jose Earthquakes represent that to the fans.
"I think in a lot of ways we are the black sheep of the MLS."
For breaking stories and all the great banter like us on Facebook: facebook.com/tribalfootball