This patent describes a palladium and palladium alloy plating composition and method. The composition contains a source of palladium metal, a source of oxalate ions, and optionally a source of alloying metal ions. Using oxalate ions avoids undesirable anode reactions associated with other palladium plating compositions. The palladium can be provided as a palladium oxalate complex, such as palladium tetraamino oxalate. The method involves contacting a substrate with the composition and cathodically electrifying the substrate to plate a palladium or palladium alloy deposit.