Phineas and Ferb Wiki
Phineas and Ferb Wiki

We're riding ponies, but it makes a fella hanker for the real thing.

— Phineas Flynn

A visit to a dude ranch turns into a stampede/cattle drive through town and the cows become acrobats at a water park when Dr. Doofenshmirtz starts an aluminum siding business by making the Termite-Controlling Helmet to control termites.

Episode Summary

Exciting, isn't it?

A cowboy in a western movie is singing On the Trail, accompanied at by harmonizing cows. As the movie ends, it is shown that Phineas has been watching it on a portable video player while he and Ferb are riding on a very tame horse ride called "Ride 'Em Cowboy!" at Clem's Carnival. Mom thinks this is cute and takes a picture. Phineas says "She means well". As Mom drives off, Candace goes after them to not "pull any of your weird stunts". Phineas responds with a southern cowboy drawl and says, "Don't fret none, school marm". Satisfied, Candace calls a friend (probably Stacy) on her cell phone to recount her encounter with "Little Miss Pants". The boys leave the ride and see Isabella standing nearby. Isabella has just earned her Milking badge, which only required that she "squeeze and pull, and squeeze and pull, and squeeze and pull, and squeeze and pull". When Isabella asks, "Whatcha doin'?", Phineas responds in a cowboy accent with a list of things he'd rather being doing than just riding horses. Amongst the list is "fording a stream", even though he doesn't know that that means. Isabella is quite taken by his account.

Meanwhile, Perry dives into a water-filled chamber and begins swimming back to his lair. Along the way, he has to swim through a minefield while a shark with a laser beam strapped to its head fires the laser at him. Perry makes it to his lair, and after donning his hat to begin his duties as Agent P, activates the view screen. Major Monogram appears mid-sentence, recounting to someone off screen (probably Carl) Candace's earlier conversation. Major Monogram realizes that Perry's there and cuts the conversation short. Agent P gives him a look. Embarrassed, Major Monogram says, "Oops. I forgot to turn off the laser sharks again, didn't I? My bad." Major Monogram then begins the briefing. Dr. Doofenshmirtz has three overdue library books, a corner on the market for aluminum siding and a water fortress on Lake Winemahkateekihaha. After the traditional admonishment to find out what the doctor is up to and to put a stop to it, Agent P drives a jet ski equipped with a GPS which guides him to the fortress.

Agent P arrives at the fortress and drives it up a ramp and inside, meeting the doctor with a woman in black standing next to him. After capturing him with rope, Dr. Doofenshmirtz introduces Agent P to his new assistant, Vanessa. Vanessa isn't impressed, so she puts on a set of ear buds and listens to some techno music on her music player. Slightly embarrassed, Dr. Doofenshmirtz dismisses this by saying, "She's new". He then launches into the details of his latest plan: he's put helmets on termites so that he can control them with his own Termite-Controlling Helmet. To demonstrate, he opens a jar and directs them to shape a block of wood into a bust of himself. After they eat all the wood in the Tri-State Area, everyone would have to buy aluminum siding from him. Dr. Doofenshmirtz wraps it up and uses a remote to lower Agent P towards molten lava. "It's time for platypus flambé." says Doofenshmirtz as he and Vanessa leave.

Back at the ranch, Candace is on still on the phone, now recounting an encounter with someone that was "all up in my face". The termites fly through and eat the fence she was lying on out from under her. She runs but the termites follow her, pausing momentarily to eat a wooden outhouse restroom. Candace seeks refuge in a barn. The termites eat that, which causes the cows to stampede. Phineas, Ferb, and Isabella see that the cows are heading towards town and have already caused a long back-up on the freeway. The termites eat the fences from the "Ride 'Em Cowboy!" ride, allowing the boys to commandeer the horses. Just as Isabella thinks she's about to be left behind, she spots a pony decked out with a purple bow, purple saddle, and pink hearts for decoration. Meanwhile, Candace has been running from the stampede. Stacy calls her and, after she informs Stacy about the stampede, becomes distracted from looking where she is going. Soon, Candace falls in a mud puddle. The cows and the horses that the kids are riding leap over her. She calls after them as the stampede heads into town.

After a trip on the subway, the stampede reaches the Googolplex Mall. A group of people are waiting for a store to open, and once it does, they create a stampede of their own in their hurry to get at the sale items. The cows follow them, running amuck through the store. One cow stops to admire itself in a mirror after snagging a dress and bra. The stampede continues into the main area of the mall, starting with a trip in the elevator, followed by going up and down the escalators. Phineas and Isabella sing In the Mall. Everyone, including the cows and the kids' horses, takes a break to eat in the mall cafeteria, but afterward, the stampede resumes.

