Perception of time interval on the order of seconds is an essential component of cognition, but the underlying neural mechanism remains largely unknown. In rats trained to estimate time intervals, we found that many neurons in the medial prefrontal cortex (PFC) exhibited sustained spiking activity with diverse temporal profiles of firing-rate modulation during the time-estimation period. Interestingly, in tasks involving different intervals, each neuron exhibited firing-rate modulation with the same profile that was temporally scaled by a factor linearly proportional to the instructed intervals. The behavioral variability across trials within each task also correlated with the intertrial variability of the temporal scaling factor. Local cooling of the medial PFC, which affects neural circuit dynamics, significantly delayed behavioral responses. Thus, PFC neuronal activity contributes to time perception, and temporally scalable firing-rate modulation may reflect a general mechanism for neural representation of interval timing.