We present a novel approach for the reversible switching of the emission wavelength of a quantum cascade laser (QCL) using a halochromic cladding. An air-waveguide laser ridge is coated with a thin layer of polyacrylic acid. This cladding introduces losses corresponding to the absorption spectrum of the polymer. By changing the state of the polymer, the absorption spectrum and losses change, inducing a shift of 7 cm(-1) in the emission wavelength. This change is induced by exposure to acidic or alkaline vapors under ambient conditions and is fully reversible. Such lasers can be used as multi-color light source and as sensor for atmospheric pH.