Milo Murphy's Law Wiki

Like my dad always says, all's well that ends with a Sentient Blob making a teacher remember why she loves teaching.

Milo Murphy

"The Substitute" is the 15th episode in the first season of Milo Murphy's Law.

The rather jaded Ms. Baxter substitutes for Milo's science class, finding no enjoyment in her job until her first encounter with Murphy's Law. Meanwhile, Dakota and Cavendish find themselves in the science class's closet when they're supposed to protect a pistachio plant in the school yard.


Ms. Murawski's class is taken over by Ms. Baxter, a disillusioned substitute who finds no fulfillment in her job as she has no way of knowing if her students ever learn anything from her. Milo soon volunteers to help out, only for a simple science experiment to turn hazardous due to Murphy's Law. Meanwhile, Balthazar Cavendish and Vinnie Dakota end up in the classroom closet on their way to bring pistachio plant fertilizer from the future to a sapling. However, their Quantum Localizer loses power, and they are forced to plug it in to charge; Ms. Baxter then ends up getting a hold of it and being transported briefly into space.

After Milo takes over the class, an accident with a spilled chemical and the fertilizer - which Milo grabs thinking it's chemical absorbent - results in the creation of a sentient blob that attacks the students, Ms. Baxter, and the two time travelers. However, Ms. Baxter's lesson on the phases of matter inspires Milo, who works together with his friends to turn most of the gelatinous being into a harmless solid. Dakota and Cavendish are able to save a pistachio sapling from Diogee only for Cavendish to step on it, while Ms. Baxter is thrilled that she actually managed to teach something to her class. However, a sole surviving portion of the blob finds and revitalizes the crushed pistachio seedling, with its leaves turning red and emitting an ominous glow.


For a full transcript of "The Substitute", click here.

Diogee, Go Home!

(In the courtyard Diogee wanders up to the pistachio plant and prepares to pee on it)
Cavendish: Up! Dwup! Yup! No no no no no! Get out of here you beast!
(Cavendish shoos Diogee away)



Click here to view more images from The Substitute.
The image gallery for The Substitute may be viewed here.


International Airings

  • March 13, 2017 (Disney Channel Russia)
  • March 24, 2017 (Disney Channel Latin America)
  • April 30, 2017 (Disney Channel Japan)
  • June 4, 2017 (Hungary)[1]
  • June 23, 2017 (Southeast Asia)
  • August 7, 2017 (Disney Channel Israel)
  • October 2, 2019 (PlusPlus)


  • The marquee in front of Jefferson County Middle School says "Have fun in Hawaii Mrs. Murawski, your desk will miss you!", indicating that Ms. Murawski is staying in Hawaii for vacation.
  • This is the first time Diogee interacts with Cavendish and Dakota.
  • This is the first episode that marks the appearance of any Phineas and Ferb characters.


  • When Milo shows his glasses which looks like he has "puppy dog eyes", Chad's hair color is different.
  • When the camera had a close up on Milo's eyes there was no connector to the glasses but in the next shot, there was a connector.
  • When the class is seen panicking over Zack's chemical spill, Joni's pupils are white instead of black.



Cast and Characters

Additional voices


Episodes Next:
"Time Out"
v - e - d Episodes
Season 1 Going the Extra MiloThe UndergroundersRooting for the EnemySunny Side UpThe Doctor Zone FilesThe NoteParty of PerilSmooth Opera-torWorked DayThe Wilder WestFamily VacationMurphy's LardSecrets and PiesAthledecamathalonThe SubstituteTime OutWe're Going to the ZooSchool DanceBattle of the BandsThe Math BookThe Little Engine That Couldn'tThe Llama IncidentMissing MiloStar StruckDisaster of My DreamsA Clockwork OriginPerchance to SleepwalkSome Like it YachtBackward to School NightWorld Without MiloThe RaceLove TobogganThe Island of Lost DakotasFungus Among UsMilo Murphy's Halloween Scream-A-Torium!A Christmas Peril
Season 2 The Phineas and Ferb EffectSnow Way OutTeacher FeaturePicture DayAgee Ientee DiogeeGame NightPace Makes WasteCake 'Splosion!Lady KrillersDoof's Day OutDisco Do-OverThe Ticking ClockManaging Murphy's LawMilo's ShadowSick DayField of ScreamsSpy Little Sister!Dog Walker, Runner, ScreamerNow I Am a MurphyFreefallMilo's WorldAbducting Murphy's LawThe Goulash LegacyThe Dog Who Knew Too MuchAdventure BuddiesRide Along Little DoggieLook At This ShipCast PartySafety FirstCavendish UnleashedFirst ImpressionsThe Speech and Debate League of Death and Destruction Cross Town Explosion Event‎The Mid-Afternoon Snack ClubParks and WreckEscapeMilo in SpaceSphere and Loathing in Outer Space
v - e - d Primary Story Arc Episodes
B.O.T.T. Introduction Arc The Doctor Zone FilesSmooth Opera-torWorked DayFamily VacationMurphy's LardSecrets and PiesThe SubstituteTime Out
Counteragent Arc Time OutWe're Going to the ZooSchool DanceThe Little Engine That Couldn'tStar StruckMissing Milo
Pistachions Arc The SubstituteThe Llama IncidentMissing MiloPerchance to SleepwalkThe RaceFungus Among UsThe Phineas and Ferb Effect
Doofenshmirtz Arc The Phineas and Ferb EffectAgee Ientee DiogeeCake 'Splosion!Doof's Day OutDisco Do-OverThe Ticking ClockSpy Little Sister!Milo's ShadowSick DayAbducting Murphy's LawThe Goulash Legacy
P.I.G. Arc Snow Way OutPicture DayGame NightLady KrillersDisco Do-OverManaging Murphy's LawField of ScreamsMilo's ShadowFreefallDog Walker, Runner, ScreamerAbducting Murphy's LawParks and Wreck
Octalians Arc Managing Murphy's LawMilo's ShadowSick DayAbducting Murphy's LawMilo in SpaceSphere and Loathing in Outer Space
Forsaken Perry Arc Sick DayAbducting Murphy's LawThe Dog Who Knew Too MuchAdventure Buddies
Rogue Cavendish Arc Abducting Murphy's LawLook At This ShipCavendish Unleashed
Episodes in Italics indicate an episode that doesn't center around the subject of an arc but is still related to it.