The invention relates to a method of preparing a Pd-Au alloy membrane by means of chemical plating on the surface of a porous ceramic or a porous metal matrix and belongs to the field of application of chemical plating. The method is characterized in that a gold plating solution used in a gold plating process for preparing the Pd-Au alloy membrane is composed of four agents: A, B, C and D, wherein A is one or more of chloroauric acid, gold chloride, sodium chloroaurate, potassium chloroaurate and ammonium chloraurate powder; B is a complexing agent EDTA, for example, Na2EDTA and (NH4)2EDTA; C is ammonia water; and D is NaOH or KOH. Compared with an existing gold plating method, the chemical plating process provided by the invention is mild in reaction condition and can be totally performed at normal temperature, and the gold plate is more uniform and compact, so that unordered gold precipitates are avoided and hollowness in a gold layer is avoided. As the gold chemical plating solution does not contain highly toxic cyanides, the process is an environmental-friendly green process. The gold plating process can improve the conversion rate and the utilization ratio of gold, and no impurities will be introduced into the gold plate.