Time perception and prediction errors are essential for everyday life. We hypothesized that their putative shared circuitry in the striatum might enable these two functions to interact. We show that positive and negative prediction errors bias time perception by increasing and decreasing perceived time, respectively. Imaging and behavioral modeling identify this interaction to occur in the putamen. Depending on context, this interaction may have beneficial or adverse effects.