Ammonium based zwitterions showing both LCST- and UCST-type phase transitions after mixing with water in a very narrow temperature range.