Now the stampede heads outside to one of the streets in downtown Danville. Candace is heading their way on her bike and passes a traffic sign that says "Stampede downtown. No honking." She loses control going down a hill and crashes into Haney's Cow Emporium.

The "scary" wolf puppet.

Candace goes inside to find something to help her stop the stampede. The proprietor's first offering is a "scary wolf puppet" that is less than scary, even with its bell. His sales pitch doesn't convince Candace that it will be effective. The Silent Cow Whistle seems to be a different matter, so Candace buys that,forgetting the first word in its name. She runs outside to use the whistle, which doesn't make any sound. The cows stop, but only because the stoplight in front of them has turned red. Unaware of the red light, Candace is convinced it works. As soon as the light turns green, Candace has to run again. She tries to use the whistle and complains loudly that the cow whistle doesn't work. The proprietor quickly puts a "closed for stampede" sign in his window. Candace instantly runs into an alley.

Candace spots Phineas, Ferb, and Isabella bringing up the rear. She retrieves her bike, then phones her mom to bust them. The cows are heading right past where her mom is getting her hair done, but when Linda looks out the window, all she sees is the truck for Swampy's Farm Fresh Milk, which has cows in the picture.

Meanwhile, back at the water fortress, Agent P has been lowered ever so slowly towards the lava. He is almost in the lava and is doing quite well in not being affected by the heat when Dr. Doofenshmirtz and Vanessa check in on him via closed-circuit television. The doctor wants to know if he has any last noises since Perry doesn't speak, and so Agent P does do his platypus call. As Dr. Doofenshmirtz performs his evil laugh, Agent P swings over to a control panel and then moves the ropes holding him close enough to the lava for it to burn through. Now free, Agent P reaches over with an evil smile towards a purple button labeled "Caution!" when Dr. Doofenshmirtz lets it slip that a different bee-colored button is the one that Agent P should not press. Agent P presses the other button, which activates the self-destruct. Vanessa can't believe that the self-destruct button was put in the death chamber and leaves, complaining that this was "the worst 'Bring Your Daughter to Work Day' ever". Dr. Doofenshmirtz says "Tell your mother you had fun, though." She also takes the last escape pod. Dr. Doofenshmirtz isn't worried because he has a jet pack. Agent P sees the jet pack sitting on the control panel near him. Doofenshmirtz can't believe he did that, adding he might as well have given Perry an escape hatch. Overhead, the escape hatch opens and Agent P flies out. "Well, guess I'm running" is all Dr. Doofenshmirtz has to say.

Agent P hears his screams and circles back to rescue the doctor. Unfortunately, the little wooden head that the termites had carved earlier was not saved.

Meanwhile, the boys have got the cows under control and are now calmly guiding them along the freeway. Phineas and Isabella have a good conversation in cowboy accent on their herd. A semi's horn from an impatient truck driver instantly causes them to stampede again, but they are directed to the off-ramp back towards Clem's Carnival. The cows break through the guard rail and head down the hill towards a cliff. They stop in time, but the lead cow accidentally gets pushed off the edge. Phineas asks Ferb to calm them down with his guitar, but one of the guitar strings snaps and that sets the cows off again.

"Yo, cows! Uh, h'yah?"

They leap off the cliff and land on the water slide at the Cliffside Water Park. Phineas, Isabella, Ferb and their horses follow the cows down the waterslide. The cows really enjoy the slide and start performing some pretty acrobatic moves. At the bottom of the slide, the cows make a fountain out of themselves. Phineas has to remind them that they are supposed to be on a cattle drive. He notes that they are fording a stream, which he wanted to do earlier.

Candace rides her bike to the same ledge that the cows had stopped on, but now it gives way beneath her. She bounces off the shack at the top of the water slide and over onto several ledges containing cactus, snakes and scorpions.

Nearby, Agent P and Dr. Doofenshmirtz are flying back towards Clem's Carnival. The jet pack runs out of fuel and they begin to fall. Agent P opens his parachute and Dr. Doofenshmirtz grabs a hold of him. He lands on top of the carnival's roller coaster. Agent P catches an updraft and begins floating right behind Doofenshmirtz. This allows him to put the Termite-Controlling Helmet into reverse, drawing the termites towards the doctor. Since Dr. Doofenshmirtz cannot reach the switch, he is practically defeated.

Dr. Doofenshmirtz begins running away along the roller coaster's track. The termites eat part of the wooden tracks, causing some of them to fall to the ground. At this moment, Phineas, Ferb and Isabella arrive in search of a corral to put the cows into. A section of track from the roller coaster comes loose and lands on top of the wooden tracks, creating a makeshift corral.

