This cross-sectional metabolomics study analyzed aqueous humor from 60 macular edema patients and 20 controls using LC/MS and identified etiology-specific metabolic differences. A machine learning diagnostic model achieved ROC AUCs of 0.79 for AMD-ME, 0.94 for DME, and 0.77 for BRVO-ME in a test cohort.