This driver was really flying.

A California motorist was moving so fast when his car slammed into a center median Sunday that the impact launched the vehicle into the second story of a nearby building — where it stayed lodged for hours as rescuers extricated a person trapped inside.

“This is not a situation that happens every day,” Capt. Stephen Horner of the Orange County Fire Authority told the Post by phone Sunday. “A vehicle travelling at a high rate of speed hit the center divider went airborne and landed on the second floor of a small office building.”

The airborne auto slammed into the Santa Ana building at about 5:30 a.m., causing a small blaze that the fire department quickly extinguished, Horner said.

One person inside the vehicle was able to squeeze out, but a second occupant spent an hour and a half trapped in the car as its tail end dangled precariously out of the building, officials said.

A municipal worker used a front-loader to prop up the car’s back end while Los Angeles County Urban Search and Rescue teams freed the trapped man, according to Horner.

A crane was called in to rip the car from its loft, he said.

The building was empty at the time of the crash, and the car’s occupants sustained only minor injuries, Horner said.