A gamma-ray precursor is a short X-ray outburst event that comes before the main outburst of the gamma-ray burst progenitor. There is no consensus on the mechanism for this event, although several theories have been suggested.