In this work, a capillary electrophoretic method for the rapid quantitation of atorvastatin (AT) in a lipitor tablet was investigated and developed. Method development included studies of the effect of applied potential, buffer concentration, buffer pH, and hydrodynamic injection time on the electrophoretic separation. The method was validated with regard to linearity, precision, specificity, LOD, and LOQ. The optimum electrophoretic separation conditions were 25 mM sodium acetate buffer at pH 6, with a separation voltage of 25 kV using a 50 microm capillary of 33 cm total length. Sodium diclofenac was used as an internal standard. Analysis of AT in a commercial lipitor tablet by electrophoresis gave quite high efficiency, coupled with an analysis time of less than 1.2 min in comparison to LC. Once the separation was optimized on capillary, it was further miniaturized to a microchip platform, with linear imaging UV detection using microchip electrophoresis (MCE). Linear imaging UV detection allowed for real-time monitoring of the analyte movement on chip, so that the optimum separation time could be easily determined. This microchip electrophoretic method was compared to the CE method with regard to speed, efficiency, precision, and LOD. This work represents the most rapid and first reported analysis of AT using MCE.