The purpose of this experiment was to investigate the regulation of drug intake in rats (n = 20) self-administering heroin or cocaine during daily 5-hr sessions. Operant chambers were equipped with 2 levers and associated stimulus lights. A response on the lever with stimuli signaling an increase in dose size increased the infusion duration by 3 s, and a response on the lever with stimuli signaling a decrease in dose size decreased the infusion duration by 3 s. Results showed that daily and hourly drug intake for cocaine and heroin groups were relatively constant. Significant correlation coefficients were obtained for heroin and cocaine groups for the relationship between interdose interval (IDI) and infusion duration (dose size). These findings indicate that subjects regulated their drug intake by adjusting IDI throughout drug self-administration sessions.