Microinfusions of drugs directly into the central nervous system of awake animals represent a widely used means of unravelling brain functions related to behaviour. However, current approaches generally use tethered liquid infusion systems and a syringe pump to deliver drugs into the brain, which often interfere with behaviour. We address this shortfall with a miniaturised electronically-controlled drug delivery system (20 × 17.5 × 5 mm3) designed to be skull-mounted in rats. The device features a micropump connected to two 8-mm-long silicon microprobes with a cross section of 250 × 250 μm2 and integrated fluid microchannels. Using an external electronic control unit, the device allows infusion of 16 metered doses (0.25 μL each, 8 per silicon shaft). Each dosage requires 3.375 Ws of electrical power making the device additionally compatible with state-of-the-art wireless headstages. A dosage precision of 0.25 ± 0.01 μL was determined in vitro before in vivo tests were carried out in awake rats. No passive leakage from the loaded devices into the brain could be detected using methylene blue dye. Finally, the device was used to investigate the effects of the NMDA-receptor antagonist 3-((R)-2-Carboxypiperazin-4-yl)-propyl-1-phosphonic acid, (R)-CPP, administered directly into the prefrontal cortex of rats during performance on a task to assess visual attention and impulsivity. In agreement with previous findings using conventional tethered infusion systems, acute (R)-CPP administration produced a marked increase in impulsivity.