Student gets in trouble; gets detention. It's like prison, but for students.
In Anglophone pre-collegiate schools, detention is a disciplinary action where students are required to stay in a designated room, keep calm, and do nothing for some amount of time. In fiction, detention is one thing where a well-to-do student does not want to go to. The other one is dodgeball. The room is run down and gritty, the teacher running the room is keeping a watchful eye on you and may give your stay a living heck, the desks are filled with bullies and delinquents, graffiti is everywhere, and there're decades-old gum beneath your desk. And heaven forbid if you spend your time in detention on a weekend. Naturally, the student will find ways to get out of this heckhole, with the help of the delinquents of course. In real life, failing to show up on detention or bailing out can lead to an even more severe disciplinary action such as a longer detention period or suspension. Can be the school equivalent to a Prison Episode. It can be a form of a Bottle Episode due to the nature of the room. Compare Standing in the Hall, the Japanese equivalent; After-School Cleaning Duty, When a student is made to clean school property after school; and Writing Lines, when a student is made to write something they are not supposed to do repeatedly.
- In Archie Comics, at least through the bronze age of comics, the titular character is frequently given detention, usually by Principal Weatherbee. Sometimes given for the pettiest issues, detention seems to be the school's punishment of choice, both for Archie and (less frequently) for other characters.
- The Breakfast Club is formed by five students from different cliques under detention on a Saturday.
- Detention: It's a comedy/horror teen film about a group of students who were sent to detention before prom night when their principal suspects that one of them is a slasher. Whacky hijinks ensue such as finding the slasher, one of which involves going back to 1992.
- In the Class (2016) episode "Detained", Quill puts all the regular pupils in detention so that she can go off on a secret mission. The detention room then gets transported to a very nasty part of space due to a Rift incident.
- The Community episode "Basic Rocket Science" is part this and part Parody Episode. The Detention part comes when the study group is punished for creating and submitting a design for the school flag with a hidden obscene image. The punishment is cleaning out a new space simulator acquired by the college. The Parody part comes when the simulator gets towed with them in it and they have to get back to the college, sending up numerous space exploration movies in the process.
- iCarly: In "iGot Detention", Sam gets detention around the same time she has to do the show, so Carly and Freddie deliberately get detention and host the show from there whenever Mr. Howard is out of the room.
- Chapter 13 of Rock and Riot features the Jaquettes and Rollers in detention. Connie comes out, leading the rest of the cast to do so as well.
- In the SuperMarioLogan episode, "Robot Jeffy", Jeffy gets detention for dirtying his diaper and tossing it at Jackie Chu's face. Cody's robot, Codo, makes a robot of Jeffy named Jeffo to take Jeffy's place in detention so Jeffy can stay in his room and play video games. When Bully Bill bullies Jeffo, Jeffo enters Kill Mode and goes on a rampage.
- In The Amazing World of Gumball episode "The Lesson", Gumball and Darwin get caught by Principal Brown cheating on a math test, and has to spend the entire spring break in detention, which is portrayed like a maximum security prison, with Principal Brown acting like a warden, and a cupcake implied to have literally "lost their cherry" in a riot.
- Being Ian had one episode with Ian landing the whole class detention and his repeated attempts at escaping detention keep accumulating more hours for the rest of the class.
- In the pilot episode of ChalkZone, when Reggie Bullnerd picks on Rudy, Rudy draws a cartoon of "Bully Nerd" getting beaten up by Snap in retaliation. After Reggie uses Rudy as a human eraser, Mr. Wilter gives Rudy detention, forcing him to write "Cartoons Are Not Funny" on the chalkboard repeatedly. After Rudy's chalk breaks, the next one he finds is a piece of magic chalk, which sets the show's premise in motion.
- Dexter's Laboratory: The episode "Dexter Detention" involves Dexter getting sent to detention after accidentally yelling out a test answer in annoyance. This trope is turned on its head at the end, when Dexter and a pair of detention-birds dig their way out of the school...and into an actual prison.
- Detentionaire is a series worth of this. Falsely accused of causing a prank on the first day, Lee Ping is sent to detention for a whole year. To add insult to the injury, his mother who is also a teacher at his school grounds him for that. The series revolves around him and his friends to sneak out of detention and find out who the real culprit of the prank is.
- The Grim Adventures of Billy & Mandy: The episode "Detention X" has Grim becoming a substitute teacher and sending the class, Billy and Mandy included, into the Detention Dimension.
- In the Hey Arnold! episode, "Full Moon", Harold, Stinky, and Sid moon Principal Wartz. Arnold is the only witness, and because he refuses to rat them out, Principal Wartz gives Arnold 30 days of hard labor in detention. If Arnold confesses before the end of the deadline, Principal Wartz will lift his punishment, and if he doesn't, he will mark Arnold as a "Failure to cooperate" on his permanent record, but Arnold still refuses to rat his friends out. Near the end of the episode, Harold, Stinky and Sid's guilty consciences catch up with them and they confess what they did to Principal Wartz just before he can mark Arnold as a failure to cooperate.
- Kick Buttowski: The episode "Detained" has Kick and his friends getting detention, with Miss Chiccarelli, who already hates him with a burning passion, being hired to watch the room.
- Kim Possible: The first episode (in production order) "Tick Tick Tick" involves Kim getting detention for being late to class, which she believes will stain her status on the school's social hierarchy, as cheerleaders don't "do" detention. Her father helps her realize that she isn't above or below anyone else at school, and that she had to do the time because she broke the rules.
- In the The Loud House episode, "Pulp Friction", Principal Huggins gives Lincoln and Clyde detention when he finds out that they have an idea for the next Ace Savvy comic book. Lincoln's sisters help bust Lincoln and Clyde out of detention to reach the post office in time for the contest's deadline. In the end, it is revealed that Principal Huggins deliberately gave Lincoln and Clyde detention until after the deadline to get them out of the way so that he could submit his own entry for the contest. When Lincoln and Clyde find out, they and Principal Huggins form an alliance and submit their conjoined entry.
- My Gym Partner's a Monkey: In "Basic Jake", it turns out Jake deliberately gets himself into detention every Saturday so he can sneak into the old A/V room and host his own TV show.
- The Simpsons:
- In "Bart the Lover", Bart gets a month's detention when he plays with a yo-yo in class and accidentally breaks the fish tank.
- The Treehouse of Horror segment "Nightmare Cafeteria" has detention being held in the cafeteria due to the normal room being stuffed to overflowing. After the teachers discover a taste for students, they start finding petty reasons to send their next meals into detention.
- In "Lisa's Date with Destiny", Lisa gets detention when Mr. Largo thought that she was disrupting class by laughing at the word "tromboner". What Lisa was really laughing at was Nelson spraying Groundskeeper Willie with a hose and misunderstanding what he was saying.
- In one episode of Star vs. the Forces of Evil, Star is thrown into detention for releasing the class hamster. There, she is elected "Mayor" of detention and sets to work fulfilling the requests of the other students there. Most are easy; the last one, batteries for a TV remote, requires her to leave the room and sneak around the school.
- One aspect of this trope, at least in the aforementioned Archie Comics but probably in other sources as well, is that there's a dedicated "Detention Room", possibly with a stenciled sign on the door. In real life, most schools cannot spare such a space, and use a regular classroom that no one would be using it after regular school hours anyway.
Hello, Unknown Troper. You'll need to get known to lend a hand here.