The termites finally catch up with Dr. Doofenshmirtz and fly away with him as he yells, "Curse you, Perry the Platypus!" Agent P removes his hat and walks back over to the boys. Mom pulls up in her car and asks if they had fun. The answer is a resounding yes in "cowpoke-ese". Candace then walks up, covered in bruises and growling all the way. Mom wants to know if she's alright, but Candace doesn't want to talk about it. "Alright, get in the car, snappy pants," is Mom's response. She then wonders what that was all about, and Ferb replies, "I reckon herding cattle ain't for city folk."


Read the transcript of The Magnificent Few.


End Credits

A repeat of In the Mall. During the end logos, Isabella is heard saying Boy, howdy!


Click here to view more images from "The Magnificent Few".
View the image gallery for "The Magnificent Few".

Running Gags

The "Too Young" Line


Ferb's Line

Linda: Alright, get in the car, snappy pants. What was that about?
Ferb: I reckon herding cattle ain't for city folk.

What'cha doin'?/Hey, where's Perry?

Phineas: Hey Isabella, what are you doing here?

Isabella: I just earned my Milking badge, and it's was so easy. All you do is: squeeze and pull and squeeze and pull and squeeze and pull and squeeze and pull, and so what'cha doin'?

Phineas: We're riding ponies, but it makes a fella hanker for the real thing. You know, living out on the open range, riding, roping, branding, busting broncos and breaking wind with your amigos under the western skies. Heck, we could even ford a stream! I don't even know what that means, but it sounds fun. Oh, and spitting. Hey, where's Perry?

Oh, there you are, Perry

Monogram: ...Yeah. And she was like "Oh no, you di-in't!" and-- Oh, there you are, Agent P. Oops. I forgot to turn off the laser sharks again, didn't I? My bad.

Perry's entrance to his lair

Enters a water trough at the dude ranch and swims underwater back to his lair, avoiding a shark with a laser beam strapped to its head.

Evil Jingle

Doofenshmirtz Evil Incorporated! and Doofenshmirtz Aluminum Siding!

Memorable Quotes

(Phineas and Ferb riding on horseback)

Linda: Smile boys. (taking a picture) Oh, you two look so 'cute'!

Phineas: She means well.
Candace: You better not pull any of your weird stunts, got it?!

Phineas: No threat young school marm.

Candace: (Talking in her cellphone) So, he was totally checkin' me out, when lil' Ms. Pants walks in front of me. Yeah, Yeah. So, I was like: "Um, hello" and she was like: "Oh no, you didn't", then I was like: "Oh, yes I did"
Major Monogram: The evil Dr. Doofenshmirtz is at it again. Not only does he have three books about insects overdue at the library, but he's cornered the market on aluminum siding and he's holed up in his water fortress on Lake Winimahatikihaha. I love saying that.
Dr. Doofenshmirtz: Ah, Perry the Platypus. As usual, your timing is uncanny. And by uncanny, I mean, "completely" canny!!
Candace: Oh my gosh, Stacy. I'm in a stampede is like- (trips on a mud) Ah, just a sec.

Phineas: Hey Candace.

Candace: Hey Phineas. Phineas? PHINEAS!
Dr. Doofenshmirtz: Any last noises, Perry the Platypus? You know, that little chirping silly noise that you make?

(Perry chatters.)

Dr. Doofenshmirtz: That's the one.
Vanessa: You put a self-destruct button in a death chamber? I'm so out of here. This is the worst "Bring Your Daughter to Work Day" ever.
Dr. Doofenshmirtz: Now we did I put that- Oh! What was I thinking putting the jet-pack in there too. I might just given him an escape hatch I mean-

(Perry uses the jet-pack and the escape hatch.)

Dr. Doofenshmirtz: Well, guess I'm running. (starts screaming) Help! AH! HELP ME!
Phineas: Yep, just loop-em them doggy's to the long lonesome trail. Ain't this livin'?
Isabella: Boy howdy!

Background Information

  • A sign in the Danville subway says "No Buena Vista". "No Buena Vista" literally means "no good view". Although it might be an abbreviation for "North Buena Vista", Buena Vista was also the name of the distribution arm of The Walt Disney Company until 2007, when it was renamed Walt Disney Studios Motion Pictures.
  • First episode to have Vanessa Doofenshmirtz.
  • In the moment before Candace calls Stacy, an orchestral remixed version of "Gitchee Gitchee Goo" can be heard in the background.
  • When Candace is showing her mom Phineas and Ferb riding a herd, the truck that is seen has the brand 'Swampy' printed on it, probably after Jeff "Swampy" Marsh.
  • After the cows storm out of the cafeteria, the sign behind them says that the special is beef.
  • When the termites eat the outhouse, a farmer can be seen sitting in the outhouse.
  • Doofenshmirtz says "I guess I'm running", in the same way Phineas says "I guess we're walking" in "The Fast and the Phineas".
  • The pony that Isabella rides resembles the pony seen in the wallet photos Dr. Doofenshmirtz shows to Perry; said photo was of one of Vanessa's birthday parties and had Doofenshmirtz riding on the pony. ("Dude, We're Getting the Band Back Together")

