A soft gamma repeater (SGR) is an astronomical object that repeatedly but irregularly produces gamma-ray bursts, specifically, soft gamma rays and/or hard X-rays. They are presumed to be a type of magnetar.