"Sandcastles in the Sand" is a song written by Craig Thomas and Carter Bays for the CBS television series How I Met Your Mother. The song was performed by Canadian actress Cobie Smulders in the role of Robin Scherbatsky, who has a secret past as a teenage Canadian pop star under the stage name Robin Sparkles. A follow-up to "Let's Go to the Mall" (2006), "Sandcastles in the Sand" was inspired by several 1980s pop ballads. The song was made available for streaming on April 15, 2008, before it appeared in an episode of the same name that aired on April 21. It was released as a single on April 23, and appeared on the soundtrack album How I Met Your Music (2012).
"Sandcastles in the Sand" is a breakup ballad song about teenage love. The music video was shot at Zuma Beach, California, featuring Tiffany, Alan Thicke, and James Van Der Beek as her love interest. Television and music critics praised the song's humor and compared it to "Let's Go to the Mall". It had sold 1,000 digital downloads in the United States as of August 2008, and the music video attracted more than 70,000 views online after 3 days of release. Smulders later reprised the role of Robin Sparkles in "Glitter" (2010) and "P.S. I Love You" (2013). Thicke and Van Der Beek also returned in multiple episodes.
Background and recording
Cobie Smulders played Robin Scherbatsky, a devoted broadcast journalist who moves from Canada for a job in New York, in the CBS television series How I Met Your Mother. In season 2's "Slap Bet" (2006), the character was revealed to have been a Canadian teen pop star under the stage name Robin Sparkles. That episode featured the song "Let's Go to the Mall", which had sold 4,000 digital downloads in the United States as of August 2008, while its music video received more than 300,000 viewers on MySpace and the CBS official website within the 10 days of its TV premiere. Smulders was pleased about the favorable reception towards the song, calling it "hilarious".
During the production of "Slap Bet", creators and executive producers Craig Thomas and Carter Bays had deliberated over the idea of bringing back Robin's musical past in a later season. Thomas revealed that the storyline would mention another song by her that "wasn't as big a hit". Bays said that they had to "somehow build on [the storyline] or find a new dimension to it," and that the song would be "the perfect way to see another side of [Sparkles]". Kourtney Kang, who wrote "Slap Bet", had been "pushing for another [Robin Sparkles episode]" and was excited when they got a chance to do it.
In March 2008, Thomas confirmed that there would be an episode featuring Robin Sparkles in season 3, with a B-side song to "Let's Go to the Mall". Titled "Sandcastles in the Sand", it was one of the three original songs written by Thomas and Bays for season 3, along with "Ted Mosby is a Jerk" and "You Just Got Slapped". They found the inspiration for "Sandcastles in the Sand" from several 1980s pop ballads, particularly Belinda Carlisle's "Circle in the Sand" (1988), Debbie Gibson's "Foolish Beat" (1988), and Martika's "Toy Soldiers" (1989). Smulders spent hours in the recording studio with Thomas, where she changed parts of the audio "bit by bit". Thomas noticed her voice became "raspy" at nine in the morning. John Swihart, one of the show's composers, advised her to eat a green apple to smoothen it. Thomas and Smulders were pleased with the recording session and the final results. Smulders improvised the line "I'm on the pill now!" and it was later added to the song. "The technology that these studios now have is pretty amazing. Anyone can go in and come out sounding OK, so I have that on my side," Smulders said.
In the episode, character Robin Scherbatsky reveals that "Sandcastles in the Sand" was a less-successful artistic follow-up to her minor hit "Let's Go To The Mall", with both songs released by Dominant Records on an album called Make It Sparkle. It was about her first boyfriend Simon, who led a rock band and had a collection of Hard Rock Cafe T-shirts. The couple met while making the music video for the song and broke up behind his van after spending a week and a half together.