In an Edo devastated by the White Plague, Gintoki Sakata finds that he has been missing for years, leaving only a cryptic journal entry behind. His Yorozuya companions, Shinpachi Shimura and Kagura, have fallen out and become hardened vigilantes working alone. Gintoki has reached this future by accident: the supposed movie pirate he caught at a premiere was actually an android time machine, whose camera footage sent him five years forward.
Wearing a disguise supplied by the android, Gintoki brings the fractured Yorozuya back together to investigate the epidemic. Their search reveals a connection between the world's fate and his own past. Facing a powerful enemy, Gintoki has more than his own strength to rely on, with friends and allies ready to stand beside him.