While most celebrities meet each other when they're already famous and are attending fancy Hollywood events or working on projects together — there are quite a few celebs who have known each other prior to fame. Today, we're taking a look at those stars who actually attended school together, whether they were in the same grade or a couple of years apart.

Related: 10 Celebs Who Got Divorced Before The Age Of 30

From Hollywood stars like Timothee Chalamet and Gwyneth Paltrow to musicians like Snoop Dogg and Adam Levine — keep on scrolling to see just which famous faces have made it on today's list!

10 Cameron Diaz And Snoop Dogg

Via: Cameron Diaz and Snoop Dogg's Instagram

Kicking the list off are Hollywood star Cameron Diaz and rapper Snoop Dogg. The two stars went to Long Beach Polytechnic High School together in the 1980s and Snoop was a grade above the actress. Here's what Cameron said about him during an appearance on Lopez Tonight in 2011:

"He was a year older than me. I remember him, he was very tall and skinny. He wore lots of ponytails in his head, and I'm pretty sure I bought weed from him."

9 Ansel Elgort, Timothee Chalamet, And Lourdes Leon

Ansel Elgort, Timothee Chalamet, and Lourdes Leon
Via: IMDb / Timothee Chalamet and Lourdes Leon's Instagram

Next on the list are actors Ansel Elgort and Timothee Chalamet and Madonna's daughter Lourdes Leon. All three stars attended New York City's LaGuardia High School together — the school that was made famous by the 1980 movie Fame. During high school, Timothee and Lourdes even dated but by graduation, they split up!

8 Kerry Washington And Gwyneth Paltrow

Kerry Washington and Gwyneth Paltrow
Via: Kerry Washington and Gwyneth Paltrow's Instagram

Let's move on to Hollywood stars Kerry Washington and Gwyneth Paltrow. During an interview on The Ellen DeGeneres Show, Kerry revealed that she attended the all-girls Spence School in New York City together with none other than Gwyneth Paltrow.

Related: 10 Celebs Who Have Been Homeschooling Their Kids

Gwyneth was a couple of years older but the two sis act together in their high school's production of Shakespeare’s A Midsummer Night’s Dream.

7 Adam Levine And Jonah Hill

Adam Levine and Jonah Hill
Via: Instagram

Musician Adam Levine and actor Jonah Hill are next. Both stars went to Brentwood School in Los Angeles and they were super close friends. Here's what Jonah revealed about their friendship to Howard Stern in 2014:

"Our dads met in the principal's office in junior high. We carpooled, lived at each other's houses."

Their friendship certainly remained strong as Jonah officiated Adam Levine's wedding Behati Prinsloo in 2014.

6 Rami Malek, Kirsten Dunst, And Rachel Bilson

Rami Malek, Kirsten Dunst, and Rachel Bilson
Via: IMDb / Kirsten Dunst and Rachel Bilson's Instagram

Next on the list are Hollywood stars Rami Malek, Kirsten Dunst, and Rachel Bilson. The three actors went together to Notre Dame High School in Sherman Oaks, California. In an interview with Giuliana Rancic for E! News Rami Malek even revealed that he used to have a crush on Kirsten back in high school!

5 Kate Hudson And Liv Tyler

Kate Hudson and Liv Tyler
Via: Kate Hudson and Liv Tyler's Instagram

Another pair of Hollywood stars that went to school together are Liv Tyler and Kate Hudson. The two actresses attended the Crossroads School for Arts and Sciences in the 1990s together, and because they both had famous parents they ran in the same circles. In 2000, the two friends even starred in the movie Dr. T and the Women together.

4 Camila Mendes And Cole And Dylan Sprouse

Camila Mendes and Cole and Dylan Sprouse
Via: Camila Mendes and Cole Sprouse's Instagram

Let's move on to actors Camila Mendes and Cole and Dylan Sprouse. All three of the stars attended NYU together where Camila and Cole studied acting. However, the two weren't friends back then but once they started shooting the teen drama Riverdale together they became quite close. Here's what Camila said about Cole at NYU:

Related: 10 Celebs Who Don't Have A Cell Phone

"I would see him at parties sometimes and I always kind of randomly talked to his brother but I never got a chance to talk to him because he was more to himself."

3 Neil Patrick Harris And Freddie Prinze Jr.

Neil Patrick Harris and Freddie Prinze Jr.
Via: Neil Patrick Harris and Freddie Prinze Jr.'s Instagram

Another pair of famous actors who went to school together is ​Neil Patrick Harris and Freddie Prinze Jr. Neil Patrick Harris attended La Cueva High School in Albuquerque, New Mexico and so did Freddie Prinze Jr. who was three years behind Neil. Both stars ended up having impressive acting careers after high school!

2 Josh Hartnett And Rachael Leigh Cook

Via: IMdb / Rachael Leigh Cook's Instagram

Next on the list are actors Josh Hartnett and Rachael Leigh Cook. The two attended Minneapolis South High School and after graduating both decided to pursue a career in Hollywood. As well know, Josh and Rachael ended up becoming successful actors and Minneapolis South High School has at least two famous alumni!

1 Matt Damon And Ben Affleck

Matt Damon And Ben Affleck
Via: IMDb

And finally, wrapping the list up are best friends Matt Damon and Ben Affleck. The two Hollywood stars became close while attending Cambridge Rindge and Latin high school. Since then, they have remained good friends and they even wrote the Academy Awards-winning movie Good Will Hunting together! Out of all the celebs on today's list, Matt and Ben have certainly had the longest and closest freidnship.

Next: 10 Male Celebs Whose Girlfriends Keep Getting Younger