The San Francisco Fire Department first reported the fire around 1 p.m. Friday afternoon.
Around 1:45 p.m., fire officials said forward progress of the fire had stopped.
The 2-alarm fire is now contained. No one was injured.
Evacuations were underway in the 100, 200 and 300 block of Dakota Street, the 800 and 900 block of Missouri Street and the 1500 and 1600 block of 23rd Street in San Francisco.
The fire was spreading at a high rate of speed, officials said earlier.
The fire burned in the area of 949 Connecticut Street.
VIDEO: Flames visible from fire in SF's Potrero Hill