Production Information

  • This is the first aired and produced episode to have Vanessa Doofenshmirtz.
  • Episode description from the original Phineas and Ferbruary 2008 press release:[1]
Phineas and Ferb set out to become real cowboys in "The Magnificent Few," airing Friday, Ferb-ruary 8. Before long, they are driving a herd of cattle across the badlands and Isabella arrives just in time to help wrangle errant cows down Main Street. Meanwhile, Perry the Platypus must escape from Dr. Doofenshmirtz's lair in time to stop him from releasing termites that would consume all the wood in the Tri-State Area -- all so he could launch an aluminum siding business.


  • The close-up of the traffic signal shows the lights in reverse order: green on top and red at the bottom. When the signal is shown from a distance, the green light is in its traditional place at the bottom.
  • The sign on the freeway advertising Clem's Carnival misspells it as "carnaval".

    Clem's Carnival is misspelled as Clem's CARNAVAL

  • A horse's natural instinct is to step over people that have fallen on the ground. Cows, not so much.
  • Doofenshmirtz's lair is first misspelled as "Doofenshmirtz Evil Lncorporated". In the next scene, it is "Doofenshmirtz EviL Incorporated".
  • On the Doofenshmirtz Aluminum Siding Company, Inc. logo, "Doofenshmirtz" is misspelled as "Doofenmirtz."
  • When the cows are making the pyramid in the bottom of the Cliffside Water Park the water is flowing down the slide, but when a close-up picture of Phineas is shown, the water isn't there.
  • Candace's bike turns red before she falls down the cliff.
  • When Candace is still inside the mud, Phineas greets her and she replies "Hey, Phineas!". When she calls his name for the second time, her mouth doesn't move.
  • Before Candace's bike rolled down the hill, her bike tires are white, but in the next shot, her bike tires are black.
  • The "Closed for stampede" sign can be seen hanging in the window of Haney's Cow Emporium immediately before the store employee hangs it on the window.
  • When Ferb's guitar string breaks on the cliff, his horse is dark brown like Phineas', not light brown like it should be. When they fall down, his horse (and guitar string) are normal again.
  • When Phineas says "We need a couple of horses" Isabella's eyes are black.
  • During the "In the Mall" song, Isabella's mouth is moving out of sync when she sings her line.



The Agency takes a cue from Dr. Evil.

  • Austin Powers - While Perry is swimming back to his lair through a minefield, he is attacked by a shark with a laser beam strapped to its head. Dr. Evil once said he wanted sharks with laser beams, and later received them as a gift from his son.
    • Another allusion is the use by Dr. Doofenshmirtz of an "unnecessarily slow-moving dipping mechanism" that allows Agent P ample time to escape, followed by Vanessa and Dr. Doofenshmirtz leaving Agent P unsupervised during this time. Also, Vanessa's attitude is similar to Scotty Evil.
  • Home on the Range - The episode's beginning and song are similar to the start of this film.
  • The Magnificent Seven - The title parodies the western movie based on the Japanese film The Seven Samurai.
  • The musical western themes throughout the episode mostly likely allude to selections from the "Grand Canyon Suite" by composer Ferde Grofé.
  • James Bond - The underwater breathing device Perry uses is also similar to the device James Bond used in Thunderball.
  • My Little Pony - The pony Isabella rides greatly resembles the older versions of the ponies in that toy line, in contrast to Phineas and Ferb's more realistic horses.
  • Green Acres - Candace purchases a defective cow whistle from Haney's Cow Emporium. This is possibly a reference to Mr. Haney, the shyster salesman character played by Pat Buttram.


  • The population of Danville is 241,000. It's shown in a big sign while entering the city.
  • This marks the first time we see Perry use his chatter in Dr. Doofenshmirtz's presence. He knows about the chatter because he can describe it.
  • When Mom thinks the boys riding the horses is cute, Phineas breaks the fourth wall by looking at the audience and says "She means well". It is also the first time Phineas acts embarrassed when he says that.
  • This is the first time Isabella's obsession of horses is shown.
  • First episode in which none of the events take place at the Flynn-Fletcher house.
  • The dialogue that Candace says on her cell phone and that Major Monogram repeats is taken verbatim from "Rollercoaster".
  • This marks the first appearance of Doof's habitual self-destruct button.
  • The person selling the cow stuff is the guy who was at the A-G-L-E-T concert from "Tip of the Day" concert, in the front row. He, along with some other people from the concert, would also appear in "Alien Heart" during "Ladies and Gentlemen, Meet Max Modem!".


designates a character that did not appear in this episode


"Run Away Runway"
Episodes Next: