A man and a woman — both in their 70s — were killed early Friday as a fire ripped through their Brooklyn apartment building, authorities said.

The blaze on Patchen Ave. near MacDonough St. in Bedford-Stuyvesant came just hours after a dozen people, including four children, were killed in the Bronx in the deadliest fire to hit the city in a quarter century.

Firefighters were called to the Brooklyn blaze about 3:15 a.m. and found a 79-year-old woman dead on the second floor of the three-story building, officials said.

First responders pulled a 76-year-old man from the building and rushed him to Interfaith Hospital, but doctors were unable to save him.

Twelve people dead in massive Bronx fire

A 55-year-old old man was taken to Woodhull Hospital and is expected to survive, sources said.

A firefighter was also injured in the blaze, which raged for hours before being snuffed out, officials said. Over 100 firefighters responded to the call.