A novel method for the labeling and rapid separation of morphine, morphine-3-beta-d-glucuronide (M3G) and morphine-6-beta-d-glucuronide (M6G) in human urine employing a new boronic acid functionalized squarylium dye (SQ-BA3) and capillary electrophoresis with laser induced fluorescence detection (CE-LIF) is described. The spectrochemical properties, solution stability, pH range, and mechanisms for interactions with morphine and its metabolites were first established for SQ-BA3, followed by optimization of an on-column labeling procedure and CE-LIF method. SQ-BA3 itself was shown to be unstable and weakly fluorescent in aqueous buffers due to aggregate formation. However, SQ-BA3 showed a relative stability and dramatic increase in fluorescence intensity upon the addition of morphine, M3G, and M6G. Because of the low background fluorescence of this dye, on-column labeling was feasible, leading to a simple and rapid analytical method with the potential for clinical applications.