ABC said Kutcher, the show's executive producer, and Spears, best known for her role on TV's "Zoey 101," will guest star in the episode slated to air March 20.
In the show, actress Judy Greer plays a guidance counselor who goes back to her alma mater to work, and discovers the high-school experience has an annoying way of repeating itself. Brooke Burns plays her former nemesis and the school's new English teacher.
Kutcher will play a substitute teacher, while Spears will play a troubled student, the network said Friday.
Jessica Simpson shares three-way kiss with friends in photo
Interpol investigating stolen passports on missing flight