It happened just before 1:30 a.m. on El Paso Avenue near First Street.
The Fresno Fire Department says a car ran into a building, crashing into a living room.
The car also knocked out the power box and struck the gas line.
However, firefighters turned off the gas and searched the units.
No one was injured, but three families are now displaced.
Officials say the car's driver initially left the scene and later returned to speak with Fresno police.
The investigation into the crash is ongoing.