A rubber plug (40) is provided with a stable sealing property while reducing frictional resistance when the rubber plug (40) is inserted into a cavity. In a cross section including axis lines of the rubber plug (40), a cavity (11) and a wire (30), areas of outer lips (44A, 44B) not resiliently deformed radially outward of a virtual line (12L) corresponding to the inner circumferential surface of the cavity (11) are specified as outer virtual deforming portions (45A, 45B), areas of inner lips (46A, 46B and 46C) not resiliently deformed radially inward of a virtual line (31L) corresponding to the outer circumferential surface of the wire (30) are specified as inner virtual deforming portions (47A, 47B, and 47C) and at least parts of the inner virtual deforming portions (47A, 47B and 47C) correspond to only parts of the outer virtual deforming portions (45A, 45B).