The device was found Wednesday night next to the track at Cerro Villa Middle School in Villa Park.
The bomb squad was called in to blow it up. Authorities said the pipe contained illegal fireworks.
No one was hurt and the area was not evacuated.
Anyone with information on the pipe bomb was asked to call the Orange County sheriff's tip line at (866) TIP-OCSD.