A roof flap is an aerodynamic feature on race cars, mainly , which functions as an emergency spoiler to prevent the vehicle from lifting off the ground. The flaps are stowed during normal vehicle operation; however, in certain situations, e.g., if the vehicle goes into a spin, particularly if it is facing backwards, the flaps deploy to disrupt the air flow over the roof and reduce the lift force on the vehicle.
NASCAR mandates that cars in the Sprint Cup and Nationwide series have two roof flaps positioned near the rear of the vehicle, with the left flap oriented perpendicular to the length of the car and the right flap angled 45° counter-clockwise (when looking downward) from the left flap. Trucks in the Camping World Truck Series only have the angled flap, due to the smaller roof area of the pickup truck type greenhouse and lower overall lift potential of the body shape.
Originally, the flaps each measured 12 inches (30 cm) wide by 8 inches (20 cm) tall. Following several incidents where cars became airborne in Sprint Cup races in preceding years, NASCAR mandated new, larger flaps to increase their effectiveness, introduced with the "Car of Tomorrow" fifth generation body style in 2007. Flap specs were enlarged again for the "Generation 6" body styles which debuted in 2013. For the 2013 season, the flaps measured 10.25 inches (26.0 cm) tall by 24.7 inches (63 cm) tall on the left side, and 10.125 inches (25.72 cm) by 33.5 inches (85 cm) on the right. The new flaps are designed to deploy more quickly than the previous design, and include canvas "parachutes" on their underside to further disrupt airflow when deployed.
A race car's body is designed to optimize downforce, but if that body is spun so air is flowing in reverse, lift is generated instead of countered. The roof flaps' job is to disrupt that airflow and prevent lift.
The decision to implement a safety device to keep cars on the ground came after two crashes in 1993. In the first, Rusty Wallace barrel-rolled through the infield Talladega in 1993 after being tagged by Dale Earnhardt exiting the tri-oval. Wallace's car spun backwards, and lifted off the ground. The car landed in a grassy area of the track and his car tumbled violently down the frontstretch. In August Johnny Benson spun off turn two at Michigan and flipped down the backstretch.