A Queens man was arrested Tuesday for allegedly stabbing his wife to death and bashing her with a cutting board — and tried to blame his “brain surgery” for making him snap, according to police sources.

Isidro Pacheco, 56, turned himself in at the 103rd Precinct in Jamaica on Monday after wife Isabel Galeano, 44, was repeatedly stabbed while cooking in their home on Atari Lane that day, cops said.

Pacheco allegedly plunged a kitchen knife into his wife’s back — also cutting her hand — while bashing her with a wooden cutting board, sources say.

“Why did you do that?” he told cops she pleaded in Spanish while under attack, according to the sources.

First responders arrived at the house at 2 p.m. Monday after a 911 call of an attack in progress. Isabel was rushed to Jamaica Hospital but died from her wounds at 7:45 a.m. Tuesday, police said.

After turning himself in to cops, Pacheco allegedly told them he attacked her “because I had brain surgery,” sources said.

Cops haven’t yet confirmed that Pacheco actually underwent brain surgery, something they said could take time due to privacy laws, according to sources.

Pacheco was arrested on charges of second-degree murder and criminal possession of a weapon Tuesday following his wife’s death.

Police had never been called to the couple’s house and Isidro did not have a criminal record, sources said.