Detroit Police Chief James Craig says the officer and his partner were responding to the apartment for a report of a domestic dispute.
Chief James Craig says this is the 8th Detroit Police officer shot in the line of duty since September 2016.
"We have no idea what the suspect's motive was at the time", he said.
The veteran officer was struck in the head by one of the suspect's bullets.
That's when a suspect, believed to be armed with a.25 caliper weapon, emerged from a location and began firing at the officers.
Earlier, the department offered updates on its Twitter account.
According to Craig, this is the eighth officer who was shot or hurt in the line of duty in the previous year.
He said the officer was in "very critical condition". He was charged with intentional discharge of a firearm in a building causing serious injury, which is punishable by up to 20 years in prison.
Detroit police tell 7 Action News the suspect who allegedly shot a police officer on Sunday night was shot and killed. An officer was shot responding to a burglary two weeks ago.
The shooting happened on Chaparral Drive in Eldorado, north of Santa Fe after a city police officer and state police investigations bureau agent located a stolen vehicle at a residence, police said.
Craig had a warning Monday for those who take aim at police officers in the city: "The outcome's not going to be good for you".