What's the most surprised you've ever been at a (non SIMPSONS) TV guest star?

I exclude the Simpsons because in addition to being on the air for 20+ years it’s hard to top Thomas Pynchon.
Johnny Carson on David Letterman was probably the absolute ultimate, though if you went for sitcoms only his appearance on Newhart was unexpected.

Sticking to sitcoms, I remember being very surprised when Burt Reynolds guest starred on THE GOLDEN GIRLS back when he was still considered a movie star (but was testing the waters of TV). Huge ovation. Bob Hope was also a guest star but it was clearly filmed separately and incorporated; IIRC he didn’t interact with the regular cast.

Speaking of animations, Gore Vidal’s voice cameo on Family Guy was a shock. (He was later on THE SIMPSONS, which I’ll mention because I’ve already used him in the OP;).)

Michael J. Fox walked into the scene in Scrubs, giving me just enough time to say “hey! I know that guy from somewhere!” before he walked off screen again. He walked back on screen, seemed to get frustrated, and walked off yet again. He walked on screen for a third time and, apparently satisfied, continued into the hospital.

His obsessive/compulsive character was probably the best guest star showing I can remember. As a matter of fact, Scrubs featured other fantastic guest star performances by actors I don’t usually consider great, like Colin Farrel.

The finale of Newhart, with Suzanne Pleshette. One of the greatest surprise guest-shots ever.

Alex Trebek on the X-files was pretty damn surprising

Sean Penn & Elvis Costello guesting as themselves on “Two and a half Men”. I think I win this thread.

I’m going for Billy Gibbons (ZZ Top) on a recent episode of Bones.

I thought Richard Dawkins in Doctor Who was a nice touch, given that he’s married to Lalla Ward, an ex-Time Lady who was previously married to Tom Baker: Ward was introduced to Dawkins by Douglas Adams, who was a writer on the show.

Sammy Davis Jr. on All In The Family gets an honourable mention.

President Nixon on Laugh In.

I’m dating myself here, and also the fact that I don’t watch much TV anymore.

Michael Gross as Michael J. Fox’s therapist on Spin City

William Shatnet’s first appearance as the Big Giant Head on 3rd Rock, with the inside “Twilight Zone” joke.

Dennis Rodmen on 3rd Rock as a alien

Jackie Mason as a guest voice on Spongebob Squarepants (I also love the appearances of Ernest Borgnine and Tim Conway)
Jerry Mathers and Rocki Rhoades on Married With Children
Tammy Fay Bakker’s appearance on the Drew Carrey Show was hilarious
Robert Culp and Louis Gossett Jr. in Half Life 2*
Robert Culp on The Cosby Show

  • Not a TV show but I just had to mention it

The Candian sitcom Corner Gas has had quite a few surprising guest appearances, including:

Prime Minister Paul Martin
Prime Minister Steven Harper
Former Governor General Adrienne Clarkson
The band The Tragically Hip
Kiefer Sutherland, and his mom Shirley Douglas (in separate episodes).
Duane “Dog” Chapman and his wife
Mike Holmes from Holmes on Homes

The entire cast of the original Laugh In as inmates at a magical sanitarium in an episode of Sabrina, the Teenage Witch.

Martin Sheen on 2 1/2 Men as Rose’s father.
Charlie Sheen’s recent cameo on Big Bang.
Lou Diamond Phillips on Spin City.

Liza Minelli was hilarious and surprising on Arrested Development, as was Charlize Theron.

This. I DIED when she rolled over!

John Wayne on Laugh In. In a giant bunny costume.

Janet Reno on SNL.

One time Vanessa Del Rio, the porn star, appeared on NYPD Blue as herself. It kind of surprised me – this was back before porn had mainstreamed, and the detectives pretty much treated her like any celebrity with a problem. It was interesting.

I was thinking John Wayne on Maud. I didn’t know about the *Laugh In *appearance.
I would vote for Suzanne Pleshette on the finale of Newhart though as **Thalion ** posted.

Didn’t see that, but Costello’s appearance as an annoying coffeehouse musician on “Frasier” was an entertaining surprise.

ETA: At the time I hadn’t seen much of the new (old) Elvis and knew him as his old (young) self, so I kept saying, “Is that… No. Yes! Is it?” to myself.

I was shocked when Cesar Romero appeared on Batman!

And Rawhide.

And the Lucy-Desi Comedy Hour.

And Fantasy Island, Tracey Ullman, Magnum PI, Blacke’s Magic, Falcon Crest, Murder She Wrote

…Okay, by Murder She Wrote it stopped being a shock.