Esophageal candidiasis is one of the most common opportunistic infections in patients infected by human immunodeficiency virus (HIV). This pathology is also found in patients without overt immunodeficiency. Other risk factors are known to be associated with this disease like inhaled or systemic corticosteroid treatment or proton-pump inhibitors and H2 receptor antagonists. In the absence of identified risk factors, a primary immune deficiency should be sought. Prevention of esophageal candidiasis is based primarily on the identification of risk factors, and a better control of them. This article presents a review of the physiopathology, clinical presentation and management of esophageal candidiasis by primary care physicians. We will also discuss ways of preventing esophageal candidiasis when necessary.