This article explains how to set up and use the Apple Watch's sleep tracking feature on watchOS 7 and later.
How to set up Apple Watch sleep tracking guide and tutorial
You use the Health app on your iPhone to set up your Apple Watch for sleep tracking. Here’s how it works.
Open the Health app on your iPhone and tap Browse.
Scroll down to the Get more from Health section. Under Set watch sleep, tap Get started.