A stable two-component waterborne coating composition comprising an epoxy component A comprising a waterborne epoxy resin, a polymeric dispersant, and pigments and/or extenders; and a component B comprising a curing agent; providing coatings made therefrom with improved anti-corrosion properties; and a method of preparing the coating composition.