Sugar is used in pickled eggs to sweeten the brine, but more importantly, it also mellows out the vinegar so it tastes less harsh. Sugar is a good addition to pickled eggs, but it is an optional ingredient that can also be eliminated.