Optical coherence tomography (OCT) can be used to identify and characterize different patterns of diabetic macular edema (DME). Common patterns include diffuse retinal thickening, cystoid macular edema, and serous retinal detachment. Cystoid macular edema appears on OCT as fluid-filled cystic cavities within the retinal layers. As DME progresses, cysts may enlarge and coalesce. Hard exudates appear as small, hyperreflective foci that cast shadows. Disruption of the ellipsoid zone is associated with worse visual acuity in DME patients. OCT is useful for monitoring response to DME treatment.