Cardiac ablation procedures during electrophysiology interventions are performed under x-ray guidance with a C-arm imaging system. Some procedures require catheter navigation in complex anatomies like the left atrium. Navigation aids like 3D road maps and external tracking systems may be used to facilitate catheter navigation. As an alternative to external tracking a fully automatic method is presented here that enables the calculation of the 3D location of the ablation catheter from individual 2D x-ray projections. The method registers a high resolution, deformable 3D attenuation model of the catheter to a 2D x-ray projection. The 3D localization is based on the divergent beam projection of the catheter. On an individual projection, the catheter tip is detected in 2D by image filtering and a template matching method. The deformable 3D catheter model is adapted using the projection geometry provided by the C-arm system and 2D similarity measures for an accurate 2D/3D registration. Prior to the tracking and registration procedure, the deformable 3D attenuation model is automatically extracted from a separate 3D cone beam CT reconstruction of the device. The method can hence be applied to various cardiac ablation catheters. In a simulation study of a virtual ablation procedure with realistic background, noise, scatter and motion blur an average 3D registration accuracy of 3.8 mm is reached for the catheter tip. In this study four different types of ablation catheters were used. Experiments using measured C-arm fluoroscopy projections of a catheter in a RSD phantom deliver an average 3D accuracy of 4.5 mm.