The threshold condition for leakage inception is of great interest to many engineering applications, and it is essential for seal design. In the current study, the leakage threshold is studied by means of a numerical method for a mechanical contact problem between an elastic bi-sinusoidal surface and a rigid flat surface. The coalesce process of the contact patches is first investigated, and a generalized form of solution for the relation between the contact area ratio and the average applied pressure is acquired. The current study shows that the critical value of the average applied pressure and the corresponding contact area required to close the percolation path can be represented as a power law of a shape parameter, if the effect of the hydrostatic load from the pressurized fluid is ignored. With contact patches merged under a constant applied load, the contact breakup process is investigated with elevated sealed fluid pressure condition, and it is shown that the leakage threshold is a function of the excess pressure, which is defined as a ratio between the average applied pressure and the critical pressure under dry contact conditions.Graphical abstract