The Ferrari P was a series of Italian sports prototype racing cars produced by Ferrari during the 1960s and early 1970s.
Although Enzo Ferrari resisted the move even with Cooper dominating F1, Ferrari began producing mid-engined racing cars in the early 1960s with the Dino-V6-engine Formula One Ferrari 246 P and the sport prototype SP-series.
The V12 sports car racers followed in 1963. Although these cars shared their numerical designations (based on engine displacement) with road models, they were almost entirely different. The first Ferrari mid-engine road car did not arrive until the 1967 Dino 206 GT, and it was 1971 before a Ferrari 12-cylinder engine was placed behind a road-going driver in the 365 GT4 BB.