Yes. However, the air gap must be way above the dishwasher drain, preferably above the countertop, for maximum safety.