Ranibizumab is a medication used to treat various eye conditions, most notably age-related macular degeneration (AMD), diabetic macular edema (DME), and macular edema following retinal vein occlusion (RVO). It belongs to a class of drugs called anti-vascular endothelial growth factor (anti-VEGF) agents.