The principal at a lower Manhattan high school was beaten to a pulp by a student on Monday when he told the teen to remove his headphones, sources said.

Principal Matthew Tossman of Manhattan Early College School for Advertising, which is inside Murry Bergtraum High School, spotted 18-year-old Luis Penzo with his headphones blasting in the hallway around noon, according to police sources.

Tossman asked Penzo to turn down the music, and Penzo not only refused, the 18-year-old student cold-cocked the principal.

Penzo continued to pounce on Tossman, socking him several times in the face, causing swelling and lacerations around both of the principal’s eyes.

Tossman was taken to Lower Manhattan Hospital for treatment. He was later released.

Penzo was arraigned on Tuesday in Manhattan Criminal Court on second degree assault charges and held on $5,000 bail.

Tossman’s wife refused to comment at their home and referred questions to the Department of Education.

The DOE released a statement that said the NYPD “immediately responded to a concerning incident” that took place at the school.

“The safety and security of students and staff is our top priority, and we are looking into it,” the statement continued.

Murry Bergtraum High School, which sits adjacent to One Police Plaza, was the site of a massive brawl involving dozens of students in 2012.

Penzo, who lives in Bedford-Stuyvesant, was involved in a separate donnybrook just last month when he crashed his car into another vehicle in Williamsburg, then repeatedly punched the other driver, according to sources.

He was charged with assault and harassment for that incident.

Additional reporting by Joe Tacopino and Joe Marino