We report an unexpected rearrangement of 3-hydroxyoxindoles into benzoxazinones using electrochemistry. Our reaction employs mild and environmentally friendly conditions, and the benzoxazinone products are obtained in moderate to excellent yields. Mechanistic experiments suggest that a peroxide intermediate is likely involved.