A universal air bubble detector allows for use with a variety of sizes and types of tubing. The detector maintains proper alignment of a sensor emitter and receiver with different sizes of tubing. The detector may be mounted on existing equipment or may be used to monitor a tubing at any position along the tubing, and may operate in a stand alone mode or in combination with existing equipment.