Why does water not leak from the bag?

In the picture, the plastic bag is filled with water. The sharpened pencil penetrates through the bag. However, there is no leakage.

Could you please explain why this happens?

This experiment is described in detail on this site and many others.

The explanation focuses on the flexibility of the polymer molecules of the bag, sealing the gap around the pencil.

To that I would add that, due to the surface tension, for the water to leak through a gap of a given size, a certain outward pressure is required - to overcome the inward pressure due to the surface tension.

An estimate of such pressure for a round hole is presented in this post and it shows that, for the water to leak through a $0.1$mm round hole (about the thickness of printing paper), an outward pressure corresponding to a $10$cm water column is required.

Assuming that this estimate is roughly applicable to the width of the gap around the pencil, we can easily see why this experiment works with common size plastic bags: there is virtually no gap to speak of and a more significant pressure would be required to stretch the plastic around the pencil in order to create one.

In a specific example of the experiment shown on the picture in the post, the water hardly covers the holes, so the excessive outward pressure is close to zero: the easiest case.

• +1 The argument and the formula in the post to which you linked is incorrect. According to the formula in that post, there is a certain height of water which can be supported by a hole of any specified size at all. For example, according to that formula, even a big hole of radius 1 cm can support a water column of 1.5 mm height. – Deep Jul 7 '18 at 10:48
• @Deep The formula is applicable to a spherical droplet, which does not fit the scenario you describe, i.e., there won't be any solution for a 1cm hole. – V.F. Jul 7 '18 at 12:23
• The argument in that answer requires only a hemisphere of liquid hanging from the hole, and not a full droplet. – Deep Jul 7 '18 at 15:42
• @Deep 1.5mm still won't be a solution. I think we can agree that the argument and the formula in that post don't scale, but could be used as a reasonable approximation. For the problem in this post, the accuracy of the formula is even less important and I referred to it just to illustrate that for the water to penetrate small openings some pressure is required. – V.F. Jul 7 '18 at 16:54