The complete construction of a custom, real-time confocal scanning imaging system is described. This system, which can be readily used for video-rate microscopy and microendoscopy, allows for an array of imaging geometries and applications not accessible using standard commercial confocal systems, at a fraction of the cost.