Having pets can both positively and negatively affect sleep quality. Some studies suggest that having pets in the bedroom can disrupt sleep due to movement, noise, or allergies. However, many pet owners find comfort and relaxation in sleeping with their pets, which can improve sleep quality by reducing stress and providing a sense of security. Ultimately, the impact of pets on sleep quality varies from person to person.