The bottom line. While it's generally safe to sleep with a tampon in if you're sleeping for less than eight hours, it's important that you change tampons every eight hours to avoid getting toxic shock syndrome. It's also best to use the lowest absorbency necessary.