We consider domain walls in the Z 3 symmetric next-to-minimal supersymmetric standard model. The spontaneous Z 3 discrete symmetry breaking produces domain walls, and the stable domain walls are problematic. Thus, we assume the Z 3 symmetry is slightly but explicitly broken and the domain walls decay. Such a decay causes a large late-time entropy production. We study its cosmological implications on unwanted relics such as the moduli, gravitino, lightest superparticle, and axion.