"God Only Knows" is a song written by Brian Wilson and Tony Asher for American rock band The Beach Boys, released in 1966 as the eighth track on the group's album Pet Sounds. It was also released as the B-side of "Wouldn't It Be Nice" in the United States. In other countries, "God Only Knows" was the single's A-side.