Synthetic zwitterionic detergent, which unlike other amphoteric surfactants, retains its zwitterionic character over a wide pH range. This property is attributed to the presence of both a strongly basic quaternary ammonium ion and an acidic sulfonate ion of equal strength.