In this study, the authors present an all-silicon optical memory utilizing the photon avalanche-induced trapping effect, providing a solution readily compatible with silicon photonics.