When earplugs fail (as in the case of neighbor's bass, partner's snoring, or rambunctious nocturnal pets), I highly recommend the Bose SleepBuds II. Best purchase of the year for me, and my sleep tracking apps have proven to me that these things work. Might be worth looking into.