The present invention provides an earcap and an earplug, the earcap has a shell made of a flexible material, the two ends of the shell are respectively provided with a sound inlet and a sound outlet, the interior of the shell is disposed in a through manner, a filter net is disposed at a position close to the sound outlet, in the shell. The earplug comprises an earcap and a filtering core mounted in the earcap, the earcap has a shell made of a flexible material, two ends of the shell are open, the two ends of the shell are respectively provided with a sound inlet and a sound outlet, the interior of the shell is disposed in a through manner, the filtering core is mounted between the sound inlet and the sound outlet, a filter net is disposed at a position close to the sound outlet, in the shell.