%% Image selected per Image Pickin' thread: http://tvtropes.org/pmwiki/posts.php?discussion=1452266899092104700
%% Please do not replace or remove without starting a new thread.
[[quoteright:350:[[Webcomic/HappyJar http://static.tvtropes.org/pmwiki/pub/images/rsz_good_cop.png]]]]
[[caption-width-right:350:[-Benefits include: Throwing the book at criminals, literally.-]]]

->''"I was guilty as sin, but [[SympatheticInspectorAntagonist Valentine]] couldn't prove it. And he was the rarest breed of law enforcement officer: the type who knew I was breaking the law, but wouldn't break it himself to bust me."''
-->-- '''Yuri Orlov''', ''Film/LordOfWar''

The By-the-Book Cop is a stock character in [[CopShow police shows]] and crime fiction in general. They're the cop who believes in following the law as it is written, playing by the rules even when the criminal scum they're after does not. A stickler for procedure, the By-the-Book-Cop is quick to chide their rookie partner for playing fast and loose out in the streets, and when they're DaChief, you'll see them constantly threaten to [[TurnInYourBadge suspend]] the loose cannon for their impulsive heat-of-the-moment shoot-first-ask-questions-later behavior. If they deem that the situation [[ReasonableAuthorityFigure warrants it]], they may ''[[LoopholeAbuse bend]]'' the rules slightly, but they'll never go so far as to break them; they are, after all, honest and incorruptible.

Appears less regularly as a main character, in which case they're likely to be presented with a ToBeLawfulOrGood dilemma.

Often the complete opposite of a CowboyCop, with whom they are often paired to form an OddCouple. If a GoodCopBadCop dynamic forms, they tend to be the good one. Police officers who appear in the PoliceProcedural tend to be uniformly this type of cop, due to the relative paucity of {{cowboy cop}}s in RealLife. Depending on the themes of whatever piece of fiction they are in, the By-the-Book-Cop can be either a protagonist who represents the epitome of honesty, or an antagonistic ObstructiveBureaucrat who gets in the Cowboy Cop's way.

Can sometimes overlap with ReasonableAuthorityFigure if they acknowledge that occasional breaches of procedure can be acceptable, or even necessary, depending on the circumstances. But it can just as easily crossover into LawfulStupid if they adamantly insist on adherring to protocol no matter what.

Compare AlwaysGetsHisMan (the idealized hero cop). Contrast with CowboyCop (habitual rule-breaker, but good); CorruptCop (unethical, self-serving); and RabidCop (out-and-out psycho).



[[folder:Anime & Manga]]
* Togusa in ''Franchise/GhostInTheShell'' used to be a regular cop and sticks very close to the rules to separate himself from the masses of corrupt cops. In the counter-terror unit Section 9, he is the rookie and painfully out of place, as they usually deal with people who have the courts at their call. To his superiors, the laws are merely a "suggestion" for how to achieve justice and safety.
* [[SympatheticInspectorAntagonist Inspector Zenigata]], of ''[[Characters/LupinIII Lupin The 3rd]]'', is quite possibly the world's most honest cop. During the ''Anime/LupinIIITheWomanCalledFujikoMine'' anime, he bent the rules a ''lot'', but his memory of a young Oscar was what kept him from becoming a CorruptCop.
* Kuroko Shirai from ''LightNovel/ACertainMagicalIndex'' franchise.
* ''Manga/{{Bleach}}'': [[{{Tsundere}} Soi]] [[{{Ninja}} Fon]] is the head of the Keigun (lit. "punishment force"), which enforces the laws of Soul Society and detains or assassinates violators. She's a stickler for proper procedure and [[MyMasterRightOrWrong follows the law to the letter]], no exceptions.
* ''Manga/OnePiece'' has Captain Hina, who serves as the {{Foil}} to CowboyCop Smoker. It is heavily implied that she is the main reason why he gets away with so much.
* ''Franchise/LyricalNanoha'' has Enforcer Chrono Harlaown, and later, Enforcer Fate Testarossa-Harlaown. The former even arrests [[spoiler:[[BrokenPedestal his mentors]]]] and chides them for breaking the law and being willing to sacrifice an innocent life after he figures out that they're the ones interfering with the current investigation [[WellIntentionedExtremist in their plan to]] [[SealedEvilInACan seal the]] ArtifactOfDoom [[spoiler:that killed his father]].
* ''Manga/CityHunter'' has the one-shot character Hirotaka Kitao, out to arrest [[HitmanWithAHeart Ryo]] due his hate for professional killers but unwilling to actually break the law to do so... And [[ArrangedMarriage engaged to Saeko]], the CowboyCop who uses Ryo to take down some of the worst criminals around. HilarityEnsues before he understands Ryo's true character and decides to leave the city.
* ''Anime/TransformersRobotsInDisguise'' has Prowl, a relatively benign example (mostly he yells at his younger brother for speeding), and Tow-Line, who reaches LawfulStupid levels of SingleIssueWonk about illegal parking. He tows everything from children's bikes to ''bullet trains'' and ''mailmen''.

[[folder:Comic Books]]
* Commissioner James Gordon from Franchise/{{Batman}}, if it was not for his frequently calling upon the services of an unofficial masked vigilante to help police his city. ''ComicBook/BatmanYearOne'', ''ComicBook/TheLongHalloween'' and ''ComicBook/DarkVictory'' track his growing relationship with Batman and rising position in the Gotham City Police Department, and they all reiterate his commitment to Law & Order and refusal to compromise his integrity and the rules, even to convict criminals he knows are guilty. He slips once when ComicBook/TheJoker was on death row for a crime he might not have committed [[spoiler:and didn't]]. He suggested to Batman that they let Joker fry despite the possibility that he's innocent of this particular crime. Batman tells Gordon that he's going to pretend he didn't say that, and the matter is dropped.
* ''ComicBook/GothamCentral'' is a PoliceProcedural focusing on the Major Crimes Unit of the Gotham City Police Department. Each member of the MCU is hand-picked by the Commissioner of Police in order to insure their integrity and commitment to honest police work, and the series follows them as they try to act honorably [[BadCopIncompetentCop in a police department filled with corruption and graft]].
* The title character of ''ComicBook/JudgeDredd'' is about as extreme as this trope can get. However the character does grow to [[ToBeLawfulOrGood question the law]] every once in a little while, notably just before the "Necropolis" arc when he feels remorse for suppressing a democratic movement, and the later issue concerning [[FantasticRacism mutant rights]]. There are also numerous minor aversions to this trope where Dredd himself brings up that part of being a Judge is using one's own discretion, meaning he occasionally ignores minor crimes or makes allowances for mitigating circumstances. Just like a real cop, only less often.
* A detective tried to come off as one of these during an encounter with ThePunisher. Averted, as Frank has been around the block numerous times and knows the score.
--->'''Punisher''': "Give me your gun."
--->'''Detective''': "This is a prisoner transport van. We're not allowed to carry our guns in here when transporting someone. It's against the rules."
--->'''Punisher''': "You're a plainclothes detective. You've been on the force long enough to know what rules to ignore. ''Now hand it over.''"
* Inspector Ginko from ''ComicBook/{{Diabolik}}'' plays with this: most of the times he's this trope, but only because otherwise the criminals will be able to loophole their way out of prison, and, when the book has failed, shows his true temper as a CowboyCop.
* Prowl, as shown in ''ComicBook/TheTransformersLastStandOfTheWreckers'' and ''ComicBook/TheTransformersMoreThanMeetsTheEye'', knows the Autobot Code inside and out, and privately holds a grudge against every maverick troop out there, ''especially'' the Wreckers. Naturally, he isn't popular, having driven away anyone who could possibly have a reason to like him, much less tolerate him, and has long become incredibly bitter and angry at everyone. Of course, that's [[ManipulativeBastard the]] [[NeverMyFault least]] [[BlackmailIsSuchAnUglyWord of]] [[{{Jerkass}} his]] [[{{Hypocrite}} problems]].
** Ultra Magnus started as this, but after joining the Lost Light's crew he eventually was convinced to relax a little, resulting in the rest of the crew warming up to him.
* In ''Comicbook/BlackMagick'', Detective Rowan Black balks at the mere ''suggestion'' that she remove evidence from police possession in oder to track down the people who tried to ruder her. However, [[DeconstructedTrope she goes through with it anyway because the police will not be able to use magic to learn from it.]]

[[folder:Fan Works]]
* Judgemaster Cid in ''FanFic/TheTaintedGrimoire'' is this through and through. Even if he feels following the letter of the law is morally wrong, he'll still do it, albeit reluctantly.
* Foremost General Hardness (the D is silent) in ''Fanfic/IceIceBaby''. He plays by the rules and the citizens of Sochi thank him for it.

[[folder:Films -- Animation]]
* ''Film/OsmosisJones''. Drix is the BTBC, Osmosis is the CowboyCop.
* ''Disney/LiloAndStitch'': Pleakley, during his time as an agent for the Galactic Federation, is shown to be a strict guy who follows the rules, which is part of the reason why he is partnered up with Jumba to make sure Jumba does not do anything reckless or escape from federation custody. Its shown when Pleakley insists that they capture Jumbo.so creation, Stitch, without blowing their cover as aliens, which is why they pretend to be husband and wife when they reach Earth. Of course, Pleakley gets fired after many backfired attempts to capture stitch while following the book.

[[folder:Films -- Live-Action]]
* Eliot Ness in ''Film/TheUntouchables'', at first. But he's quickly taught the folly of this when faced with the likes of Capone. He then goes full CowboyCop, raids places without a warrant, and, in one case, outright murders a guy whom he just arrested.
* Sergeant Roger Murtaugh in ''Film/LethalWeapon'', at least initially.
* All of the Beverly Hills cops in ''Film/BeverlyHillsCop'', except Axel.
** Lieutenant Bogomil actually invokes the trope name when he explains to Axel why he won't let him investigate a customs bonded area without a warrant after discovering coffee grounds in the building.
** Bogomil then outright lies to his superior when questioned about the events of the raid on the BigBad's mansion, earning him Axel's respect.
** In ''Film/BeverlyHillsCopII'', Bogomil conducts his own investigation without telling anyone.
* Deputy Police Chief Dwayne T. Robinson in ''Film/DieHard''.
* ''Film/RoboCop'', which is understandable since he literally has The Book programmed into his brain. He's more violent than a typical example, but that's more a reflection of the [[CrapsackWorld world he lives in]].
* Nick Angel in ''Film/HotFuzz''. Even after defeating the villains CowboyCop style he still does paperwork.
** ''Blowing Up The Movies'' observes that the movie actually ''inverts'' the CowboyCop trope, as Nick Angel drives his superiors crazy not by ignoring procedure, but following it to an obsessive degree.
* The Ontarian Martin Ward is the By-the-Book Cop in ''Film/BonCopBadCop''. [[CowboyCop You have one guess as to what his (Québecois) partner is]].
* Jack Valentine in ''Film/LordOfWar'' follows by the book and is the only reason Yuri Orlov was able to get away for as long as he did.
* Lt. Ed Exley in ''Film/LAConfidential''. [[spoiler: at least at first]].
* Inspector David Tosci in ''Film/{{Zodiac}}'' is very by the book both in life and in the film. The film shows all the steps he goes through while pursuing a key suspect in a pretty fair aversion of HollywoodLaw, and even in the end he knows there's no smoking gun to prove the killer's identity.
* Joe Friday in the 1987 ''Film/{{Dragnet}}'' AffectionateParody movie.
* Detective Mitch Preston (Creator/RobertDeNiro) in ''Film/{{Showtime}}'' is a typical example. His first scene has him explaining his job to a class of little kids, dispensing with all the CowboyCop tropes they might know from Hollywood. However, he fairly quickly breaks rules when necessary (or if he's pissed). For example, the act that results in him being forced to participate in a reality TV show involves shooting a video camera mere inches from the cameraman's head. Officer Trey Sellars wants to be a CowboyCop, or at least play one on TV.
* Sarah Ashburn from ''Film/TheHeat''.
* Detective Carlson in ''Film/BlueStreak'' is fairly new as a detective and is paired up with the "more experienced" Lead Detective Malone. Carlson tries his best to follow the letter of the law. He is very confused about Malone skirting the law and police procedure. There's a good reason for Malone's behavior, though. He's actually a jewel thief who's posing as a cop trying to retrieve the stolen diamond he has hidden in the police station two years before. By the end, though, Carlson has learned enough to understand how it all really works ([[spoiler:he deliberately lets "Malone" cross the Mexican border before revealing that he knows who he is and then pointing out that "Malone" is out of his jurisdiction]]).
* In ''Film/SplitSecond'', Dick Durkin is much more mindful of proper police procedure and much calmer than his new partner Stone due to his past education on killers and psychopaths. Subverted towards the end when he realizes that they're up against a supernatural monstrosity and he becomes just as gun-happy as Stone.
* Kaz in Film/BeyondTheLights is the very definition. He values truth, honesty, and justice above all else. Even when he's mad at and doesn't want to talk to Noni, he refuses to start driving the car they are currently sitting in until she buckles up her seat belt.
* Inverted in ''Film/MiamiBlues'', in which Detective Sanchez gives Detective Moseley a detailed explanation as to how he happened to track down the psycho Fred Frenger to use in his report. (And which is in total contradiction to what actually happened -- [[spoiler:which is that Moseley was stalking Frenger to get his false teeth back]]). Moseley answers, "Yeah, something like that." Sanchez insists, "No -- EXACTLY like that."
* In ''Film/AlienNation'', a human cop who breaks all the rules is paired with a new detective from an alien race that has assimilated on Earth. At first the alien follows all the rules but them finds out the danger to his own people and goes off on his own. When the human mentions following procedure the alien says [[spoiler: "Fuck procedure"]]

* Geoffrey Briggs, DaChief of the NCD in Jasper Fforde's ''Literature/NurseryCrime'', always does things by the book... the crime fiction book, that is. He habitually suspends the detective once in every case for intentional dramatic effect, and trains his cops for the job by making them watch reruns of ''Columbo''.
* In P D James comparatively realistic ''Adam Dalgliesh'' series, Kate and Dalgliesh both fit this trope well. When Daniel, the third member of the squad, lets a suspect commit suicide rather than face prison, it really shines through. Daniel is disgusted by their (especially Kate's) belief in the absoluteness of the law, and they actually have an intelligent conversation about it. Paraphrased a little:
-->Daniel [disgustedly]: The law is the only moral code you ever need. You're always so sure about everything.
-->Kate: I'm sure about some things. I'm sure about murder. How can I not be?
* ''Literature/WhoCensoredRogerRabbit?'': Toon police Captain "Clever" Cleaver, working on the Rabbit murder case doesn't want any loose cannons (e.g. Eddie Valiant) wrestling the long arm of the law away from him. In the not-quite-sequel ''Who Plugged Roger Rabbit?'', Sargeant "Bulldog" Bascomb takes a similar role, but somewhat more similar to DaChief. (though Cleaver is still mentioned as the one who habitually hounds Eddie).
* ''Literature/{{Discworld}}'':
** Captain Carrot, the LiteralMinded adoptive son of dwarfs, who is so consistently by the book that it even rubs off on the otherwise deeply cynical city of Ankh-Morpork.
** "The Book" in this case being ''The Laws and Ordinances of The Cities of Ankh and Morpork'', published some six generations previously. Carrot isn't just the only copper who follows the book, he's probably the only one who's ''read'' it, since the equally by the book, but much more pragmatic, Commander Vimes got the Librarian to hide it because it was just causing trouble. Also, it's quite heavy, so if Captain Carrot threatens to "throw the book at you", duck.
** Vimes himself also fits this trope, most obviously at the end of ''Discworld/NightWatch''. While he's far more cynical than Carrot, that same cynicism is basically what makes him TheFettered. He's willing to bend the rules somewhat and tolerates bribes on the level of beer and donuts, but has cast-iron principles he will not break.
* The Literature/TheEchoCaseFiles series. Sara Ramirez is this, which is why her boss trusts her with the absolute power that being a Confederate Marshal gives a person; she knows Ramirez won't abuse it.
* The Literature/InDeath series. Eve somehow manages to be '''both''' this and a CowboyCop! Peabody is a straighter example of By-the-Book Cop but not entirely.
* Literature/SanoIchiro, in the series bearing his name, is an interesting twist as he is also a {{Samurai}}. Unlike many of his compatriots, he actually follows the code of Bushido and is an honest man. While this direct approach works for his first few cases, he has to adapt a more CowboyCop approach as the series goes on since his enemies are more than willing to push and break the rules themselves.
* The original InspectorJavert of ''Literature/LesMiserables'', who strives to be an absolutely irreproachable representative of the law. It's why Valjean keeps slipping through his fingers: Javert won't move to arrest him without proof, and the delay gives Valjean time to [[OhCrap notice he's in trouble]] and skip town.
* John Strock, hero of the Creator/JulesVerne thriller ''Literature/MasterOfTheWorld'', is an experienced police agent willing to do his duty and play by the rules, even when it means risking his own life.
* ''Literature/TheDresdenFiles'' is a world where the powerful break the rules, often simply because they ''can''. Murphy is a cop who Believes in the power of law. [[BreakTheCutie That doesn't last.]]
** On the magical hand is Donald Morgan, who is the frequent enforcer of the Laws of Magic. At first, he seems to have it out for Harry specifically, but by the events of ''Turn Coat'', Harry realizes that Morgan ''seems'' rabid only because Morgan has been enforcing the laws for ''centuries'', and has extensive experience with black magic practitioners. He hounds Harry and shows no mercy because it's never worked in the past, so he instead enforces the law by the letter.
* In Creator/SergeyLukyanenko's ''[[Literature/NightWatch New Watch]]'', Staff Sergeant Dima Pastukhov of the Moscow Police considers himself an honest cop, by Russian standards. Granted, he'll occasionally accept a small bribe (e.g. more change than what he paid) from a cafe owner when stopping by for lunch or rough up a drunk or two when they get roudy and refuse to go to a sobering-up station. However, he will also chase down any perp without a second thought, won't harass store owners, and will let those who are only a little drunk go home (provided they don't drive). However, he avoids the Others like the plague, having been accidentally granted the ability to see them by Anton's carelessness in the first novel (he's one of the two cops he tells to go get drunk on his first case, nearly costing them their careers).
* Joe Leaphorn in Creator/TonyHillerman's mystery novels.
* In ''Literature/TheStormlightArchive'', Nale is very careful to follow the laws of whatever country he's in. He doesn't necessarily follow the spirit of these laws, nor show respect to the people who wrote them, but he does follow what's written down. His true purpose seems to be to kill people with Surgebinding abilities, but he'll only do so if he can get a legal writ of execution for some crime they committed. When someone thinks to pardon his current quarry, he has no choice but to leave her alone. It's also implied that this is true of every Skybreaker (the Radiant Order Nale founded). Many of them choose to follow the law above all else for their Third Ideal, though they can choose to follow something else (many swear to follow Nale himself, for example).


[[folder:Live-Action TV]]
* ''Series/AlienNation'': George Francisco.
* ''Series/TheXFiles'': Not quite a cop, but a similar example: Director Walter Skinner of the FBI likes things clean and easy, with Mulder and Scully turning in matching reports, preferably with no mention of aliens, [[MadScientist mad science]], or [[MonsterOfTheWeek miscellaneous monstrosities]]. In a way Scully herself plays stern By-the-Book Cop to Mulder's enthusiastic [[CowboyCop cowboyesque]] shenanigans.
** Skinner is no stranger to cowboyish attitude but he is also perfectly aware how dangerous is the environment he is moving in.
** The real by-the-book-cop here is Doggett, who actually got his start as a cop. Once you get over the fact that [[ReplacementScrappy he replaced one of the most beloved characters in the series]], the poor fellow's attempts to adapt from his world of by-the-numbers L&O to the weird and wacky world of the X-Files can be somewhat charming.
* Peter tries to be this on ''Series/WhiteCollar'', but Neal's brilliant-but-not-quite-legal schemes make it hard for him. More often than not he ends up looking the other way, or even ''helping'' Neal, if he knows it means catching the criminal.
* ''Series/TheDakotas'': Ragan is the perfect example of this. The show is set in the OldWest, and Ragan believes that deviating from the law in any way devalues it.
* ''Series/InspectorRex'': Chief Filippo Gori admires Lorenzo Fabbri and his successor Davide Rivera for being skillful policemen but hates their willingness to bypass the law.
* Odo in ''Series/StarTrekDeepSpaceNine'' is from a species that has by the book as [[PlanetOfHats its hat]]. As the head of law enforcement on the station, he does have mercy with people who meant no harm or acted out of desperation, but that does not stop him from taking loitering children to his office and calling their parents to get them.
** Odo is unique in that he was a by the book cop for both the Cardassians during the Occupation ''and'' the Federation/Bajorans afterwards, despite them having very different concepts of what law and order are supposed to be. He himself [[LampshadeHanging lampshades]] this by saying no matter whose rules he's enforcing, he holds to a personal belief of what justice is.
** He is so by-the-book that Sisko asked him to be the umpire of their baseball game with a team of Vulcans. Odo tossed Sisko ''and'' the Vulcan coach from the game because each, on separate occasions, tapped him on the shoulder (to get his attention) and violated the rule against ''intentionally'' touching the umpire.
* ''Series/DueSouth'': Mountie Benton Fraser. Not just that, he goes by [[FishOutOfWater a completely different book than people might expect]].
* P.C George Dixon of ''Series/DixonOfDockGreen'' is a British example.
* The police officers on shows like ''Series/LawAndOrder'' and ''Series/HomicideLifeOnTheStreet'', at least in their earlier seasons, generally tended to be this sort of cop; they might not have been quite the 'friendly police officer' of earlier tropes, but they generally tended to do their jobs following procedure.
** With a rather lax interpretation of the Bill of Rights, however.
** [[Series/LawAndOrderUK Matt Devlin]] once arrested a ''friend'' of his after the guy snorted cocaine [[WhatAnIdiot right in front of him]]. This foreshadows his actions in a later episode where he insists on investigating another detective's murky account of a shooting, despite the fact that the man is a very good friend of his partner Ronnie.
* Just about every police officer in a [[Franchise/{{Dragnet}} Jack Webb]] production. When an exception shows up, it's usually the main characters who have to catch or stop him.
* The ''Series/TheGoodGuys'' has Jack Bailey who is extremely by the book but pisses off his superiors so much that the only way he can solve the case is to follow the lead of his CowboyCop partner.
** [[TooDumbToLive Detective Elton Hodges]] has been filling this role in a very [[IncrediblyLamePun by-the-book]] fashion as Jack has become more and more influenced by Stark.
* Sam Tyler in ''Series/{{Life On Mars|2006}}'' and Alex Drake in ''Series/AshesToAshes'' are the by-the-book-cops to Gene Hunt's OldFashionedCopper. DCI Jim Keats in ''Ashes To Ashes'' is a villainous example.
* In ''Series/FreddysNightmares'', the cop who arrested Freddy Krueger but forgot to sign a warrant was actually one of these, and frowned upon the idea of the parents of Springwood getting together and administering justice on Freddy themselves when the case against him was dismissed.
* Rob Hollins in ''Series/{{Doctors}}''.
* FBI example: Agent Hotchner in ''Series/CriminalMinds'', although he did have a bit of a breakdown at one point that led to him [[spoiler: walking into a house to confront an armed killer by himself and even beating a killer to death with his bare hands (but in a situation in which it's pretty easy to argue that [[IDidWhatIHadToDo he had no choice]])]].
* ''Series/TheShadowLine'':
** Jonah Gabriel gives the impression of one at first, though he has cowboyish traits like his refusal to obey his superiors' wish that he stop investigating Harvey Wratten's death and he's hinted for a while to have been an actual DirtyCop [[AmnesiacDissonance before he lost his memory]].
** Robert Beatty, though he's a customs officer rather than a cop.
** A minor example appears in the first scene of the series, with the rookie that points out all the procedures [[DirtyCop Sergeant Foley]] violates at the scene of Harvey Wratten's murder.
* ''Series/{{Community}}'' parodies this in "The Science of Illusion" when Annie and Shirley become temporary campus security guards. They end up getting into an argument about which one of them should be the By-the-Book Cop and which one should be the CowboyCop despite the fact that both of them are equally suited to both roles, and Abed, who is following them around, ends up invoking a whole load of tropes based on this.
* Detective Abby Kowalski from ''Series/AgainstTheWall''.
* ''Series/RookieBlue'' has Chris Diaz as the most By-the-Book Cop amongst rookies. Actually detrimental to his performance as he does not take initiative which is noted by his superiors.
* Signalman from ''Series/GekisouSentaiCarranger'', oh so very much. [[PlayedForLaughs Played to the hilt for laughs]], of course.
* Sky from ''Series/PowerRangersSPD.'' Constant head-butting with the much more laid-back Jack, naturally.
* Alex from ''Series/PowerRangersTimeForce.'' When he travels back in time to reclaim the Red Ranger powers from Wes, his leading style is too rigid since he refuses to accept input from anybody. When Wes returns to help them out of a tough situation, the other Rangers, even his fiance, Jen, plead with him to let Wes continue as the Red Ranger.
* The ''Series/{{CSI}}'' franchise can both play this straight and subvert it. Brass in the original series and Mac in ''Series/{{CSINY}}'' are usually very by-the-book. But, lately, Mac in particular, and Brass to a smaller extent will break rules if it comes to it.
* Wes in ''Series/CommonLaw'', lawyer-turned-homicide detective. His CowboyCop partner Travis jokes that he's a robot incapable of emotion. His expertise is analyzing the facts of the case, often tediously reading reports and looking at photographs for hours on end.
* In ''Series/GoldenBoy'' detective Don Owen is very by-the-book which often frustrates Walter Clark, his ambitious CowboyCop partner. However, Owen has a tendency to turn into a CowboyCop himself when the case [[ItsPersonal becomes too personal]]. This is seen as a major flaw of his because it tends to mess up the case and almost gets Owen killed.
* ''Series/MurderSheWrote'' had two of them. Cabot Cove's first sheriff was Amos Tupper, an honest cop and a close friend of Jessica. After he retired after the fourth season, he was replaced by Sheriff Mort Metzger, a former NYPD detective who took the job after mistakenly believing that the town was a peaceful place. Still, he did his job well, considering.
* Sgt. Bernie Terwilliger in ''Series/{{Hunter}}'' lives for the Book, loathes Hunter for his disregard for the rules, and never fails to point it out. He later gets transferred to InternalAffairs, a job which suits him to a T. Contrary to the trope description, he is not older than the other detectives (he seems to be in his late thirties in the first season).
* Most, if not all parking enforcers in ''Series/ParkingWars'' are just doing their jobs and issuing tickets to illegally parked cars.
* In ''Series/BattleCreek'', FBI agent Milton Chamberlain is painfully by-the-book and polite, in stark contrast to the Battle Creek police Detective Russ Agnew, who is rude, cynical, and doesn't mind bending a few rules to get the job done. A later episode reveals that Milt hasn't always been this way. After [[spoiler:being forced to shoot a teenager and getting another one killed]], Milt starts doing everything by the book, annoying his coworkers to the point where they [[ReassignedToAntarctica reassign him to Battle Creek]].
* ''Series/MurdochMysteries'': Various officers take this role:
** Murdoch himself is very devoted to following evidence and doing a thorough job of investigating. Inspector Brackenreid will occasionally criticize him for this, saying things like, "I know you have only two speeds, Murdoch: slow and dead slow." For his part, Murdoch will sometimes express objections or discomfort with Brackenreid's propensity to use his fists to get information, though [[FairForItsDay such hands-on methods were commonly accepted at the time]].
** Brackenreid himself will take a stand on regulations and the law when one of Murdoch's new-fangled methods seems to push the limit, or when Murdoch is taking a long time to do his job. He'll mention ''habeas corpus'' if someone is in custody too long without a charge.
** Percival Giles, particularly when interacting with Murdoch and Brackenreid. After [[spoiler: the escape of Ava Moon]], he is routinely critical of Murdoch and Brackenreid's methods. When they go to another jurisdiction and remove a corpse back to Toronto, he insists they return the body to the other department and write letters of apology to the other cops and coroner.
* Inspector Bucket from ''Literature/BleakHouse'' is a by-the-book cop in ''Series/{{Dickensian}}'', although in the very early days of Detective Branch, he's mostly writing the book as he goes along.
* In early episodes of Series/{{The Bill}} characters were largely defined by their attitudes to the 1984 PACE act. Inspector Conway and DS Greig were notable adherents to the guidelines.

* Pretty much every LAPD cop in ''Radio/{{Dragnet}}'', as [[TruthInTelevision the stories are based on actual LAPD reports.]]
* Parodied in ''[[Series/ThatMitchellAndWebbLook That Mitchell and Webb Sound]]'' in a sketch about a cop who's dragged in to DaChief's office for a dressing down because he's ''too'' strictly by the book, and spends more of his time reporting other officers for minor uniform infractions and filling in meaningless HR paperwork about how effective his meetings have been than investigating the serial killings he's been assigned to solve.

[[folder:Tabletop Games]]
* In ''TabletopGame/FengShui'', the By-the-Book Cop is usually a Karate Cop. He may bend the law to serve higher justice, but only if he has no other choice.
* In ''TabletopGame/{{Warhammer 40000}}:''
** The Arbitrators generally fall into this. The book they follow is very draconian (and they follow it to the letter) but ''TabletopGame/{{Dark Heresy}}'' mentions that committing vigilante justice is among the worst heresies an Arbitrator can commit.
** Puritan Inquisitors, while still very likely to ignore actual laws when it suits them (the Inquisition being above such restrictions), tend to follow accepted philosophies rather than attempting unsanctioned solutions (such as using Chaos against itself or trying to restructure the Imperium) the way Radicals do.

[[folder:Video Games]]
* Katsuya from ''VideoGame/{{Persona 2}}'' is by-the-book to a ridiculous degree, even in supernatural situations where the law shouldn't really apply. (In a reversal of the usual way of this trope, he's quite young; his rule-breaking, dubious-method-using foil, Baofu, is much older.)
* Citadel Security (C-Sec for short) in ''Franchise/MassEffect'' is apparently made up of nothing ''but'' By-the-Book Cops, if the player is to believe their leader. The outwardly-reserved CowboyCop on your crew split with the force over increasing frustration with C-Sec's regulations; [[PlayerCharacter Commander Shepard]] has the option to either encourage him in his CowboyCop behavior or convince him of the value of doing things by the book.
** Made far more meaningful considering that as a Spectre, Paragon Shepard actually ''does'' have total authority in Citadel Space to act as JudgeJuryAndExecutioner if they want to. It's implied that Shepard's actions teach Garrus that just because someone ''can'' use force to take down criminals, doesn't mean they ''should''.
** Of course, in the second game a C-Sec officer admits during Thane's loyalty mission that he's been looking the other way of a certain criminal as long as he "buys tickets to the C-Sec charity ball." The same cop will later [[spoiler:skirt rules to let Thane's son off the hook for attempted murder (and, if you choose the Renegade option, the murder you ''finished'')]], although that's shown as an act of compassion. Overall, not exactly a CowboyCop, but he's certainly breaking a few rules at this point.
* Norman Jayden from ''VideoGame/HeavyRain'', whose by the book-ness naturally puts him at odds with CowboyCop Lieutenant Blake.
* ''VideoGame/PoliceQuest'':
** Your squad in ''VideoGame/SWAT4'', the best score will be awarded to players who follow this trope--handcuff and report all suspects and civilians, subdue suspects with non-lethal methods and bring them in alive unless they're openly hostile, and confiscate all firearms and other evidence.
** The original games require the player to follow procedure to the letter, especially if they want to get the maximum score. Unsurprisingly, the main character Sonny Bonds appears in the later ''SWAT'' series.
* Caitlyn in ''VideoGame/LeagueOfLegends'', being the sheriff of Piltover, is this, especially when compared to her CowboyCop [[OddCouple partner]], Vi.
* Detective Cole from ''VideoGame/LANoire'', full stop. While his partners are obviously eager to skirt the law to get the bad guys, Cole himself sticks to standard investigation and interrogation technique ([[DeliberateValuesDissonance for the time]]) and still gets his man. [[spoiler: When he ''does'' deviate from the book, it's either because he's being ordered to do so by DaChief, or because the corruption in the upper ranks of the police department forces him to pursue justice through alternate avenues.]]

[[folder:Visual Novels]]
* ''Franchise/AceAttorney:''
** Edgeworth is a by-the-book prosecutor (which is almost the same thing as a cop in this universe) in ''Ace Attorney Investigations''. He goes by the rule of evidence, even when someone's guilt is blindingly obvious. In the first game, pre-HeelFaceTurn, he is a little less ethical.
** One might file the judge under this trope. He responds only to presented evidence and testimony, despite his senile appearance.
** The playable characters also fall under this, since gameplay forces them to adhere to the rules of the court system, which insist on providing evidence to back up ''everything''. This is lampshaded to hell and back in ''VisualNovel/ApolloJusticeAceAttorney'', when several cases are specifically designed for it to be obvious who the real murderer is, only for the Judge to have to keep turning down Apollo's claims on the grounds of lack of decisive evidence. [[spoiler:This is the main reason Phoenix goes about setting up the Jurist System, to try to get around those sorts of issues.]]
* Detective Gurski from the MurderMystery VisualNovel ''VisualNovel/{{Jisei}}'' spends most of his time guarding the crime scene and making calls to get a background on the victim. He will not hesitate to arrest you if he manages to see you trying to get another look at the body. However, he does defy this trope by encouraging the protagonist to do most of the questioning on his own.

[[folder:Web Comics]]
* John Carson Sr. of ''Webcomic/BloodandSmoke'' is this compared to the other officers of Newshade City.
* Kittan of ''Webcomic/{{DOUBLE K}}'' is presented as this. The by the book, insanely rewarded and loved transfer from another department. [[spoiler:Until it's revealed to be a cover story by his former chief, and that he's just as much a CowboyCop as Kamina.]]
* The ''Webcomic/HappyJar'' strip [[http://www.happyjar.com/comic/the-scotsdale-case/ The Scotsdale Case]] features Good Cop, who respects DaChief's judgement.
* Detective Lechter, who sits across from Cedric in ''Webcomic/TheLettersOfTheDevil'', is "too big a straight-edge."

[[folder:Web Original]]
* Used as a positive in {{Website/Cracked}}'s list of [[http://www.cracked.com/article_18791_if-movie-characters-didnt-make-horrible-decisions.html Movie Characters that didn't make horrible decisions]]
--> '''Perfect Partners:'''
-->After Danny Rizzo loses yet another wisecracking maverick partner to an explosion, he dreads being paired up with still another loose cannon who gets things done. Instead, he gets James Flynn, a cop who likes to do everything the same way he does. When they find themselves reading suspects their Miranda rights in unison, they know this partnership was meant to be.
-->Together, they hit the streets and play it safe, steering responsibly away from things outside their jurisdiction and always calling for backup.
-->The film follows their careers together, traffic stop after traffic stop after noise complaint, until the last day before retirement.
-->They arrive to find a suspiciously empty office. Sensing something is wrong, they hurry to the chief's office, where the whole department surprises them with a party, and the chief winkingly tells them they can head home a day early and count it as a free "sick day" on him. After retiring, they move to Florida with their wives.
* Judge Dead from ''Franchise/{{Noob}}'' is initially presented as a JudgeJuryAndExecutioner version of this. The "following rules to the letter" part is best seen in the webseries version where he doesn't do anything about a player insulting another because "rasberry [candy brand]" isn't actually an insult according to the rulebook he follows. This is ultimately subverted as TheReveal from the franchise-wide WhamEpisode requires him to have kept the secret on something illegal.
* [[http://wondermark.com/jack-bulletproof/ The Adventures Of Jack Bulletproof, The Cop Who Plays By All The Rules.]]
* The [[InvertedTrope trope is flipped]] in ''{{Literature/Takotsubo}}''--Henderson is the older, experienced cop who is the CommissionerGordon to the vigilante gang East 13 and their leader, the Tin Man. Her new partner Detective Blake is a young man fresh out of the academy, and needs a crash-course in street law. The difference is also implied to be because Blake is white, since most of the cast are minorities.

[[folder:Western Animation]]
* Rook Blonko ''WesternAnimation/Ben10Omniverse'' is a pretty good example, where he strictly abides to the rules and constantly calls the reckless Ben out for his more outrageous plans. This was intentionally done by the writers who noted Rook to be this but also naive to the more CowboyCop but experienced Ben.
* Police Chief Suarez, Frida's father, in ''WesternAnimation/ElTigre''.
* From ''WesternAnimation/{{Fillmore}}'': Wayne Ligget, Fillmore's old partner, was said to be the good cop to Fillmore's CowboyCop.
-->'''Fillmore:''' You're always by the book.
-->'''Wayne:''' You ''threw out'' my book.
* Flint in ''WesternAnimation/GIJoeRenegades'' is this. Although he ''starts'' to suspect Duke's innocence of the crime, he still wants to bring him in if only to get to the bottom of things.
* Renee Montoya from ''WesternAnimation/BatmanTheAnimatedSeries''
* Zachary Foxx in ''WesternAnimation/AdventuresOfTheGalaxyRangers'' defaults to this, and was much more "by the book" at the start of the series. His more "colorful" BadassCrew sometimes rubs off on him, though.
* Evans from ''WesternAnimation/WorldOfWinx'' is this compared to her more easy going partner Gomez.
* ''WesternAnimation/SuperNoobs'': Memnock and Zenblock, who are alien virus warriors, are revealed to be strict followers of rules from the Benevolent Alliance. This is shown in "Count Noob-A-Nus" when after they arrest Count Venomous and his minions for their crimes of distributing the virus to other planets, they use a manual from the Benevolent Alliance to show that they must treat any prisoners they arrest with kindness and fairness. Of course, Venamus uses these regulations against them to trick them into entering a prison pod and launching them into space, though Both Mem and Zen survive unharmed and end up defeating Venamus with the pod. Its also shown when Mem and Zen have to repeatedly disguise themselves as human menin order to not blow their cover aliens, which they sometimes forget to do.
* ''WesternAnimation/TeenageMutantNinjaTurtles1987'' has the Shredder's brother.
* ''WesternAnimation/TheRidonculousRace'': Sanders, who is a cop and partners with CowboyCop [=MacArthur=],wants to win the race without breaking any international laws. She is also willing to play fair and follow all the rules of the race, which sometimes gets on [=MacArthur's=] nerves.

[[folder:Real Life]]
* Chilean cops are generally this, especially the young ones fresh out of school. Don't ever, EVER, try to bribe one to get out of a ticket. Lie, cry, say your mother is dying, but do not try to bribe the cop. This is even mentioned in tourism information about the country.
* Most Italian law enforcement officers, especially those from the Carabinieri (technically military, but working as part of the law enforcement). This breaks down a little as you go further south (i.e. into the territory of UsefulNotes/TheMafia and other such organizations), but even there the clean cops outnumber the crooked ones.
* The police chief in [[https://www.aol.com/article/news/2017/04/20/police-chief-gets-caught-speeding-writes-himself-a-ticket/22048231/ this story]] takes it a little far by ''giving himself a ticket'' for speeding.