Randy Newman‘s “You’ve Got a Friend in Me” turned thirty this year, and if you needed proof that this song still has legs, you got it earlier this month. At the Toy Story 5 premiere in Hollywood, Taylor Swift debuted “I Knew It, I Knew You,” the song she wrote with Jack Antonoff for the new film, then a second screen lifted to reveal Randy Newman at a piano, playing that familiar intro. The two of them sang “You’ve Got a Friend in Me” together while Tom Hanks signed Swift’s original VHS copy of the first movie somewhere in the building. Newman is 82 now. He was 51 when the song was released.
Swift’s new song was a monster on country radio in its first week, before the film had even opened on June 19. Which sounds like a lot until you remember that Pixar songs doing big numbers is basically tradition at this point. Newman finally won his first Oscar for “If I Didn’t Have You” from Monsters, Inc., then a second for “We Belong Together” from Toy Story 3. “Remember Me” from Coco took the award in 2018. Chris Stapleton sang on Toy Story 4. These movies have quietly been one of the most reliable hit-song machines in Hollywood for three decades, and the song that started it all lost its Oscar to “Colors of the Wind.” Go figure.
You can check out Associated Press’ brief report of the event in the embedded player below.
Why “You’ve Got a Friend in Me” Was Built Old on Purpose
“You’ve Got a Friend in Me” was written for the most technologically advanced film of 1995, the first fully computer-animated feature ever made, and it sounds like it came out of a saloon in 1935. It helped keep the film grounded. Composing for movies is the Newman family business – his uncle Alfred ran the music department at 20th Century Fox and won nine Oscars – and Randy understood that a story about loyalty to an old toy needed music that felt like an old toy. The bouncy left-hand piano, the swung rhythm, the whole warm and slightly dusty feel of it.
The Official Easy Piano sheet music on MuseScore sits in D major at 110 bpm. You don’t need a theory degree to play this one, but two spots are interesting. The first shows up in measure 3, on the second “You’ve got a friend in me.” The harmony moves from G to G#dim and back home to D. That G#dim is a diminished chord, the crunchy little passing chord that ragtime and stride players have been sliding between chords for over a century. It only lasts a beat, but it’s the single most old-fashioned sound in the song. Play G straight to D, and the tune still works; add the G#dim, and suddenly you’re in black-and-white. If you’ve never played a diminished chord before, this is about the friendliest introduction you’ll ever get.
The second is the F#7 under “when the road looks rough ahead.” That chord isn’t in the key of D – it’s a secondary dominant, and its job is to pull the music toward B minor. Notice where it happens: the road gets rough, and the harmony dips into minor right on cue. Then the old pal’s reassurance shows up, and we’re back in sunny D major. Randy Newman spent his whole career writing for characters, and even in a two-minute kids’ song, the chords are acting out the lyrics.
There’s one more oddball in the bridge. “Some other folks might be a little bit smarter than I am” lands on a C# major chord, which flat-out does not belong in this key. The melody breaks into triplets at the same moment, so everything wobbles right when Woody starts doubting himself, then settles back down as if nothing had happened.
A Two-Minute Lesson in Swing: Learning “You’ve Got a Friend in Me”
At 38 measures and under two minutes, this arrangement is a genuinely smart pick for a developing player. The melody is simple enough that you already know it cold, which frees you up to focus on the feel. That “easy shuffle, swing” marking at the top means the eighth notes aren’t played straight; they lope along in that long-short bounce. If you’ve only ever played straight eighths, this tune will teach you swing faster than any exercise book, because your ear already knows exactly how it’s supposed to sound.
The staying power of this song is incredible, probably owing to its timeless feel. It’s been covered by Lyle Lovett, sung by Robert Goulet through a toy penguin, turned into flamenco by the Gipsy Kings, and duetted by the biggest pop star on the planet at a premiere thirty years after it was written. Newman, for his part, took Swift’s lavish praise in stride that night. “Thank you for the kind words,” he told her. “I deserve them,” before adding, “Alright, I don’t deserve them”
He does. But the new stuff that’s in Toy Story 5 has a tall order in front of it. The original is two minutes of piano that a five-year-old can sing, and an 82-year-old still gets pulled on stage to play. Learn the diminished chord, get the shuffle under your fingers, and you’ve got a friend for life. Sorry. It was right there.

