High trait HRV mitigated the adverse effects of attachment insecurity on sleep quality. Our results suggest that people with high trait HRV had greater self-regulation capacity, which may enable them to enact emotion regulation strategies effectively.