The invention relates to metal metallurgy, in particular to a method for sealing stainless steel and ceramic. The method comprises the following steps: a, removing grease and dirt on a stainless steel piece by an alkali washing method; b, electrolyzing the stainless steel piece obtained in the step a; c, plating nickel to the stainless steel piece obtained in the step b, then sintering the stainless steel piece in a hydrogen furnace or a vacuum furnace to 800 DEG C, preserving the heat for 20 minutes, and then discharging the stainless steel piece when the temperature is reduced to 50 DEG C; d, metallizing a ceramic piece; and e, overlapping the stainless steel piece obtained in the step c and the ceramic piece obtained in the step d, keeping the clearance fit states of the stainless steel piece and the ceramic piece in the clearance of between 0.05 and 0.10 millimeter, then putting an Ag-Cu solder on the inflow upper part of the solder, and controlling the rising temperature of the furnace at 150 DEG C per 15 minutes, fully scattering the solder when the temperature rises to 780 DEG C, then preserving the heat for 5 minutes, and reducing the temperature, wherein the temperature reducing speed and the temperature rising speed are the same. The parts prepared by the scheme do not release air under the vacuum condition, have no magnetism, and have good corrosion and heat resistance, low-temperature strength and mechanical property; and the price of materials is moderate.