Five teen girls got sick after eating pot brownies that a Brooklyn high school classmate brought in this week, police sources said on Thursday.

The teens — three 14-year-olds and one 16, snacked on the marijuana-laced desserts a classmate brought into the Franklin K. Lane Educational Campus in Cypress Hills around 1:15 p.m. Wednesday, the sources said.

Four of the students became sick right away, and another fell ill in the evening, according to the sources.

They were treated at Brookdale, Wyckoff and Jamaica Hospitals before being released.

The incident was handled by school safety agents, the sources said. No one was arrested.

“Out of an abundance of caution, EMS was called to Franklin K. Lane Campus yesterday, and all students have recovered,” Department of Education spokeswoman Miranda Barbot said in a statement. “Safety always comes first and we will take appropriate follow-up action.”