"By the Way" is a song by American funk rock band Red Hot Chili Peppers. It is the title track and the first single released from the band's eighth studio album of the same name. The song was the band's sixth #1 hit on the Modern Rock Tracks chart, staying at the summit for 14 weeks, tying it with "Dani California" as the band's second longest stay at the top, behind only "Scar Tissue", which was at the top for 16 weeks. It also spent 7 weeks at #1 on the Mainstream Rock Tracks chart, their fourth song to top this chart.