Contra Costa County Fire Protection District said the fire was reported just after 8:15 a.m. at a building in the 2100 block of Crestview Drive.
MORE: Firefighters battle 55-acre Pittsburg vegetation fire; 75% contained
A Con Fire spokesperson said firefighters had to remove the two victims from the burning building. Both were taken by ambulance to a nearby hospital.
Firefighters got the blaze under control by 8:44 a.m.
Con Fire said the apartment is a total loss and at least one adjacent apartment has smoke damage. The cause of the fire is under investigation.
If you're on the ABC7 News app, click here to watch live