TMBTMB
TMBTMB

Track, discover and find where to watch TV shows and movies.

Discover

  • Movies
  • TV Shows
  • Browse
  • Topics

Account

  • Watchlist
  • Watched
  • Ratings

Legal

  • Privacy Policy
  • Terms of Service

© 2026 Movie Browser. All rights reserved.

Data provided by TMDB

Home
Browse
Watchlist
backdrop
backdrop
logo
A detective who breaks codes breaks into a Shanghai conspiracy that breaks him.
TMDB
62
Watch(JP)

The Code (2009)

Neo-noir fever dreamStylish nonsenseCigarette smoke and neon

Overview

Drama

For 60 years, the group of detectives known as "Detective Office 5" has raised the bar for detective work. The agents of Detective Office 5 are a group of stellar detectives lead by the genius code breaker Detective 507. When an unknown client enlists 507 to crack his most difficult programming code yet, the detective embarks for Shanghai where he crosses paths with a sniper, an informant, the head of the Blue-Dragon Mafia, and beautiful singer on the run, Meilan. As 507 stumbles deeper into a twisted quagmire of intrigue he discovers the sad truth behind the mystery.

Flag of JPJPJapanese
Content warning
Identity dissolutionTechnology vs. intuitionThe performative nature of detection

Standout Aspects

Cinematography

Shanghai as a character—rain, neon, impossible shadows.

Costume

Detective 507's wardrobe: vintage detective cosplay done seriously.

Direction

Hayashi's controlled chaos—every frame feels like a memory half-remembered.

Best for:Solo: Late night when you want to feel mysteriously melancholic.·Rewatch: Second viewing to catch what the first one didn't explain.
Heads up:Emotional: The 'sad truth' promised is genuinely crushing.
Kaizo Hayashi

Director

Kaizo Hayashi

ReleasedMay 9, 2009
Runtime2h 4m
StatusReleased

Vibe

Paceslow
Intensitymedium
Tonedark
Feelheavy

Top Cast

Kikunosuke Onoe V

Kikunosuke Onoe V

Detective 507

Izumi Inamori

Izumi Inamori

Meilan

Shunsuke Matsuoka

Shunsuke Matsuoka

Snitch

Yousuke Saito

Yousuke Saito

Detective 523

Shiro Sano

Shiro Sano

Detective 501

Ryushin Tei

Ryushin Tei

Shihori Kanjiya

Shihori Kanjiya

Joe Shishido

Joe Shishido

Detective 500

Hiroki Matsukata

Hiroki Matsukata

SHINA

Shuji Kashiwabara

Shuji Kashiwabara

Hiroyuki Miyasako

Hiroyuki Miyasako

Maki Sakai

Maki Sakai

Hiroki Narimiya

Hiroki Narimiya

Toshiki Ayata

Toshiki Ayata

Bengal

Bengal

Ask about The Code

Opens AI chat

Deep Dive

Trivia, insights & behind the scenes

Cultural

Kaizo Hayashi made this as a spiritual successor to his 1980s detective films, updating his retro fetishism for the digital age. The 'Office 5' concept deliberately echoes Japanese salaryman culture.

1 item hidden due to spoilers

Recommended

Sergio movie poster (2020)
6.6

Sergio

A Question of Faith movie poster (2017)
7.5

A Question of Faith

All Together Now movie poster (2020)
6.7

All Together Now

Siberian Education movie poster (2013)
6.8

Siberian Education

In Too Deep movie poster (1999)
6.4

In Too Deep

Imperial Dreams movie poster (2014)
6.5

Imperial Dreams

El Chicano movie poster (2019)
6.6

El Chicano

The Quiller Memorandum movie poster (1966)
5.9

The Quiller Memorandum

Inside Man movie poster (2023)
6.0

Inside Man

Female Prisoner Scorpion: #701's Grudge Song movie poster (1973)
6.2

Female Prisoner Scorpion: #701's Grudge Song

Babylon movie poster (1980)
6.9

Babylon

Man with No Past movie poster (2025)
6.5

Man with No Past

The Unforgivable movie poster (2021)
7.4

The Unforgivable

Alex of Venice movie poster (2015)
5.9

Alex of Venice

The Girl in the Book movie poster (2015)
5.8

The Girl in the Book