Yes, sleeping with earplugs is perfectly safe. In fact, it's a good way to protect your hearing and get a good night's sleep. Here's what you need to know about using earplugs safely:
Earplugs are made of soft, pliable materials like foam or silicone that expand to fit the shape of your ear canal. When they're inserted properly, they create a seal that prevents sound from entering your ears. This can be helpful if you're trying to block out noise so you can sleep, or if you're working in a loud environment and want to protect your hearing.
If you're using foam earplugs, make sure to roll them into tight cylinders before insertion. Otherwise, they may not expand properly and won't create an effective seal. Silicone earplugs can be inserted without rolling them first.
To insert earplugs, gently pull up on the outer part of your ear (the pinna) to open up the canal. Insert the plug carefully so it doesn't go too far in and cause discomfort. Once it's in place, release the pinna and allow the plug to expand and create a seal. If you're having trouble getting them in, try wetting them slightly with water before insertion - this will help them slide in more easily.