There is emerging evidence that esophageal cancer occurs in younger adults in sub-Saharan Africa than in Europe or North America. The burden of human immunodeficiency virus (HIV) is also high in this region. We postulated that HIV and human papillomavirus (HPV) infections might contribute to esophageal squamous cell carcinoma (OSCC) risk. This was a case-control study based at the University Teaching Hospital in Lusaka, Zambia. Cases were patients with confirmed OSCC and controls had completely normal upper endoscopic evaluations. A total of 222 patients were included to analyze the influence of HIV infection; of these, 100 patients were used to analyze the influence of HPV infection, alcohol, smoking, and exposure to wood smoke. The presence of HIV infection was determined using antibody kits, and HPV infection was detected by polymerase chain reaction. HIV infection on its own conferred increased risk of developing OSCC (odds ratio [OR] 2.3; 95% confidence interval [CI] 1.0-5.1; P = 0.03). The OR was stronger when only people under 60 years were included (OR 4.3; 95% CI 1.5-13.2; P = 0.003). Cooking with charcoal or firewood, and cigarette smoking, both increased the odds of developing OSCC ([OR 3.5; 95% CI 1.4-9.3; P = 0.004] and [OR 9.1; 95% CI 3.0-30.4; P