Typhoid fever is primarily caused by the bacterium Salmonella enterica serotype Typhi. It is transmitted through contaminated food or water, often due to poor sanitation and hygiene practices.