Despite differences in spelling and pronunciation, these words are used interchangeably. Sanitarium is more often used, possibly because it refers to a general hospital. Sanatorium is sometimes restricted to the meaning of a health resort or rest home, but this distinction is not often made. Both words are derived from a Latin term meaning "health."
Dictionary of problem words and expressions. Harry Shaw. 1975.