The cab caught fire on Second Avenue and East 70th Street on the Upper East Side early Thursday morning.
A passerby shot video of the flames pouring from the cab.
It took 10 firefighters 20 minutes to put the fire out.
The driver made it out unharmed, and luckily there were no passengers.