The contact owns a 2008 BMW 328i. The contact stated that he had parked and turned off the vehicle, but about 20 minutes later he saw smoke coming from underneath the hood of the vehicle. The contact stated that as he opened the hood of the vehicle he saw flames of fire and was able to extinguish the fire with a fire extinguisher. The contact stated that he removed the battery from the vehicle. There were no injuries sustained. A police report was not filed. The vehicle was towed to the contact's residence. The dealer was notified of the failure and advised the contact to tow the vehicle to their location for diagnosis. The vehicle was towed to the dealer, however, the dealer informed the contact that they could not diagnose the vehicle as the vehicle had caught fire. The dealer referred the contact to NHTSA. The manufacturer was not notified of the failure. The vehicle was not diagnosed or repaired. The approximate failure mileage was 129,000.