It happened at Springer Middle School in Talleyville Wednesday afternoon.
Officials say three students ate the THC edibles, but only two had an adverse reaction.
The 8th graders were checked out at the hospital and released.
The school and Delaware State Police are now investigating where the gummies came from.
"At this time, the district and the Delaware State Police are conducting independent investigations to determine the source and contents of the gummies. If it is determined a violation of the Code of Student Conduct did occur, those involved will be held fully accountable," said Principal Dr. Tracy T. Woodson in a letter to parents.