Apparatus and method for dispensing hand sanitizer and particularly for dispensing hand sanitizer in a car, truck or other vehicle. The apparatus is configured to be located and used in a vehicle's cup holder or mounted against a substantially vertical surface such as the rear or side of a vehicle seat or headrest. The apparatus includes one or more sensors to help provide consistent dose sizes and to prevent unwanted or improper usage under various operating conditions.