Indicator dyes have been incorporated in the stacking gel monomer used in acrylamide gels to render readily visible and delineate the sample wells. Some dyes, such as bromphenol blue, migrate during the electrophoresis, whereas others, such as the ortho-unsubstituted phenol red, become chemically bound to the polymerized gel. The method can be used for agarose gels.