Typhoid fever is caused by bacteria. The bacteria can spread through contaminated food and water. When people come into contact with contaminated food or water, they can catch typhoid fever.