A method for manufacturing a ceramic member, the ceramic member comprising a first metal layer containing the metal component Ag, a second metal layer that includes more voids than the first metal layer and a ceramic layer sandwiched by the first and second layers (13, 11), the method comprising: a step of forming a stacked compact from a plurality of metallic paste layers (13a, 11a) containing a metal component Ag as a main component that are stacked one on another via a ceramic green sheet; and a step of firing the stacked compact, wherein, when a mass percentage X is a proportion of the metal component Ag to the total metal content in the metallic paste layer, at least one of said plurality of metallic paste layers is formed as a second metallic paste layer that has the mass percentage X higher than that of a first metallic paste layer which is the metallic paste layer that adjoins the second metallic paste layer in the stacking direction in the step of forming the stacked compact, the first metallic paste layer further comprising Pd or Pt, and the second metallic paste layer optionally further comprising Pd or Pt, wherein as the stacked compact is fired with the mass percentage X of the metal component Ag differentiated between the first and second metallic paste layers (13a, 11a) that adjoin via a ceramic green sheet, the metal component Ag is caused to diffuse through the ceramic green sheet from the second metallic paste layer having the higher mass percentage X to the first metallic paste layer having the lower mass percentage X, whereby the metal layer formed by firing the second metallic paste layer shrinks in volume as the metal component Ag diffuses such that a void ratio of the second metal layer increases. a step of forming a stacked compact from a plurality of metallic paste layers (13a, 11a) containing a metal component Ag as a main component that are stacked one on another via a ceramic green sheet; and a step of firing the stacked compact, wherein, when a mass percentage X is a proportion of the metal component Ag to the total metal content in the metallic paste layer, at least one of said plurality of metallic paste layers is formed as a second metallic paste layer that has the mass percentage X higher than that of a first metallic paste layer which is the metallic paste layer that adjoins the second metallic paste layer in the stacking direction in the step of forming the stacked compact, the first metallic paste layer further comprising Pd or Pt, and the second metallic paste layer optionally further comprising Pd or Pt, wherein as the stacked compact is fired with the mass percentage X of the metal component Ag differentiated between the first and second metallic paste layers (13a, 11a) that adjoin via a ceramic green sheet, the metal component Ag is caused to diffuse through the ceramic green sheet from the second metallic paste layer having the higher mass percentage X to the first metallic paste layer having the lower mass percentage X, whereby the metal layer formed by firing the second metallic paste layer shrinks in volume as the metal component Ag diffuses such that a void ratio of the second metal layer increases.