The officers came under fire late Wednesday night at a home in the East Boston neighborhood.
"Right now it looks like it was possibly a domestic incident gone bad," said Police Commissioner William Evans.
One of the officers was shot multiple times and was hospitalized in critical condition at Massachusetts General Hospital. A second officer was shot once or twice and was listed in stable condition, Evans told reporters at the scene early Thursday morning.
Commissioner Evans: "One of my officers is being treated for life threatening injures while the other's injuries appear to be non-life."— Boston Police Dept. (@bostonpolice) October 13, 2016
Police initially asked residents of the neighborhood to shelter in place as they searched for a suspect. They later said the suspect was dead and the situation was under control.
"I commend the officers. They moved in and neutralized the threat pretty quick that no one else got killed," said Evans.
Police did not immediately identify the suspect or the wounded officers.
Evans said that he and Boston Mayor Martin Walsh were headed to the hospital to meet with the officers' families. He asked that the community "pray for our officers."