A gas analyzer includes: a gas measuring portion which performs a measurement on a gas a case which houses the gas measuring portion a liquid separator which includes a reservoir for storing a liquid component separated from the gas a holder portion which holds the liquid separator and a rotation mechanism which mounts the holder portion to the case.